Skip to main content
QUICK REVIEW

[Paper Review] Making Gradient Descent Optimal for Strongly Convex Stochastic Optimization

Alexander Rakhlin, Ohad Shamir|arXiv (Cornell University)|Sep 26, 2011
Stochastic Gradient Optimization TechniquesComputer Science9 references548 citations
TL;DR

This paper demonstrates that standard stochastic gradient descent (SGD) with averaging achieves the optimal O(1/T) convergence rate for strongly convex and smooth stochastic optimization problems, but fails to do so for non-smooth problems. A simple modification—averaging only the last αT iterations—recovers the optimal rate without changing the algorithm's core structure.

ABSTRACT

Stochastic gradient descent (SGD) is a simple and popular method to solve stochastic optimization problems which arise in machine learning. For strongly convex problems, its convergence rate was known to be O(\log(T)/T), by running SGD for T iterations and returning the average point. However, recent results showed that using a different algorithm, one can get an optimal O(1/T) rate. This might lead one to believe that standard SGD is suboptimal, and maybe should even be replaced as a method of choice. In this paper, we investigate the optimality of SGD in a stochastic setting. We show that for smooth problems, the algorithm attains the optimal O(1/T) rate. However, for non-smooth problems, the convergence rate with averaging might really be Ω(\log(T)/T), and this is not just an artifact of the analysis. On the flip side, we show that a simple modification of the averaging step suffices to recover the O(1/T) rate, and no other change of the algorithm is necessary. We also present experimental results which support our findings, and point out open problems.

Motivation & Objective

  • To determine whether standard SGD with averaging is optimal for strongly convex stochastic optimization or if its known O(log T / T) rate is an artifact of analysis.
  • To investigate whether the O(log T / T) rate in non-smooth problems is inherent or due to loose analysis.
  • To identify a minimal modification to SGD that recovers the optimal O(1/T) rate in non-smooth settings.
  • To validate theoretical findings with empirical experiments on real-world and synthetic data.
  • To clarify the practical performance of the last iterate and various averaging schemes in non-smooth settings.

Proposed method

  • Analyze SGD in the stochastic setting directly, avoiding online-to-batch conversion.
  • Establish upper bounds on convergence rate in expectation, with extensions to high-probability bounds (up to log(log T) factor).
  • Introduce a modified averaging scheme: average only the last αT iterates (α ∈ (0,1)), not all T iterates.
  • Prove that this suffix-averaging scheme achieves O(1/T) rate for non-smooth, strongly convex problems.
  • Use smoothness as a condition under which standard averaging already yields O(1/T) rate.
  • Conduct experiments on real datasets (ccat, cov1, astro-ph) using SVM objectives with non-smooth hinge loss.

Experimental results

Research questions

  • RQ1Is the O(log T / T) convergence rate of SGD with averaging in non-smooth strongly convex problems an artifact of analysis or inherent to the algorithm?
  • RQ2Can a simple modification to the averaging step recover the optimal O(1/T) rate in non-smooth settings?
  • RQ3Does standard SGD with full averaging achieve O(1/T) rate when the objective function is smooth?
  • RQ4How does the performance of the last iterate (w_T) compare to averaged iterates in non-smooth problems?
  • RQ5Which averaging strategy—full averaging, suffix averaging, or last iterate—performs best in practice on real-world data?

Key findings

  • For smooth, strongly convex stochastic problems, standard SGD with averaging achieves the optimal O(1/T) convergence rate.
  • In non-smooth, strongly convex problems, standard averaging leads to a Ω(log T / T) convergence rate, which is tight and not an artifact of analysis.
  • A simple modification—averaging only the last αT iterates—recovers the optimal O(1/T) rate in non-smooth settings.
  • Empirical results show that Sgd-α (suffix averaging) outperforms Sgd-A (full averaging), and Sgd-L (last iterate) performs nearly as well, especially in smooth cases.
  • The last iterate (w_T) exhibits a Θ(1/T) rate in practice on non-smooth problems, though current theory only guarantees O(1/√T), indicating a gap in theoretical understanding.
  • The proposed suffix-averaging scheme achieves optimal rates without requiring algorithmic complexity beyond standard SGD.

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.