On the SDEs and Scaling Rules for Adaptive Gradient Algorithms

Sadhika Malladi, Kaifeng Lyu, Abhishek Panigrahi, Sanjeev Arora
5/20/2022
cs.LG

Official code: abhishekpanigrahi1996/Adaptive-SDE (1 star, Python, last commit 2022-12-08).

Abstract

Approximating Stochastic Gradient Descent (SGD) as a Stochastic Differential Equation (SDE) has allowed researchers to enjoy the benefits of studying a continuous optimization trajectory while carefully preserving the stochasticity of SGD. Analogous study of adaptive gradient methods, such as RMSprop and Adam, has been challenging because there were no rigorously proven SDE approximations for these methods.

Show full abstract

This paper derives the SDE approximations for RMSprop and Adam, giving theoretical guarantees of their correctness as well as experimental validation of their applicability to common large-scaling vision and language settings. A key practical result is the derivation of a $\textit{square root scaling rule}$ to adjust the optimization hyperparameters of RMSprop and Adam when changing batch size, and its empirical validation in deep learning settings.

View on arXivView PDF

Code Implementations(1)

10PythonDec 8, 20223 years ago

Similar Papers

Cite this paper

@article{malladi2022sdes,
  title  = {On the SDEs and Scaling Rules for Adaptive Gradient Algorithms},
  author = {Sadhika Malladi and Kaifeng Lyu and Abhishek Panigrahi and Sanjeev Arora},
  year   = {2022},
  eprint = {2205.10287},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.10287}
}

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/2205.10287.svg)](https://codeofpaper.com/paper/2205.10287)

Discussion