Classification at the Edge of Stability: Unifying Self-Stabilization and Convergence Rates

Salma Tarmoun, Lachlan Ewen MacDonald, Ziqing Xu, Konstantinos Emmanouilidis, Rene VidalNeurIPS 2026

TL;DR

When we train neural networks with learning rates that textbooks say should cause the math to explode, they don't blow up—they actually converge faster. This paper finally bridges the gap between why gradient descent stabilizes itself in classification tasks and how fast it converges, tracking the exact parameters rather than just the loss. Along the way, it uncovers a hidden quirk: large step sizes can leave stubborn geometric "scars" on your weights that persist over any finite training run.

What Problem Does This Paper Address?

Classical optimization theory warns us to keep gradient descent (GD) step sizes small, specifically below $2/\lambda_{\max}$, where $\lambda_{\max}$ is the local sharpness (maximum curvature) of the loss landscape. Yet in modern deep learning, practitioners routinely smash past this speed limit. Operating in this high-step-size regime—known as the Edge of Stability (EoS)—causes the loss to bounce up and down non-monotonically, yet somehow leads to faster overall training and better generalization.

Until now, theorists trying to explain this fell into three camps with missing pieces:

  1. The Mechanistic Camp: Showed how GD "self-stabilizes" by naturally steering away from sharp, curvy regions toward flatter ones—but couldn't prove end-to-end convergence rates.
  2. The Rate-Chasers: Proved rigorous convergence rates for classification losses, but relied on specialized algebraic tricks that obscured the underlying stabilization physics.
  3. The Unifiers: Combined both mechanism and rates for least-squares regression by analyzing trajectories around a "manifold of minimizers" (where the loss hits zero).

Here's the catch for classification: losses like logistic regression and cross-entropy have exponential tails. To get the loss to zero on separable data, your weights have to shoot off to infinity. There is no finite minimizer manifold to anchor the math! This paper asks: how do we unify self-stabilization and exact convergence rates when the finish line is at infinity?

Methods

Instead of anchoring their math to a non-existent set of finite minimizers, the authors anchor it to a curvature-defined reference subspace $\mathcal{M}$—a specific, flat valley floor (like the max-margin direction) along which curvature decays toward zero.

Using a Taylor expansion of the gradient around this subspace, they split the parameter updates into a coupled, two-part dynamical system:

  • Orthogonal dynamics ($\theta^\perp$): Controls how the weights bounce back and forth across the steep walls of the valley.
  • Parallel dynamics ($\theta^\parallel$): Controls forward drift down the valley floor.

The magic happens in a third-order coupling term linking the two equations. Unlike standard Taylor expansions around a fixed point, expanding dynamically along this subspace reveals how orthogonal bouncing directly fuels forward parallel motion. Under general geometric assumptions (verified specifically for pair-symmetric logistic regression and multiclass cross-entropy), this clean split lets the authors bound the exact parameter iterates step by step.

Datasets

Rather than training on standard empirical benchmarks, this theoretical paper uses controlled synthetic symmetric datasets to isolate and test its mathematical predictions. Specifically, the authors evaluate pair-symmetric separable datasets in $\mathbb{R}^3$ (such as a setup with $N = 24$ reflected data pairs) where the geometry of the support vectors can be precisely toggled between "spanning" and "non-spanning" configurations relative to the orthogonal space. No new external benchmark datasets are introduced.

Key Insights and Ideas

  • Oscillations are rocket fuel, not just noise: When the step size is too big, the weights oscillate wildly against the valley walls ($\theta^\perp$). Through third-order derivative coupling, that vibrational energy gets converted into forward thrust along the flat direction ($\theta^\parallel$). Moving forward exponentially flattens the valley walls, which naturally tames the oscillations. GD implicitly performs gradient descent on its own sharpness!
  • Stabilization happens in distinct acts: Once the system crosses the stability threshold, the bouncing doesn't just stop uniformly. As illustrated below, the stable regime splits into three distinct damping phases: a brief Transition where oscillations stop growing, a rapid Linear Contraction phase, and finally a slow Polynomial Decay phase. Paradoxically, the polynomial slowdown happens because the landscape becomes too flat to push the weights back to the center quickly.
