Skip to main content
QUICK REVIEW

[Paper Review] SGD without Replacement: Sharper Rates for General Smooth Convex Functions

Prateek Jain, Nagaraj, Dheeraj|arXiv (Cornell University)|Mar 4, 2019
Stochastic Gradient Optimization TechniquesComputer Science15 references10 citations
TL;DR

This paper provides the first non-asymptotic convergence analysis of stochastic gradient descent without replacement (SGDo) for general smooth, strongly convex functions, using exchangeable pairs to bound Wasserstein distance. It establishes an $\widetilde{O}(1/nK^2)$ convergence rate—sharper than SGD's $O(1/nK)$—under standard smoothness and strong convexity, without requiring Hessian Lipschitz assumptions.

ABSTRACT

We study stochastic gradient descent {\em without replacement} (\sgdwor) for smooth convex functions. \sgdwor is widely observed to converge faster than true \sgd where each sample is drawn independently {\em with replacement} \cite{bottou2009curiously} and hence, is more popular in practice. But it's convergence properties are not well understood as sampling without replacement leads to coupling between iterates and gradients. By using method of exchangeable pairs to bound Wasserstein distance, we provide the first non-asymptotic results for \sgdwor when applied to {\em general smooth, strongly-convex} functions. In particular, we show that \sgdwor converges at a rate of $O(1/K^2)$ while \sgd is known to converge at $O(1/K)$ rate, where $K$ denotes the number of passes over data and is required to be {\em large enough}. Existing results for \sgdwor in this setting require additional {\em Hessian Lipschitz assumption} \cite{gurbuzbalaban2015random,haochen2018random}. For {\em small} $K$, we show \sgdwor can achieve same convergence rate as \sgd for {\em general smooth strongly-convex} functions. Existing results in this setting require $K=1$ and hold only for generalized linear models \cite{shamir2016without}. In addition, by careful analysis of the coupling, for both large and small $K$, we obtain better dependence on problem dependent parameters like condition number.

Motivation & Objective

  • To resolve the theoretical gap between practical SGD without replacement (SGDo) and theoretical SGD with replacement, which is known to converge slower.
  • To establish tighter, non-asymptotic convergence rates for SGDo under standard assumptions: smoothness, strong convexity, and Lipschitz gradients.
  • To improve upon prior results that required additional Hessian Lipschitz conditions or were limited to generalized linear models or $K=1$.
  • To analyze both large and small $K$ regimes, showing that SGDo matches or improves upon SGD's rate depending on the number of passes.
  • To develop a coupling technique using optimal transport (exchangeable pairs) to handle the dependence induced by sampling without replacement.

Proposed method

  • Uses the method of exchangeable pairs to bound the Wasserstein distance between iterates of SGDo and SGD, enabling comparison of their convergence behavior.
  • Applies a suffix averaging scheme over the last $K/2$ passes to improve convergence rate and reduce variance.
  • Derives recursive bounds on the squared distance to the optimal solution, $\mathbb{E}[\|x_k - x^*\|^2]$, using strong convexity and smoothness properties.
  • Employs a step size $\alpha = \Theta(\log(nK)/(\mu nK))$ to balance bias and variance in the convergence rate.
  • Analyzes the coupling between gradients and iterates under without-replacement sampling, which introduces dependence not present in standard SGD.
  • Uses convexity and gradient Lipschitz conditions to bound the suboptimality $\mathbb{E}[F(x) - F(x^*)]$ in terms of problem-dependent parameters like condition number $\kappa$.

Experimental results

Research questions

  • RQ1Can SGDo achieve a faster convergence rate than SGD for general smooth, strongly convex functions without requiring Hessian Lipschitz continuity?
  • RQ2What is the non-asymptotic convergence rate of SGDo when the number of passes $K$ is small (e.g., $K \lesssim n$)?
  • RQ3How does the performance of SGDo compare to SGD in terms of dependence on the condition number $\kappa$?
  • RQ4Can the coupling introduced by sampling without replacement be formally bounded to enable convergence analysis?
  • RQ5Does SGDo achieve $O(1/K^2)$ convergence for general smooth, strongly convex functions, matching empirical observations?

Key findings

  • SGDo achieves a convergence rate of $\widetilde{O}(1/nK^2)$ for general smooth, strongly convex functions, which is faster than SGD's $O(1/nK)$ rate.
  • The result holds under standard assumptions—smoothness, strong convexity, and gradient Lipschitz—without requiring the Hessian Lipschitz condition used in prior work.
  • For $K \gtrsim \kappa^2 \log(nK)$, the rate of SGDo improves upon SGD, whereas prior work required $K \gtrsim \kappa^{1.5} \sqrt{n}$ to achieve the same.
  • For small $K$, SGDo achieves the same $O(1/nK)$ rate as SGD, which is the first such result for general smooth convex functions (previously only known for generalized linear models).
  • The analysis yields improved dependence on the condition number $\kappa$, with suboptimality bounded by $O(\kappa^2 G^2 (\log(nK))^2 / (nK^2))$.
  • The use of exchangeable pairs and Wasserstein distance enables the first rigorous analysis of SGDo's faster convergence, even with dependent gradients.

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.