Feature contamination: Neural networks learn uncorrelated features and fail to generalize
Not on the map. Why?
Abstract (arXiv)
Learning representations that generalize under distribution shifts is critical for building robust machine learning models. However, despite significant efforts in recent years, algorithmic advances in this direction have been limited. In this work, we seek to understand the fundamental difficulty of out-of-distribution generalization with deep neural networks. We first empirically show that perhaps surprisingly, even allowing a neural network to explicitly fit the representations obtained from a teacher network that can generalize out-of-distribution is insufficient for the generalization of the student network. Then, by a theoretical study of two-layer ReLU networks optimized by stochastic gradient descent (SGD) under a structured feature model, we identify a fundamental yet unexplored feature learning proclivity of neural networks, feature contamination: neural networks can learn uncorrelated features together with predictive features, resulting in generalization failure under distribution shifts. Notably, this mechanism essentially differs from the prevailing narrative in the literature that attributes the generalization failure to spurious correlations. Overall, our results offer new insights into the non-linear feature learning dynamics of neural networks and highlight the necessity of considering inductive biases in out-of-distribution generalization.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 71 of its 88 references that are in the map. First posted on arXiv 5 Jun 2024.
Builds on
71 of 88 references.
References · 71
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 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
- 2019Invariant Risk Minimizationcited by 1,832
- 2016Concrete Problems in AI Safetycited by 1,582
38 more
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2019Natural Adversarial Examplescited by 1,401
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2022Toy Models of Superpositioncited by 928
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2019Contrastive Representation Distillationcited by 734
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2020Self-Challenging Improves Cross-Domain Generalizationcited by 426
- 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
- 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 328
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2023Language Models Represent Space and Timecited by 306
- 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 292
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 262
- 2021Gradient Matching for Domain Generalizationcited by 258
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 2018Generalisation in humans and deep neural networkscited by 237
- 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
- 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 218
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4cited by 202
- 2020Representation Learning via Invariant Causal Mechanismscited by 197
- 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 189
- 2020On the Theory of Transfer Learning: The Importance of Task Diversitycited by 186
50 most cited of 71 All 71 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 5.
11 papers.
- 2025When Do Neural Networks Learn World Models?cited by 8
- 2024Towards Adversarial Robustness via Debiased High-Confidence Logit Alignmentcited by 5
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networkscited by 3
- 2026Mitigating Simplicity Bias in OOD Detection through Object Co-occurrence Analysiscited by 1
- 2024Variational Bayesian Bow tie Neural Networks with Shrinkagecited by 0
- 2025Data Distributional Properties As Inductive Bias for Systematic Generalizationcited by 0
- 2025MSGFusion: Multimodal Scene Graph-Guided Infrared and Visible Image Fusioncited by 0
- 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encodingcited by 0
- 2026Anatomy of a failure: When, how, and why deep vision fails in scientific domainscited by 0
- 2026Quantifying and Optimizing Simplicity via Polynomial Representationscited by 0
- 2026Safe Domain Adaptation for Physics: Overcoming Nuisances, Label Shifts, and Simulation Priorscited by 0
- 2026Safe Domain Adaptation for Physics: Overcoming Nuisances, Label Shifts, and Simulation Priors18 Aug 2026
- 2026Quantifying and Optimizing Simplicity via Polynomial Representations28 May 2026
- 2026Mitigating Simplicity Bias in OOD Detection through Object Co-occurrence Analysis8 May 2026
- 2026Anatomy of a failure: When, how, and why deep vision fails in scientific domains5 May 2026
- 2026Reconciling In-Context and In-Weight Learning via Dual Representation Space Encoding13 Mar 2026
- 2025MSGFusion: Multimodal Scene Graph-Guided Infrared and Visible Image Fusion16 Sep 2025
- 2025Data Distributional Properties As Inductive Bias for Systematic Generalization27 Feb 2025
- 2025When Do Neural Networks Learn World Models?13 Feb 2025
- 2024Variational Bayesian Bow tie Neural Networks with Shrinkage17 Nov 2024
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networks3 Nov 2024
- 2024Towards Adversarial Robustness via Debiased High-Confidence Logit Alignment12 Aug 2024