Abstract
We formulate a causal extension to the recently introduced paradigm of instance-wise feature selection to explain black-box visual classifiers. Our method selects a subset of input features that has the greatest causal effect on the model's output. We quantify the causal influence of a subset of features by the Relative Entropy Distance measure. Under certain assumptions this is equivalent to the conditional mutual information between the selected subset and the output variable. The resulting causal selections are sparser and cover salient objects in the scene. We show the efficacy of our approach on multiple vision datasets by measuring the post-hoc accuracy and Average Causal Effect of selected features on the model's output.
Introduction
In the quest to make deep learning models more interpretable, researchers have moved beyond global explanations toward "instance-wise" feature selection. The goal is to identify which specific input features (e.g., pixels in an image) led to a particular model output. While previous methods relied on statistical correlations, this work argues for a causal approach. Correlation does not imply causation; a feature might be highly correlated with the output due to a confounding variable or a "shortcut" the model learned, without being the actual reason the model made its decision. To provide truly faithful explanations, we must identify the features that have the greatest causal effect on the model's prediction.
Methodology
The authors frame the black-box model as a Structural Causal Model (SCM), where the input features are the causes and the output is the effect.
To quantify causal influence, the method utilizes Relative Entropy Distance (RED). Unlike standard Mutual Information (MI), RED is designed to measure the strength of an edge in a causal graph by looking at the effect of interventions (the "do-calculus" approach). Under the assumption that the model is a directed acyclic graph where inputs directly lead to outputs, maximizing causal strength is shown to be equivalent to maximizing the Conditional Mutual Information between the selected features and the output, given the unselected features.
Finding the best subset of $k$ features is a discrete, non-differentiable problem. To train an "explainer" network, the authors employ the Gumbel-Softmax trick, enabling end-to-end training via stochastic gradient descent. The effect of a subset is calculated by "zeroing out" non-selected patches, effectively querying the model on a partial input to see if the prediction remains stable.
Experiments and Results
The approach was evaluated on MNIST, Fashion MNIST, and CIFAR-10, comparing against L2X (Learning to Explain) and traditional attribution methods like GradCAM.
The proposed method consistently outperformed baselines across quantitative metrics:
- Post-hoc Accuracy: On MNIST ($k=4$), the causal method achieved 0.953 accuracy, compared to 0.942 for L2X and 0.804 for GradCAM. This suggests the selected features are highly sufficient for the model to make a correct prediction.
- Average Causal Effect (ACE): On CIFAR-10 (20% pixels), the causal method reached an ACE of 0.078, while L2X had a negative ACE (-0.017), suggesting L2X's selections were sometimes less informative than random patches.
Qualitatively, the causal method produces sparser and more precise explanations, focusing on discriminative parts of the object (like the middle bar of a '3' vs an '8') rather than blurry regions or background noise.
Conclusion
Causal feature selection leads to sparser, more accurate explanations by ignoring "noise" that is statistically relevant but causally inert. While the method shows significant promise, limitations include the requirement for a fixed subset size $k$ and potential out-of-distribution issues when zeroing out features. Future work will explore more complex causal structures and adaptive subset sizes.
Summary updated