Abstract
Although adaptive optimization algorithms have been successful in many applications, there are still some mysteries in terms of convergence analysis that have not been unraveled. This paper provides a novel non-convex analysis of adaptive optimization to uncover some of these mysteries. Our contributions are three-fold. First, we show that an increasing or large enough momentum parameter for the first-order moment used in practice is sufficient to ensure the convergence of adaptive algorithms whose adaptive scaling factors of the step size are bounded. Second, our analysis gives insights for practical implementations, e.g., increasing the momentum parameter in a stage-wise manner in accordance with stagewise decreasing step size would help improve the convergence. Third, the modular nature of our analysis allows its extension to solving other optimization problems, e.g., compositional, min-max and bilevel problems. As an interesting yet non-trivial use case, we present algorithms for solving non-convex min-max optimization and bilevel optimization that do not require using large batches of data to estimate gradients or double loops as the literature do. Our empirical studies corroborate our theoretical results.
Introduction
Adaptive optimization algorithms like Adam are the workhorses of modern deep learning, yet a significant "theory-practice gap" has persisted. While practitioners successfully use Adam with high momentum (e.g., $\beta_1 = 0.9$), theoretical studies often suggested Adam could diverge on certain non-convex problems unless parameters were meticulously tuned. This paper bridges this gap by proving that a large or increasing momentum parameter—consistent with empirical practice—is the key to guaranteed convergence. Furthermore, the authors extend this framework to solve complex min-max and bilevel problems with state-of-the-art efficiency, avoiding the massive data batches or expensive "double-loop" algorithms typically required.
Methods: A Unified Framework
The core of the proposed analysis is the Stochastic Estimator based on Moving Average (SEMA). The framework rests on two pillars:
- Momentum Dynamics: Convergence is guaranteed if the weight given to the current gradient ($1 - \beta_t$) is small, specifically on the same order as the learning rate. This justifies the common practice of setting $\beta$ close to 1.
- Bounded Scaling Factors: The adaptive step-size scaling factor (the $1/\sqrt{v_t}$ term) is assumed to be bounded. Most popular variants like AMSGrad and AdaBound naturally satisfy this or can be adapted via simple techniques like gradient clipping.
The modular nature of this analysis allows it to encompass various adaptive methods by defining specific update rules for the scaling factor $h_t$.
The authors leverage this logic to create three new algorithmic frameworks: ASA (Adaptive Stochastic Algorithms) for standard minimization, PDSM/PDAda (Primal-Dual Stochastic Momentum/Adaptive) for single-loop min-max problems, and SMB (Stochastic Momentum for Bilevel) for bilevel optimization.
Key Insights
A critical insight is that the SEMA update acts as a form of variance reduction. Early in training, stochastic gradients provide general direction; as the model approaches a stationary point, the moving average becomes a progressively more accurate estimator of the true gradient. This allows for optimal convergence rates without the complex "double loops" or specific oracle requirements (like Lipschitz-continuous gradients) found in methods like SPIDER or SARAH.
Results and Empirical Validation
The researchers evaluated their theories on image classification (ResNet-50 on CIFAR-10/100), molecular property prediction (MPNN on BBBP/BACE), and AUC maximization.
Key findings include:
- Optimal Convergence: Adaptive methods converge at the same $O(1/\sqrt{T})$ rate as SGD for standard minimization.
- State-of-the-Art Complexity: For non-convex strongly-concave min-max problems, the proposed single-loop, small-batch approach achieves a complexity of $O(\kappa^3/\epsilon^4)$, matching or beating more complex previous methods.
- Momentum Scheduling: "Stage-wise" schedules—increasing momentum while decreasing the learning rate—consistently outperformed fixed-parameter Adam.
Conclusion
This work provides a theoretical foundation for the empirical success of high-momentum adaptive optimizers. By treating the moving average as a variance-reduced estimator, the authors simplify the landscape of non-convex, min-max, and bilevel optimization. Future work remains to improve the dependence on the condition number $\kappa$ in single-loop settings and to extend the theory to naturally handle unbounded gradients.
Summary updated