Lune

NeurIPS2023Top-tier venue

ID and OOD Performance Are Sometimes Inversely Correlated on Real-world Datasets

Damien Teney, Yong Lin, Seong Joon Oh, Ehsan Abbasnejad

Abstract

Context. Several studies have compared the in-distribution (ID) and out-ofdistribution (OOD) performance of models in computer vision and NLP. They report a frequent positive correlation and some surprisingly never even observe an inverse correlation indicative of a necessary trade-off. The possibility of inverse patterns is important to determine whether ID performance can serve as a proxy for OOD generalization capabilities. Findings. This paper shows with multiple datasets that inverse correlations between ID and OOD performance do happen in real-world data -not only in theoretical worst-case settings. We also explain theoretically how these cases can arise even in a minimal linear setting, and why past studies could miss such cases due to a biased selection of models. Implications. Our observations lead to recommendations that contradict those found in much of the current literature. • High OOD performance sometimes requires trading off ID performance. • Focusing on ID performance alone may not lead to optimal OOD performance. It may produce diminishing (eventually negative) returns in OOD performance. • In these cases, studies on OOD generalization that use ID performance for model selection (a common recommended practice) will necessarily miss the bestperforming models, making these studies blind to a whole range of phenomena.

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.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding and Improving Feature Learning for Out-of-Distribution Generalization cites Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalization
  • Understanding and Improving Feature Learning for Out-of-Distribution Generalization cites Measuring Robustness to Natural Distribution Shifts in Image Classification
  • Understanding and Improving Feature Learning for Out-of-Distribution Generalization cites The Pitfalls of Simplicity Bias in Neural Networks
  • Understanding and Improving Feature Learning for Out-of-Distribution Generalization cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Understanding and Improving Feature Learning for Out-of-Distribution Generalization cites In Search of Lost Domain Generalization
  • Effective Robustness against Natural Distribution Shifts for Models with Different Training Data cites Measuring Robustness to Natural Distribution Shifts in Image Classification
  • Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalization cites The Pitfalls of Simplicity Bias in Neural Networks
  • Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalization cites In Search of Lost Domain Generalization
  • Measuring Robustness to Natural Distribution Shifts in Image Classification cites In Search of Lost Domain Generalization
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Measuring Robustness to Natural Distribution Shifts in Image Classification
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Understanding and Improving Feature Learning for Out-of-Distribution GeneralizationYongqiang Chen, Wei Huang, Kaiwen Zhou, Yatao Bian et al.NeurIPS 2023 · 49 citations
  2. Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD GeneralizationDamien Teney, Ehsan Abbasnejad, Simon Lucey, Anton van den HengelCVPR 2022 · 32 citations
  3. The Entropy Enigma: Success and Failure of Entropy MinimizationOri Press, Ravid Shwartz-Ziv, Yann LeCun, Matthias BethgeICML 2024 · 27 citations
  4. Understanding the detrimental class-level effects of data augmentationPolina Kirichenko, Mark Ibrahim, Randall Balestriero, Diane Bouchacourt et al.NeurIPS 2023 · 25 citations
  5. Effective Robustness against Natural Distribution Shifts for Models with Different Training DataZhouxing Shi, Nicholas Carlini, Ananth Balashankar, Ludwig Schmidt et al.NeurIPS 2023 · 17 citations

Builds on28

  1. 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
  2. In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
  3. Measuring Robustness to Natural Distribution Shifts in Image ClassificationRohan Taori, Achal Dave, Vaishaal Shankar, Nicholas Carlini et al.NeurIPS 2020 · 731 citations
  4. The Pitfalls of Simplicity Bias in Neural NetworksHarshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain et al.NeurIPS 2020 · 503 citations
  5. The Risks of Invariant Risk MinimizationElan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2021 · 356 citations

Related papers

  1. Assaying Out-Of-Distribution Generalization in Transfer LearningFlorian Wenzel, Andrea Dittadi, Peter V. Gehler, Carl-Johann Simon-Gabriel et al.NeurIPS 2022 · 93 citations
  2. Aggregation Hides Out-of-Distribution Generalization Failures from Spurious CorrelationsOlawale Salaudeen, Haoran Zhang, Kumail Alhamoud, Sara Beery et al.NeurIPS 2025 · 3 citations
  3. Accuracy on the Curve: On the Nonlinear Correlation of ML Performance Between Data SubpopulationsWeixin Liang, Yining Mao, Yongchan Kwon, Xinyu Yang et al.ICML 2023 · 7 citations
  4. On the Adversarial Robustness of Out-of-distribution Generalization ModelsXin Zou, Weiwei LiuNeurIPS 2023 · 10 citations
  5. OODREB: Benchmarking State-of-the-Art Methods for Out-Of-Distribution Generalization on Relation ExtractionHaotian Chen, Houjing Guo, Bingsheng Chen, Xiangdong ZhouWWW 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines