Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

On the Convergence of Adam and Beyond

Adam can fail to converge, and a long-memory fix repairs it

  • Problem Adam and RMSProp can stop converging, even on a simple one-dimensional convex problem. Their exponential moving average of squared gradients lets a rare large gradient lose its influence quickly.
  • Method AMSGRAD keeps a running maximum of past second moments instead of their exponential average, so the step size cannot grow. The first moment is handled as in Adam.
  • Results On a synthetic one-dimensional sequence, Adam's average regret does not go to 0, while AMSGRAD's average regret goes to 0 and its iterate reaches the optimum.

Why moving averages of squared gradients can stall

Adaptive methods such as RMSPROP and ADAM divide each update by a square root of a running average of squared gradients, so each coordinate gets its own effective learning rate. The average is exponential, so a gradient that arrives rarely and is large loses its influence quickly after it occurs, even when it carries useful information. The authors identify this as the cause of non-convergence in settings where large gradients appear only occasionally.

To make the failure precise, the analysis tracks how the effective inverse learning rate changes from one round to the next, written as the difference of the scaled second moments divided by their step sizes. \[ \Gamma_{t+1} = \frac{\sqrt{V_{t+1}}}{\alpha_{t+1}} - \frac{\sqrt{V_t}}{\alpha_t} \] For SGD and ADAGRAD this quantity stays positive semi-definite, so their learning rates never increase, whereas for the exponential-average methods it can become indefinite.

The online framework and the regret measure

The analysis treats training as full-information online optimization over a feasible set F. At each round the learner picks x_t, then a loss f_t is revealed and the learner pays f_t(x_t). Progress is measured by regret, the total loss over T rounds minus the loss of the best fixed point in F. \[ R_T = \sum_{t=1}^{T} f_t(x_t) - \min_{x \in F} \sum_{t=1}^{T} f_t(x) \] An algorithm is treated as converging when R_T = o(T), so that the average regret goes to zero.

The feasible set is assumed to have bounded diameter D∞ in the infinity norm, and the gradients are assumed bounded in the infinity norm, both of which the regret bounds later use. Stochastic optimization is connected to this setting, so an online method with vanishing average regret yields a stochastic method as well.

A generic adaptive template captures many methods at once: the gradient is combined into a first-moment term m_t and a second-moment term V_t, the update is scaled by the inverse square root of V_t, and the result is projected back onto F. SGD and ADAGRAD fit this template by choosing the averaging functions differently, while ADAM takes exponential averages of both the gradient and its square.

A one-dimensional counterexample for ADAM

The counterexample uses linear losses on F = [−1, 1], with a loss of Cx on every third round and −x otherwise, where C > 2. The point x = −1 is the best fixed point in hindsight. With β1 = 0 and β2 = 1/(1 + C²), the authors show that ADAM converges to x = +1 instead.

The mechanism is that the large gradient arrives once every three rounds, while the two intervening gradients of −1 push the iterate the wrong way. Theorem 1 states that there is an online convex problem on which ADAM has non-zero average regret, so R_T/T does not tend to zero as T grows.

Adding a small constant ϵ in the denominator, as in the practical ADAM update, does not remove the problem: for any constant ϵ > 0 the authors construct an online problem where ADAM still has non-zero average regret. For ADAM and RMSPROP the failure is catastrophic in the sense that the iterate settles on the point with the largest loss in [−1, 1].

The same counterexample holds for a constant step size α_t = α, and SGD and ADAGRAD do not suffer from it.

How far the non-convergence results reach

For any constant β1 and β2 in [0, 1) with β1 < √β2, the authors build a convex online problem on which ADAM has non-zero average regret asymptotically. The condition β1 < √β2 is described as benign and typically met in practice, and the convergence proof in the original ADAM paper assumes it. The stochastic version of the claim, that ADAM does not converge to the optimum for a stochastic convex problem under the same β1 and β2 condition, is stated as Theorem 3.

Consequences for practice follow from these results: with constant β1 and β2, neither momentum nor the ϵ regularization restores convergence, so the parameters would have to be tuned for each problem and dimension. The examples are constructed with constant β1, while the original ADAM analysis relies on β1 decreasing over time, and the authors state that extending the examples to decreasing β1 is easy because the key parameter is β2.

AMSGRAD: normalizing by the running maximum

The first moment is kept as in ADAM, with m_t = β1t m_{t-1} + (1 − β1t) g_t, while the second moment is the usual exponential average v_t = β2 v_{t-1} + (1 − β2) g_t². AMSGRAD then keeps a running maximum of the second moments, \[ \hat v_t = \max(\hat v_{t-1}, v_t) \], and uses \(\hat V_t = \mathrm{diag}(\hat v_t)\) in place of v_t in the projected step.

