Did Models Learn Sufficiently? Attribution-Guided Training via Subset-Selected Counterfactual Augmentation
Summary
Subset-Selected Counterfactual Augmentation (SS-CA) is a novel framework that addresses the issue of visual models relying on limited sufficient causes, which makes them sensitive to distribution shifts or missing key features. SS-CA integrates counterfactual explanations directly into the training process. It develops Counterfactual LIMA, building on the LIMA attribution method, to identify minimal spatial regions whose removal can selectively alter model predictions. Leveraging these attributions, SS-CA replaces identified regions with natural background and trains the model jointly on both augmented and original samples. Extensive experiments across ImageNet-100, TinyImageNet-200, and ImageNet-1k, using backbones like ResNet-101, ViT-B/16, and CLIP ViT-B/32, show SS-CA improves in-distribution (ID) accuracy and achieves superior performance on out-of-distribution (OOD) benchmarks such as ImageNet-R and ImageNet-S. For instance, on ImageNet-100 with CLIP (ViT/32b), SS-CA achieved 91.14% ID accuracy, 62.59% on ImageNet-R, and 59.07% on ImageNet-S, outperforming baselines and enhancing robustness against common corruptions.
Key takeaway
For Machine Learning Engineers training visual models, standard Empirical Risk Minimization often leads to models relying on spurious correlations. You should integrate Subset-Selected Counterfactual Augmentation (SS-CA) to compel your models to learn more robust, generalizable features. This approach, by dynamically generating hard counterfactual samples, significantly improves both in-distribution accuracy and out-of-distribution robustness, making your models more reliable under diverse conditions.
Key insights
Integrating attribution-guided counterfactual augmentation during training improves model generalization and robustness by mitigating reliance on spurious correlations.
Principles
- Models often rely on limited sufficient causes.
- Counterfactual explanations reveal decision-changing regions.
- Attribution fidelity is key for effective debiasing.
Method
SS-CA uses Counterfactual LIMA to identify minimal regions that flip predictions. These regions are replaced with natural background from a donor image, creating hard augmented samples for joint optimization with original data.
In practice
- Use subset-selection for faithful attributions.
- Dynamically select counterfactual targets.
- Refill masked regions with natural background.
Topics
- Counterfactual Explanations
- Data Augmentation
- Model Robustness
- Out-of-Distribution Generalization
- Attribution Methods
- Causal Learning
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, Computer Vision Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CV updates on arXiv.org.