Lune

ICLR2023Top-tier venue

Understanding Edge-of-Stability Training Dynamics with a Minimalist Example

Xingyu Zhu, Zixuan Wang, Xiang Wang, Mo Zhou, Rong Ge

Abstract

Recently, researchers observed that gradient descent for deep neural networks operates in an "edge-of-stability" (EoS) regime: the sharpness (maximum eigenvalue of the Hessian) is often larger than stability threshold 2/η (where η is the step size). Despite this, the loss oscillates and converges in the long run, and the sharpness at the end is just slightly below 2/η. While many other well-understood nonconvex objectives such as matrix factorization or two-layer networks can also converge despite large sharpness, there is often a larger gap between sharpness of the endpoint and 2/η. In this paper, we study EoS phenomenon by constructing a simple function that has the same behavior. We give rigorous analysis for its training dynamics in a large local region and explain why the final converging point has sharpness close to 2/η. Globally we observe that the training dynamics for our example have an interesting bifurcating behavior, which was also observed in the training of neural nets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

26 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites What Happens after SGD Reaches Zero Loss? --A Mathematical Framework
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites The Break-Even Point on Optimization Trajectories of Deep Neural Networks
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Understanding the unstable convergence of gradient descent
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Label Noise SGD Provably Prefers Flat Global Minimizers
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites The Break-Even Point on Optimization Trajectories of Deep Neural Networks
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites Understanding the unstable convergence of gradient descent
  • What Happens after SGD Reaches Zero Loss? --A Mathematical Framework cites Label Noise SGD Provably Prefers Flat Global Minimizers
  • (S)GD over Diagonal Linear Networks: Implicit bias, Large Stepsizes and Edge of Stability cites Label Noise SGD Provably Prefers Flat Global Minimizers
  • Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability cites Understanding the unstable convergence of gradient descent
  • Super Consistency of Neural Network Landscapes and Learning Rate Transfer cites Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory
  • Super Consistency of Neural Network Landscapes and Learning Rate Transfer cites The Break-Even Point on Optimization Trajectories of Deep Neural Networks
  • Super Consistency of Neural Network Landscapes and Learning Rate Transfer cites Understanding the unstable convergence of gradient descent
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers26

  1. Implicit Bias of Gradient Descent for Logistic Regression at the Edge of StabilityJingfeng Wu, Vladimir Braverman, Jason D. LeeNeurIPS 2023 · 46 citations
  2. (S)GD over Diagonal Linear Networks: Implicit bias, Large Stepsizes and Edge of StabilityMathieu Even, Scott Pesme, Suriya Gunasekar, Nicolas FlammarionNeurIPS 2023 · 42 citations
  3. Bifurcations and loss jumps in RNN trainingLukas Eisenmann, Zahra Monfared, Niclas Alexander Göring, Daniel DurstewitzNeurIPS 2023 · 29 citations
  4. Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation TheoryMinhak Song, Chulhee YunNeurIPS 2023 · 26 citations
  5. Super Consistency of Neural Network Landscapes and Learning Rate TransferLorenzo Noci, Alexandru Meterez, Thomas Hofmann, Antonio OrvietoNeurIPS 2024 · 25 citations

Builds on10

  1. The Break-Even Point on Optimization Trajectories of Deep Neural NetworksStanislaw Jastrzebski, Maciej Szymczak, Stanislav Fort, Devansh Arpit et al.ICLR 2020 · 198 citations
  2. Label Noise SGD Provably Prefers Flat Global MinimizersAlex Damian, Tengyu Ma, Jason D. LeeNeurIPS 2021 · 155 citations
  3. What Happens after SGD Reaches Zero Loss? --A Mathematical FrameworkZhiyuan Li, Tianhao Wang, Sanjeev AroraICLR 2022 · 121 citations
  4. Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 citations
  5. Understanding the unstable convergence of gradient descentKwangjun Ahn, Jingzhao Zhang, Suvrit SraICML 2022 · 89 citations

Related papers

  1. Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of StabilityZixuan Wang, Zhouzi Li, Jian LiNeurIPS 2022 · 71 citations
  2. Gradient Descent on Neural Networks Typically Occurs at the Edge of StabilityJeremy Cohen, Simran Kaur, Yuanzhi Li, J. Zico Kolter et al.ICLR 2021 · 22 citations
  3. Gradient Descent Monotonically Decreases the Sharpness of Gradient Flow Solutions in Scalar Networks and BeyondItai Kreisler, Mor Shpigel Nacson, Daniel Soudry, Yair CarmonICML 2023 · 19 citations
  4. Flatland: The Adventures of Gradient Descent with Large Step SizesLeonardo Galli, Curtis Fox, Wiebke Bartolomaeus, Mark Schmidt et al.ICML 2026
  5. Learning Dynamics of Deep Matrix Factorization Beyond the Edge of StabilityAvrajit Ghosh, Soo Min Kwon, Rongrong Wang, Saiprasad Ravishankar et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines