Table of Contents
Fetching ...

Accelerated Convergence of Stochastic Heavy Ball Method under Anisotropic Gradient Noise

Rui Pan, Yuxing Liu, Xiaoyu Wang, Tong Zhang

TL;DR

It is shown that heavy-ball momentum can provide accelerated convergence of the bias term of SGD while still achieving near-optimal convergence rate with respect to the stochastic variance term, which means SGD with heavy-ball momentum is useful in the large-batch settings such as distributed machine learning or federated learning, where a smaller number of iterations can significantly reduce the number of communication rounds, leading to acceleration in practice.

Abstract

Heavy-ball momentum with decaying learning rates is widely used with SGD for optimizing deep learning models. In contrast to its empirical popularity, the understanding of its theoretical property is still quite limited, especially under the standard anisotropic gradient noise condition for quadratic regression problems. Although it is widely conjectured that heavy-ball momentum method can provide accelerated convergence and should work well in large batch settings, there is no rigorous theoretical analysis. In this paper, we fill this theoretical gap by establishing a non-asymptotic convergence bound for stochastic heavy-ball methods with step decay scheduler on quadratic objectives, under the anisotropic gradient noise condition. As a direct implication, we show that heavy-ball momentum can provide $\tilde{\mathcal{O}}(\sqrtκ)$ accelerated convergence of the bias term of SGD while still achieving near-optimal convergence rate with respect to the stochastic variance term. The combined effect implies an overall convergence rate within log factors from the statistical minimax rate. This means SGD with heavy-ball momentum is useful in the large-batch settings such as distributed machine learning or federated learning, where a smaller number of iterations can significantly reduce the number of communication rounds, leading to acceleration in practice.

Accelerated Convergence of Stochastic Heavy Ball Method under Anisotropic Gradient Noise

TL;DR

It is shown that heavy-ball momentum can provide accelerated convergence of the bias term of SGD while still achieving near-optimal convergence rate with respect to the stochastic variance term, which means SGD with heavy-ball momentum is useful in the large-batch settings such as distributed machine learning or federated learning, where a smaller number of iterations can significantly reduce the number of communication rounds, leading to acceleration in practice.

Abstract

Heavy-ball momentum with decaying learning rates is widely used with SGD for optimizing deep learning models. In contrast to its empirical popularity, the understanding of its theoretical property is still quite limited, especially under the standard anisotropic gradient noise condition for quadratic regression problems. Although it is widely conjectured that heavy-ball momentum method can provide accelerated convergence and should work well in large batch settings, there is no rigorous theoretical analysis. In this paper, we fill this theoretical gap by establishing a non-asymptotic convergence bound for stochastic heavy-ball methods with step decay scheduler on quadratic objectives, under the anisotropic gradient noise condition. As a direct implication, we show that heavy-ball momentum can provide accelerated convergence of the bias term of SGD while still achieving near-optimal convergence rate with respect to the stochastic variance term. The combined effect implies an overall convergence rate within log factors from the statistical minimax rate. This means SGD with heavy-ball momentum is useful in the large-batch settings such as distributed machine learning or federated learning, where a smaller number of iterations can significantly reduce the number of communication rounds, leading to acceleration in practice.
Paper Structure (27 sections, 23 theorems, 153 equations, 1 figure, 3 tables, 1 algorithm)

This paper contains 27 sections, 23 theorems, 153 equations, 1 figure, 3 tables, 1 algorithm.

Key Result

Theorem 1

There exist quadratic objectives $f(\mathbf{w})$ and initialization $\mathbf{w}_0$, no matter how large the batch size is or what learning rate scheduler is used, as long as $\eta_t \le 2/L$ for $\forall t = 0, 1, \dots, T-1$, running SGD for $T$ iterations will result in

Figures (1)

  • Figure 1: CIFAR-10 training statistics of batch size $M=128 \times 16$ and $\#Epoch=100$ on Resnet18, DenseNet121 and MobilenetV2 (from top to bottom). Left: Training loss; Right: Test accuracy.

Theorems & Definitions (44)

  • Remark 1
  • Theorem 1
  • Theorem 2
  • Corollary 3
  • Theorem 3
  • proof
  • Lemma 1
  • proof
  • Lemma 2
  • proof
  • ...and 34 more