The Pitfalls of Simplicity Bias in Neural Networks

Harshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain, Praneeth Netrapalli · OpenReview

Abstract

Several works have proposed Simplicity Bias (SB)---the tendency of standard training procedures such as Stochastic Gradient Descent (SGD) to find simple models---to justify why neural networks generalize well. However, the precise notion of simplicity remains vague. Furthermore, previous settings that use SB to theoretically justify why neural networks generalize well do not simultaneously capture the non-robustness of neural networks---a widely observed phenomenon in practice. We attempt to reconcile SB and the superior standard generalization of neural networks with the non-robustness observed in practice by designing datasets that (a) incorporate a precise notion of simplicity, (b) comprise multiple predictive features with varying levels of simplicity, and (c) capture the non-robustness of neural networks trained on real data. Through theory and empirics on these datasets, we make four observations: (i) SB of SGD and variants can be extreme: neural networks can exclusively rely on the simplest feature and remain invariant to all predictive complex features. (ii) The extreme aspect of SB could explain why seemingly benign distribution shifts and small adversarial perturbations significantly degrade model performance. (iii) Contrary to conventional wisdom, SB can also hurt generalization on the same data distribution, as SB persists even when the simplest feature has less predictive power than the more complex features. (iv) Common approaches to improve generalization and robustness---ensembles and adversarial training---can fail in mitigating SB and its pitfalls. Given the role of SB in training neural networks, we hope that the proposed datasets and methods serve as an effective testbed to evaluate novel algorithmic approaches aimed at avoiding the pitfalls of SB.

Introduction

Deep learning researchers have long noted a paradox: neural networks (NNs) generalize remarkably well to new data from the same distribution, yet they are incredibly fragile when faced with small adversarial perturbations or "benign" distribution shifts, such as a change in background.

A popular explanation for generalization is Simplicity Bias (SB)—the idea that training algorithms like Stochastic Gradient Descent (SGD) naturally seek out "simple" patterns. While simplicity is generally considered beneficial for avoiding overfitting, this research argues that SB is often extreme. Rather than a gentle preference, SB manifests as an exclusive reliance that causes NNs to ignore high-quality, complex features in favor of easy shortcuts.

Simplicity Bias: Neural networks tend to prefer a linear decision boundary over a more complex one, even when both could classify the data.

Defining and Measuring Simplicity

To move beyond vague notions of simplicity, the authors formalize the concept based on the minimum number of linear pieces required in a decision boundary to classify data using only that feature. For example, a single linear separator is "simpler" than a jagged, multi-piece boundary (a "slab").

To test if a model actually utilizes a feature, the study introduces "S-randomized" metrics. By shuffling a specific feature (e.g., the background of an image) and observing if the model's accuracy or confidence remains unchanged, researchers can determine if the model is invariant to that feature. If the model is invariant, it has effectively ignored that information during training.

Experimental Testbeds

The paper introduces several novel datasets designed to contain competing features of varying simplicity:

  • LMS-k (Linear + Multiple Slabs): Synthetic data where one coordinate is a simple linear separator, and others are "k-slabs" requiring $k-1$ linear pieces.
  • MNIST-CIFAR: A hybrid image dataset where each sample is a vertical concatenation of an MNIST digit and a CIFAR-10 image. Both are predictive of the same label, but MNIST serves as the "simple" feature while CIFAR is the "complex" one.
  • LSN (Linear-Slab-Noise): A stylized version of synthetic data used for mathematical proofs regarding one-hidden-layer ReLU networks.
The suite of datasets used to evaluate SB, ranging from simple linear separators to complex hybrid image blocks.

Key Insights: The Extreme Nature of SB

1. Simplicity Bias is Exclusive

Neural networks don't just prefer simple features; they often rely on them exclusively. In MNIST-CIFAR experiments, models achieved 100% accuracy but were almost entirely invariant to the CIFAR portion of the image. Randomizing the complex CIFAR block resulted in nearly identical logit distributions, proving the model was ignoring the complex feature entirely.

2. Vulnerability to Adversarial Attacks

Because models latch onto the simplest feature—which often has a small "margin"—they become highly susceptible to Universal Adversarial Perturbations (UAPs). In the LMS-5 dataset, 99.6% of the perturbation budget for a successful attack was concentrated on the single "simple" linear coordinate identified by the model.

3. SB Can Hurt Standard Generalization

Contrary to "Occam's Razor" intuition, SB can lead to worse performance on the test set. If the simplest feature is noisy (e.g., 90% predictive) and a complex feature is perfect (100% predictive), the NN will still choose the simple, noisy one. On the $\hat{L}MS-7$ dataset, models achieved only ~95% accuracy; however, if the simple feature was removed, the same architecture reached 100% accuracy by learning the complex features it previously ignored.

4. Standard Fixes are Insufficient

Common techniques like ensembles and adversarial training do not effectively mitigate SB. Ensembles often result in multiple models that all rely on the same simple features, failing to provide the feature diversity required for true robustness.

Conclusion

The findings suggest that current regularization techniques may inadvertently reinforce simplicity at the cost of robustness. The authors call for new algorithmic approaches that encourage feature density—forcing networks to utilize all available predictive features rather than just the easiest ones. These proposed datasets serve as a vital testbed for evaluating such novel approaches.

Summary updated

BibTeX
@inproceedings{shah2020pitfalls,
  author = {Harshay Shah and Kaustav Tamuly and Aditi Raghunathan and Prateek Jain and Praneeth Netrapalli},
  title = {{The Pitfalls of Simplicity Bias in Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=OjY79dnYW76},
}
Figure