Conflicting Biases at the Edge of Stability: Norm versus Sharpness Regularization

Maria Matveev, Vit Fojtik, Hung-Hsu Chou, Gitta Kutyniok, Johannes Maly

TL;DR

The learning rate in gradient descent acts as a crucial regularization hyperparameter that interpolates between two competing implicit biases: parameter norm minimization (at small learning rates) and sharpness minimization (at large learning rates in the Edge of Stability regime). This paper demonstrates that neither bias alone can fully explain optimal generalization. Instead, the best test performance often occurs at an intermediate learning rate where these two opposing forces are carefully balanced.

What Problem Does This Paper Address?

Deep neural networks routinely generalize well to unseen data despite being heavily overparameterized—meaning they have far more parameters than training samples and possess the capacity to easily memorize random noise. This remarkable ability is widely attributed to implicit bias, the tendency of an optimization algorithm to inherently favor certain well-structured solutions over others without explicit regularization.

Historically, researchers have analyzed different implicit biases in isolation:

  1. Small Learning Rates / Gradient Flow (GF): When the learning rate ($\eta$) is infinitesimally small, gradient descent behaves like continuous gradient flow, which implicitly biases the model toward solutions with a minimal parameter norm (e.g., minimal $\ell_2$ or nuclear norm).
  2. Large Learning Rates / Edge of Stability (EoS): In practice, deep networks are trained with large learning rates. Recent work shows that gradient descent under these conditions enters an oscillatory state called the "Edge of Stability" (EoS), where the training loss fluctuates but continues to decrease, implicitly biasing the network toward flatter regions of the loss landscape (low sharpness).

This paper tackles a critical gap: How do these two distinct implicit biases interact? Rather than treating them as isolated phenomena, the authors investigate the dynamic trade-off between norm minimization and sharpness regularization across the entire spectrum of practical learning rates.

Figure 1. Starting at an initial parameter θ0, GF and GD with a small learning rate η implicitly regularize the parameter norm (θnorm has low norm). For GD with intermediate or large learning rates, the trajectories exhibit oscillatory Edge of Stability (EoS) behavior, implicitly regularizing the sharpness (θsharpness has low sharpness). Best generalization often is attained by carefully balancing the learning rate. In the EoS regime, we find a trade-off between low sharpness of the training loss and low norm of the final model parameter.

Methods

The authors employ a dual approach combining extensive empirical simulations with rigorous mathematical analysis of a simplified toy model:

  • Empirical Analysis: They train multiple standard neural network architectures using full-batch gradient descent across a wide range of fixed learning rates. They track the final parameter norms ($\ell_1$, $\ell_2$, and nuclear norm), the worst-case sharpness (measured via the top eigenvalue of the loss Hessian), and the resulting test loss.
  • Theoretical Analysis: To mathematically isolate the interaction, they analyze a shallow diagonal linear network with shared weights trained on a single data point under a square loss function. They explicitly compute the Karush-Kuhn-Tucker (KKT) points of the risk minimization problem under sharpness constraints to prove how norm-minimizers and sharpness-minimizers behave geometrically.

Datasets

The empirical evaluations are conducted on several standard benchmarks:

  • Vision Datasets: MNIST and CIFAR-10 (including both full datasets and subsampled variants containing the first 5,000 examples, denoted as MNIST-5k and CIFAR-10-5k, to make exact Hessian eigenvalue computations tractable).
  • Tabular Datasets: The California Housing dataset (for regression) and the Breast Cancer Wisconsin dataset (for binary classification) from scikit-learn.
  • Synthetic Tasks: A sequence-reversal task to evaluate sequence-to-sequence transformer architectures.

No new benchmarks were introduced in this paper.

Key Insights and Ideas

  • The Learning Rate as an Interpolation Knob: The learning rate does not merely control optimization speed; it directly dictates the type of implicit regularization. Small learning rates minimize parameter norm, while large learning rates minimize landscape sharpness.
  • The Critical Phase Transition ($\eta_c$): There is a sharp, data- and model-dependent critical learning rate threshold ($\eta_c \approx 2/s_{GF}^\epsilon$). Below $\eta_c$, the optimization is "flow-aligned," meaning the final norm and sharpness remain virtually identical to continuous gradient flow. Above $\eta_c$, the model enters the EoS regime, causing final sharpness to drop hyperbolically ($\propto 2/\eta$) while the parameter norm increases.
Empirical evidence of the sharp phase transition at $\eta_c$ across different architectures and datasets.
  • Geometrically Disjoint Minima: Through their toy model, the authors prove that the norm-minimizer and the sharpness-minimizer are completely distinct points on the solution manifold. The norm-minimizer places all weight on the feature with the largest magnitude, whereas the sharpness-minimizer places weight on the feature with the smallest magnitude.
  • The Balanced Generalization Optimum: Because the two biases pull the model parameters in opposite directions, focusing exclusively on one extreme yields suboptimal generalization. Optimal test performance frequently manifests as a U-shaped curve over the learning rate spectrum, where the best generalization occurs at an intermediate learning rate that balances both biases.

Key Results

  • Consistent Trade-Off Across Architectures: The inverse relationship between final sharpness and parameter norm was consistently observed across Fully Connected Networks (FCNs), Convolutional Neural Networks (CNNs), ResNets, and Vision Transformers (ViTs), regardless of whether Mean Squared Error (MSE) or Cross-Entropy (CE) loss was used.
  • U-Shaped Test Loss Curves: In several settings (such as FCNs on MNIST-5k with MSE loss), the test loss clearly forms a U-curve, demonstrating that intermediate learning rates outperform both the continuous gradient flow limit and the highly unstable large learning rate limits.
Final sharpness, nuclear norm, and test loss vs. learning rate, highlighting the U-shaped generalization curve.
  • Alternative Optimizers: The authors provide preliminary evidence that this norm-sharpness trade-off is not unique to vanilla full-batch gradient descent; it also qualitatively persists when training with Stochastic Gradient Descent (SGD), Shampoo, and Muon.

Limitations and Future Work

The authors openly acknowledge several limitations in their current study:

  • Simplified Theoretical Models: The mathematical proofs are constrained to highly simplified settings, such as a shallow diagonal linear network trained on a single data point. Extending these rigorous guarantees to deep, non-linear architectures and complex data distributions remains an open challenge.
  • Focus on Full-Batch GD: The core analysis isolates full-batch gradient descent to avoid confounding factors. However, practical deep learning relies heavily on mini-batch SGD, which introduces stochastic noise that possesses its own unique implicit regularizing properties.
  • Scope of Biases: The work focuses strictly on the interplay between parameter norm and worst-case sharpness. Real-world optimization landscapes are influenced by a broader cocktail of biases (e.g., momentum, label noise, and weight normalization) that warrant a more holistic, unified framework in future research.

Summary updated

BibTeX
@inproceedings{matveev2026conflicting,
  author = {Maria Matveev and Vit Fojtik and Hung-Hsu Chou and Gitta Kutyniok and Johannes Maly},
  title = {{Conflicting Biases at the Edge of Stability: Norm versus Sharpness Regularization}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=6eI4YHFyON},
}
Figure