[Paper Review] The Role of Momentum Parameters in the Optimal Convergence of Adaptive Polyak's Heavy-ball Methods
This paper establishes that the adaptive Polyak's Heavy-ball method with a time-varying momentum parameter $\beta_{1t} = \frac{t}{t+2}$ achieves an optimal individual convergence rate of $O(\frac{1}{\sqrt{t}})$ in constrained convex optimization, resolving a theory-practice gap where the last iterate is commonly used in deep learning despite theoretical guarantees being limited to averaged iterates. The analysis reveals how the adaptive momentum schedule enables acceleration and provides a principled schedule for momentum in practice.
The adaptive stochastic gradient descent (SGD) with momentum has been widely adopted in deep learning as well as convex optimization. In practice, the last iterate is commonly used as the final solution to make decisions. However, the available regret analysis and the setting of constant momentum parameters only guarantee the optimal convergence of the averaged solution. In this paper, we fill this theory-practice gap by investigating the convergence of the last iterate (referred to as individual convergence), which is a more difficult task than convergence analysis of the averaged solution. Specifically, in the constrained convex cases, we prove that the adaptive Polyak's Heavy-ball (HB) method, in which only the step size is updated using the exponential moving average strategy, attains an optimal individual convergence rate of $O(\frac{1}{\sqrt{t}})$, as opposed to the optimality of $O(\frac{\log t}{\sqrt {t}})$ of SGD, where $t$ is the number of iterations. Our new analysis not only shows how the HB momentum and its time-varying weight help us to achieve the acceleration in convex optimization but also gives valuable hints how the momentum parameters should be scheduled in deep learning. Empirical results on optimizing convex functions and training deep networks validate the correctness of our convergence analysis and demonstrate the improved performance of the adaptive HB methods.
Motivation & Objective
- To close the theory-practice gap between theoretical convergence guarantees (typically for averaged iterates) and practical use of the last iterate in momentum-based optimization.
- To analyze the convergence of the last iterate (individual convergence) for adaptive Polyak's Heavy-ball methods in constrained convex settings.
- To determine the optimal momentum parameter schedule that ensures individual convergence at the optimal rate $O(\frac{1}{\sqrt{t}})$.
- To provide theoretical justification for momentum parameter scheduling in deep learning based on convergence dynamics.
Proposed method
- Proposes an adaptive Polyak's Heavy-ball method where only the step size is updated using an exponential moving average (EMA) strategy.
- Introduces a time-varying momentum parameter $\beta_{1t} = \frac{t}{t+2}$ to achieve optimal individual convergence.
- Analyzes the convergence of the last iterate using a novel proof technique tailored to adaptive momentum schemes.
- Establishes that the adaptive HB method achieves $O(\frac{1}{\sqrt{t}})$ individual convergence rate in constrained convex problems.
- Compares the adaptive HB method with standard SGD and Adam-type methods in terms of convergence rates and practical performance.
- Employs empirical validation on convex functions and deep neural networks (4-layer CNN and ResNet-18) across MNIST, CIFAR10, and CIFAR100.
Experimental results
Research questions
- RQ1Can the adaptive Polyak's Heavy-ball method achieve optimal individual convergence for the last iterate in constrained convex optimization?
- RQ2What momentum parameter schedule enables optimal individual convergence in adaptive HB methods?
- RQ3How does the time-varying momentum parameter $\beta_{1t} = \frac{t}{t+2}$ compare to constant $\beta_{1t}$ in terms of convergence and practical performance?
- RQ4Does the proposed adaptive HB method outperform standard Adam and SGD in training deep neural networks?
Key findings
- The adaptive Polyak's Heavy-ball method with $\beta_{1t} = \frac{t}{t+2}$ achieves an optimal individual convergence rate of $O(\frac{1}{\sqrt{t}})$ in constrained convex optimization.
- This rate is optimal and improves upon the $O(\frac{\log t}{\sqrt{t}})$ rate of standard SGD for the last iterate.
- The time-varying momentum parameter $\beta_{1t} = \frac{t}{t+2}$ is essential for achieving optimal individual convergence, unlike constant $\beta_{1t}$.
- Empirical results show that the adaptive HB method achieves improved training loss and test accuracy on MNIST, CIFAR10, and CIFAR100 across 4-layer CNN and ResNet-18 architectures.
- The method outperforms Adam, SGD, SGD-momentum, AdaGrad, and RMSProp in terms of training loss and test accuracy under the same hyperparameter tuning protocol.
- The theoretical analysis provides a principled schedule for momentum parameters in deep learning, explaining why $\beta_{1t} \to 1$ is often effective in practice.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.