PE-SHAP: Causally Interpretable Path-Wise Shapley Explanations
Abstract
Shapley value-based explanations are widely used to attribute model predictions, but standard variants capture associative rather than causal relationships. Recent causally informed Shapley methods add a path-wise decomposition, but PW-SHAP's per-path values are built from conditional contrasts and need not add up to a total. We propose PE-SHAP, a Shapley-inspired path-wise decomposition built on the portion-eliminated effect. Per-mediator values sum to the portion of the effect eliminated by fixing all mediators at every sample; this total aggregates to the Natural Indirect Effect at the population level when the pre-treatment inputs are independent of the mediators under the reference intervention, and the value of a block of mediators matches the Path-Specific Effect of its path under additive separability and path exclusivity. We validate PE-SHAP analytically and through Monte-Carlo experiments on synthetic SCMs with known path effects, and demonstrate it on real-world fairness case studies using the German Credit and COMPAS datasets.