mlsanityData to 7 Oct 2026

Feature contamination: Neural networks learn uncorrelated features and fail to generalize

arXiv 2406.03345 ↗First posted 5 Jun 2024cs.LG cs.AIcited by 11

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  5. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  6. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  7. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  8. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  9. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  10. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  11. 2019Invariant Risk Minimizationcited by 1,832
  12. 2016Concrete Problems in AI Safetycited by 1,582
38 more
  1. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  2. 2019Natural Adversarial Examplescited by 1,401
  3. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  4. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  5. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  6. 2020In Search of Lost Domain Generalizationcited by 1,042
  7. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  8. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  9. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
  10. 2022Toy Models of Superpositioncited by 928
  11. 2021Robust fine-tuning of zero-shot modelscited by 785
  12. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  13. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  14. 2019Contrastive Representation Distillationcited by 734
  15. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  16. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
  17. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
  18. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
  19. 2020Self-Challenging Improves Cross-Domain Generalizationcited by 426
  20. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
  21. 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 328
  22. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  23. 2023Language Models Represent Space and Timecited by 306
  24. 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 292
  25. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  26. 2020The Risks of Invariant Risk Minimizationcited by 262
  27. 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 262
  28. 2021Gradient Matching for Domain Generalizationcited by 258
  29. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
  30. 2018Generalisation in humans and deep neural networkscited by 237
  31. 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
  32. 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 218
  33. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  34. 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4cited by 202
  35. 2020Representation Learning via Invariant Causal Mechanismscited by 197
  36. 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
  37. 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 189
  38. 2020On the Theory of Transfer Learning: The Importance of Task Diversitycited by 186

50 most cited of 71 All 71 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 5.

11 papers.