Kumar et al - Conditional vs Interventional Shapley Catch-22
Summary
§3.1 of Kumar et al. (2020): choosing a value function for Shapley feature attribution is “a catch-22”. The conditional value function credits features with no interventional effect if they predict features the model uses (good for proxy audits, “paradoxical” for others), needs conditional distributions, and — worse — makes attributions depend on which redundant features are counted as players: adding an exact copy of feature changes ‘s attribution even though the function is unchanged on the data (eq. 6-13). Fixes such as asymmetric Shapley values require causal knowledge. The interventional value function avoids indirect influence but evaluates on off-manifold points (Figure 1; the example), so explanations reflect how extrapolates and can be gamed (Slack et al. 2020).
Overview
The paper’s §3 opens: these problems “arise from the estimation procedures that are in use as well as the fundamental axiomatic structure of Shapley values” (p.3). §3.1 handles the first family — those that come from choosing between the two value functions defined in eq. 4 and eq. 5. §3.2 (additivity, common to both) is in Kumar et al - Additivity Axiom Limits for Non-Additive Models.
Main Content
3.1 The indirect-influence debate (p.3)
Definition: Variable with no interventional effect (§3.1, p.3)
Let have domain . Feature has no interventional effect if whenever for all — intervening on alone never changes the output.
Should such a feature count as an “input”? One could define on that reproduces exactly. But what if, “in the relevant input space, is a statistical proxy for some which does affect the output of ?” (p.3).
Two positions:
| Position | Proponent | Value function it favours | Treatment of a proxy with no interventional effect |
|---|---|---|---|
| Information-theoretic: “the information content of a feature can be estimated by trying to predict it from the remaining features” | Adler et al. (2018), auditing indirect influence (e.g. redlining) | Conditional | Non-zero credit: if predicts features in , then , so — “a positive thing” for proxy detection |
| Indirect influence is paradoxical | Merrick & Taly (2019) | Interventional | Interventional methods never attribute influence to such an (shown by Merrick & Taly) — seen as desirable |
Note on wording: the Merrick & Taly entry is more than a position. The source says they “criticize the capacity to attribute indirect influence as being paradoxical, and show that interventional methods will never attribute attribute influence to an which has no interventional effect on , which they see as a desirable property” (p.3; “attribute attribute” is duplicated in the original). The criticism is a normative stance. The never attribute claim is a demonstrated property, stated formally below.
Property: Interventional Shapley gives zero to a variable with no interventional effect (Merrick & Taly 2019, as reported in §3.1, p.3)
Let feature have no interventional effect on (^def-no-interventional-effect), and let be the interventional value function (eq. 5), where does not depend on and its marginal over the features outside is the same whether or not . Examples are the product of marginals (QII) and the marginal joint of (KernelSHAP). Then , whatever the correlation between and the other features.
Proof sketch (our derivation; the paper only cites the result). For any , and . Couple the two expectations so that the coordinates other than share the same draw. The integrands then differ only in coordinate ( vs a draw of ). Because does not depend on coordinate , they are equal pointwise. So for every , and the dummy axiom gives . The same argument fails for the conditional game: conditioning on changes the distribution of , so whenever is informative about the features uses. This is the Adler et al. row above.
Adler et al.’s follow-on and the conditional value function (§3.1, p.3). Beyond proxy detection, the paper notes: “While Adler et al. go on to analyze how the accuracy of a model depends on indirect information, the conditional value function aligns with this information-theoretic principle as well” — i.e. the conditional game measures what a feature tells you about the others (including how much predictive accuracy rides on information routed through proxies), not what intervening on it would do. This is why the conditional Shapley value “may attribute influence to features with no interventional effect, a positive thing from the perspective of Adler et al.” (p.3).
Claim: The value-function choice is a catch-22 (§3.1, p.3)
“Unfortunately, the decision between the two types of value functions is a catch-22. Both methods introduce serious issues: Choosing a conditional method requires further modeling of how the features are interrelated, which we describe in 3.1.1, while choosing an interventional method induces an ‘out-of-distribution’ problem which we address in 3.1.2.”
3.1.1 Issues with conditional distributions (p.3-4)
Two difficulties:
- Computation. Exact conditional Shapley values require different multivariate (conditional) distributions, so substantial approximation or modelling is needed. “The TreeSHAP algorithm estimates the conditional expectations of any tree ensemble directly, without sampling, using information computed during model training. The algorithm utilizes information about the training instances which fall into each leaf node to model each conditional distribution” (p.3). It is, however, limited: “It is not, however, set up to attribute influence to variables without an interventional effect, as the trees contain no information about the distribution of variables not in the model” (p.3-4). For arbitrary models one must model data relationships not captured by itself; Aas et al. (2019) and Frye et al. (2019) generate in-distribution samples for this.
- Choice of players. Influence “can be computed on an arbitrarily large set of features”, so the modeller must decide which features are players and which are redundant — and because attributions must sum to , the choice changes the explanation.
Result: Redundant players change everyone's attribution (§3.1.1, eq. 6-13, p.4)
Setup. Features and a redundant copy with ; a model is trained on all three. Under the conditional value function
so and . For any instance :
Two-player version. Define . Since on the data, : “It is effectively the same model for all in-distribution data points, so the games and are the same for all subsets of variables.” Restricting the explanation to two players gives
(in eq. 12, because and ).
Conclusion. “is neither equal to , its assigned influence in the 3-variable setting, nor , the ‘total’ influence of the two identical variables in the 3-variable setting. The relative apparent importances of A and B thus depend on whether C is considered to be a third feature, even though the two functions are effectively the same.” (p.4)
Proof sketch. Enumerate the orderings. first (2 orderings) contributes ; second (after or after , 2 orderings) contributes by the equalities above; last (2 orderings) contributes → eq. 10. first (2) gives ; after only (1) gives ; after only (1) gives ; last (2) gives → eq. 11. With two players each ordering has weight → eq. 12-13.
Fairness-audit consequence (§3.1.1, p.4)
“Suppose, for instance, that B is a sensitive feature, and C is a non-sensitive feature that happens to perfectly correlate with it. Two different ‘fairness’ audits of the same function would come out with quantitatively different results.”
Causal fix and its cost — asymmetric Shapley values (p.4). Frye et al. (2019) propose using causal knowledge: “If is known to be the deterministic causal ancestor of , one might want to attribute all the importance to and none to .” They discount fully redundant causal descendants and relax the symmetry axiom: instead of averaging over all permutations, a quasivalue averages only over some — e.g. orderings placing causal ancestors before descendants.
Definition: Asymmetric Shapley value (Frye et al. 2019, as summarised in §3.1.1, p.4)
Given a (possibly partial) causal ordering of features, average only over permutations consistent with it (ancestors before descendants), rather than all of . Fully redundant descendants then receive zero attribution and do not change the others’: in the example, if is a causal descendant of , the asymmetric Shapley values of and under equal those under .
A fully specified causal model is not required to use this method: they “span the data-agnosticism continuum in the sense that they allow any knowledge about the data, however incomplete, to be incorporated into an explanation of the models behaviour” (p.4; verbatim, “models” without apostrophe as printed). Kumar et al.’s objection: Frye et al.’s own results show “the sensitivity of the game theoretic approach to the amount of prior knowledge about the relative agency of each feature, which we consider a significant limitation of the approach.”
The authors close §3.1.1: “There are thus both practical and epistemological challenges with computing the Shapley values of games with a conditional value function” (p.4). The causal prerequisites are those of DAGs and Causal Identification.
3.1.2 Issues with interventional distributions (p.5)
Those who reject indirect influence may prefer interventional value functions. “These methods, however, are highly sensitive to properties of the model which are not relevant to what it has learned about the data it was trained on.” They “fundamentally rely on evaluating a model on out-of-distribution samples” (p.5).
Figure 1 — conditional vs interventional sampling (p.5)
Caption (paraphrased): samples that might be drawn to estimate and to explain for some , given correlated Gaussian , depending on whether the expectation is taken over and (left) or over and (right).
What the two panels show (vault gloss, eyeballed from a render of p.5 — the paper gives no data, correlation or sample size behind the figure, so all ranges below are approximate): grey points are a positively correlated Gaussian cloud ( roughly to , roughly to ); the red dot is the explained point ; blue crosses are the sampled evaluation points along the horizontal line and the vertical line .
- Left, “Conditional”: the crosses stay inside the cloud — ranges over about and over about .
- Right, “Marginal”: the crosses cover the full marginal ranges — from about to at and from about to at — so many evaluation points (e.g. ) lie where there is no training data.
Example: Engineered product feature (§3.1.2, p.5)
Setup. Training data with and an engineered feature .
Computation. requires over a distribution for that does not depend on . So is almost certainly evaluated at with — “well outside the domain of the actual data distribution.”
Interpretation. “The model has never seen an example like this in training, and has therefore not learned much about this part of the feature space. Its predictions on this feature space are not necessarily relevant to the task of explaining an in-distribution sample, yet the explanations will be affected by them.”
Supporting literature (p.5):
- Hooker & Mentch (2019): permutation-based importance substitutes values into that are unlikely or impossible given , forcing extrapolation; importance is “highly sensitive to the way in which the model extrapolates to these edge cases” — see Hooker Mentch Zhou 2021 - Permute-and-Predict Extrapolation - Overview.
- Slack et al. (2020): models that discriminate on a protected feature for in-distribution inputs but behave differently on KernelSHAP’s out-of-distribution samples “simulate ‘fairness’” in explanations: “By manipulating the model’s behavior on unfamiliar parts of the feature space, they can twist the explanations on the familiar part to their will.”
Claim: Interventional attribution is inherently misleading (§3.1.2, p.5)
“These challenges illustrate that intervening on a subset of features of a data case before applying a model trained on a sample from a certain distribution is inherently misleading.”
Examples
Example: Numerical version of eq. 10-13
Setup. (with also fed to the three-feature version), independent, . Explain : , , , , .
Two players (eq. 12-13). , , , → , (sum ).
Three players (eq. 10-11). ; ; the -block totals (sum ).
Interpretation. The function is unchanged on the data, yet ‘s share rises from 60% to 67%. In marketing feature sets near-duplicates are routine — spend and impressions of one channel, two encodings of the same holiday calendar, a brand-search term that tracks TV — so a channel’s SHAP share depends on how many proxies of each driver were included.
Example: Indirect influence with correlated Gaussians (illustration of §3.1)
Setup. standard bivariate normal with correlation ; the model uses only : . So has no interventional effect.
Conditional game. , , , . Then and .
Interventional game. , so , .
Example: Off-manifold evaluation in weekly media data (illustration)
With 52-156 weekly rows, TV GRPs and branded-search clicks are often highly correlated. KernelSHAP for a tree model evaluates weeks with heavy TV and near-zero search (or the reverse) that never occurred; tree models extrapolate flat outside the data, so the attribution partly reflects arbitrary split placement in empty regions — the permute-and-predict pathology in Shapley form.
Connections
- Shapley Values and SHAP Value Functions — definitions of both value functions and Table 1.
- Janzing et al 2020 - Feature Relevance as a Causal Problem - Overview — argues the interventional choice is conceptually correct for attributing a model’s output; Kumar et al. accept that it avoids indirect influence but stress the off-manifold cost.
- Strobl et al 2008 - Conditional Variable Importance - Overview — the conditional remedy in permutation importance, with the same “what counts as redundant” problem.
- Strobl et al 2007 - Bias in RF Variable Importance - Overview — estimator artefacts in importance rankings.
- Fisher Rudin Dominici 2019 - Model Class Reliance - Overview — redundancy is one reason many equally accurate models assign reliance differently.
- Garden of Forking Paths / Researcher Degrees of Freedom — choice of players and value function are analyst degrees of freedom.
See Also
- Kumar et al 2020 - Problems with Shapley-Value Explanations - Overview
- Kumar et al - Additivity Axiom Limits for Non-Additive Models — the problem common to both value functions.
- DAGs and Causal Identification — the causal knowledge asymmetric Shapley values require.
- Strobl 2008 - Permutation Importance Null Hypotheses — same marginal-vs-conditional choice stated as permutation null hypotheses