mlsanityData to 7 Oct 2026

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

arXiv 2209.00613 ↗First posted 1 Sep 2022cs.LG cs.CVcited by 44

Not on the map. Why?

Abstract (arXiv)

Several studies have compared the in-distribution (ID) and out-of-distribution (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. 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. 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 best-performing models, making these studies blind to a whole range of phenomena.

Key facts. Cited by 44 papers in the map (data through 7 Oct 2026). Builds on 47 of its 62 references that are in the map. First posted on arXiv 1 Sep 2022.

Builds on

47 of 62 references.

References · 47

  1. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  2. 2019Invariant Risk Minimizationcited by 1,832
  3. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  4. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  5. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  6. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  7. 2020In Search of Lost Domain Generalizationcited by 1,042
  8. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  9. 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
  10. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
  11. 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
  12. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
35 more
  1. 2020The Risks of Invariant Risk Minimizationcited by 262
  2. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
  3. 2018Characterizing and Avoiding Negative Transfercited by 226
  4. 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
  5. 2021Simple data balancing achieves competitive worst-group-accuracycited by 177
  6. 2021A Fine-Grained Analysis on Distribution Shiftcited by 171
  7. 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
  8. 2020Understanding and Mitigating the Tradeoff Between Robustness and Accuracycited by 148
  9. 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
  10. 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
  11. 2021Model-Based Domain Generalizationcited by 103
  12. 2020On Robustness and Transferability of Convolutional Neural Networkscited by 98
  13. 2019BERTs of a feather do not generalize together: Large variability in generalization across models with similar test set performancecited by 89
  14. 2021OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution Generalizationcited by 86
  15. 2021Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalizationcited by 83
  16. 2020On the Value of Out-of-Distribution Testing: An Example of Goodhart's Lawcited by 74
  17. 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 74
  18. 2022Agree to Disagree: Diversity through Disagreement for Better Transferabilitycited by 69
  19. 2020Learning What Makes a Difference from Counterfactual Examples and Gradient Supervisioncited by 66
  20. 2022Probable Domain Generalization via Quantile Risk Minimizationcited by 66
  21. 2021Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space Perspectivecited by 56
  22. 2022Diversify and Disambiguate: Learning From Underspecified Datacited by 55
  23. 2022Linear Connectivity Reveals Generalization Strategiescited by 55
  24. 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
  25. 2020In-N-Out: Pre-Training and Self-Training using Auxiliary Information for Out-of-Distribution Robustnesscited by 49
  26. 2022An Impartial Take to the CNN vs Transformer Robustness Contestcited by 34
  27. 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
  28. 2022Generalized but not Robust? Comparing the Effects of Data Modification Methods on Out-of-Domain Generalization and Adversarial Robustnesscited by 23
  29. 2019Ensembles of Locally Independent Prediction Modelscited by 22
  30. 2020Why do classifier accuracies show linear trends under distribution shift?cited by 21
  31. 2022Deconstructing Distributions: A Pointwise Framework of Learningcited by 19
  32. 2018Learning Qualitatively Diverse and Interpretable Rules for Classificationcited by 10
  33. 2022Feature Space Particle Inference for Neural Network Ensemblescited by 9
  34. 2021A neural anisotropic view of underspecification in deep learningcited by 6
  35. 2016Learning to Extract Motion from Videos in Convolutional Neural Networkscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 14; 2024: 11; 2025: 11; 2026: 3.

44 papers.

Sort:

By area:

  1. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 208
  2. 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
  3. 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
  4. 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
  5. 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
  6. 2023Reliability in Semantic Segmentation: Can We Use Synthetic Data?cited by 24
  7. 2024The Entropy Enigma: Success and Failure of Entropy Minimizationcited by 24
  8. 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
  9. 2023Effective Robustness against Natural Distribution Shifts for Models with Different Training Datacited by 13
  10. 2023Does Progress On Object Recognition Benchmarks Improve Real-World Generalization?cited by 13
  11. 2024What Variables Affect Out-of-Distribution Generalization in Pretrained Models?cited by 13
  12. 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
32 more
  1. 2023Understanding the Detrimental Class-level Effects of Data Augmentationcited by 12
  2. 2023Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Linecited by 11
  3. 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisationcited by 9
  4. 2023Selective Mixup Helps with Distribution Shifts, But Not (Only) because of Mixupcited by 8
  5. 2025Position: Stop Evaluating AI with Human Tests, Develop Principled, AI-specific Tests insteadcited by 7
  6. 2025Consensus-Driven Active Model Selectioncited by 7
  7. 2022Transfer Learning with Pretrained Remote Sensing Transformerscited by 6
  8. 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimizationcited by 6
  9. 2024Improving Shift Invariance in Convolutional Neural Networks with Translation Invariant Polyphase Samplingcited by 6
  10. 2024What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?cited by 6
  11. 2025CHARM3R: Towards Unseen Camera Height Robust Monocular 3D Detectorcited by 4
  12. 2022Empirical Study on Optimizer Selection for Out-of-Distribution Generalizationcited by 3
  13. 2025Setting varepsilon is not the Issue in Differential Privacycited by 3
  14. 2022ImmunoLingo: Linguistics-based formalization of the antibody languagecited by 2
  15. 2023FTFT: Efficient and Robust Fine-Tuning by Transferring Training Dynamicscited by 2
  16. 2024CROCODILE: Causality aids RObustness via COntrastive DIsentangled LEarningcited by 2
  17. 2024OOD-Chameleon: Is Algorithm Selection for OOD Generalization Learnable?cited by 2
  18. 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Modelscited by 2
  19. 2025Supervised Contrastive Block Disentanglementcited by 2
  20. 2025Aggregation Hides Out-of-Distribution Generalization Failures from Spurious Correlationscited by 2
  21. 2025Sound and Music Biases in Deep Music Transcription Models: A Systematic Analysiscited by 2
  22. 2023Benchmarking Low-Shot Robustness to Natural Distribution Shiftscited by 1
  23. 2025RockNet: Distributed Learning on Ultra-Low-Power Devicescited by 1
  24. 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performancecited by 1
  25. 2026SuperValid: Capability-Aligned OOD Validation for Generalizable Downstream Scalingcited by 1
  26. 2023Adaptive Contextual Perception: How to Generalize to New Backgrounds and Ambiguous Objectscited by 0
  27. 2023Zero-shot Retrieval: Augmenting Pre-trained Models with Search Enginescited by 0
  28. 2024Realistic Evaluation of Test-Time Adaptation Algorithms: Unsupervised Hyperparameter Selectioncited by 0
  29. 2024RICASSO: Reinforced Imbalance Learning with Class-Aware Self-Supervised Outliers Exposurecited by 0
  30. 2025Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insightscited by 0
  31. 2025Causally Guided Gaussian Perturbations for Out-Of-Distribution Generalization in Medical Imagingcited by 0
  32. 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Miningcited by 0