Skip to main content
QUICK REVIEW

[Paper Review] Linearly convergent stochastic heavy ball method for minimizing generalization error

Nicolas Loizou, Peter Richtárik|arXiv (Cornell University)|Oct 30, 2017
Stochastic Gradient Optimization TechniquesComputer Science13 references26 citations
TL;DR

This paper proposes the stochastic heavy ball (SHB) method for minimizing generalization error in stochastic optimization, combining fixed-step stochastic gradient descent with momentum. It establishes the first linear convergence rate for SHB in expectation, achieving accelerated convergence under exactness conditions, with iteration complexity scaling as $\mathcal{O}(\sqrt{\lambda_{\max}/\lambda_{\min}^{+}}\log(1/\epsilon))$. The method is shown to outperform standard SGD and randomized Kaczmarz in experiments.

ABSTRACT

In this work we establish the first linear convergence result for the stochastic heavy ball method. The method performs SGD steps with a fixed stepsize, amended by a heavy ball momentum term. In the analysis, we focus on minimizing the expected loss and not on finite-sum minimization, which is typically a much harder problem. While in the analysis we constrain ourselves to quadratic loss, the overall objective is not necessarily strongly convex.

Motivation & Objective

  • To establish the first linear convergence result for the stochastic heavy ball (SHB) method in minimizing expected loss, despite non-strongly convex objectives and fixed stepsize.
  • To analyze SHB in the context of stochastic reformulations of consistent linear systems, focusing on generalization error rather than finite-sum minimization.
  • To derive non-asymptotic convergence rates for both L2 and L1 convergence of iterates, including accelerated rates under exactness.
  • To demonstrate empirically that momentum improves convergence speed in randomized Kaczmarz-type methods.

Proposed method

  • The SHB method uses a fixed stepsize $\omega$ and momentum parameter $\beta$ to update iterates via $x_{k+1} = x_k - \omega \nabla f_{\mathbf{S}_k}(x_k) + \beta(x_k - x_{k-1})$, replacing full gradients with stochastic gradients.
  • The method is analyzed under a stochastic reformulation of $\mathbf{A}x = b$, where $f(x) = \mathbb{E}_{\mathbf{S} \sim \mathcal{D}}[\frac{1}{2}\|\mathbf{A}x - b\|_{\mathbf{H}}^2]$, with $\mathbf{H}$ defined via pseudo-inverse of $\mathbf{S}^\top \mathbf{A} \mathbf{A}^\top \mathbf{S}$.
  • Convergence is established in expectation using spectral properties of $\nabla^2 f(x) = \mathbf{A}^\top \mathbb{E}_{\mathbf{S} \sim \mathcal{D}}[\mathbf{H}] \mathbf{A}$, whose eigenvalues lie in $[0,1]$.
  • The analysis distinguishes between L2 convergence $\mathbb{E}[\|x_k - x_*\|^2] \to 0$ and L1 convergence $\|\mathbb{E}[x_k - x_*]\|^2 \to 0$, with the latter achieving accelerated linear rates.
  • A Cesàro average $\hat{x}_k = \frac{1}{k}\sum_{t=0}^{k-1} x_t$ is used to derive sublinear rates in the absence of exactness.
  • The method reduces to a randomized Kaczmarz method with momentum when $\mathbf{S}$ is a standard basis vector, enabling empirical validation on real data.

Experimental results

Research questions

  • RQ1Can the stochastic heavy ball method achieve linear convergence in expectation for minimizing generalization error in a non-finite-sum, non-strongly convex setting?
  • RQ2What conditions on the stepsize $\omega$ and momentum $\beta$ ensure accelerated linear convergence of the expected iterates?
  • RQ3How does the convergence rate of SHB compare to standard SGD and randomized Kaczmarz in practice?
  • RQ4What is the role of the exactness condition in enabling accelerated convergence for SHB?

Key findings

  • The SHB method achieves global non-asymptotic linear convergence in expectation for $\mathbb{E}[\|x_k - x_*\|^2]$, with convergence factor depending on $\omega$ and $\beta$.
  • Under the exactness assumption, the expected iterates $\mathbb{E}[x_k - x_*]$ converge linearly at rate $\|\mathbb{E}[x_k - x_*]\|^2 \leq \beta^k C$, with $\beta < 1$.
  • The iteration complexity for $\|\mathbb{E}[x_k - x_*]\|^2 \leq \epsilon$ is $\mathcal{O}(\sqrt{\lambda_{\max}/\lambda_{\min}^{+}} \log(1/\epsilon))$, achieving accelerated convergence.
  • For $\omega = 1$ and $\beta = (1 - \sqrt{0.99\lambda_{\min}^{+}})^2$, the complexity becomes $\mathcal{O}(\sqrt{1/\lambda_{\min}^{+}} \log(1/\epsilon))$.
  • In the absence of exactness, the Cesàro average $\hat{x}_k$ satisfies $\mathbb{E}[f(\hat{x}_k)] = \mathcal{O}(1/k)$, matching the rate of standard SGD.
  • Empirical results on LIBSVM data show that momentum significantly accelerates convergence in terms of both iterations and wall-clock time.

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.