NeurIPS 2023poster23 citations

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

Aahlad Manas Puli, Lily H Zhang, Yoav Wald, Rajesh Ranganath

Abstract

Common explanations for shortcut learning assume that the shortcut improves prediction only under the training distribution. Thus, models trained in the typical way by minimizing log-loss using gradient descent, which we call default-ERM, should 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 exhibits shortcut learning. Why are such solutions preferred when the loss can be driven to zero when using the stable feature alone? By studying a linear perception task, we show that default-ERM’s preference for maximizing the margin, even without overparameterization, leads to models that depend more on the shortcut than the stable feature. This insight suggests that default-ERM’s implicit inductive bias towards max-margin may be unsuitable for perception tasks. Instead, we consider inductive biases toward uniform margins. We show that uniform margins guarantee sole dependence on the perfect stable feature in the linear perception task and suggest alternative loss functions, termed margin control (MARG-CTRL), that encourage uniform-margin solutions. MARG-CTRL techniques mitigate shortcut learning on a variety of vision and language tasks, showing that changing inductive biases can remove the need for complicated shortcut-mitigating methods in perception tasks.

shortcut learningspurious correlationsperfect stable featureperception tasksimplicit bias in optimizationimproving inductive biases
BibTeX
@inproceedings{
puli2023dont,
title={Don{\textquoteright}t blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropy},
author={Aahlad Manas Puli and Lily H Zhang and Yoav Wald and Rajesh Ranganath},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=zyZkaqNnpa}
}
Don’t blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropy · NeurIPS 2023