Abstract
Standard methods for explaining distribution shifts often prioritize global statistical matching at the expense of sub-population feasibility and robustness. This can lead to "impossible" explanations, such as suggesting demographic changes to bridge income gaps. We present Group-aware Shift Explanations (GSE), a model-agnostic framework that optimizes for the worst-performing sub-groups. By ensuring explanations respect group structures, GSE produces mappings that are significantly more feasible and robust across tabular, text, and image domains.
Introduction: The Problem of Group Irregularities
Machine learning models frequently encounter distribution shifts when deployed in real-world environments. Understanding these shifts is crucial for model maintenance and trust. Current state-of-the-art "shift explanations" attempt to map source samples to a target distribution to highlight necessary transformations. However, these methods often suffer from group irregularities.
Existing global optimization objectives, such as minimizing total Wasserstein distance, frequently result in:
- Infeasibility: Explanations may suggest changing immutable or unactionable attributes (e.g., gender or race) to match a target distribution.
- Fragility: Minor perturbations in the source data can lead to drastically different and often nonsensical explanations, undermining their reliability.
Group-aware Shift Explanations (GSE)
To address these flaws, we propose Group-aware Shift Explanations (GSE). Rather than optimizing for the average case, GSE focuses on the "worst" case among defined sub-populations.
Worst-group Optimization
GSE introduces the Worst-Group PercentExplained (WG-PE) metric. By maximizing the minimum performance across all groups, the framework prevents the optimization process from "sacrificing" minority groups to achieve a higher global score. This ensures that the resulting explanation is high-quality and representative for every sub-population.
Unified and Cross-Domain Framework
GSE is model-agnostic and can be integrated with various explanation techniques, including $K$-cluster transport and Optimal Transport (OT). For non-tabular data, we utilize a three-step pipeline:
- Featurization: Extracting interpretable features (e.g., via image captioning or bag-of-words).
- Optimization: Applying GSE on these features.
- Reverse Featurization: Reconstructing the original domain (e.g., using Stable Diffusion or text-to-image models) to visualize the shift.
Key Results and Insights
Our evaluation across tabular (Adult, Breast Cancer), language (Civil Comments), and vision (ImageNet) datasets demonstrates the superiority of GSE:
- Feasibility: On the Adult income dataset, GSE achieved 100% feasibility, whereas vanilla methods often suggested changing unactionable attributes like "sex".
- Robustness: By grounding explanations in meaningful group structures, GSE improved robustness by up to 42% in the Breast Cancer dataset.
- Equitable Performance: GSE significantly closed the gap between global and group-specific metrics. In the Breast Cancer dataset, the Worst-Group PE improved by 20%, ensuring high quality for all sub-populations.
- Qualitative Coherence: In vision tasks, GSE produced more logical transformations (e.g., turning an antelope into a horse rather than a porcupine), preserving group identities like "hooved mammals."
Conclusion
GSE demonstrates that incorporating group awareness into distribution shift explanations is essential for both feasibility and robustness. By moving beyond global averages to worst-group optimization, we can generate explanations that are not only statistically sound but also actionable and reliable for real-world decision-making. Future work will explore the sensitivity of GSE to group definitions and aim to improve the interpretability of per-sample mappings.
Summary updated