論文解説
Explaining a Series of Models by Propagating Shapley Values
Propagating Shapley Valuesによる一連のモデルの説明
- 課題 複数のモデルが直列につながった構造について、局所的な特徴寄与度を既存手法より速く安定して計算することが課題です。
- 手法 基準分布に対する単一基準の寄与度の平均と、各層で前段階の出力差により正規化するgeneralized rescale規則を組み合わせます。
- 結果 CIFAR10での実験では、単一の黒い画像を基準にすると暗いピクセルの寄与度が過小評価されました。訓練画像1000個を基準とした平均は、より妥当な寄与度を示しました。
既存の説明手法の限界と直列モデルの課題
複数のモデルが出力を次のモデルの入力に渡す直列モデル(series of models)は、スタッキング一般化、ディープ特徴抽出、消費者スコアリングなど、実際の現場で広く使われています。このような構造は単一のモデルより説明が難しいため、個々の予測がなぜそうなったかを示す局所的な特徴寄与度が必要になります。既存のモデル非依存(model-agnostic)手法であるIME、LIME、KernelSHAPはどのモデルにも適用できますが、サンプリングに基づく推定のため変動があり、計算コストも大きくなります。一方、DeepLIFTやTreeSHAPのようなモデル特化型の手法は高速ですが、直列につながった複数のモデルをまとめて説明するのは難しいです。
この論文はこの2つの問題を併せて扱い、分散した組織がそれぞれ所有するモデルを共有せずに説明を得る状況も対象に含めます。

Figure 1 :DeepSHAP estimates Shapley value feature attributions to explain a series of models using a baseline distribution.(a) Local feature attributions with DeepSHAP require explicands (samples being explained), a baseline distribution (samples being compared to), and a model that is comprised of a series of models. They can be visualized to understand model behavior (Appendix Section A.3). (b) Theoretical motivation behind DeepSHAP (Methods Sections 6.1 and 6.4). (c) The baseline distribution is an important, but often overlooked, parameter that changes the scientific question implicit in the local feature attributions we obtain. (d) Explaining a series of models enables us to explain groups of features, model loss, and complex pipelines of models (deep feature extraction and stacked generalization). Experimental setups are described in Appendix Section A.2.
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。
Figure 7 :Explaining a stacked generalization pipeline of models for the HELOC data set (details in Appendix Section A.1.7)(a) A simulated model pipeline in the financial services industry. We partition the original set of features into fraud, credit, and bank features. We train a model to predict risk using fraud data and a model to predict risk using credit data. Then, we use the outputs of the fraud and credit models as scores alongside additional bank features to predict the final customer risk. (b) Ablation tests (ablating top 5 positive/negative features out of a total 22 features) comparing model agnostic approaches (LIME, KernelSHAP, IME with 100 samples), which require access to all models in the pipeline, and DeepSHAP, which allows institutions to keep their proprietary models private. (c) Summary plot of the top six features the bank model uses to predict risk (TreeSHAP). (d) Summary plot of the top six features the entire pipeline uses to explain risk (DeepSHAP). The green features originate from the fraud data, and the yellow features from the credit data. We explain 1000 randomly samples explicands using 100 randomly sampled baselines for all attribution methods. Note that (c) and (d) show summary plots (Appendix Section A.3.3).
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。基準分布の平均とgeneralized rescale規則
DeepSHAPの中心は、説明対象のサンプルx_eを単一の基準x_bと比較した寄与度を、複数の基準にわたって平均することです。論文は、この平均が、介入的条件付き期待値(interventional conditional expectation)を用いたShapley値の基準分布の形と一致すると報告しています。直列モデルf_kは中間関数f_iの合成として定義され、最終モデルh_kから始めて、ψ_k = φ̂(h_k, x_e, x_b)とします。そのうえで、各前段階について、ψ_i = φ̂(h_i, x_e, x_b)(ψ_{i+1} ⊘ (f_i(x_e) − f_i(x_b)))を計算します。
ここで⊘は、分母が0のときは0とする要素ごとの割り算です。この割り算によって、各層で前段階の出力差を使って寄与度を正規化し、効率性を保ちます。φ̂には、ディープモデルではDeepLIFTのrescale規則、ツリーモデルではinterventional TreeSHAP、線形モデルでは厳密な計算を用います。

