On the Convergence of Adam and Beyond

Sashank J. Reddi, Satyen Kale, Sanjiv Kumar
4/19/2019
3,125 citations
cs.LGmath.OCstat.ML

No official code found. Best implementation: taki0112/AMSGrad-Tensorflow (104 stars).

Abstract

Several recently proposed stochastic optimization methods that have been successfully used in training deep networks such as RMSProp, Adam, Adadelta, Nadam are based on using gradient updates scaled by square roots of exponential moving averages of squared past gradients. In many applications, e.g. learning with large output spaces, it has been empirically observed that these algorithms fail to converge to an optimal solution (or a critical point in nonconvex settings).

Show full abstract

We show that one cause for such failures is the exponential moving average used in the algorithms. We provide an explicit example of a simple convex optimization setting where Adam does not converge to the optimal solution, and describe the precise problems with the previous analysis of Adam algorithm. Our analysis suggests that the convergence issues can be fixed by endowing such algorithms with `long-term memory' of past gradients, and propose new variants of the Adam algorithm which not only fix the convergence issues but often also lead to improved empirical performance.

View on arXivView PDF

Code Implementations(1)

Simple Tensorflow implementation of "On the Convergence of Adam and Beyond" (ICLR 2018)

10426

Similar Papers

Cite this paper

@article{reddi2019convergence,
  title  = {On the Convergence of Adam and Beyond},
  author = {Sashank J. Reddi and Satyen Kale and Sanjiv Kumar},
  year   = {2019},
  eprint = {1904.09237},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.09237}
}

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

Discussion