Ask Your Distribution Shift if Pre-Training is Right for You
Not on the map. Why?
Abstract (arXiv)
Pre-training is a widely used approach to develop models that are robust to distribution shifts. However, in practice, its effectiveness varies: fine-tuning a pre-trained model improves robustness significantly in some cases but not at all in others (compared to training from scratch). In this work, we seek to characterize the failure modes that pre-training can and cannot address. In particular, we focus on two possible failure modes of models under distribution shift: poor extrapolation (e.g., they cannot generalize to a different domain) and biases in the training data (e.g., they rely on spurious features). Our study suggests that, as a rule of thumb, pre-training can help mitigate poor extrapolation but not dataset biases. After providing theoretical motivation and empirical evidence for this finding, we explore two of its implications for developing robust models: (1) pre-training and interventions designed to prevent exploiting biases have complementary robustness benefits, and (2) fine-tuning on a (very) small, non-diverse but de-biased dataset can result in significantly more robust models than fine-tuning on a large and diverse but biased dataset. Code is available at https://github.com/MadryLab/pretraining-distribution-shift-robustness.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 55 of its 64 references that are in the map. First posted on arXiv 29 Feb 2024.
Builds on
55 of 64 references.
References · 55
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2022A ConvNet for the 2020scited by 3,545
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
38 more
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 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
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2018Do Better ImageNet Models Transfer Better?cited by 560
- 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
- 2018Rethinking ImageNet Pre-trainingcited by 376
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
- 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 342
- 2017Functional Map of the Worldcited by 338
- 2014CNN Features off-the-shelf: an Astounding Baseline for Recognitioncited by 316
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2018What is the Effect of Importance Weighting in Deep Learning?cited by 250
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 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
- 2020An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language Modelscited by 133
- 2023Change is Hard: A Closer Look at Subpopulation Shiftcited by 119
- 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
- 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
- 2021OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution Generalizationcited by 86
- 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 82
- 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 74
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 3.
7 papers.
- 2025The Best Instruction-Tuning Data are Those That Fitcited by 48
- 2026A Theory of How Pretraining Shapes Inductive Bias in Fine-Tuningcited by 5
- 2024DeepMachining: Online Prediction of Machining Errors of Lathe Machinescited by 0
- 2025Contrast transfer functions help quantify neural network out-of-distribution generalization in HRTEMcited by 0
- 2025GLUE: Gradient-free Learning to Unify Expertscited by 0
- 2026Resource-Adaptive Federated Text Generation with Differential Privacycited by 0
- 2026DeconDTN-Toolkit: A Library for Evaluation and Enhancement of Robustness to Provenance Shiftcited by 0
- 2026DeconDTN-Toolkit: A Library for Evaluation and Enhancement of Robustness to Provenance Shift11 May 2026
- 2026Resource-Adaptive Federated Text Generation with Differential Privacy7 Mar 2026
- 2026A Theory of How Pretraining Shapes Inductive Bias in Fine-Tuning23 Feb 2026
- 2025GLUE: Gradient-free Learning to Unify Experts27 Dec 2025
- 2025Contrast transfer functions help quantify neural network out-of-distribution generalization in HRTEM9 Dec 2025
- 2025The Best Instruction-Tuning Data are Those That Fit6 Feb 2025
- 2024DeepMachining: Online Prediction of Machining Errors of Lathe Machines25 Mar 2024