On a continuous time model of gradient descent dynamics and instability in deep learning

Mihaela Rosca, Yan Wu, Chongli Qin, Benoit Dherin
2/3/2023
stat.MLcs.LG

No official code found. Best implementation: google-deepmind/discretisation_drift (11 stars, Apache-2.0, last commit 2024-07-30).

Abstract

The recipe behind the success of deep learning has been the combination of neural networks and gradient-based optimization. Understanding the behavior of gradient descent however, and particularly its instability, has lagged behind its empirical success. To add to the theoretical tools available to study gradient descent we propose the principal flow (PF), a continuous time flow that approximates gradient descent dynamics. To our knowledge, the PF is the only continuous flow that captures the divergent and oscillatory behaviors of gradient descent, including escaping local minima and saddle points. Through its dependence on the eigendecomposition of the Hessian the PF sheds light on the recently observed edge of stability phenomena in deep learning. Using our new understanding of instability we propose a learning rate adaptation method which enables us to control the trade-off between training stability and test set evaluation performance.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
114Shell, PythonOct 1, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{rosca2023continuous,
  title  = {On a continuous time model of gradient descent dynamics and instability in deep learning},
  author = {Mihaela Rosca and Yan Wu and Chongli Qin and Benoit Dherin},
  year   = {2023},
  eprint = {2302.01952},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.01952v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.01952.svg)](https://codeofpaper.com/paper/2302.01952)

Discussion