Accelerating SGD with momentum for over-parameterized learning

Chaoyue Liu, Mikhail Belkin
10/31/2018
cs.LGstat.ML

Official code: ts66395/MaSS (6 stars, Python, last commit 2019-11-08).

Abstract

Nesterov SGD is widely used for training modern neural networks and other machine learning models. Yet, its advantages over SGD have not been theoretically clarified.

Show full abstract

Indeed, as we show in our paper, both theoretically and empirically, Nesterov SGD with any parameter selection does not in general provide acceleration over ordinary SGD. Furthermore, Nesterov SGD may diverge for step sizes that ensure convergence of ordinary SGD. This is in contrast to the classical results in the deterministic scenario, where the same step size ensures accelerated convergence of the Nesterov's method over optimal gradient descent. To address the non-acceleration issue, we introduce a compensation term to Nesterov SGD. The resulting algorithm, which we call MaSS, converges for same step sizes as SGD. We prove that MaSS obtains an accelerated convergence rates over SGD for any mini-batch size in the linear setting. For full batch, the convergence rate of MaSS matches the well-known accelerated rate of the Nesterov's method. We also analyze the practically important question of the dependence of the convergence rate and optimal hyper-parameters on the mini-batch size, demonstrating three distinct regimes: linear scaling, diminishing returns and saturation. Experimental evaluation of MaSS for several standard architectures of deep networks, including ResNet and convolutional networks, shows improved performance over SGD, Nesterov SGD and Adam.

View on arXivView PDF

Code Implementations(1)

ts66395/MaSSOfficial100%

Momentum-added Stochastic Solver (MaSS): implemented in Tensorflow(Keras)

61PythonNov 28, 20187 years ago

Similar Papers

Cite this paper

@article{liu2018accelerating,
  title  = {Accelerating SGD with momentum for over-parameterized learning},
  author = {Chaoyue Liu and Mikhail Belkin},
  year   = {2018},
  eprint = {1810.13395},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.13395}
}

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/1810.13395.svg)](https://codeofpaper.com/paper/1810.13395)

Discussion