Understanding the Role of Momentum in Stochastic Gradient Methods

Igor Gitman, Hunter Lang, Pengchuan Zhang, Lin Xiao
10/30/2019
cs.LGmath.OCstat.ML

Official code: Kipok/understanding-momentum (14 stars, Jupyter Notebook, last commit 2019-10-27).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Code for the paper "Understanding the Role of Momentum in Stochastic Gradient Methods"

144Jupyter Notebook, PythonOct 27, 20197 years ago

Similar Papers

Cite this paper

@article{gitman2019understanding,
  title  = {Understanding the Role of Momentum in Stochastic Gradient Methods},
  author = {Igor Gitman and Hunter Lang and Pengchuan Zhang and Lin Xiao},
  year   = {2019},
  eprint = {1910.13962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.13962}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.13962.svg)](https://codeofpaper.com/paper/1910.13962)

Discussion