Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability
Abstract
We empirically demonstrate that full-batch gradient descent on neural network training objectives typically operates in a regime we call the Edge of Stability. In this regime, the maximum eigenvalue of the training loss Hessian hovers just above the numerical value , and the training loss behaves non-monotonically over short timescales, yet consistently decreases over long timescales. Since this behavior is inconsistent with several widespread presumptions in the field of optimization, our findings raise questions as to whether these presumptions are relevant to neural network training. We hope that our findings will inspire future efforts aimed at rigorously understanding optimization at the Edge of Stability. Code is available at https://github.com/locuslab/edge-of-stability.
Keywords
Cite
@article{arxiv.2103.00065,
title = {Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability},
author = {Jeremy M. Cohen and Simran Kaur and Yuanzhi Li and J. Zico Kolter and Ameet Talwalkar},
journal= {arXiv preprint arXiv:2103.00065},
year = {2022}
}
Comments
ICLR 2021. v3 moves several figures from the appendix into the main text, and adds more discussion regarding Jastrz\k{e}bski et al (2020): https://doi.org/10.48550/arXiv.2002.09572