English

Understanding Gradient Descent on Edge of Stability in Deep Learning

Machine Learning 2022-10-31 v3 Optimization and Control

Abstract

Deep learning experiments by Cohen et al. [2021] using deterministic Gradient Descent (GD) revealed an Edge of Stability (EoS) phase when learning rate (LR) and sharpness (i.e., the largest eigenvalue of Hessian) no longer behave as in traditional optimization. Sharpness stabilizes around 2/2/LR and loss goes up and down across iterations, yet still with an overall downward trend. The current paper mathematically analyzes a new mechanism of implicit regularization in the EoS phase, whereby GD updates due to non-smooth loss landscape turn out to evolve along some deterministic flow on the manifold of minimum loss. This is in contrast to many previous results about implicit bias either relying on infinitesimal updates or noise in gradient. Formally, for any smooth function LL with certain regularity condition, this effect is demonstrated for (1) Normalized GD, i.e., GD with a varying LR ηt=ηL(x(t))\eta_t =\frac{\eta}{\| \nabla L(x(t)) \|} and loss LL; (2) GD with constant LR and loss LminxL(x)\sqrt{L- \min_x L(x)}. Both provably enter the Edge of Stability, with the associated flow on the manifold minimizing λ1(2L)\lambda_{1}(\nabla^2 L). The above theoretical results have been corroborated by an experimental study.

Keywords

Cite

@article{arxiv.2205.09745,
  title  = {Understanding Gradient Descent on Edge of Stability in Deep Learning},
  author = {Sanjeev Arora and Zhiyuan Li and Abhishek Panigrahi},
  journal= {arXiv preprint arXiv:2205.09745},
  year   = {2022}
}

Comments

63 pages. This paper has been accepted for conference proceedings in the 39th International Conference on Machine Learning (ICML), 2022

R2 v1 2026-06-24T11:22:40.862Z