Introduction
Machine learning models are notoriously fragile when the data they encounter in the real world (the "shifted" distribution) differs from their training data (the "reference" distribution). While pre-training on massive datasets like ImageNet or LAION is often viewed as a "silver bullet" for model robustness, its success is highly inconsistent. For example, pre-trained models are significantly more robust on "sketch" versions of images, yet they offer almost no benefit on other shifts like ImageNet-V2.
This research seeks to answer a fundamental question: Can we predict when pre-training will actually improve robustness? The authors identify two distinct failure modes: poor extrapolation to new domains and reliance on dataset biases (spurious correlations). They propose a simple rule of thumb: pre-training helps models generalize to entirely new domains but fails to fix reliance on biases already present in the fine-tuning data.
A Support-Based Taxonomy of Distribution Shifts
The core of this work is the categorization of distribution shifts based on the "support" of the training data. The authors distinguish between two types of shifts:
- In-support shifts: The test data features are present in the training data, but the correlations or frequencies have changed (e.g., a dataset where dogs are usually outdoors, but the test set features many indoor dogs).
- Out-of-support shifts: The test data contains entirely "new" visual styles or features that were never seen during fine-tuning (e.g., sketches, renditions, or images with novel lighting conditions).
Using a theoretical logistic regression framework, the researchers prove that the starting point of training (the pre-training initialization) only affects how a model behaves on features not present in the training data. Mathematically, pre-training is "blind" to biases already present in the fine-tuning data because the model will naturally gravitate toward the easiest-to-learn features in that specific set.
Empirical Evidence: Extrapolation vs. Bias
The empirical results strongly support this theoretical categorization. The researchers tested models across a wide range of benchmarks, including ImageNet-V2, ImageNet-Sketch, and ImageNet-R.
As shown in the figures below, the Effective Robustness (ER)—a measure of how much better a model performs on a shift than expected based on its reference accuracy—varies dramatically. On ImageNet-V2, which represents an in-support shift, the ER is negligible (0.49%). In contrast, on ImageNet-Sketch, which represents an out-of-support shift, the ER jumps to 12.26%.
This confirms the "Extrapolation Prior" hypothesis: pre-training provides a prior for what the world looks like, helping the model fill in the blanks when it sees a sketch or a flipped image. However, it doesn't stop the model from "lazily" picking up on easy-to-learn biases in the task-specific dataset.
Complementary Interventions and Data Curation
Because pre-training and bias-mitigation algorithms (like Deep Feature Reweighting, or DFR) address different failure modes, they are complementary. On the WILDS-FMoW satellite dataset, combining pre-training with DFR achieved an ER of 12.93%, significantly higher than using either method alone.
Furthermore, the study highlights the extreme power of data curation. For hair color classification on CelebA (a dataset with heavy gender bias), a model fine-tuned on the full biased dataset had an ER of only 5.74%. However, a model fine-tuned on just 64 perfectly de-biased images (created via counterfactual image editing) achieved a massive 68.35% ER. This suggests that high-quality, curated data can be far more effective than massive, biased datasets.
Conclusion
The distinction between in-support and out-of-support shifts provides a vital heuristic for practitioners. If a model's failure is due to domain extrapolation, more pre-training is likely the answer. If the failure is due to spurious correlations within the task data, practitioners should instead focus on bias-mitigation techniques or better data curation. Future work remains to understand how the specific composition of pre-training data might introduce its own harmful priors into downstream tasks.
Summary updated