Skip to main content
QUICK REVIEW

[Paper Review] Understanding the Role of Momentum in Stochastic Gradient Methods

Igor Gitman, Hunter Lang|arXiv (Cornell University)|Oct 30, 2019
Markov Chains and Monte Carlo MethodsMathematics42 citations
TL;DR

The paper provides a unified analysis of quasi-hyperbolic momentum (QHM) in stochastic gradient methods, deriving convergence, stability, and stationary distribution results to guide parameter tuning.

ABSTRACT

The use of momentum in stochastic gradient methods has become a widespread practice in machine learning. Different variants of momentum, including heavy-ball momentum, Nesterov's accelerated gradient (NAG), and quasi-hyperbolic momentum (QHM), have demonstrated success on various tasks. Despite these empirical successes, there is a lack of clear understanding of how the momentum parameters affect convergence and various performance measures of different algorithms. In this paper, we use the general formulation of QHM to give a unified analysis of several popular algorithms, covering their asymptotic convergence conditions, stability regions, and properties of their stationary distributions. In addition, by combining the results on convergence rates and stationary distributions, we obtain sometimes counter-intuitive practical guidelines for setting the learning rate and momentum parameters.

Motivation & Objective

  • Motivate and formalize a unified momentum framework (QHM) that encompasses popular stochastic gradient variants.
  • Derive asymptotic convergence results for smooth nonconvex objectives under diminishing learning rates.
  • Characterize local stability regions and convergence rates for constant parameters.
  • Analyze stationary distributions of QHM with fixed parameters to understand variance and noise effects.
  • Provide practical guidelines for tuning learning rate and momentum in constant-and-drop training regimes.

Proposed method

  • Adopt the general QHM update with parameters (alpha, beta, nu) that interpolates SGD and SHB.
  • Derive convergence results for diminishing step sizes under specified noise assumptions (Assumption A).
  • Linearize dynamics near a local minimum to study stability via the augmented state z^k and the matrix T.
  • Compute the stability region by analyzing the spectral radius rho(T) and derive explicit conditions on (alpha, beta, nu).
  • Examine the stationary distribution for constant parameters using a quadratic model and noise with covariance to obtain second-order insights.
  • Relate asymptotic theory to practical parameter choices and the constant-and-drop training scheme.

Experimental results

Research questions

  • RQ1Under what conditions do QHM variants converge almost surely for smooth nonconvex objectives?
  • RQ2How do the momentum parameters (beta, nu) and learning rate alpha interact to affect stability and local convergence rates?
  • RQ3What is the form of the stationary distribution for QHM with fixed parameters, and how do alpha, beta, nu influence its variance?
  • RQ4What practical guidelines emerge for setting alpha, beta, nu in constant-and-drop training regimes?
  • RQ5How does QHM unify and extend known results for SGD, SHB, and NAG?

Key findings

  • QHM converges almost surely under diminishing learning rates when beta_k -> 0 or when nu_k beta_k -> 1 with appropriate noise conditions.
  • The local stability region is characterized by explicit bounds on alpha, beta, nu, and depends on the Hessian eigenvalues (mu and L) of the local quadratic approximation.
  • For fixed parameters, the deterministic part Z^k converges and the stochastic part yields a stationary distribution whose covariance relates to alpha, beta, nu and the gradient noise.
  • The stationary variance admits a second-order expansion in alpha showing nuanced dependence on beta and nu, e.g., certain regimes where larger beta can reduce stationary loss.
  • Numerical and theoretical results suggest an optimal convergence rate decreases with nu, and that momentum settings should balance fast convergence with smaller stationary distribution.
  • Guidelines show that in SHB-like regimes, one can reduce alpha while maintaining rate to lower stationary loss; in practice, beta close to 1 with small alpha and appropriate nu can improve outcomes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.