TL;DR
Neural networks have a notorious habit of taking the easy way out by relying on simple features, a phenomenon known as simplicity bias. This paper provides the first mathematical proof that this bias occurs even in complex, non-linearly separable datasets, showing that neurons quickly condense into a few prominent directions and progressively "forget" more complex features as training continues. Crucially, this implies that a network's middle training stages—rather than its final converged state—might actually yield the best features for out-of-distribution generalization.
What Problem Does This Paper Address?
Deep learning models often rely on "shortcuts"—spurious correlations that hold true on the training set but fail in the real world (such as classifying a cow based on a green grass background rather than the cow itself). This behavior is driven by simplicity bias: the inherent tendency of neural networks to prioritize simple patterns over complex, more robust ones.
While widely observed in practice, a thorough theoretical understanding of why and how this happens has been lacking. Existing proofs of simplicity bias have been stuck under highly restrictive assumptions, requiring the training data to be perfectly linearly separable or strictly one-dimensional. This paper bridges the gap by analyzing simplicity bias in two-layer networks on general, non-linearly separable datasets.
Methods
The authors theoretically analyze a two-layer neural network trained via gradient flow from a very small weight initialization ($\sigma \approx 0$). To avoid mathematical degeneracies, they utilize a smooth, differentiable approximation of the standard ReLU activation function.
Their analysis breaks the training process down into three distinct phases:
- Early Phase: Weights grow from small to constant scale.
- Middle Phase: Weights reach a constant scale while preserving neuron alignment.
- Late Phase: The network approaches infinite training time and converges to zero loss.
To track the features learned throughout training without relying on strict dataset constraints, the authors exploit a simpler, data-dependent function ($G$) that approximates the network's dynamics near zero initialization. This function is entirely independent of the hidden layer's size, allowing them to link the learned features directly to the global extrema of the data geometry.
Datasets
The paper validates its theoretical findings using two main setups:
- Synthetic XOR-like Datasets: Data points in $\mathbb{R}^d$ that cluster around four symmetric directions. This structure explicitly breaks linear separability and serves as a prime testbed for non-linear feature learning.
- MNIST-CIFAR-10 Domino Dataset: A real-world image benchmark where MNIST digits and CIFAR-10 images are vertically concatenated. During training, the MNIST digit and the CIFAR-10 image class are perfectly correlated, making the "simple" MNIST digit a shortcut feature. During testing, they are uncorrelated, revealing whether the network truly learned the complex CIFAR features or just relied on the shortcut.
Key Insights and Ideas
- Initial Condensation: No matter how large the hidden layer is, neurons quickly align themselves along just a few prominent directions determined by the data geometry (the global extrema of function $G$) early in training.
- Late-Stage Exacerbation: Simplicity bias intensifies as training progresses. In the later stages, the network actively "forgets" more nuanced features because the simple features grow exponentially faster, dominating the decision boundary.
- The "Goldilocks" Training Window: Because late-stage training amplifies simplicity bias to the extreme, the features learned during the middle stages of training are actually the most robust and useful for out-of-distribution (OOD) transfer.
Key Results
- Mathematical Proof of Clustering: The authors successfully prove that early feature clustering occurs for general datasets (Theorems 4.1 and 4.4), showing that only a small set of prominent neurons governs the network's behavior.
- Alignment on XOR Data: Simulations on XOR data confirm that a 4-neuron network converges to a local max-margin direction where all neuron scales eventually become identical, validating their theoretical assumptions.
- Empirical Validation on Images: When training a ResNet-18 on the MNIST-CIFAR-10 domino dataset, the OOD accuracy peaks early in training (~epoch 64) and then drops significantly by about 8.13% in later epochs when small regularization is used. This provides strong empirical backing for their theory that over-training exacerbates simplicity bias and hurts OOD generalization.
Limitations and Future Work
- Late-Stage Assumptions: The theoretical analysis for the infinite-time limit (the late stage) is currently restricted to XOR-like data structures and relies on a convergence assumption of a simplified 4-neuron network that, while empirically validated, is not fully proven generally.
- Dimensional Constraints: The proofs assume an odd number of dimensions ($d$) for technical reasons related to o-minimal structures; extending this to even dimensions remains future work.
- Shallow Architecture: The theory is strictly limited to shallow, two-layer networks. Extending these mathematical characterizations of simplicity bias to deep, multi-layer architectures remains an open challenge.
Summary updated