[Paper Review] On the Hyperparameters in Stochastic Gradient Descent with Momentum
This paper provides a theoretical analysis of stochastic gradient descent with momentum (SGDM) in non-convex optimization by modeling it via a hyperparameter-dependent stochastic differential equation (hp-dependent SDE). It demonstrates that the joint effect of the learning rate and momentum coefficient critically determines the linear convergence rate, revealing why SGDM with momentum (e.g., α=0.9) converges faster and is more robust than standard SGD.
Following the same routine as [SSJ20], we continue to present the theoretical analysis for stochastic gradient descent with momentum (SGD with momentum) in this paper. Differently, for SGD with momentum, we demonstrate it is the two hyperparameters together, the learning rate and the momentum coefficient, that play the significant role for the linear rate of convergence in non-convex optimization. Our analysis is based on the use of a hyperparameters-dependent stochastic differential equation (hp-dependent SDE) that serves as a continuous surrogate for SGD with momentum. Similarly, we establish the linear convergence for the continuous-time formulation of SGD with momentum and obtain an explicit expression for the optimal linear rate by analyzing the spectrum of the Kramers-Fokker-Planck operator. By comparison, we demonstrate how the optimal linear rate of convergence and the final gap for SGD only about the learning rate varies with the momentum coefficient increasing from zero to one when the momentum is introduced. Then, we propose a mathematical interpretation why the SGD with momentum converges faster and more robust about the learning rate than the standard SGD in practice. Finally, we show the Nesterov momentum under the existence of noise has no essential difference with the standard momentum.
Motivation & Objective
- To understand the theoretical mechanism behind the superior performance of SGD with momentum (SGDM) in non-convex optimization.
- To investigate how the learning rate and momentum coefficient jointly influence the linear convergence rate of SGDM.
- To provide a mathematical explanation for the observed robustness and faster convergence of SGDM compared to standard SGD.
- To analyze the role of Nesterov momentum under noise and compare it with standard momentum in the stochastic setting.
Proposed method
- Formulates a hyperparameter-dependent stochastic differential equation (hp-dependent SDE) as a continuous surrogate for SGDM.
- Uses advanced mathematical tools such as hypocoercivity and semiclassical analysis to study the dynamics of the hp-dependent SDE.
- Analyzes the spectrum of the Kramers-Fokker-Planck operator to derive an explicit expression for the optimal linear convergence rate.
- Derives high-resolution SDEs for both Nesterov-accelerated gradient (NAG-SC and NAG-C) to compare with the standard SGDM model.
- Introduces a mixing parameter μ = (1−α)²/(1+α)² · 1/s to unify the dependence of learning rate and momentum coefficient.
- Compares the exponential decay constants (convergence rates) between the hp-dependent SDE and high-resolution SDEs for NAG variants.
Experimental results
Research questions
- RQ1How does the iterative behavior of SGDM vary with the momentum coefficient α when the learning rate s is fixed?
- RQ2How does the convergence behavior of SGDM change with the learning rate s when the momentum coefficient α is fixed?
- RQ3What is the mathematical reason behind the faster convergence and improved robustness of SGDM compared to standard SGD?
- RQ4Does Nesterov momentum provide a fundamental advantage over standard momentum in the presence of noise?
- RQ5How do the hyperparameters s and α jointly affect the linear convergence rate in non-convex optimization?
Key findings
- The linear convergence rate of SGDM in non-convex optimization is jointly determined by the learning rate s and momentum coefficient α, not independently.
- The optimal linear convergence rate is explicitly derived via the spectrum of the Kramers-Fokker-Planck operator in the hp-dependent SDE framework.
- As the momentum coefficient α increases from 0 to 1, the optimal convergence rate improves significantly, and the final gap for SGD alone (without momentum) decreases with increasing α.
- The hp-dependent SDE model shows that SGDM is more robust to learning rate variations than standard SGD, due to the stabilizing effect of momentum.
- Nesterov momentum under noise does not offer a fundamental advantage over standard momentum; their convergence dynamics are asymptotically equivalent in the high-resolution SDE analysis.
- The exponential decay constant for the hp-dependent SDE and the high-resolution SDE for NAG-SC are quantitatively similar when α=0.9 and s is small, confirming the practical efficacy of α=0.9.
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.