The projected update divides the first moment by the square root of this maximum and then projects onto F in the norm given by the square root of the maximum-based matrix.

Because the maximum never decreases, the normalizer cannot shrink, so the step size cannot increase in the way ADAM's averaging allows. The authors argue that this keeps the quantity Γ_t positive semi-definite even with constant β2, which is the property the original ADAM proof assumed without checking. The cost is the same as ADAM's, since only one extra vector of past maxima is stored per coordinate.

Compared with ADAM, AMSGRAD does not increase the learning rate after a large gradient, and compared with ADAGRAD it can keep the learning rate from falling steadily when gradients accumulate over a long period. Since v_t is allowed to decrease in the update, the learning rate can stay non-decreasing even when a large gradient reappears in later iterations.

Regret guarantee for AMSGRAD

The bound has two parts, a term scaled by D∞²√T α and the square roots of the maximal second moments, and a term involving the gradient norms multiplied by α√(1 + log T) over (1 − β1)² (1 − γ) √(1 − β2).

With β1t = β1 λ^(t−1), the momentum-dependent term gains a factor involving β1 D∞² G∞ over (1 − β1)²(1 − λ)², which is the form given in the corollary. The authors note that this can beat the O(√(dT)) regret of SGD when the sum of the square roots of the maximal second moments is small relative to √d and the sum of the gradient norms is small relative to √(dT).

A decay β1t = β1/t still gives O(√T) regret, and taking a plain average of past v_t in place of the maximum is mentioned as an alternative.

Synthetic online and stochastic runs

The synthetic online sequence uses f_t(x) = 1010x when t mod 101 = 1 and −10x otherwise, on F = [−1, 1], so the best point is x = −1. Both ADAM and AMSGRAD are run with β1 = 0.9 and β2 = 0.99, the settings the authors describe as typical for ADAM in practice. In this comparison the average regret of ADAM does not decrease to 0, and its iterate converges to x = 1, which has the largest regret in the domain.

A stochastic variant draws the large gradient 1010x with probability 0.01 and otherwise uses −10x, with the optimum again at x = −1. In this variant the iterate of ADAM converges to the suboptimal point x = 1.

Logistic regression on MNIST

The task is multiclass classification on MNIST, with 784-dimensional inputs and 10 class labels. Both methods use minibatches of size 128, β1 = 0.9, and β2 chosen from {0.99, 0.999}, held fixed through each run. The step size is α/√t for both methods, and α and β2 are selected by grid search.

In these runs AMSGRAD shows better training and test loss than ADAM as a function of iterations. The authors also report that AMSGRAD is relatively more robust to parameter changes than ADAM.

CIFARNET on CIFAR-10

CIFARNET is a convolutional network with two convolutional layers of 64 channels and kernel size 6 × 6, followed by two fully connected layers of sizes 384 and 192. The network uses 2 × 2 max pooling, layer response normalization between the convolutional layers, and a dropout layer with keep probability 0.5 between the fully connected layers.

AMSGRAD performs considerably better than ADAM on training loss and accuracy. The authors report that this gain also translates into better test loss.

An alternative: increasing β2 in ADAM

ADAMNC keeps the structure of ADAM and instead uses an increasing schedule of β2 together with a non-constant β1. Under two conditions on the schedule, one lower-bounding a weighted sum of squared gradients and one requiring the normalized step sizes to be non-increasing, the authors prove a regret bound with a term involving the gradient norms.

With β1t = β1 λ^(t−1) and β2t = 1 − 1/t, the second moment becomes the running average of all past squared gradients, which the authors describe as a momentum-based variant of ADAGRAD. The excerpt contains no experiment for ADAMNC; the experiments compare ADAM with AMSGRAD only.

Limitations

The non-convergence examples keep β1 and β2 constant, so the decreasing β1 schedule used in the original ADAM analysis is not covered by them. The experiments are described by the authors as a preliminary empirical study of one variant. The regret bound for AMSGRAD requires γ = β1/√β2 < 1 and the bounded diameter and gradient assumptions.

The synthetic study uses a single one-dimensional problem, and the real-data comparisons use grid-searched parameters, so the excerpt does not test other dimensions or other tuning procedures.

Paper info

Authors
Sashank J. Reddi, Satyen Kale, Sanjiv Kumar
Venue
arXiv · Preprint
First published
2019-4-19
Added
2026-11-12
Updated
2019-4-19
Version
v1
arXiv
1904.09237
Category
cs.LG · math.OC · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Sashank J. Reddi, Satyen Kale, Sanjiv Kumar (2019). On the Convergence of Adam and Beyond. arXiv:1904.09237v1. https://arxiv.org/abs/1904.09237v1

BibTeX
@misc{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.09237v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up