A Sufficient Condition for Convergences of Adam and RMSProp

By Fangyu Zou, Li Shen, Zequn Jie, Weizhong Zhang. 2018

462 citations recorded by the source corpus.

Adam and RMSProp are two of the most influential adaptive stochastic algorithms for training deep neural networks, which have been pointed out to be divergent even in the convex setting via a few simple counterexamples. Many attempts, such as decreasing an adaptive learning rate, adopting a big batch size, incorporating a temporal decorrelation technique, seeking an analogous surrogate, etc., have been tried to promote Adam/RMSProp-type algorithms to converge. In contrast with existing approaches, we introduce an alternative easy-to-check sufficient condition, which merely depends on the parameters of the base learning rate and combinations of historical second-order moments, to guarantee the global convergence of generic Adam/RMSProp for solving large-scale non-convex stochastic optimization. Moreover, we show that the convergences of several variants of Adam, such as AdamNC, AdaEMA, etc., can be directly implied via the proposed sufficient condition in the non-convex setting. In addition, we illustrate that Adam is essentially a specifically weighted AdaGrad with exponential moving average momentum, which provides a novel perspective for understanding Adam and RMSProp. This observation coupled with this sufficient condition gives much deeper interpretations on their divergences. At last, we validate the sufficient condition by applying Adam and RMSProp to tackle a certain counterexample and train deep neural networks. Numerical results are exactly in accord with our theoretical analysis.

Subfields: Artificial Intelligence, Computational Mechanics, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Cong Xie
  2. Sai Praneeth Karimireddy
  3. Oluwasanmi Koyejo
  4. Indranil Gupta
  5. Sashank J. Reddi
  6. Satyen Kale
  7. Sanjiv Kumar
  8. Martin Jaggi

In Computational Mechanics

  1. Sashank J. Reddi
  2. Sanjiv Kumar
  3. Suvrit Sra
  4. Satyen Kale
  5. Xiaoxia Wu
  6. Rachel A. Ward
  7. Yuege Xie
  8. Sai Praneeth Karimireddy

In Optimization & Training

  1. Cong Xie
  2. Sashank J. Reddi
  3. Sai Praneeth Karimireddy
  4. Xiaoxia Wu
  5. Rachel A. Ward
  6. Suvrit Sra
  7. Oluwasanmi Koyejo
  8. Indranil Gupta

Citations in the corpus