Provable Adaptivity of Adam under Non-uniform Smoothness
Bohan Wang, Yushun Zhang, Huishuai Zhang, Qi Meng, Ruoyu Sun, Zhi-Ming Ma, Tie-Yan Liu, Zhi-Quan Luo, Wei Chen
TL;DR
The paper addresses the theoretical gap for Adam-type optimizers by proving trajectory-wise convergence of randomly reshuffled Adam under the relaxed $(L_0,L_1)$-smoothness condition, which permits the gradient’s Hessian to grow with the gradient norm. It introduces and analyzes an RR Adam scheme with diminishing learning rates, avoiding the traditional bounded-smoothness assumption and gradient bounds. The authors show that Adam can converge to a neighborhood of stationary points at a faster rate than SGD in regimes where $D_0=0$ and can outperform SGD in certain $D_0>0$ scenarios, highlighting adaptivity as a practical theoretical advantage. They also provide a detailed comparison to SGD with a refined lower bound for SGD under the same setting and discuss practical implications, including hyperparameter choices and limitations. The work lays groundwork for understanding the benefits of Adam’s local adaptivity and motivates future exploration of momentum’s role within adaptive methods.
Abstract
Adam is widely adopted in practical applications due to its fast convergence. However, its theoretical analysis is still far from satisfactory. Existing convergence analyses for Adam rely on the bounded smoothness assumption, referred to as the \emph{L-smooth condition}. Unfortunately, this assumption does not hold for many deep learning tasks. Moreover, we believe that this assumption obscures the true benefit of Adam, as the algorithm can adapt its update magnitude according to local smoothness. This important feature of Adam becomes irrelevant when assuming globally bounded smoothness. This paper studies the convergence of randomly reshuffled Adam (RR Adam) with diminishing learning rate, which is the major version of Adam adopted in deep learning tasks. We present the first convergence analysis of RR Adam without the bounded smoothness assumption. We demonstrate that RR Adam can maintain its convergence properties when smoothness is linearly bounded by the gradient norm, referred to as the \emph{$(L_0, L_1)$-smooth condition. We further compare Adam to SGD when both methods use diminishing learning rate. We refine the existing lower bound of SGD and show that SGD can be slower than Adam. To our knowledge, this is the first time that Adam and SGD are rigorously compared in the same setting and the advantage of Adam is revealed.
