Skip to main content
QUICK REVIEW

[Paper Review] Tight Analyses for Non-Smooth Stochastic Gradient Descent

Nicholas J. A. Harvey, Christopher Liaw|arXiv (Cornell University)|Dec 13, 2018
Stochastic Gradient Optimization TechniquesComputer Science26 references21 citations
TL;DR

This paper provides tight high-probability error bounds for non-smooth stochastic gradient descent (SGD) on Lipschitz and strongly convex functions. It proves that the final iterate of SGD achieves $ O(\log T / T) $ error with high probability, matching the optimal rate of deterministic gradient descent and resolving an open question by Shamir. Suffix averaging also achieves the optimal $ O(1/T) $ rate with high probability, improving prior results that only achieved this bound in expectation or with suboptimal logarithmic factors.

ABSTRACT

Consider the problem of minimizing functions that are Lipschitz and strongly convex, but not necessarily differentiable. We prove that after $T$ steps of stochastic gradient descent, the error of the final iterate is $O(\log(T)/T)$ with high probability. We also construct a function from this class for which the error of the final iterate of deterministic gradient descent is $Ω(\log(T)/T)$. This shows that the upper bound is tight and that, in this setting, the last iterate of stochastic gradient descent has the same general error rate (with high probability) as deterministic gradient descent. This resolves both open questions posed by Shamir (2012). An intermediate step of our analysis proves that the suffix averaging method achieves error $O(1/T)$ with high probability, which is optimal (for any first-order optimization method). This improves results of Rakhlin (2012) and Hazan and Kale (2014), both of which achieved error $O(1/T)$, but only in expectation, and achieved a high probability error bound of $O(\log \log(T)/T)$, which is suboptimal. We prove analogous results for functions that are Lipschitz and convex, but not necessarily strongly convex or differentiable. After $T$ steps of stochastic gradient descent, the error of the final iterate is $O(\log(T)/\sqrt{T})$ with high probability, and there exists a function for which the error of the final iterate of deterministic gradient descent is $Ω(\log(T)/\sqrt{T})$.

Motivation & Objective

  • To resolve open questions about the convergence rate of the final iterate of stochastic gradient descent for non-smooth, strongly convex functions.
  • To establish whether the $ O(\log T / T) $ expected error bound for the final iterate is tight, particularly in high-probability regimes.
  • To analyze the performance of suffix averaging in achieving optimal $ O(1/T) $ error rate with high probability.
  • To prove that the $ \log T $ factor in error bounds is necessary for both non-smooth and strongly convex settings, even for deterministic gradient descent.
  • To show that any convex combination of the last $ k $ iterates incurs a $ \log(T/k) $ factor, implying that suffix averaging must average a constant fraction of iterates to achieve optimality.

Proposed method

  • The analysis uses moment generating functions (MGFs) to handle subgradient noise, replacing constant bounds on subgradient norms with random variables to improve high-probability concentration.
  • A key technical innovation is the use of MGF triangle inequalities (via Hölder or Cauchy-Schwarz) to isolate and bound the MGFs of noisy terms that were previously treated as constants.
  • The paper constructs a specific one-dimensional function $ f(x) = \frac{1}{2}x^2 $ on $ [-1,1] $ with symmetric subgradient noise to derive lower bounds on the final iterate and suffix average.
  • It applies Lemma G.1 (a concentration inequality for sums of independent Rademacher random variables) to show that the final iterate or average exceeds $ \Omega(\log(1/\delta)/T) $ with probability at least $ \delta $.
  • The analysis compares the performance of the final iterate of SGD with that of suffix averaging, showing that both achieve the same high-probability rate under the same assumptions.
  • It proves tightness of the $ \log T $ factor by constructing a function for which the final iterate of deterministic gradient descent incurs $ \Omega(\log T / T) $ error, matching the upper bound.

Experimental results

Research questions

  • RQ1Is the $ O(\log T / T) $ expected error bound for the final iterate of SGD tight in high-probability regimes for strongly convex, non-smooth functions?
  • RQ2Can suffix averaging achieve the optimal $ O(1/T) $ error rate with high probability, or is the prior $ O(\log \log T / T) $ high-probability bound suboptimal?
  • RQ3Is the $ \log T $ factor in the error bound necessary for the final iterate of SGD, even in the deterministic setting?
  • RQ4Does the final iterate of SGD achieve the same high-probability convergence rate as deterministic gradient descent in the non-smooth, strongly convex setting?
  • RQ5What is the minimal number of recent iterates that must be averaged (via suffix averaging) to achieve the optimal $ O(1/T) $ rate with high probability?

Key findings

  • The final iterate of stochastic gradient descent achieves $ O(\log T / T) $ error with high probability on Lipschitz and strongly convex functions, matching the optimal rate of deterministic gradient descent.
  • There exists a function for which the final iterate of deterministic gradient descent incurs $ \Omega(\log T / T) $ error, proving that the $ \log T $ factor is necessary and the upper bound is tight.
  • Suffix averaging achieves $ O(1/T) $ error with high probability, which is optimal and improves upon prior results that only achieved this rate in expectation or with a $ \log \log T $ factor.
  • Any convex combination of the last $ k $ iterates must incur a $ \log(T/k) $ factor in error, implying that suffix averaging must average a constant fraction of the last iterates to achieve optimality.
  • The high-probability error bound for the final iterate is $ \Omega(\log(1/\delta)/T) $, showing that the $ \log(1/\delta) $ dependence is necessary for any high-probability guarantee.
  • For non-smooth, convex functions (not necessarily strongly convex), the final iterate of SGD achieves $ O(\log T / \sqrt{T}) $ error with high probability, and this bound is tight.

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.