ID and OOD Performance Are Sometimes Inversely Correlated on Real-world Datasets
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
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2019Invariant Risk Minimizationcited by 1,832
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
35 more
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 2018Characterizing and Avoiding Negative Transfercited by 226
- 2022Improving Out-of-Distribution Robustness via Selective Augmentationcited by 202
- 2021Simple data balancing achieves competitive worst-group-accuracycited by 177
- 2021A Fine-Grained Analysis on Distribution Shiftcited by 171
- 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
- 2020Understanding and Mitigating the Tradeoff Between Robustness and Accuracycited by 148
- 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
- 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
- 2021Model-Based Domain Generalizationcited by 103
- 2020On Robustness and Transferability of Convolutional Neural Networkscited by 98
- 2019BERTs of a feather do not generalize together: Large variability in generalization across models with similar test set performancecited by 89
- 2021OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution Generalizationcited by 86
- 2021Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalizationcited by 83
- 2020On the Value of Out-of-Distribution Testing: An Example of Goodhart's Lawcited by 74
- 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 74
- 2022Agree to Disagree: Diversity through Disagreement for Better Transferabilitycited by 69
- 2020Learning What Makes a Difference from Counterfactual Examples and Gradient Supervisioncited by 66
- 2022Probable Domain Generalization via Quantile Risk Minimizationcited by 66
- 2021Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space Perspectivecited by 56
- 2022Diversify and Disambiguate: Learning From Underspecified Datacited by 55
- 2022Linear Connectivity Reveals Generalization Strategiescited by 55
- 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
- 2020In-N-Out: Pre-Training and Self-Training using Auxiliary Information for Out-of-Distribution Robustnesscited by 49
- 2022An Impartial Take to the CNN vs Transformer Robustness Contestcited by 34
- 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
- 2022Generalized but not Robust? Comparing the Effects of Data Modification Methods on Out-of-Domain Generalization and Adversarial Robustnesscited by 23
- 2019Ensembles of Locally Independent Prediction Modelscited by 22
- 2020Why do classifier accuracies show linear trends under distribution shift?cited by 21
- 2022Deconstructing Distributions: A Pointwise Framework of Learningcited by 19
- 2018Learning Qualitatively Diverse and Interpretable Rules for Classificationcited by 10
- 2022Feature Space Particle Inference for Neural Network Ensemblescited by 9
- 2021A neural anisotropic view of underspecification in deep learningcited by 6
- 2016Learning to Extract Motion from Videos in Convolutional Neural Networkscited by 5
Built on by
Citing papers per year: 2022: 5; 2023: 14; 2024: 11; 2025: 11; 2026: 3.
44 papers.
Sort:
By area:
- 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 208
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
- 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
- 2023Reliability in Semantic Segmentation: Can We Use Synthetic Data?cited by 24
- 2024The Entropy Enigma: Success and Failure of Entropy Minimizationcited by 24
- 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
- 2023Effective Robustness against Natural Distribution Shifts for Models with Different Training Datacited by 13
- 2023Does Progress On Object Recognition Benchmarks Improve Real-World Generalization?cited by 13
- 2024What Variables Affect Out-of-Distribution Generalization in Pretrained Models?cited by 13
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
32 more
- 2023Understanding the Detrimental Class-level Effects of Data Augmentationcited by 12
- 2023Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Linecited by 11
- 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisationcited by 9
- 2023Selective Mixup Helps with Distribution Shifts, But Not (Only) because of Mixupcited by 8
- 2025Position: Stop Evaluating AI with Human Tests, Develop Principled, AI-specific Tests insteadcited by 7
- 2025Consensus-Driven Active Model Selectioncited by 7
- 2022Transfer Learning with Pretrained Remote Sensing Transformerscited by 6
- 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimizationcited by 6
- 2024Improving Shift Invariance in Convolutional Neural Networks with Translation Invariant Polyphase Samplingcited by 6
- 2024What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?cited by 6
- 2025CHARM3R: Towards Unseen Camera Height Robust Monocular 3D Detectorcited by 4
- 2022Empirical Study on Optimizer Selection for Out-of-Distribution Generalizationcited by 3
- 2025Setting varepsilon is not the Issue in Differential Privacycited by 3
- 2022ImmunoLingo: Linguistics-based formalization of the antibody languagecited by 2
- 2023FTFT: Efficient and Robust Fine-Tuning by Transferring Training Dynamicscited by 2
- 2024CROCODILE: Causality aids RObustness via COntrastive DIsentangled LEarningcited by 2
- 2024OOD-Chameleon: Is Algorithm Selection for OOD Generalization Learnable?cited by 2
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Modelscited by 2
- 2025Supervised Contrastive Block Disentanglementcited by 2
- 2025Aggregation Hides Out-of-Distribution Generalization Failures from Spurious Correlationscited by 2
- 2025Sound and Music Biases in Deep Music Transcription Models: A Systematic Analysiscited by 2
- 2023Benchmarking Low-Shot Robustness to Natural Distribution Shiftscited by 1
- 2025RockNet: Distributed Learning on Ultra-Low-Power Devicescited by 1
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performancecited by 1
- 2026SuperValid: Capability-Aligned OOD Validation for Generalizable Downstream Scalingcited by 1
- 2023Adaptive Contextual Perception: How to Generalize to New Backgrounds and Ambiguous Objectscited by 0
- 2023Zero-shot Retrieval: Augmenting Pre-trained Models with Search Enginescited by 0
- 2024Realistic Evaluation of Test-Time Adaptation Algorithms: Unsupervised Hyperparameter Selectioncited by 0
- 2024RICASSO: Reinforced Imbalance Learning with Class-Aware Self-Supervised Outliers Exposurecited by 0
- 2025Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insightscited by 0
- 2025Causally Guided Gaussian Perturbations for Out-Of-Distribution Generalization in Medical Imagingcited by 0
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Miningcited by 0
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Mining17 Jun 2026
- 2026SuperValid: Capability-Aligned OOD Validation for Generalizable Downstream Scaling27 May 2026
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performance19 Apr 2026
- 2025Sound and Music Biases in Deep Music Transcription Models: A Systematic Analysis16 Dec 2025
- 2025Setting varepsilon is not the Issue in Differential Privacy9 Nov 2025
- 2025Aggregation Hides Out-of-Distribution Generalization Failures from Spurious Correlations28 Oct 2025
- 2025RockNet: Distributed Learning on Ultra-Low-Power Devices15 Oct 2025
- 2025Causally Guided Gaussian Perturbations for Out-Of-Distribution Generalization in Medical Imaging30 Sep 2025
- 2025CHARM3R: Towards Unseen Camera Height Robust Monocular 3D Detector15 Aug 2025
- 2025Consensus-Driven Active Model Selection31 Jul 2025
- 2025Position: Stop Evaluating AI with Human Tests, Develop Principled, AI-specific Tests instead30 Jul 2025
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild13 Mar 2025
32 more
- 2025Supervised Contrastive Block Disentanglement11 Feb 2025
- 2025Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insights7 Jan 2025
- 2024Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot Models29 Nov 2024
- 2024RICASSO: Reinforced Imbalance Learning with Class-Aware Self-Supervised Outliers Exposure14 Oct 2024
- 2024OOD-Chameleon: Is Algorithm Selection for OOD Generalization Learnable?3 Oct 2024
- 2024CROCODILE: Causality aids RObustness via COntrastive DIsentangled LEarning9 Aug 2024
- 2024Realistic Evaluation of Test-Time Adaptation Algorithms: Unsupervised Hyperparameter Selection19 Jul 2024
- 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisation27 Jun 2024
- 2024What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?14 Jun 2024
- 2024What Variables Affect Out-of-Distribution Generalization in Pretrained Models?23 May 2024
- 2024The Entropy Enigma: Success and Failure of Entropy Minimization8 May 2024
- 2024Improving Shift Invariance in Convolutional Neural Networks with Translation Invariant Polyphase Sampling11 Apr 2024
- 2024WARM: On the Benefits of Weight Averaged Reward Models22 Jan 2024
- 2023Reliability in Semantic Segmentation: Can We Use Synthetic Data?14 Dec 2023
- 2023Understanding the Detrimental Class-level Effects of Data Augmentation7 Dec 2023
- 2023Zero-shot Retrieval: Augmenting Pre-trained Models with Search Engines29 Nov 2023
- 2023FTFT: Efficient and Robust Fine-Tuning by Transferring Training Dynamics10 Oct 2023
- 2023Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Line7 Oct 2023
- 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimization5 Oct 2023
- 2023Does Progress On Object Recognition Benchmarks Improve Real-World Generalization?24 Jul 2023
- 2023Adaptive Contextual Perception: How to Generalize to New Backgrounds and Ambiguous Objects9 Jun 2023
- 2023Selective Mixup Helps with Distribution Shifts, But Not (Only) because of Mixup26 May 2023
- 2023Rethinking the Evaluation Protocol of Domain Generalization24 May 2023
- 2023Benchmarking Low-Shot Robustness to Natural Distribution Shifts21 Apr 2023
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biases9 Mar 2023
- 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspective22 Feb 2023
- 2023Effective Robustness against Natural Distribution Shifts for Models with Different Training Data2 Feb 2023
- 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization20 Dec 2022
- 2022Empirical Study on Optimizer Selection for Out-of-Distribution Generalization15 Nov 2022
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspective15 Nov 2022
- 2022Transfer Learning with Pretrained Remote Sensing Transformers28 Sep 2022
- 2022ImmunoLingo: Linguistics-based formalization of the antibody language26 Sep 2022
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 145
- 2024WARM: On the Benefits of Weight Averaged Reward Models22 Jan 2024
- 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 208
- 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
- 2023Reliability in Semantic Segmentation: Can We Use Synthetic Data?cited by 24
- 2024The Entropy Enigma: Success and Failure of Entropy Minimizationcited by 24
- 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
- 2023Effective Robustness against Natural Distribution Shifts for Models with Different Training Datacited by 13
- 2023Does Progress On Object Recognition Benchmarks Improve Real-World Generalization?cited by 13
- 2024What Variables Affect Out-of-Distribution Generalization in Pretrained Models?cited by 13
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
- 2023Understanding the Detrimental Class-level Effects of Data Augmentationcited by 12
12 most cited of 43 All 43 (JSON)
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Mining17 Jun 2026
- 2026SuperValid: Capability-Aligned OOD Validation for Generalizable Downstream Scaling27 May 2026
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performance19 Apr 2026
- 2025Sound and Music Biases in Deep Music Transcription Models: A Systematic Analysis16 Dec 2025
- 2025Setting varepsilon is not the Issue in Differential Privacy9 Nov 2025
- 2025Aggregation Hides Out-of-Distribution Generalization Failures from Spurious Correlations28 Oct 2025
- 2025RockNet: Distributed Learning on Ultra-Low-Power Devices15 Oct 2025
- 2025Causally Guided Gaussian Perturbations for Out-Of-Distribution Generalization in Medical Imaging30 Sep 2025
- 2025CHARM3R: Towards Unseen Camera Height Robust Monocular 3D Detector15 Aug 2025
- 2025Consensus-Driven Active Model Selection31 Jul 2025
- 2025Position: Stop Evaluating AI with Human Tests, Develop Principled, AI-specific Tests instead30 Jul 2025
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild13 Mar 2025
12 newest of 43 All 43 (JSON)