[Paper Review] A Sufficient Condition for Convergences of Adam and RMSProp
This paper proposes a novel, easy-to-verify sufficient condition for the global convergence of Adam and RMSProp in non-convex stochastic optimization, based solely on the base learning rate and historical second-order moment combinations. The condition ensures convergence without requiring learning rate decay or batch size adjustments, and it explains divergences through a new interpretation of Adam as a weighted AdaGrad with exponential moving average momentum.
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.
Motivation & Objective
- To address the known divergence issues of Adam and RMSProp in non-convex settings despite their empirical success.
- To identify a simple, verifiable condition that guarantees global convergence of Adam and RMSProp without requiring learning rate decay or batch size adjustments.
- To unify and explain the convergence behavior of multiple Adam/RMSProp variants through a common theoretical framework.
- To provide deeper insight into why Adam and RMSProp may diverge by reinterpreting them as weighted AdaGrad with exponential moving average momentum.
Proposed method
- Proposes a sufficient convergence condition depending only on the base learning rate and the combination of historical second-order moments in Adam/RMSProp.
- Reinterprets Adam as a specifically weighted AdaGrad with exponential moving average momentum, providing a new perspective on its dynamics.
- Applies the sufficient condition to prove convergence of several Adam variants, including AdamNC and AdaEMA, in the non-convex stochastic setting.
- Derives non-asymptotic convergence rates for the generic Adam algorithm under different parameter settings, showing rates of O(log(T)/√T), O(1/T^{1-s}), and O(T^{-r/2}) depending on parameter exponents.
- Validates the theoretical findings numerically on counterexamples and deep learning tasks (MNIST, CIFAR-100), showing alignment with theoretical predictions.
Experimental results
Research questions
- RQ1What sufficient condition ensures global convergence of Adam and RMSProp in non-convex stochastic optimization?
- RQ2Why do Adam and RMSProp sometimes diverge, and what underlying mechanism causes this?
- RQ3Can the convergence of multiple Adam-type variants be unified under a single theoretical condition?
- RQ4How does reinterpreting Adam as a weighted AdaGrad with exponential moving average momentum explain its convergence or divergence?
- RQ5What non-asymptotic convergence rates can be derived under the proposed condition for different parameter settings?
Key findings
- The proposed sufficient condition guarantees global convergence of generic Adam and RMSProp in non-convex stochastic optimization using only the base learning rate and historical second-order moment combinations.
- The condition explains the divergence of Adam and RMSProp by identifying a failure in the balance between learning rate and momentum update, particularly when the difference in inverse learning rates becomes non-positive.
- The convergence of AdamNC, AdaEMA, and other variants is directly implied by the proposed condition, providing a unified theoretical foundation.
- Numerical experiments on a counterexample and deep neural networks (LeNet on MNIST, ResNet-18 on CIFAR-100) confirm that the actual training behavior matches the theoretical convergence rates.
- The convergence rate of Generic Adam is shown to be O(log(T)/√T) when the weights grow as t^r with r ≥ 0 and the base learning rate is α_t = η/√t, with faster convergence for larger r.
- The paper establishes that Adam is fundamentally a weighted AdaGrad with exponential moving average momentum, offering a new interpretation that clarifies its convergence behavior and failure modes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.