Just Train Twice: Improving Group Robustness without Training Group Information
Evan Zheran Liu, Behzad Haghgoo, Annie S. Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, Chelsea Finn
Abstract
Standard training via empirical risk minimization (ERM) can produce models that achieve high accuracy on average but low accuracy on certain groups, especially in the presence of spurious correlations between the input and label. Prior approaches that achieve high worst-group accuracy, like group distributionally robust optimization (group DRO) require expensive group annotations for each training point, whereas approaches that do not use such group annotations typically achieve unsatisfactory worst-group accuracy. In this paper, we propose a simple two-stage approach, JTT, that first trains a standard ERM model for several epochs, and then trains a second model that upweights the training examples that the first model misclassified. Intuitively, this upweights examples from groups on which standard ERM models perform poorly, leading to improved worst-group performance. Averaged over four image classification and natural language processing tasks with spurious correlations, JTT closes 75% of the gap in worst-group accuracy between standard ERM and group DRO, while only requiring group annotations on a small validation set in order to tune hyperparameters.
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.
253 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
- Improving Out-of-Distribution Robustness via Selective Augmentation cites An Investigation of Why Overparameterization Exacerbates Spurious Correlations
- Improving Out-of-Distribution Robustness via Selective Augmentation cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Improving Out-of-Distribution Robustness via Selective Augmentation cites Environment Inference for Invariant Learning
- Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervision cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites An Investigation of Why Overparameterization Exacerbates Spurious Correlations
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
- A Fine-Grained Analysis on Distribution Shift cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Environment Inference for Invariant Learning cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Environment Inference for Invariant Learning cites No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
Cited by top-tier papers253
- 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
- Environment Inference for Invariant LearningElliot Creager, Jörn-Henrik Jacobsen, Richard S. ZemelICML 2021 · 454 citations
- Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak SupervisionCollin Burns, Pavel Izmailov, Jan Hendrik Kirchner, Bowen Baker et al.ICML 2024 · 443 citations
- Improving Out-of-Distribution Robustness via Selective AugmentationHuaxiu Yao, Yu Wang, Sai Li, Linjun Zhang et al.ICML 2022 · 275 citations
- A Fine-Grained Analysis on Distribution ShiftOlivia Wiles, Sven Gowal, Florian Stimberg, Sylvestre-Alvise Rebuffi et al.ICLR 2022 · 258 citations
Builds on10
- 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
- Environment Inference for Invariant LearningElliot Creager, Jörn-Henrik Jacobsen, Richard S. ZemelICML 2021 · 454 citations
- An Investigation of Why Overparameterization Exacerbates Spurious CorrelationsShiori Sagawa, Aditi Raghunathan, Pang Wei Koh, Percy LiangICML 2020 · 436 citations
- Gradient Starvation: A Learning Proclivity in Neural NetworksMohammad Pezeshki, Sékou-Oumar Kaba, Yoshua Bengio, Aaron C. Courville et al.NeurIPS 2021 · 378 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
Related papers
- Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 citations
- AGRO: Adversarial discovery of error-prone Groups for Robust OptimizationBhargavi Paranjape, Pradeep Dasigi, Vivek Srikumar, Luke Zettlemoyer et al.ICLR 2023
- Distributionally Robust Optimization with Probabilistic GroupSoumya Suvra Ghosal, Yixuan LiAAAI 2023 · 14 citations
- Modeling the Q-Diversity in a Min-max Play Game for Robust OptimizationTing Wu, Rui Zheng, Tao Gui, Qi Zhang et al.ACL Findings 2023 · 1 citation
- Focus on the Common Good: Group Distributional Robustness FollowsVihari Piratla, Praneeth Netrapalli, Sunita SarawagiICLR 2022 · 32 citations
