Understanding the failure modes of out-of-distribution generalization
Abstract
Empirical studies suggest that machine learning models often rely on features, such as the background, that may be spuriously correlated with the label only during training time, resulting in poor accuracy during test-time. In this work, we identify the fundamental factors that give rise to this behavior, by explaining why models fail this way even in easy-to-learn tasks where one would expect these models to succeed. In particular, through a theoretical study of gradient-descenttrained linear classifiers on some easy-to-learn tasks, we uncover two complementary failure modes. These modes arise from how spurious correlations induce two kinds of skews in the data: one geometric in nature, and another, statistical in nature. Finally, we construct natural modifications of image classification datasets to understand when these failure modes can arise in practice. We also design experiments to isolate the two failure modes when training modern neural networks on these datasets. 1
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.
70 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
- Out-of-Distribution Generalization via Risk Extrapolation (REx) cites In Search of Lost Domain Generalization
- What shapes feature representations? Exploring datasets, architectures, and training cites The Pitfalls of Simplicity Bias in Neural Networks
- The Pitfalls of Simplicity Bias in Neural Networks cites What shapes feature representations? Exploring datasets, architectures, and training
- Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization cites In Search of Lost Domain Generalization
- Correct-N-Contrast: a Contrastive Approach for Improving Robustness to Spurious Correlations cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalization
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites Correct-N-Contrast: a Contrastive Approach for Improving Robustness to Spurious Correlations
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs cites In Search of Lost Domain Generalization
Cited by top-tier papers70
- Invariance Principle Meets Information Bottleneck for Out-of-Distribution GeneralizationKartik Ahuja, Ethan Caballero, Dinghuai Zhang, Jean-Christophe Gagnon-Audet et al.NeurIPS 2021 · 372 citations
- Exploring Length Generalization in Large Language ModelsCem Anil, Yuhuai Wu, Anders Andreassen, Aitor Lewkowycz et al.NeurIPS 2022 · 267 citations
- Learning Causally Invariant Representations for Out-of-Distribution Generalization on GraphsYongqiang Chen, Yonggang Zhang, Yatao Bian, Han Yang et al.NeurIPS 2022 · 246 citations
- Correct-N-Contrast: a Contrastive Approach for Improving Robustness to Spurious CorrelationsMichael Zhang, Nimit Sharad Sohoni, Hongyang R. Zhang, Chelsea Finn et al.ICML 2022 · 230 citations
- Deep Learning Through the Lens of Example DifficultyRobert J. N. Baldock, Hartmut Maennel, Behnam NeyshaburNeurIPS 2021 · 204 citations
Builds on6
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
- Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
- The Pitfalls of Simplicity Bias in Neural NetworksHarshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain et al.NeurIPS 2020 · 503 citations
- An Investigation of Why Overparameterization Exacerbates Spurious CorrelationsShiori Sagawa, Aditi Raghunathan, Pang Wei Koh, Percy LiangICML 2020 · 436 citations
- What shapes feature representations? Exploring datasets, architectures, and trainingKatherine L. Hermann, Andrew K. LampinenNeurIPS 2020 · 186 citations
Related papers
- Towards Robust Classification Model by Counterfactual and Invariant Data GenerationChun-Hao Chang, George-Alexandru Adam, Anna GoldenbergCVPR 2021
- Systematic generalisation with group invariant predictionsFaruk Ahmed, Yoshua Bengio, Harm van Seijen, Aaron C. CourvilleICLR 2021 · 23 citations
- Feature Contamination: Neural Networks Learn Uncorrelated Features and Fail to GeneralizeTianren Zhang, Chujie Zhao, Guanyu Chen, Yizhou Jiang et al.ICML 2024 · 12 citations
- Last Layer Re-Training is Sufficient for Robustness to Spurious CorrelationsPolina Kirichenko, Pavel Izmailov, Andrew Gordon WilsonICLR 2023 · 31 citations
- Neural Collapse Inspired Feature Alignment for Out-of-Distribution GeneralizationZhikang Chen, Min Zhang, Sen Cui, Haoxuan Li et al.NeurIPS 2024 · 13 citations
