The Pitfalls of Simplicity Bias in Neural Networks

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

TL;DR

Neural networks trained with Stochastic Gradient Descent (SGD) exhibit an "extreme" simplicity bias, latching onto the easiest-to-learn features while completely ignoring more complex, robust ones. This paper demonstrates that while this bias helps models generalize on standard benchmarks, it is the primary culprit behind adversarial vulnerability, poor performance under distribution shifts, and even suboptimal accuracy when simple features are noisy.

What Problem Does This Paper Address?

Deep learning presents a paradox: neural networks have the capacity to memorize random noise, yet they usually generalize well to new data. Researchers often credit this to Simplicity Bias (SB)—the idea that training algorithms like SGD naturally gravitate toward "simple" solutions.

Simplicity Bias prefers linear boundaries over complex ones

However, if SB is so good for generalization, why are these same models so brittle? Why do they fail when a background changes (distribution shift) or when a few pixels are strategically altered (adversarial attacks)? The authors argue that our understanding of SB is too vague. They aim to formalize what "simplicity" means and show that SB is actually a double-edged sword that causes neural networks to ignore highly predictive, complex features in favor of easy-to-grasp "shortcuts."

Methods

The authors bridge the gap between theory and practice using three main tools:

  1. A Formal Definition of Simplicity: They define the simplicity of a feature based on the minimum number of linear pieces required to create a decision boundary for it. A linear boundary is "simplest," while a "k-slab" (alternating regions) is more complex.
  2. Randomized Metrics: To measure which features a model actually uses, they introduce S-randomized accuracy and AUC. By shuffling specific features (coordinates) in the test set and observing the drop in performance, they can quantify exactly how much a model relies on a "simple" feature versus a "complex" one.
  3. Theoretical Analysis: They provide a mathematical proof showing that even a simple one-hidden-layer ReLU network will provably ignore complex features if a linear one is available, even if the linear one has a smaller margin (is less robust).

Datasets

To test these theories, the paper introduces several clever "testbed" datasets designed to pit simple features against complex ones:

Overview of synthetic and image-based datasets used to test simplicity bias
  • LMS-k (Linear + Multi-Slab): Synthetic datasets where one coordinate is a simple linear classifier and others are complex "k-slabs."
  • $\hat{LMS}$-k (Noisy Linear + Multi-Slab): A variant where the simple feature is intentionally noisy (e.g., only 95% accurate), while the complex features are 100% accurate.
  • MNIST-CIFAR: An image-based "Franken-dataset" where an MNIST digit (simple) is vertically concatenated with a CIFAR-10 image (complex). Both are predictive of the same label.

Key Insights and Ideas

  • SB is "Extreme": This is the paper's most striking claim. It’s not just that NNs prefer simple features; they often become completely invariant to complex ones. In the MNIST-CIFAR experiments, models like ResNet-50 ignored the CIFAR image entirely, focusing only on the MNIST digit.
  • The Robustness Gap: Complex features (like the shape of an object) are often more robust than simple features (like a background color or a specific texture). Because SB forces the network to ignore the complex "semantics," the model becomes vulnerable to any attack that perturbs the simple "shortcut" feature.
  • Suboptimal Generalization: Contrary to the "simplicity is always better" mantra, the authors show that SB can actually hurt standard accuracy. If a simple feature is slightly noisy, the network will still prefer it over a 100% accurate complex feature, leading to lower overall performance.
  • Standard Fixes Fail: The authors tested Ensembles and Adversarial Training. While these help slightly, they don't "cure" simplicity bias; the models still largely ignore the complex, high-level features we actually want them to learn.

Key Results

  • Invariance: On the synthetic LMS datasets, randomizing the complex features had zero effect on the model's logit distribution. The model literally could not "see" the complex features because it had already satisfied its loss function using the simple one.
  • Universal Adversarial Perturbations (UAPs): The authors found that UAPs (perturbations that fool a model on many different images) focus almost exclusively on the simplest feature. For example, in the LMS-5 dataset, 99.6% of the adversarial "budget" was spent attacking the linear coordinate.
  • Generalization Failure: On the $\hat{LMS}$-7 dataset, where the simple feature was only 95% predictive, models achieved only ~95% test accuracy, despite the existence of complex features that could have provided 100% accuracy.

Limitations and Future Work

The authors acknowledge that their definition of simplicity (number of linear pieces) is specific to piecewise-linear boundaries. While this works well for ReLU networks, "simplicity" in real-world data (like the difference between "texture" and "shape") is harder to quantify mathematically.

The paper concludes that we need new algorithmic approaches. Simply adding more data or using standard regularization isn't enough to overcome the "path of least resistance" that SGD takes. Future work must focus on forcing models to "look past" the easy shortcuts to find the robust, complex features that define true intelligence.

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