A Simple Convergence Proof of Adam and Adagrad
Alexandre Défossez, Léon Bottou, Francis Bach, Nicolas Usunier
TL;DR
This work provides a simple, unified convergence proof for Adagrad and Adam when optimizing smooth, possibly non-convex objectives with bounded gradients. By analyzing per-coordinate updates and a momentum-augmented scheme, it derives explicit convergence bounds and shows that, with suitable hyper-parameters, Adam attains the same $O(d\ln(N)/\sqrt{N})$ rate as Adagrad, effectively making Adam a finite-horizon twin of Adagrad. A key theoretical advance is improving the dependence on the heavy-ball parameter $\beta_1$ from $O((1-\beta_1)^{-3})$ (or worse) to $O((1-\beta_1)^{-1})$, aligning theory more closely with observed practical momentum benefits. The paper also clarifies when Adam fails to converge under default settings and demonstrates, via toy and CIFAR-10 experiments, the relative impact of the Adam corrective terms on training dynamics. Overall, the results provide a clearer understanding of when adaptive methods converge and how momentum influences their behavior in non-convex stochastic optimization.
Abstract
We provide a simple proof of convergence covering both the Adam and Adagrad adaptive optimization algorithms when applied to smooth (possibly non-convex) objective functions with bounded gradients. We show that in expectation, the squared norm of the objective gradient averaged over the trajectory has an upper-bound which is explicit in the constants of the problem, parameters of the optimizer, the dimension $d$, and the total number of iterations $N$. This bound can be made arbitrarily small, and with the right hyper-parameters, Adam can be shown to converge with the same rate of convergence $O(d\ln(N)/\sqrt{N})$. When used with the default parameters, Adam doesn't converge, however, and just like constant step-size SGD, it moves away from the initialization point faster than Adagrad, which might explain its practical success. Finally, we obtain the tightest dependency on the heavy ball momentum decay rate $β_1$ among all previous convergence bounds for non-convex Adam and Adagrad, improving from $O((1-β_1)^{-3})$ to $O((1-β_1)^{-1})$.
