Simple and Fast Group Robustness by Automatic Feature Reweighting
Shikai Qiu, Andres Potapczynski, Pavel Izmailov, Andrew Gordon Wilson
Abstract
A major challenge to out-of-distribution generalization is reliance on spurious features -- patterns that are predictive of the class label in the training data distribution, but not causally related to the target. Standard methods for reducing the reliance on spurious features typically assume that we know what the spurious feature is, which is rarely true in the real world. Methods that attempt to alleviate this limitation are complex, hard to tune, and lead to a significant computational overhead compared to standard training. In this paper, we propose Automatic Feature Reweighting (AFR), an extremely simple and fast method for updating the model to reduce the reliance on spurious features. AFR retrains the last layer of a standard ERM-trained base model with a weighted loss that emphasizes the examples where the ERM model predicts poorly, automatically upweighting the minority group without group labels. With this simple procedure, we improve upon the best reported results among competing methods trained without spurious attributes on several vision and natural language classification benchmarks, using only a fraction of their compute.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
33 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations cites Noise or Signal: The Role of Image Backgrounds in Object Recognition
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations cites On Feature Learning in the Presence of Spurious Correlations
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations cites Just Train Twice: Improving Group Robustness without Training Group Information
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations cites Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
- Spurious Feature Diversification Improves Out-of-distribution Generalization cites Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations
- On Feature Learning in the Presence of Spurious Correlations cites Noise or Signal: The Role of Image Backgrounds in Object Recognition
- On Feature Learning in the Presence of Spurious Correlations cites Just Train Twice: Improving Group Robustness without Training Group Information
- On Feature Learning in the Presence of Spurious Correlations cites Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations
- Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations cites On Feature Learning in the Presence of Spurious Correlations
- On Feature Learning in the Presence of Spurious Correlations cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Just Train Twice: Improving Group Robustness without Training Group Information cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Just Train Twice: Improving Group Robustness without Training Group Information
- Just Train Twice: Improving Group Robustness without Training Group Information cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
- Controllable Prompt Tuning For Balancing Group Distributional Robustness cites Just Train Twice: Improving Group Robustness without Training Group Information
- Controllable Prompt Tuning For Balancing Group Distributional Robustness cites Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations
- Improving Subgroup Robustness via Data Selection cites Just Train Twice: Improving Group Robustness without Training Group Information
- Improving Subgroup Robustness via Data Selection cites Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations
- Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations cites Noise or Signal: The Role of Image Backgrounds in Object Recognition
- Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations cites Just Train Twice: Improving Group Robustness without Training Group Information
- Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Noise or Signal: The Role of Image Backgrounds in Object Recognition
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
Cited by top-tier papers33
- Towards Last-layer Retraining for Group Robustness with Fewer AnnotationsTyler LaBonte, Vidya Muthukumar, Abhishek KumarNeurIPS 2023 · 73 citations
- Spurious Feature Diversification Improves Out-of-distribution GeneralizationYong Lin, Lu Tan, Yifan Hao, Honam Wong et al.ICLR 2024 · 34 citations
- Last Layer Re-Training is Sufficient for Robustness to Spurious CorrelationsPolina Kirichenko, Pavel Izmailov, Andrew Gordon WilsonICLR 2023 · 31 citations
- Improving Subgroup Robustness via Data SelectionSaachi Jain, Kimia Hamidieh, Kristian Georgiev, Andrew Ilyas et al.NeurIPS 2024 · 17 citations
- Controllable Prompt Tuning For Balancing Group Distributional RobustnessHoang Phan, Andrew Gordon Wilson, Qi LeiICML 2024 · 12 citations
Builds on9
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
- Just Train Twice: Improving Group Robustness without Training Group InformationEvan Zheran Liu, Behzad Haghgoo, Annie S. Chen, Aditi Raghunathan et al.ICML 2021 · 683 citations
- Noise or Signal: The Role of Image Backgrounds in Object RecognitionKai Yuanqing Xiao, Logan Engstrom, Andrew Ilyas, Aleksander MadryICLR 2021 · 451 citations
- No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification ProblemsNimit Sharad Sohoni, Jared Dunnmon, Geoffrey Angus, Albert Gu et al.NeurIPS 2020 · 316 citations
- On Feature Learning in the Presence of Spurious CorrelationsPavel Izmailov, Polina Kirichenko, Nate Gruver, Andrew Gordon WilsonNeurIPS 2022 · 208 citations
Related papers
- Calibrating Multi-modal Representations: A Pursuit of Group Robustness without AnnotationsChenyu You, Yifei Min, Weicheng Dai, Jasjeet S. Sekhon et al.CVPR 2024 · 10 citations
- Understanding and Improving Feature Learning for Out-of-Distribution GeneralizationYongqiang Chen, Wei Huang, Kaiwen Zhou, Yatao Bian et al.NeurIPS 2023 · 49 citations
- Regulating Internal Alignment Flows for Robust Learning Under Spurious CorrelationsRajeev Ranjan Dwivedi, Mohammedkaif Mohammedrafiq Kalagond, Niramay Patel, Vinod K. KurmiICLR 2026
- Let Samples Speak: Mitigating Spurious Correlation by Exploiting the Clusterness of SamplesWeiwei Li, Junzhuo Liu, Yuanyuan Ren, Yuchen Zheng et al.CVPR 2025
- Decompose-and-Compose: A Compositional Approach to Mitigating Spurious CorrelationFahimeh Hosseini Noohdani, Parsa Hosseini, Aryan Yazdan Parast, Hamidreza Yaghoubi Araghi et al.CVPR 2024 · 3 citations
