Skip to main content
QUICK REVIEW

[Paper Review] Almost sure convergence rates for Stochastic Gradient Descent and Stochastic Heavy Ball

Othmane Sebbouh, Robert M. Gower|arXiv (Cornell University)|Jun 14, 2020
Stochastic Gradient Optimization TechniquesComputer Science34 references7 citations
TL;DR

This paper establishes the first almost sure convergence rates for stochastic gradient descent (SGD) and stochastic heavy ball (SHB) in the general stochastic approximation setting. It proves that SGD's weighted average of iterates converges almost surely at a rate arbitrarily close to $o(1/\sqrt{k})$ in convex smooth settings, improving to $o(1/k)$ in the overparametrized case, with similar rates for SHB at the last iterate. The results extend to adaptive stepsizes like line search and Polyak stepsizes, and include nonconvex convergence rates for the gradient norm.

ABSTRACT

We study stochastic gradient descent (SGD) and the stochastic heavy ball method (SHB, otherwise known as the momentum method) for the general stochastic approximation problem. For SGD, in the convex and smooth setting, we provide the first \emph{almost sure} asymptotic convergence \emph{rates} for a weighted average of the iterates . More precisely, we show that the convergence rate of the function values is arbitrarily close to $o(1/\sqrt{k})$, and is exactly $o(1/k)$ in the so-called overparametrized case. We show that these results still hold when using stochastic line search and stochastic Polyak stepsizes, thereby giving the first proof of convergence of these methods in the non-overparametrized regime. Using a substantially different analysis, we show that these rates hold for SHB as well, but at the last iterate. This distinction is important because it is the last iterate of SGD and SHB which is used in practice. We also show that the last iterate of SHB converges to a minimizer \emph{almost surely}. Additionally, we prove that the function values of the deterministic HB converge at a $o(1/k)$ rate, which is faster than the previously known $O(1/k)$. Finally, in the nonconvex setting, we prove similar rates on the lowest gradient norm along the trajectory of SGD.

Motivation & Objective

  • To establish almost sure convergence rates for SGD and SHB in the stochastic approximation problem, which is central to machine learning and optimization.
  • To close the gap in the literature by providing almost sure convergence rates, as opposed to only convergence in expectation, for SGD and SHB.
  • To extend convergence guarantees to adaptive stepsize strategies such as stochastic line search and stochastic Polyak stepsizes in non-overparametrized regimes.
  • To show that the last iterate of SHB converges almost surely to a minimizer, which is critical for practical deployment.
  • To derive faster convergence rates for the deterministic heavy ball method, proving $o(1/k)$ instead of the previously known $O(1/k)$.

Proposed method

  • Introduces a novel weighted average of SGD iterates to analyze almost sure convergence, leveraging the Robbins-Siegmund supermartingale theorem.
  • Develops new stepsize conditions (Condition 1) that ensure almost sure convergence rates, extending beyond classical Robbins-Monro conditions.
  • Applies a Lyapunov function approach to analyze SHB, using the state vector $z_k = x_k + \lambda_k(x_k - x_{k-1})$ to track convergence.
  • Uses conditional expectation and convexity/smoothness assumptions to bound the expected decrease in distance to the minimizer and objective gap.
  • Applies integral bounds and asymptotic analysis to derive convergence rates, especially for harmonic-like stepsize sequences $\eta_k \propto 1/\sqrt{k}$.
  • Extends results to nonconvex settings under the ABC condition, proving almost sure convergence of the minimum gradient norm at $o(1/\sqrt{k})$ rate.

Experimental results

Research questions

  • RQ1What are the almost sure convergence rates for SGD in the convex and smooth stochastic approximation setting?
  • RQ2Can the convergence rate of SGD be improved to $o(1/k)$ in the overparametrized case, where $\nabla f_v(x_*) = 0$?
  • RQ3Do adaptive stepsize methods like stochastic line search and stochastic Polyak stepsizes converge almost surely, and at what rate?
  • RQ4Can similar almost sure convergence rates be established for the last iterate of SHB, which is used in practice?
  • RQ5What is the almost sure convergence rate of the deterministic heavy ball method, and does it improve beyond $O(1/k)$?

Key findings

  • For SGD, the function values at a weighted average of iterates converge almost surely at a rate arbitrarily close to $o(1/\sqrt{k})$ in the convex smooth setting.
  • In the overparametrized case, where stochastic gradients vanish at minimizers, the convergence rate improves to $o(1/k)$.
  • The results hold for stochastic line search and stochastic Polyak stepsizes, proving almost sure convergence in the non-overparametrized regime for the first time.
  • For SHB, the last iterate converges almost surely to a minimizer, and the function values converge at a rate arbitrarily close to $o(1/\sqrt{k})$.
  • In the overparametrized case, SHB's last iterate achieves an $o(1/k)$ convergence rate, matching the best-known rates for SGD.
  • The deterministic heavy ball method converges at a rate of $o(1/k)$, improving upon the previously known $O(1/k)$ rate.

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.