Simplicity Bias of Two-Layer Networks beyond Linearly Separable Data

Nikita Tsoy, Nikola Konstantinov

Introduction

Deep learning models are often criticized for their reliance on "shortcuts"—simple, spurious features that correlate with labels in a training set but fail to generalize to real-world, out-of-distribution (OOD) scenarios. This phenomenon, known as simplicity bias (SB), explains why a model might classify an image of a cow based on a background of green grass rather than the animal's morphology.

While simplicity bias has been observed empirically, theoretical understanding has traditionally been confined to the assumption of "linear separability," where data can be split by a single hyperplane. This paper provides a rigorous mathematical framework for simplicity bias in non-linearly separable data, such as XOR patterns, and explores how the training trajectory itself influences feature selection.

Theoretical Framework: The Three Stages of Training

The authors analyze two-layer neural networks trained using gradient flow—a continuous-time analogue of gradient descent—starting from a small initialization. Their analysis reveals that training progresses through three distinct phases:

  1. Early Training (Neuron Condensation): As weights grow from near-zero, neurons do not evolve randomly. Instead, they "condense" or cluster around the global extrema of a specific data-dependent function. This suggests that even with a large hidden layer, the network initially focuses on a very limited set of directions.
  2. Middle Training (The Prominent Network): During this stage, the network effectively behaves as a much smaller, "prominent" network. It ignores the majority of its neurons and focuses on the most dominant features identified during the condensation phase.
  3. Late Training (Convergence to Extreme Simplicity): As the network reaches zero training loss, it converges toward a "max-margin" solution. For non-linear data like XOR patterns, this implicit bias causes the model to prune away complex features that are not strictly necessary for the decision boundary. Consequently, the model may "forget" useful complex features in favor of mathematical simplicity.

Experimental Validation

To bridge the gap between theory and practice, the researchers utilized the Domino Dataset, a benchmark consisting of MNIST digits concatenated with CIFAR-10 images. In this setup, training labels are perfectly correlated with the simple MNIST digit but require CIFAR-10 features for OOD generalization.

Key Results

  • OOD Performance Decay: Experiments showed that OOD accuracy (the ability to classify the CIFAR component) peaks early in training—reaching approximately 45%—before significantly declining as the model converges toward the simpler MNIST-based solution.
  • Feature Scaling: The study observed that "simple" features grow at a much faster rate than complex ones. By the late stages of training, the weights associated with simple features can be 50 times larger than those for complex features, effectively drowning out more nuanced information.
  • Statistical Significance: Under small regularization, the researchers measured a drop in OOD accuracy of roughly 8.13% ($p < 10^{-6}$) between the early and late training stages, confirming that longer training can be detrimental to robustness.

Implications and Limitations

The research suggests that the very process of reaching convergence can undermine a model's ability to maintain complex, robust features. This implies that "lazy" training regimes or aggressive early stopping might be essential tools for preventing models from falling into the trap of extreme simplicity bias.

However, several limitations remain for future exploration:

  • Architectural Depth: The current theoretical proofs are limited to two-layer networks. Extending these results to deep, multi-layer architectures remains a significant challenge.
  • Data Symmetry: The XOR proof relies on specific symmetries that may not be present in more chaotic, real-world datasets.
  • Activation Functions: The theory utilizes a smooth approximation of the ReLU function, though experimental results suggest this approximation holds true for standard ReLU as well.

Conclusion

This work provides a critical theoretical foundation for understanding why neural networks prefer simple solutions even when faced with complex, non-linear data. By identifying the "middle stage" of training as a potential sweet spot for feature diversity, the authors open new avenues for developing training techniques that prioritize robustness over mere convergence.

Summary updated

BibTeX
@inproceedings{tsoy2024simplicity,
  author = {Nikita Tsoy and Nikola Konstantinov},
  title = {{Simplicity Bias of Two-Layer Networks beyond Linearly Separable Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=eGZH3HCuGm},
}
Figure