Figure 2: Roadmap of Theorem 1.
  • The "Transient Implicit Bias" surprise: Standard wisdom says GD on separable classification always aligns with the max-margin direction at infinity, regardless of step size. The authors discover a major finite-time caveat. If your dataset's support vectors don't span the entire orthogonal space, curvature in the "unspanned" directions dies out too fast. Any wild oscillations amplified during the early unstable phase get frozen in place—leaving a permanent finite-time misalignment with the max-margin classifier that grows worse with larger step sizes, even while the loss itself looks totally fine!

Key Results

  • Unstable (EoS) Phase Rates: Before stabilizing, parallel progress $\theta_t^\parallel$ grows at least linearly ($\gtrsim t$), driving the restricted sharpness $\lambda_1$ down exponentially ($\lesssim e^{-ct}$) and guaranteeing stabilization in finite time.
  • Stable Phase Rates: Once stable, parallel progress slows to logarithmic growth ($\Omega(\log t)$) and sharpness decays sublinearly as $\mathcal{O}(1/t)$. When well-conditioned, orthogonal error shrinks geometrically as $(1 - \varepsilon_*)^t$, then shifts to polynomial decay $\mathcal{O}(t^{-\gamma_r})$ (empirically validated with $\gamma_r = 0.84$ in their spanning logistic test).
  • Geometry-Dependent Conditioning: In "non-spanning" data geometries, the Hessian's conditioning ratio decays to zero at a polynomial rate $t^{-(\alpha_{j_*} - \alpha_1)/\alpha_1}$. Experiments sweeping learning rates from $1.0\times$ to $3.0\times$ the classical stability limit confirm that while "strong" support-vector components vanish to machine precision ($\sim 10^{-13}$), "weak" orthogonal components plateau at higher magnitudes for larger step sizes, visibly skewing the classifier's angle.

Limitations and Future Work

The authors are upfront about the boundaries of their sandbox:

  • Step-size Goldilocks zone: The learning rate must be large enough to trigger EoS, yet small enough to keep oscillations inside a local "tubular neighborhood" where Taylor approximations hold.
  • Symmetry assumptions: Concrete verifications for logistic and cross-entropy losses rely on symmetric, separable linear data models so the reference subspace stays cleanly aligned.
  • Deep networks remain an open frontier: Extending these guarantees to asymmetric data and deep architectures—where finding and verifying the right curvature-defined reference subspace is highly non-trivial—is left for future work, alongside exploring how transient implicit bias impacts real-world generalization and robustness.

Summary updated

Abstract

Neural networks are often trained with gradient descent (GD) at the edge of stability (EoS), where step sizes exceed classical stability thresholds and standard convergence theory no longer applies. Despite exhibiting non-monotonic loss and oscillatory dynamics, this regime frequently leads to faster convergence and better generalization. Existing theoretical perspectives offer complementary but incomplete insights: one identifies a self-stabilization mechanism that drives GD toward flat regions but does not yield convergence rates; another derives rigorous rates for specific losses but does not explain the underlying stabilization mechanism; and a third unifies these views for overparameterized least squares, but relies on the existence of a minimizer manifold, which is absent in classification settings. In this work, we extend this unified geometric perspective to exponential-tail losses, including logistic and cross-entropy losses, where no finite minimizer exists. We identify a curvature-defined reference subspace that replaces the role of the minimizer manifold, yielding a coupled dynamical system in which orthogonal oscillations are damped by parallel progress along directions of decreasing sharpness. Under regularity conditions, which we verify for logistic and multiclass cross-entropy losses in symmetric data models, we derive explicit bounds for the iterates, not just the loss, covering both the EoS and stable regimes, and revealing a three-phase damping structure in the latter. Our analysis further uncovers a transient implicit bias induced by large step sizes: although GD converges asymptotically to the max-margin direction, large steps can leave persistent orthogonal residuals and, in certain geometries, amplify them.
BibTeX
@inproceedings{tarmoun2026classification,
  author = {Salma Tarmoun and Lachlan Ewen MacDonald and Ziqing Xu and Konstantinos Emmanouilidis and Rene Vidal},
  title = {{Classification at the Edge of Stability: Unifying Self-Stabilization and Convergence Rates}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VpiPrv9CUK},
}
Figure