Unraveling the Key Components of OOD Generalization via Diversification
Not on the map. Why?
Abstract (arXiv)
Supervised learning datasets may contain multiple cues that explain the training set equally well, i.e., learning any of them would lead to the correct predictions on the training data. However, many of them can be spurious, i.e., lose their predictive power under a distribution shift and consequently fail to generalize to out-of-distribution (OOD) data. Recently developed "diversification" methods (Lee et al., 2023; Pagliardini et al., 2023) approach this problem by finding multiple diverse hypotheses that rely on different features. This paper aims to study this class of methods and identify the key components contributing to their OOD generalization abilities. We show that (1) diversification methods are highly sensitive to the distribution of the unlabeled data used for diversification and can underperform significantly when away from a method-specific sweet spot. (2) Diversification alone is insufficient for OOD generalization. The choice of the used learning algorithm, e.g., the model's architecture and pretraining, is crucial. In standard experiments (classification on Waterbirds and Office-Home datasets), using the second-best choice leads to an up to 20% absolute drop in accuracy. (3) The optimal choice of learning algorithm depends on the unlabeled data and vice versa i.e. they are co-dependent. (4) Finally, we show that, in practice, the above pitfalls cannot be alleviated by increasing the number of diverse hypotheses, the major feature of diversification methods. These findings provide a clearer understanding of the critical design factors influencing the OOD generalization abilities of diversification methods. They can guide practitioners in how to use the existing methods best and guide researchers in developing new, better ones.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 47 of its 63 references that are in the map. First posted on arXiv 26 Dec 2023.
Builds on
47 of 63 references.
References · 47
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
35 more
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
- 2018Learning and Generalization in Overparameterized Neural Networks, Going Beyond Two Layerscited by 340
- 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 315
- 2020Environment Inference for Invariant Learningcited by 306
- 2018Implicit Bias of Gradient Descent on Linear Convolutional Networkscited by 251
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
- 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 215
- 2020No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problemscited by 208
- 2019SGD on Neural Networks Learns Functions of Increasing Complexitycited by 203
- 2020Directional convergence and alignment in deep learningcited by 172
- 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
- 2021The Low-Rank Simplicity Bias in Deep Networkscited by 150
- 2021Assessing Generalization of SGD via Disagreementcited by 116
- 2022Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shiftcited by 94
- 2021Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalizationcited by 83
- 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 82
- 2022MetaShift: A Dataset of Datasets for Evaluating Contextual Distribution Shifts and Training Conflictscited by 81
- 2020Coping with Label Shift via Distributionally Robust Optimisationcited by 69
- 2022Agree to Disagree: Diversity through Disagreement for Better Transferabilitycited by 69
- 2021Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space Perspectivecited by 56
- 2019Let's Agree to Agree: Neural Networks Share Classification Order on Real Datasetscited by 55
- 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
- 2019Bad Global Minima Exist and SGD Can Reach Themcited by 49
- 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
- 2021Probing as Quantifying Inductive Biascited by 11
- 2022Task Discovery: Finding the Tasks that Neural Networks Generalize oncited by 9
Built on by
Citing papers per year: 2024: 3; 2025: 1.
4 papers.
- 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attackscited by 3
- 2024Scalable Ensemble Diversification for OOD Generalization and Detectioncited by 2
- 2024OOD-Chameleon: Is Algorithm Selection for OOD Generalization Learnable?cited by 2
- 2024The Pragmatic Frames of Spurious Correlations in Machine Learning: Interpreting How and Why They Mattercited by 0
- 2025A Framework for Rapidly Developing and Deploying Protection Against Large Language Model Attacks25 Sep 2025
- 2024The Pragmatic Frames of Spurious Correlations in Machine Learning: Interpreting How and Why They Matter7 Nov 2024
- 2024OOD-Chameleon: Is Algorithm Selection for OOD Generalization Learnable?3 Oct 2024
- 2024Scalable Ensemble Diversification for OOD Generalization and Detection25 Sep 2024