Figure 3 : The baseline distribution is an important parameter for model explanation.(a) Ex- plaining an older male explicand with both a general population baseline distribution and an older male baseline distribution. (b) Automatically finding baseline distributions using 8-means clustering on age and sex. (c) Explaining the older male subpopulation (62-75 years old) with either a general population baseline or an older male baseline. (d) Quantitative evaluation of the feature attributions via positive and negative ablation tests where we mask with the mean of the older male subpopulation. Note that (b) shows summary plots (Appendix Section A.3.3) and (c) shows dependence plots (Appendix Section A.3.2).
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。効率性を保つ中間寄与度
Theorem 1は、すべての中間寄与度ψ_iが効率性を満たし、その和がf_k(x_e) − f_k(x_b)に等しいという結果です。証明は帰納法で進みます。各段階で、ψ_iの和に前段階の出力差を掛け直すと次の段階の和に等しくなるという点を使います。基準分布Dについて平均した値は、説明対象の予測と基準分布での期待出力の差として解釈されます。この結果は、各層が入力特徴空間で寄与度の総和を保存することを意味します。線形モデルだけで構成される場合には、正確な介入的Shapley値と一致すると論文は説明しています。ただし、この定理は寄与度の和の保存を扱うものであり、すべてのShapley公理を一般に保証すると解釈すべきではありません。
単一基準と基準分布のバイアス比較
CIFAR10で75.56%のテスト精度を持つCNNを用い、単一の黒い画像を基準にする方法と、訓練画像からランダムに選んだ1000個の基準を用いる方法を比較しました。単一の黒い画像を基準にした寄与度は、実際には暗いピクセルが多いにもかかわらず、黒いピクセルに小さい寄与度を割り当てるバイアスを示しました。基準分布を使った平均では、暗いピクセルにより大きな寄与度が割り当てられました。この比較は、同じCNNと同じ画像の説明対象で基準の選び方だけを変えた結果です。また、この実験には、IMEとIntegrated Gradientsでも同じバイアスが現れるという付録の結果も含まれます。

Figure 2 :Using a single all-black baseline image (DeepLIFT) leads to biased attributions com- pared to attributions with a randomly sampled baseline distribution (DeepSHAP).The image is the explicand. The attribution plots are the sum of the absolute value of the feature attributions for the three channels of the input image. The pixel distribution is the distribution of pixels in terms of their grayscale values. The attribution distribution is the amount of attribution mass upon a group of pixels binned by their grayscale values.
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。
Figure 8 : Demonstrating bias of a single baseline for IME.
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの25ページ目から図の部分を抽出しています。
Figure 9 : Demonstrating bias of a single baseline for integrated/expected gradients.
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。アブレーションテストで見る説明の品質
説明の精度はアブレーションテスト(ablation test)で確認します。このテストは、特徴を寄与度の順に基準値へ置き換えながら、モデル出力の平均的な変化を測定します。正の寄与度を持つ特徴を先に取り除いたとき出力が下がるか、負の寄与度を持つ特徴を取り除いたとき出力が上がるかを確認し、説明がモデルの動作をどれだけよく表しているかを判断します。論文は、このアブレーションテストを基準分布を変えた複数の設定と複数のモデルに適用したと説明しており、各結果は該当する実験の指標と条件の範囲内でのみ解釈すべきです。

Figure 6 : Explaining a series of models comprised of a convolutional neural network feature extractor and a gradient boosted tree classifier.(a) Explanations from DeepSHAP and state of the art model-agnostic approaches. Each model-agnostic approach has a “number of samples” parameter which we set to 100,000. (b) Quantitative evaluation of approaches, including runtime and ablation of the top 10% of positive and negative features.
出典 · CC BY 4.0 · Hugh Chen, Scott M. Lundberg, Su-In Lee · Explaining a Series of Models by Propagating Shapley Values · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。適用範囲と公理保証の限界
著者らは、DeepSHAPが複数の混合モデルで実用的によく機能する一方、実装不変性のようなShapley公理をすべての条件で保証するわけではないと述べています。これは、厳密な公理ベースの手法を完全に計算できない状況で、DeepSHAPが近似的に用いられることを意味します。そのため著者らは、リスクの高い判断では公理ベースの手法を十分に計算するか、解釈可能なモデルを使う方が適切な場合があると解釈しており、DeepSHAPはモデルのデバッグや科学的な仮説探索のように素早い分析が重要な状況により適していると考えています。また、分散モデルの設定で説明を得るには、すべての機関が協力し、同じ基準分布を保つ必要があるという条件もあります。
論文情報
- 著者
- Hugh Chen, Scott M. Lundberg, Su-In Lee
- 学会・ジャーナル
- arXiv · プレプリント
- 公開日
- 2021年4月30日
- 登録日
- 2026年11月6日
- 更新日
- 2021年10月13日
- バージョン
- v2
- arXiv
- 2105.00108
- DOI
- 10.1038/s41467-022-31384-3
- カテゴリ
- cs.LG
- ライセンス
- CC BY 4.0
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。
アブストラクト
Local feature attribution methods are increasingly used to explain complex machine learning models. However, current methods are limited because they are extremely expensive to compute or are not capable of explaining a distributed series of models where each model is owned by a separate institution. The latter is particularly important because it often arises in finance where explanations are mandated. Here, we present DeepSHAP, a tractable method to propagate local feature attributions through complex series of models based on a connection to the Shapley value. We evaluate DeepSHAP across biological, health, and financial datasets to show that it provides equally salient explanations an order of magnitude faster than existing model-agnostic attribution techniques and demonstrate its use in an important distributed series of models setting.
この論文を引用
Hugh Chen, Scott M. Lundberg, Su-In Lee (2021). Explaining a Series of Models by Propagating Shapley Values. arXiv:2105.00108v2. https://doi.org/10.1038/s41467-022-31384-3
BibTeX
@article{chen2021explaining,
title = {{Explaining a Series of Models by Propagating Shapley Values}},
author = {Hugh Chen and Scott M. Lundberg and Su-In Lee},
year = {2021},
eprint = {2105.00108},
archivePrefix = {arXiv},
doi = {10.1038/s41467-022-31384-3},
url = {https://arxiv.org/abs/2105.00108v2}
}