Abstract
Integrating adaptive learning rate and momentum techniques into SGD leads to a large class of efficiently accelerated adaptive stochastic algorithms, such as Nadam, AccAdaGrad, \textit{etc}. In spite of their effectiveness in practice, there is still a large gap in their theories of convergences, especially in the difficult non-convex stochastic setting. To fill this gap, we propose \emph{weighted AdaGrad with unified momentum}, dubbed AdaUSM, which has the main characteristics that (1) it incorporates a unified momentum scheme which covers both the heavy ball momentum and the Nesterov accelerated gradient momentum; (2) it adopts a novel weighted adaptive learning rate that can unify the learning rates of AdaGrad, AccAdaGrad, Adam, and RMSProp. Moreover, when we take polynomially growing weights in AdaUSM, we obtain its $\mathcal{O}(\log(T)/\sqrt{T})$ convergence rate in the non-convex stochastic setting. We also show that the adaptive learning rates of Adam and RMSProp correspond to taking exponentially growing weights in AdaUSM, which thereby provides a new perspective for understanding Adam and RMSProp. Lastly, comparative experiments of AdaUSM against SGD with momentum, AdaGrad, AdaEMA, Adam, and AMSGrad on various deep learning models and datasets are also provided.
Introduction
Modern deep learning relies heavily on stochastic gradient descent (SGD) variants that utilize momentum and adaptive learning rates. While algorithms like Adam and RMSProp are standard in practice, their theoretical foundations in non-convex stochastic settings—typical of neural network training—remain incomplete. Most existing proofs are limited to convex settings or omit momentum. This paper introduces AdaUSM (Weighted AdaGrad with Unified Momentum) to bridge this "theory-practice gap" by providing a unified framework with rigorous non-asymptotic convergence guarantees.
Methods
AdaUSM is built upon two core innovations:
- Unified Stochastic Momentum (USM): A single mathematical formulation that generalizes both Heavy Ball (HB) and Nesterov Accelerated Gradient (NAG) momentum through an interpolation factor $\lambda$.
- Weighted Adaptive Learning Rate: Unlike standard AdaGrad, which uses uniform weighting for past squared gradients, AdaUSM generalizes this by assigning weights $a_t$ to those gradients.
- If weights are uniform ($a_t = 1$), you get AdaGrad.
- If weights grow polynomially ($a_t = t^\alpha$), you get a new class of optimizers with proven convergence.
- Crucially, the authors show that Adam and RMSProp are essentially AdaUSM with exponentially growing weights.
By combining these, they created a flexible algorithm that can "mimic" most popular optimizers while allowing for a formal proof of a convergence rate of $\mathcal{O}(\log(T)/\sqrt{T})$ in non-convex environments.
Experiments and Results
The authors validated AdaUSM across several standard computer vision benchmarks using various architectures: MNIST (LeNet), CIFAR-10 (GoogLeNet), CIFAR-100 (DenseNet), and Tiny-ImageNet (ResNet).
Key Findings
- Faster Convergence: In experiments on MNIST and Tiny-ImageNet, the AdaUSM variants (AdaHB and AdaNAG) decreased training loss and test loss faster than Adam, AMSGrad, and AdaGrad.
- Better Generalization: On CIFAR-10 and CIFAR-100, AdaUSM achieved higher test accuracy than Adam and AMSGrad, and performed comparably to or better than SGD with momentum.
- Robustness: AdaUSM showed less sensitivity to hyperparameter tuning compared to vanilla SGD, while avoiding the convergence issues sometimes seen with Adam in specific non-convex settings.
Conclusion
AdaUSM provides a powerful theoretical lens for understanding adaptive optimizers. By unifying momentum schemes and introducing weighted gradient accumulation, it offers the first non-asymptotic convergence guarantees for this class of algorithms in non-convex settings. Future work includes developing automated rules for selecting optimal weighting parameters and extending the theory to non-monotonic learning rate schedules like cosine annealing.
Summary updated