TL;DR
Finding the exact "minimal sufficient reason"—the smallest set of input features that guarantees a model's prediction—is computationally intractable to do after a model is trained. This paper introduces Sufficient Subset Training (SST), a framework that trains neural networks to output these concise explanations alongside their predictions. The result? Highly faithful explanations generated millions of times faster than post-hoc methods, with minimal impact on predictive accuracy.
What Problem Does This Paper Address?
In explainable AI (XAI), a highly desirable form of explanation is a minimal sufficient reason: the absolute smallest subset of features (e.g., pixels in an image, words in a sentence) which, if kept constant, ensures the model's prediction will not change regardless of what happens to the rest of the input.
Historically, researchers have tried to find these subsets post-hoc (after the model is already trained) using search algorithms like Anchors or SIS.
The authors identify two massive roadblocks with this post-hoc approach:
- Intractability: The authors mathematically prove that finding these minimal subsets in continuous neural networks is computationally intractable (NP-Complete or even $\Sigma_2^P$-Complete). Because exact computation is impossible, post-hoc methods rely on heuristics that are slow and often yield suboptimal, overly large, or disjointed explanations.
- The OOD Problem: To test if a subset is "sufficient," post-hoc methods repeatedly mask the unselected features and check the model's output. This forces the frozen model to evaluate bizarre, out-of-distribution (OOD) inputs it has never seen before, leading to unreliable and counterintuitive explanations.
Methods: Sufficient Subset Training (SST)
To bypass the post-hoc bottleneck, the authors propose Sufficient Subset Training (SST), a self-supervised approach that bakes the explanation process directly into the training phase.
Instead of just outputting a prediction, an SST model outputs two things simultaneously: the prediction and an explanation vector. This vector is passed through a Sigmoid layer and a threshold to create a binary mask of selected features.
During training, the model uses a dual propagation technique:
- First pass: The model processes the original input to get the standard prediction and the explanation mask.
- Second pass: The model processes a masked version of the input, where the features outside the explanation mask are altered.
The network is optimized using a combined loss function that balances three goals:
- Prediction Loss: Standard cross-entropy for accuracy.
- Faithfulness Loss: Ensures the prediction on the masked input matches the prediction on the original input.
- Cardinality Loss: An L1 penalty that forces the explanation mask to be as sparse (small) as possible.
The authors test three different masking strategies for the second pass: Baseline (replacing unselected features with a constant, like zeros or a [MASK] token), Probabilistic (replacing them with random noise), and Robust (using an adversarial PGD attack to find the worst-case perturbation for the unselected features).
Key Insights and Ideas
- Complexity Proofs as a Motivator: The paper doesn't just complain that post-hoc methods are slow; it provides rigorous complexity proofs extending previous binary-domain findings to continuous domains, proving that post-hoc extraction of minimal sufficient reasons is fundamentally unscalable.
- Training on OOD Data Fixes the OOD Problem: By exposing the model to masked inputs during training via the dual-propagation step, the model learns how to handle these mixed inputs gracefully. This eliminates the OOD shock that ruins post-hoc explanation methods.
- The Faithfulness-Cardinality Trade-off: There is an inherent tug-of-war in XAI. A mask of the entire image is 100% faithful but useless (too large); an empty mask is perfectly concise but 0% faithful. SST allows developers to explicitly control this trade-off using a single hyperparameter (the cardinality coefficient $\xi$).
Key Results
The authors evaluated SST across vision (MNIST, CIFAR-10, ImageNet) and language domains (IMDB, SNLI), yielding impressive results:
- Massive Speedups: Because the explanation is generated in a single forward pass, inference time drops from seconds or minutes (e.g., SIS took ~262 seconds per ImageNet image) to microseconds ($\approx 10^{-6}$ to $10^{-4}$ seconds).
- Better Explanations: SST consistently produced smaller and more faithful explanations than post-hoc methods (Anchors, SIS, Gradient Search). On MNIST with robust masking, SST achieved 99.28% faithfulness with an average mask size of just 1.42% of the image.
- Maintained Accuracy: The strict interpretability constraints barely hurt performance. Text models saw less than a 1% drop in accuracy. MNIST accuracy actually increased slightly (+0.15%), while CIFAR-10 dropped by ~2% and ImageNet by 4.7%.
Limitations and Future Work
While highly effective, SST does come with trade-offs. The dual-propagation step makes training at least twice as slow as standard training. If using "Robust" adversarial masking, training becomes significantly more computationally expensive (similar to the overhead of adversarial training). Furthermore, SST introduces new coefficients (like the cardinality weight) that require careful grid searching to find the sweet spot between accuracy, explanation size, and faithfulness.
Future work could explore techniques from fast adversarial training to speed up the robust masking process. The authors also note that future research could investigate how to train models whose explanations generalize perfectly across all types of masking (baseline, probabilistic, and robust) simultaneously.
Summary updated