Abstract
Machine learning models often achieve high accuracy by exploiting spurious correlations, leading to explanations that fail when the data distribution shifts. This paper investigates the robustness of data-driven explanations and introduces Distributionally Robust Explanations (DRE). DRE is a model-agnostic framework that employs distributional mixup and consistency constraints to force models to focus on invariant, causal features. Experimental results across various benchmarks demonstrate that DRE significantly enhances both explanation reliability and out-of-distribution (OOD) predictive performance.
Introduction
In critical domains such as healthcare and criminal justice, the interpretability of machine learning models is as vital as their accuracy. We require models to be "right for the right reasons." However, standard training often leads to models picking up on environmental noise—spurious correlations that do not generalize. While research into Out-of-Distribution (OOD) generalization has improved predictive stability, this paper highlights a critical gap: even models that generalize well can produce explanations that rely on unreliable, background-specific features.
The authors find that state-of-the-art OOD methods like IRM or GroupDRO often fail to provide robust explanations. For instance, a model might correctly identify an animal in a camera trap image but base its decision on tree branches rather than the animal itself. This lack of "explanation robustness" poses significant risks for real-world deployment.
Methodology: Distributionally Robust Explanations (DRE)
To address this, the authors propose Distributionally Robust Explanations (DRE), an end-to-end framework designed to provide a supervisory signal for explanations without requiring human-labeled ground truth maps.
The framework consists of several key innovations:
- Distributional Mixup: Unlike standard mixup, DRE pairs samples with the same label from different distributions (e.g., a bird in a forest vs. a bird in a desert).
- Explanation Consistency Constraint: DRE enforces that the explanation of a mixed sample must be mathematically consistent with the mix of the individual explanations. This encourages the model to ignore distribution-specific noise and focus on invariant features.
- Sparsity Regularization: An $\ell_1$ penalty is applied to the explanations to ensure they remain concise and focused, preventing the model from trivializing the consistency constraint by highlighting the entire image.
- Model-Agnostic Design: DRE can be integrated with various architectures and explanation methods, such as Grad-CAM or Input Gradients.
Experimental Setup
The effectiveness of DRE was evaluated across three types of distributional shifts:
- Terra Incognita: Camera trap images where distributions are defined by physical locations, testing shifts in lighting and background.
- VLCS: A benchmark of four datasets (Caltech101, LabelMe, SUN09, VOC2007) testing dataset bias and photographic style.
- Urban Land: A tabular dataset for urbanization prediction, where distributions are defined by continental regions.
Results and Discussion
DRE demonstrates superior performance in both predictive power and explanation quality. On the Terra Incognita dataset, DRE improved prediction accuracy by 6.9% over standard Empirical Risk Minimization (ERM). In tabular data (Urban Land), it reduced prediction error by 18.5%.
Quantitatively, DRE outperformed existing methods on the DEC (Distributional Explanation Consistency) metric, indicating that its explanations remain stable across environmental changes. Qualitatively, as seen in the visualizations, DRE consistently "tightens" its focus onto the actual object of interest, whereas other methods often highlight irrelevant background features like grass or branches.
Conclusion and Limitations
The study concludes that forcing models to have robust explanations acts as a powerful regularizer, guiding them toward true causal factors and improving raw prediction accuracy. However, DRE has limitations: it requires explicit environment labels during training, introduces additional computational overhead (nearly doubling training time in some cases), and assumes that linear interpolations in the input space are meaningful. Future work may extend these robust explanations to complex scientific discovery tasks where the explanation itself is the primary goal.
Summary updated