Abstract: Adaptive stochastic gradient descent methods, such as AdaGrad, RMSProp, Adam, AMSGrad, etc., have been demonstrated efficacious in solving non-convex stochastic optimization, such as training deep neural networks. However, their convergence rates have not been touched under the non-convex stochastic circumstance except recent breakthrough results on AdaGrad, perturbed AdaGrad and AMSGrad. In this paper, we propose two new adaptive stochastic gradient methods called AdaHB and AdaNAG which integrate a novel weighted coordinate-wise AdaGrad with heavy ball momentum and Nesterov accelerated gradient momentum, respectively. The $\mathcal{O}(\frac{\log{T}}{\sqrt{T}})$ non-asymptotic convergence rates of AdaHB and AdaNAG in non-convex stochastic setting are also jointly established by leveraging a newly developed unified formulation of these two momentum mechanisms. Moreover, comparisons have been made between AdaHB, AdaNAG, Adam and RMSProp, which, to a certain extent, explains the reasons why Adam and RMSProp are divergent. In particular, when momentum term vanishes we obtain convergence rate of coordinate-wise AdaGrad in non-convex stochastic setting as a byproduct.
Introduction
In the world of deep learning, choosing the right optimizer is often a matter of trial and error. While algorithms like Adam, RMSProp, and AdaGrad are widely used due to their efficiency, their theoretical foundations—especially in non-convex stochastic settings—have remained fragmented. Most existing proofs are limited to convex problems or specific, isolated algorithms. This paper addresses this gap by proposing a unified framework that explains how momentum and adaptive learning rates interact, providing solid mathematical guarantees of convergence.
Methods: The AdaUSM Framework
The authors propose AdaUSM (Weighted AdaGrad with Unified Momentum), which rests on two pillars:
- Unified Stochastic Momentum (USM): They developed a momentum scheme that uses an "interpolation factor" ($\lambda$). By adjusting this single parameter, the algorithm can transform from Heavy Ball (HB) momentum ($\lambda=0$) to Nesterov Accelerated Gradient (NAG) momentum ($\lambda=1$), or anything in between.
- Weighted Adaptive Learning Rate: Standard AdaGrad scales the learning rate based on the sum of all past squared gradients. AdaUSM generalizes this by assigning weights ($a_t$) to those gradients. This allows the optimizer to prioritize recent gradient information over older data.
By combining these, the authors created a flexible algorithm that can be tuned to mimic various existing optimizers just by changing the weighting sequence and the momentum factor. The specific implementations for the two primary variants, AdaHB and AdaNAG, are detailed below.
Key Insights and Theoretical Results
- Adam as Exponential AdaGrad: A striking mathematical proof in the paper shows that Adam and RMSProp are essentially AdaUSM using exponentially growing weights. This reveals that Adam’s success comes from its aggressive focus on the most recent geometry of the loss landscape.
- Polynomial Weights and Convergence: The authors show that using polynomially growing weights (e.g., $t^\alpha$) achieves a non-asymptotic convergence rate of $O(\log(T)/\sqrt{T})$ in non-convex settings.
- Momentum Superiority: Theoretical and empirical analysis suggests that "true" momentum (HB and NAG) is often more effective and robust than the Exponential Moving Average (EMA) used in algorithms like AdaEMA, particularly in how it handles update "stagnation."
Empirical Performance
To validate AdaUSM, the researchers conducted experiments across several standard computer vision benchmarks including MNIST (LeNet), CIFAR-10 (GoogLeNet), CIFAR-100 (DenseNet), and Tiny-ImageNet (ResNet).
In head-to-head tests, variants of the proposed algorithm (AdaHB and AdaNAG) consistently outperformed Adam, AMSGrad, and AdaEMA. On Tiny-ImageNet with ResNet, AdaHB and AdaNAG decreased training loss faster and achieved higher test accuracy than all other tested adaptive optimizers. On MNIST, AdaHB was the clear winner in terms of both convergence speed and final accuracy.
Limitations and Future Work
While AdaUSM provides a unified theoretical framework, it doesn't eliminate the need for hyperparameter tuning; performance is still sensitive to the base learning rate ($\eta$). Future research could explore automated ways to schedule weights or the base learning rate within the AdaUSM framework. Additionally, applying this unified analysis to Large Language Models (LLMs) and transformer architectures would be a logical next step to see if the advantages hold in natural language processing.
Summary updated