TL;DR
This paper introduces a unified linear stability framework to explain why optimization algorithms like Stochastic Gradient Descent (SGD) and Sharpness-Aware Minimization (SAM) inherently prefer simpler, more generalizable solutions. By proposing a novel "data coherence" measure, the authors prove that flatness and simplicity bias are two sides of the same coin, and demonstrate that SAM actively amplifies this simplicity bias by aggressively rejecting solutions that memorize individual data points.
What Problem Does This Paper Address?
Deep neural networks routinely generalize well even when they are heavily overparameterized and capable of perfectly memorizing noisy data. To explain this mystery, researchers usually point to two distinct phenomena:
- The Flat-Minima Hypothesis: Optimizers naturally gravitate toward wide, low-curvature regions of the loss landscape, which correlate with better generalization.
- Implicit Simplicity Bias: Neural networks tend to learn simple, shared features across data points before capturing complex, idiosyncratic patterns.
Despite the popularity of both ideas, a unified theory connecting data structure, optimization dynamics, and the geometric nature of the learned solutions has been missing. This paper bridges that gap, answering why optimizers prefer flat or simple solutions and how algorithmic interventions like SAM alter these preferences.
Methods
The authors tackle this problem using a linear stability framework, analyzing the behavior of optimization algorithms near local minima by linearizing the gradient updates via a Taylor series expansion.
The core mathematical innovation is the coherence measure ($\sigma$). This metric quantifies how well the curvature (Hessians) of individual training examples align with one another in parameter space. If many examples share the same high-curvature directions, data coherence is high.
The authors derive precise stability and divergence conditions under this framework for three distinct algorithms:
- Standard SGD
- SGD with random isotropic noise perturbations
- Sharpness-Aware Minimization (SAM)
To ground their theory, they instantiate these conditions on a two-layer ReLU network under exact interpolation, mathematically defining the difference between a "memorizing" solution (where each data point activates a unique hidden neuron) and a "generalizing" solution (where features are shared across examples).
Datasets
The paper validates its theoretical claims using two setups:
- Synthetic Dataset: A binary classification task where inputs are drawn i.i.d. from $x \in \{-1, 1\}^d$ and labels are generated via the non-linear rule $y = x[0]x[1]$. This setup is specifically designed to allow both simple (feature-sharing) and complex (memorizing) global minima to exist simultaneously.
- CIFAR-10: Used to demonstrate the scalability of their insights to realistic image classification using a ResNet-18 architecture.
Key Insights and Ideas
- Flatness and Simplicity are Intertwined: The authors prove that "simple" solutions—those relying on a small set of features shared across many examples—inherently possess high data coherence. This alignment of individual sample curvatures creates aggregate flatness, making simple solutions dynamically more stable during training.
- Random Noise vs. SAM: Injecting random isotropic noise into SGD speeds up escape from unstable regions but does not change which minima are stable. SAM, conversely, introduces an effective Hessian factor that strictly penalizes high-curvature directions.
- SAM Amplifies Simplicity Bias: SAM is particularly intolerant of sharpness that stems from localized, one-off fluctuations (low coherence). If a sharp direction is universal across all data points (high coherence), SAM mitigates its penalty. Consequently, SAM biases models even more strongly toward global, shared features rather than complex combinations of fragile features.
Key Results
- Stricter Divergence Bounds for SAM: The authors prove that SAM's stability criterion is strictly tighter than SGD's due to an additional curvature-dependent term. This explains why SAM escapes sharp minima more aggressively.
- Memorization is Unstable: In a two-layer ReLU network, a memorizing solution results in a purely diagonal coherence matrix (zero cross-sample interaction). This lack of spectral amplification makes memorizing solutions highly unstable under larger learning rates, explaining why SGD and SAM avoid them when simpler solutions exist.
- Empirical Validation of Convergence: As predicted by the theory, simpler solutions (lower complexity surrogate $C$) converge faster. Furthermore, SAM demonstrates a significantly higher convergence speed than SGD on these coherent solutions.
- Feature Rank Reduction on CIFAR-10: On CIFAR-10 with a ResNet-18, increasing SAM's perturbation radius ($\rho$) from 0.05 to 0.2 caused the effective feature rank to drop from 157.67 to 128.67, empirically confirming that SAM drives the model toward lower-rank, simpler representations.
Limitations and Future Work
- Linear Approximation Dependency: The analysis relies on a local quadratic approximation of the loss landscape. While highly relevant near plateaus and minima, it does not capture the highly non-linear global trajectory of early-stage neural network training.
- Simplified Settings: The explicit network proofs are restricted to two-layer ReLU models and basic optimizers. Extending this unified stability framework to deeper architectures (like Transformers) and adaptive optimizers (like Adam) remains an open challenge.
- Computational Complexity: Computing the exact data coherence matrix is computationally expensive and impractical for large-scale training. The authors note that developing scalable surrogates or proxies for data coherence is a vital direction for future work.
Summary updated