Understanding Edge-of-Stability Training Dynamics with a Minimalist Example
Xingyu Zhu, Zixuan Wang, Xiang Wang, Mo Zhou, Rong Ge
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 What Happens after SGD Reaches Zero Loss? --A Mathematical Framework
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 The Break-Even Point on Optimization Trajectories of Deep Neural Networks
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 Understanding the unstable convergence of gradient descent
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction 引用了 Label Noise SGD Provably Prefers Flat Global Minimizers
- Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory 引用了 Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
- Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory 引用了 Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability
- Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory 引用了 The Break-Even Point on Optimization Trajectories of Deep Neural Networks
- Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory 引用了 Understanding the unstable convergence of gradient descent
- What Happens after SGD Reaches Zero Loss? --A Mathematical Framework 引用了 Label Noise SGD Provably Prefers Flat Global Minimizers
- (S)GD over Diagonal Linear Networks: Implicit bias, Large Stepsizes and Edge of Stability 引用了 Label Noise SGD Provably Prefers Flat Global Minimizers
- Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability 引用了 Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
- Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability 引用了 Understanding the unstable convergence of gradient descent
- Super Consistency of Neural Network Landscapes and Learning Rate Transfer 引用了 Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory
- Super Consistency of Neural Network Landscapes and Learning Rate Transfer 引用了 The Break-Even Point on Optimization Trajectories of Deep Neural Networks
- Super Consistency of Neural Network Landscapes and Learning Rate Transfer 引用了 Understanding the unstable convergence of gradient descent
引用它的顶会 Paper26
- Implicit Bias of Gradient Descent for Logistic Regression at the Edge of StabilityJingfeng Wu, Vladimir Braverman, Jason D. LeeNeurIPS 2023 · 46 次引用
- (S)GD over Diagonal Linear Networks: Implicit bias, Large Stepsizes and Edge of StabilityMathieu Even, Scott Pesme, Suriya Gunasekar, Nicolas FlammarionNeurIPS 2023 · 42 次引用
- Bifurcations and loss jumps in RNN trainingLukas Eisenmann, Zahra Monfared, Niclas Alexander Göring, Daniel DurstewitzNeurIPS 2023 · 29 次引用
- Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation TheoryMinhak Song, Chulhee YunNeurIPS 2023 · 26 次引用
- Super Consistency of Neural Network Landscapes and Learning Rate TransferLorenzo Noci, Alexandru Meterez, Thomas Hofmann, Antonio OrvietoNeurIPS 2024 · 25 次引用
它引用的 Paper10
- The Break-Even Point on Optimization Trajectories of Deep Neural NetworksStanislaw Jastrzebski, Maciej Szymczak, Stanislav Fort, Devansh Arpit 等ICLR 2020 · 198 次引用
- Label Noise SGD Provably Prefers Flat Global MinimizersAlex Damian, Tengyu Ma, Jason D. LeeNeurIPS 2021 · 155 次引用
- What Happens after SGD Reaches Zero Loss? --A Mathematical FrameworkZhiyuan Li, Tianhao Wang, Sanjeev AroraICLR 2022 · 121 次引用
- Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 次引用
- Understanding the unstable convergence of gradient descentKwangjun Ahn, Jingzhao Zhang, Suvrit SraICML 2022 · 89 次引用
相关 Paper
- Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of StabilityZixuan Wang, Zhouzi Li, Jian LiNeurIPS 2022 · 71 次引用
- Gradient Descent on Neural Networks Typically Occurs at the Edge of StabilityJeremy Cohen, Simran Kaur, Yuanzhi Li, J. Zico Kolter 等ICLR 2021 · 22 次引用
- 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 次引用
- Flatland: The Adventures of Gradient Descent with Large Step SizesLeonardo Galli, Curtis Fox, Wiebke Bartolomaeus, Mark Schmidt 等ICML 2026
- Learning Dynamics of Deep Matrix Factorization Beyond the Edge of StabilityAvrajit Ghosh, Soo Min Kwon, Rongrong Wang, Saiprasad Ravishankar 等ICLR 2025
