Janzing et al 2020 - Feature Relevance as a Causal Problem - Overview

Summary

Janzing, Minorics & Blöbaum (AISTATS 2020) ask which distribution should be used for the “dropped” features when Shapley values attribute . Distinguishing Pearl’s observational from interventional conditioning, they argue that the right object is the interventional expectation . Because the inputs of an algorithm are its only causes, this equals the marginal expectation (eq. 14). Observational conditional expectations violate sensitivity: by Lemma 1, a feature the function ignores can get non-zero credit. The scope is narrow by design: is “the output of the system and not a property of the external world”, so the paper settles what SHAP explains about the model and nothing about the causal effect of a real-world feature.

Overview

Research Question and Contribution

Bibliographic details (title block, p.1). Dominik Janzing, Lenon Minorics and Patrick Blöbaum, all at Amazon Research Tübingen, Germany. The paper’s own date line is 25 November 2019; the arXiv stamp of v2 is 27 Nov 2019 (arXiv:1910.13413v2 [stat.ML]). Published at AISTATS 2020, PMLR 108.

Question. When explaining why deviates from with Shapley values, the features outside a coalition must be averaged out. Should they be averaged over , as in the theory of SHAP (Lundberg & Lee 2017), or over , as in its implementation?

Contribution (Abstract, p.1). The confusion “is based on not carefully distinguishing between observational and interventional conditional probabilities”. The authors “conclude that unconditional rather than conditional expectations provide the right notion of dropping features in contradiction to the theoretical justification of the software package SHAP”. SHAP’s code is unaffected because it uses marginal expectations as an “approximation”. That approximation “encouraged others to ‘improve’ SHAP in a way that we believe to be flawed”.

Main Content

Key findings

  1. Under observational conditioning, irrelevant-but-correlated inputs get credit (Example 1, Lemma 1).
  2. Treating inputs as causes of the output makes the interventional and marginal value functions coincide (eq. 14). Marginal SHAP is thereby causally justified for the model.
  3. The alleged symmetry violation of expectation-based Shapley values (Sundararajan & Najmi 2019) is defensible: the induced binary game is itself asymmetric.
  4. On linear models with known attribution , KernelSHAP (marginal) is close to the truth while SHAPR (conditional) is widely dispersed, both on Gaussian simulations and on UCI Human Activity Recognition data (Figs. 4-5, histograms only; read-off values: Gaussian errors span about , HAR errors about ).

How the argument fits together

baseline axioms (§2) ──► which distribution for dropped features? (§3, eq. 3 vs 4)
                               │
           ┌───────────────────┼─────────────────────────┐
     back-door eq.(5)    Example 1 / Lemma 1      inputs-as-causes eq.(14)
   intervention cuts     conditional ⇒ credit      do(X_T) on model
   X1's dependences      to unused features        = marginal expectation
           └───────────────────┼─────────────────────────┘
                     marginal SHAP is right (for f)
                               │
             symmetry reply (§3)   ·   experiments (§4)   ·   conclusion (§5)

Source Map

Source sectionContentNote
Title block (p.1)Authors, Amazon Research Tübingen affiliation, date line 25 Nov 2019, arXiv v2 stamp 27 Nov 2019this note, Bibliographic details
Abstract, §1 Motivation (pp.1-2)Robustness/adversarial motivation (“hard to analyze which features were decisive”) and fairness motivation; baseline case studied “mostly for the case of real-valued inputs and differentiable ”; real-valued “for reasons that will become clear later”; problem ; baseline vs expectation; paper plan, incl. claim that IG and Shapley values are the unique attribution functions for the axioms, and that Datta et al. (2016) supports marginalization over unused featuresJanzing 2020 - Baseline Attribution Axioms and Integrated Gradients
§2 Prior Work (p.2)DeepLIFT, LRP, LIME (cited as “Ribeiro and Singh (2016)” sic), gradient methods, MolnarJanzing 2020 - Baseline Attribution Axioms and Integrated Gradients
§2.1 eq. (1), 5 properties, fn. 1-2 (p.2)Integrated gradients; Completeness, Sensitivity, Implementation Invariance, Linearity, Symmetry-PreservingJanzing 2020 - Baseline Attribution Axioms and Integrated Gradients
§2.1 Theorem 1 (p.3)Convex combinations of path methods; IG unique symmetric path methodJanzing 2020 - Baseline Attribution Axioms and Integrated Gradients
§2.2 eq. (2) (p.3)Shapley value of set function; ; baseline set function ; Sundararajan & Najmi (2019)Janzing 2020 - Baseline Attribution Axioms and Integrated Gradients
§3 eq. (3)-(4), fn. 3 (pp.3-4)Conditional vs marginal simplified functions; Lundberg & Lee’s justification; TreeExplainer changeJanzing 2020 - Conditional vs Marginal Dropping of Features
§3 Fig. 1, eq. (5) (p.4)Confounded structure (drawn edges , no ; white = latent); back-door adjustment; two observationsJanzing 2020 - Conditional vs Marginal Dropping of Features, Janzing 2020 - Conditional vs Marginal Dropping of Features
§3 Example 1, eq. (6)-(13) (pp.4-5)Irrelevant feature with Janzing 2020 - Irrelevant-Feature Example and Failure of Sensitivity
§3 Lemma 1 + paradox (p.5)Failure of Sensitivity (printed form conditions on — typo, flagged); vs Janzing 2020 - Irrelevant-Feature Example and Failure of Sensitivity
§3 Fig. 2, eq. (14), fn. 4 (pp.5-6)True features vs inputs (Fig. 2 drawn with five features; bottom panel cuts , ; caption typo “ob some object”); interventional = marginalJanzing 2020 - Inputs as Causes - Interventional Equals Marginal Expectation
§3 symmetry, Fig. 3 (p.6)Sundararajan & Najmi Ex. 4.9; reply via ; full table and contributions; additive-model generalisationJanzing 2020 - Symmetry Axiom Objection and Reply
§4.1.1 eq. (15) (p.7)Shapley kernel weighted least squares; subset samplingJanzing 2020 - KernelSHAP vs SHAPR Experiments
§4.1.2 eq. (16) (p.7)KernelSHAP Monte Carlo set functionJanzing 2020 - KernelSHAP vs SHAPR Experiments
§4.2 (p.7)Linear ground truth ; SHAP vs SHAPRJanzing 2020 - KernelSHAP vs SHAPR Experiments
§4.2.1, Fig. 4 (p.8)Gaussian conditional; , designs and results; Fig. 4 values (errors on ; marginal spikes about 1,750 and 4,500; pooled about errors)Janzing 2020 - KernelSHAP vs SHAPR Experiments, Janzing 2020 - KernelSHAP vs SHAPR Experiments
§4.2.2, Fig. 5 (pp.8-9)Aas et al. kernel estimator (3 steps); UCI HAR design and results; Fig. 5 values (errors on ; marginal spike about 1,220, conditional peak about 230)Janzing 2020 - KernelSHAP vs SHAPR Experiments, Janzing 2020 - KernelSHAP vs SHAPR Experiments
§5 Conclusion, Acknowledgements (p.9)Restated claims; axioms vagueJanzing 2020 - Conclusions, Limitations and Model-vs-World Attribution
References (pp.9-11)27 references, listed in full belowcited inline across notes

Reference list (pp.9-11)

All 27 entries, grouped by the role they play in the paper:

RoleReferences
Adversarial-robustness motivation (§1)Goodfellow, Shlens & Szegedy 2015 (ICLR); Sharif et al. 2016 (ACM CCS); Kurakin, Goodfellow & Bengio 2018; Eykholt et al. 2018 (CVPR); Brown et al. 2018 (Adversarial Patch, arXiv:1712.09665)
Fairness motivation (§1)Dwork et al. 2012 (ITCS); Kilbertus et al. 2017 (NeurIPS); Barocas, Hardt & Narayanan 2018 (fairmlbook.org)
Attribution methods surveyed (§2)Shrikumar, Greenside & Kundaje 2016 (DeepLIFT); Binder et al. 2016 (LRP); Ribeiro, Singh & Guestrin 2016 (LIME); Chattopadhyay et al. 2019 (ICML, causal attributions for neural nets); Molnar 2019 (Interpretable Machine Learning)
Axiomatic results (§2)Sundararajan, Taly & Yan 2017 (integrated gradients, ICML); Friedman 2004 (path methods, IJGT 32(4)); Shapley 1953; Sundararajan & Najmi 2019 (The many Shapley values, arXiv:1908.08474)
SHAP and its conditional variants (§3-4)Lundberg & Lee 2017 (NeurIPS); Lundberg, Erion & Lee 2018 (TreeSHAP, arXiv:1802.03888); Aas, Jullum & Løland 2019 (SHAPR, arXiv:1903.10464)
Causal and marginalisation background (§1, §3)Pearl 2000 (Causality); Datta, Sen & Zick 2016 (Quantitative Input Influence, IEEE S&P); J. H. Friedman 2001 (gradient boosting / partial dependence, Ann. Stat.); Zhao & Hastie 2019 (JBES)
Computation and data (§4)Charnes et al. 1988 (Shapley value as weighted least squares); Mahalanobis 1936; Anguita et al. 2013 (HAR dataset, ESANN)

Examples

Example: The paper's argument in one worked case

Take Example 1 of the paper: with binary and equiprobable, explained at , so . Conditional dropping (eq. 3) splits the credit , although the model never reads . Marginal dropping (eq. 4) gives , . Eq. (14) shows that the marginal numbers are exactly what an intervention on the model’s inputs would produce. Details: ^ex-1-irrelevant-feature.

Connections

Positioning

Marketing-Analytics Relevance

Notes in this set

See Also