TL;DR
This paper resolves a long-standing dilemma in Explainable AI (XAI) by decomposing conditional Shapley values into two distinct components: a direct "interventional" effect (true to the model) and an indirect "dependent" effect (true to the data structure). This unified framework removes the burden of choosing between conditional and interventional SHAP, providing end-users with a clearer, more nuanced understanding of both model behavior and feature correlations without requiring a full causal graph.
What Problem Does This Paper Address?
Shapley values (popularized in machine learning via SHAP) are a gold standard for post-hoc model explanations, but they suffer from a major identity crisis when input features are highly correlated. To calculate the impact of a feature, SHAP must evaluate the model with that feature "missing," which requires integrating over a background data distribution.
This introduces a difficult choice:
- Conditional SHAP (Observational): Conditions on known features. This is "true to the data" but can mistakenly attribute importance to a completely unused feature simply because it correlates with a predictive one.
- Interventional SHAP (Marginal): Ignores feature correlations. This is "true to the model" but forces the model to evaluate unrealistic, out-of-distribution ("off-manifold") data points.
Different stakeholders need different explanations. For instance, a court checking a recidivism model for racial bias needs an interventional explanation to ensure "Race" has zero direct impact. Conversely, a doctor looking at a heart attack risk model needs a conditional explanation, as reducing a patient's weight (obesity) will indirectly lower their heart rate, affecting their risk. The authors address this conflict by showing that you don't have to choose—you can mathematically split the explanation into both parts.
Methods
The authors introduce a novel mathematical decomposition of the conditional Shapley value. For any given feature, its total conditional SHAP value is split into:
- Interventional SHAP Part ($\phi_{i,int}$): Captures the direct effect of the feature value on the model output, using a conditional mean.
- Dependent SHAP Part ($\phi_{i,dep}$): Captures the indirect effect exerted via statistical dependencies with other unknown features.
Unlike previous causal Shapley frameworks, this method does not require a predefined causal graph (see alternative causal structures in Causal Structures).
To implement this efficiently and model-agnostically, the authors extend the standard Kernel SHAP sampling approach. They estimate the conditional data distributions using either a multivariate Gaussian distribution or a Gaussian copula, allowing them to sample missing features realistically while isolating the direct interventional effects.
Datasets
The method was evaluated using:
- Synthetic Toy Dataset: A simple binary risk model with dependent features designed to simulate the court/hospital scenarios.
- Boston Housing Dataset: A classic regression dataset used to predict median house prices based on urban and environmental features.
- Algerian Forest Fires Dataset: A dataset used to predict forest fire probability based on meteorological features (Temperature, Relative Humidity, Wind Speed, Rain).
Key Insights and Ideas
- The "Dummy Property" is Preserved: The authors prove theoretically that the interventional part of their decomposition satisfies the game-theoretic dummy property. If a model does not actually use a feature, its interventional SHAP part is guaranteed to be zero, even if that feature is highly correlated with other predictive features.
- Unification, Not Substitution: Instead of viewing conditional and interventional SHAP as competing methods, this paper frames them as two sides of the same coin. Conditional SHAP values inherently contain both direct and indirect information; decomposition simply untangles them.
- Flaws in Shapley Residuals: The authors demonstrate that an alternative state-of-the-art method for capturing feature dependencies—Shapley Residuals—fails to increase monotonically with feature correlation and cannot be intuitively visualized in additive explanations like force plots because they sum to zero.
Key Results
The authors adapted the popular SHAP "force plots" to display both components stacked together, as shown in the toy dataset visualization:
In experiments on the Boston Housing dataset, the authors simulated a policy maker trying to maximize house prices by changing features. Selecting features based on the interventional SHAP part led to faster, more realistic improvements in the target outcome compared to relying on standard conditional SHAP values, particularly when imputing features using realistic conditional means.
On the Algerian Forest Fires dataset, the decomposition successfully isolated the massive direct effect of temperature on fires, while revealing that "Rain" has a negative direct effect but a positive dependent effect due to its strong statistical relationships with humidity and temperature.
Limitations and Future Work
While theoretically sound, the authors note that the distinction between "model" and "result" explanations might be too nuanced for non-technical domain experts to grasp immediately. Additionally, the method relies heavily on accurate conditional sampling of feature spaces. While Gaussian distributions and copulas work well for continuous data, highly non-linear or categorical data structures might require more sophisticated density estimation techniques (like normalizing flows or VAEs) in future iterations.
Summary updated