New Theory Explains Optimizer Behavior at Deep Learning's Edge of Stability

Jaerin Lee, Kyoung Mu Lee· August 20, 2026 View original

Key takeaways

  • Classical theories on deep learning stability often underestimate the actual stability bounds of optimizers.
  • Optimizer-specific behavior significantly influences the "edge of stability" phenomenon.
  • A new formulation based on directional Hessian and gradient-alignment offers more accurate stability predictions.
  • Understanding optimizer roles can lead to more efficient and stable deep learning training.

Who benefits

AI/ML DevelopmentSoftware EngineeringResearch & DevelopmentHigh-Performance Computing

Summary

This research proposes a new formulation for the "edge of stability" phenomenon in deep learning optimizers, accounting for observed deviations from classical predictions. It introduces diagnostic tools to understand how optimizers balance temporal and spatial budgets during optimization.

Deep learning training often encounters a phenomenon known as the "edge of stability," where the loss function's Hessian eigenvalues remain stable despite classical theories predicting instability. Previous models linked this to the maximum Hessian eigenvalue and learning rate, but this paper observes that many first-order optimizers, like gradient descent, significantly exceed these predicted stability bounds. The deviation is systematic and depends heavily on the specific optimizer used, a factor not captured by existing formulations. To address this, the researchers developed a new stability threshold derived from the directional Hessian and the gradient-alignment score, focusing on the optimizer's actual update rather than just the maximum curvature. This new formulation provides more consistent predictions and eliminates optimizer-dependent offsets. It also offers novel diagnostic tools that highlight the unique role optimizers play in managing the trade-off between temporal and spatial aspects of first-order optimization.

Why it matters

Understanding the edge of stability and optimizer behavior is crucial for developing more robust and efficient deep learning training algorithms, potentially leading to faster convergence and better model performance.

How to implement this in your domain

  1. 1Review current deep learning training practices to identify potential inefficiencies related to optimizer choice and learning rate schedules.
  2. 2Experiment with different first-order optimizers, paying close attention to their behavior at the edge of stability using the proposed diagnostic tools.
  3. 3Integrate insights from directional Hessian and gradient-alignment scores into custom optimizer development or hyperparameter tuning strategies.
  4. 4Develop adaptive learning rate mechanisms that dynamically adjust based on the realized edge of stability, rather than fixed theoretical bounds.

Original post by Jaerin Lee, Kyoung Mu Lee

"arXiv:2608.18415v1 Announce Type: new Abstract: The edge of stability refers to a phenomenon in deep learning with gradient-based optimizers where the Hessian eigenvalues of the loss remain stable above a threshold that the classical descent lemma predicts to be unstable. Previou…"

View on X

Originally posted by Jaerin Lee, Kyoung Mu Lee on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses