mlsanityData to 14 Oct 2026

Don't blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropy

arXiv 2308.12553 ↗First posted 24 Aug 2023cs.LG stat.MLcited by 30

Not on the map. Why?

Abstract (arXiv)

Common explanations for shortcut learning assume that the shortcut improves prediction under the training distribution but not in the test distribution. Thus, models trained via the typical gradient-based optimization of cross-entropy, which we call default-ERM, utilize the shortcut. However, even when the stable feature determines the label in the training distribution and the shortcut does not provide any additional information, like in perception tasks, default-ERM still exhibits shortcut learning. Why are such solutions preferred when the loss for default-ERM can be driven to zero using the stable feature alone? By studying a linear perception task, we show that default-ERM's preference for maximizing the margin leads to models that depend more on the shortcut than the stable feature, even without overparameterization. This insight suggests that default-ERM's implicit inductive bias towards max-margin is unsuitable for perception tasks. Instead, we develop an inductive bias toward uniform margins and show that this bias guarantees dependence only on the perfect stable feature in the linear perception task. We develop loss functions that encourage uniform-margin solutions, called margin control (MARG-CTRL). MARG-CTRL mitigates shortcut learning on a variety of vision and language tasks, showing that better inductive biases can remove the need for expensive two-stage shortcut-mitigating methods in perception tasks.

Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Builds on 40 of its 57 references that are in the map. First posted on arXiv 24 Aug 2023.

Builds on

40 of 57 references.

References · 40

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  3. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  4. 2019Invariant Risk Minimizationcited by 1,854
  5. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  6. 2020In Search of Lost Domain Generalizationcited by 1,054
  7. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  8. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
  9. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
  10. 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 737
  11. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
  12. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 523
28 more
  1. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
  2. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 351
  3. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  4. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 306
  5. 2020Environment Inference for Invariant Learningcited by 306
  6. 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 267
  7. 2017High-dimensional dynamics of generalization error in neural networkscited by 241
  8. 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
  9. 2020No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problemscited by 209
  10. 2018Deep learning generalizes because the parameter-function map is biased towards simple functionscited by 183
  11. 2021Simple data balancing achieves competitive worst-group-accuracycited by 178
  12. 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 172
  13. 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
  14. 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
  15. 2019The Convergence Rate of Neural Networks for Learned Functions of Different Frequenciescited by 135
  16. 2021On Calibration and Out-of-domain Generalizationcited by 134
  17. 2020What shapes feature representations? Exploring datasets, architectures, and trainingcited by 126
  18. 2019Implicit Regularization of Discrete Gradient Dynamics in Linear Neural Networkscited by 124
  19. 2017Measuring the tendency of CNNs to Learn Surface Statistical Regularitiescited by 87
  20. 2021Counterfactual Invariance to Spurious Correlations: Why and How to Pass Stress Testscited by 77
  21. 2021Label-Imbalanced and Group-Sensitive Classification under Overparameterizationcited by 74
  22. 2019A Fine-Grained Spectral Perspective on Neural Networkscited by 68
  23. 2020Gradient descent follows the regularization path for general lossescited by 59
  24. 2021Which Shortcut Cues Will DNNs Choose? A Study from the Parameter-Space Perspectivecited by 57
  25. 2020The Implicit Bias for Adaptive Optimization Algorithms on Homogeneous Neural Networkscited by 46
  26. 2021Out-of-distribution Generalization in the Presence of Nuisance-Induced Spurious Correlationscited by 41
  27. 2021Multi-scale Feature Learning Dynamics: Insights for Double Descentcited by 24
  28. 2021Does Momentum Change the Implicit Regularization on Separable Data?cited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 10; 2025: 11; 2026: 6.

30 papers.

Sort:

By area:

  1. 2023On the Foundations of Shortcut Learningcited by 65
  2. 2024On the Challenges and Opportunities in Generative AIcited by 31
  3. 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 19
  4. 2024Shortcut Learning in Medical Image Segmentationcited by 16
  5. 2023Data Augmentations for Improved (Large) Language Model Generalizationcited by 14
  6. 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
  7. 2026To Use or not to Use Muon: How Simplicity Bias in Optimizers Matterscited by 10
  8. 2024Tackling Data Heterogeneity in Federated Learning via Loss Decompositioncited by 9
  9. 2024Enhancing Domain Adaptation through Prompt Gradient Alignmentcited by 8
  10. 2025Generative Classifiers Avoid Shortcut Solutionscited by 8
  11. 2024Towards Formalizing Spuriousness of Biased Datasets Using Partial Information Decompositioncited by 6
  12. 2025CHARM3R: Towards Unseen Camera Height Robust Monocular 3D Detectorcited by 6
18 more
  1. 2024Data Debiasing with Datamodels (D3M): Improving Subgroup Robustness via Data Selectioncited by 5
  2. 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalizationcited by 3
  3. 2024Explanations that reveal all through the definition of encodingcited by 3
  4. 2025Mitigating Shortcut Learning with InterpoLated Learningcited by 2
  5. 2025Large Learning Rates Simultaneously Achieve Robustness to Spurious Correlations and Compressibilitycited by 2
  6. 2025Do Students Debias Like Teachers? On the Distillability of Bias Mitigation Methodscited by 2
  7. 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
  8. 2025FairDropout: Using Example-Tied Dropout to Enhance Generalization of Minority Groupscited by 1
  9. 2025MiMu: Mitigating Multiple Shortcut Learning Behavior of Transformerscited by 1
  10. 2025Fine-Grained Class-Conditional Distribution Balancing for Debiased Learningcited by 1
  11. 2025On Measuring Localization of Shortcuts in Deep Networkscited by 1
  12. 2023Unsupervised Multi-modal Feature Alignment for Time Series Representation Learningcited by 0
  13. 2024ALVIN: Active Learning Via INterpolationcited by 0
  14. 2025Open-Set Domain Adaptation Under Background Distribution Shift: Challenges and A Provably Efficient Solutioncited by 0
  15. 2026Shortcut Features as Top Eigenfunctions of NTK: A Linear Neural Network Case and Morecited by 0
  16. 2026Revisiting Autoregressive Models for Generative Image Classificationcited by 0
  17. 2026FeDMRA: Federated Incremental Learning with Dynamic Memory Replay Allocationcited by 0
  18. 2026Whitening Improves Robustness to Spurious Correlations in Linear Probescited by 0