[Paper Review] How Good is SGD with Random Shuffling?
This paper provides the first tight lower bounds on the optimization error for stochastic gradient descent (SGD) with random shuffling in finite-sum, smooth, and strongly convex problems. It proves that repeated random reshuffling achieves a faster convergence rate of $\Omega(1/(nk)^2 + 1/(nk^3))$ compared to single shuffling ($\Omega(1/(nk^2))$), establishing an inherent performance gap between the two strategies under constant step size.
We study the performance of stochastic gradient descent (SGD) on smooth and strongly-convex finite-sum optimization problems. In contrast to the majority of existing theoretical works, which assume that individual functions are sampled with replacement, we focus here on popular but poorly-understood heuristics, which involve going over random permutations of the individual functions. This setting has been investigated in several recent works, but the optimal error rates remain unclear. In this paper, we provide lower bounds on the expected optimization error with these heuristics (using SGD with any constant step size), which elucidate their advantages and disadvantages. In particular, we prove that after $k$ passes over $n$ individual functions, if the functions are re-shuffled after every pass, the best possible optimization error for SGD is at least $Ω\left(1/(nk)^2+1/nk^3 ight)$, which partially corresponds to recently derived upper bounds. Moreover, if the functions are only shuffled once, then the lower bound increases to $Ω(1/nk^2)$. Since there are strictly smaller upper bounds for repeated reshuffling, this proves an inherent performance gap between SGD with single shuffling and repeated shuffling. As a more minor contribution, we also provide a non-asymptotic $Ω(1/k^2)$ lower bound (independent of $n$) for the incremental gradient method, when no random shuffling takes place. Finally, we provide an indication that our lower bounds are tight, by proving matching upper bounds for univariate quadratic functions.
Motivation & Objective
- To understand the theoretical performance limits of SGD with random shuffling in finite-sum optimization.
- To resolve the open question of whether repeated random reshuffling offers a provable advantage over single shuffling or fixed-order incremental methods.
- To establish tight lower bounds on optimization error for constant-step-size SGD under different shuffling strategies.
- To demonstrate the optimality of existing upper bounds by proving matching lower bounds for univariate quadratic functions.
Proposed method
- Derives lower bounds on expected optimization error for SGD with repeated random reshuffling, single shuffling, and incremental gradient methods.
- Uses a univariate quadratic function model to construct tight lower bounds that match known upper bounds.
- Applies concentration inequalities and the AM-GM inequality to bound the product of contraction factors in the error recurrence.
- Analyzes the error propagation over $k$ passes using recursive expectation bounds and leverages independence across reshuffled iterations.
- Establishes non-asymptotic $\Omega(1/k^2)$ lower bound for the incremental gradient method without random shuffling.
- Uses step size $\eta = \frac{\log(n^{0.5}k)}{\lambda n k}$ to balance convergence and error terms in the analysis.
Experimental results
Research questions
- RQ1What is the optimal achievable error rate for SGD with repeated random reshuffling in smooth, strongly convex finite-sum problems?
- RQ2Does repeated random reshuffling provide a provable advantage over single shuffling or fixed-order incremental methods?
- RQ3What is the fundamental lower bound on optimization error for SGD with constant step size under different shuffling schemes?
- RQ4Are existing upper bounds for repeated reshuffling tight, or can they be improved?
- RQ5How does the absence of random shuffling affect the convergence rate of the incremental gradient method?
Key findings
- The expected optimization error for SGD with repeated random reshuffling is at least $\Omega(1/(nk)^2 + 1/(nk^3))$, matching known upper bounds.
- For single shuffling, the lower bound is $\Omega(1/(nk^2))$, which is strictly worse than the repeated reshuffling case.
- This establishes an inherent performance gap between repeated and single shuffling, proving that repeated reshuffling is theoretically superior.
- For the incremental gradient method (no random shuffling), a non-asymptotic $\Omega(1/k^2)$ lower bound is established, independent of $n$.
- For univariate quadratic functions, the lower bounds match the upper bounds, indicating tightness of the analysis.
- The analysis confirms that the best possible error rate under repeated reshuffling is not better than $\tilde{\mathcal{O}}(1/(nk)^2 + 1/(nk^3))$, 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 NubintThis review was generated by AI from the original paper. Please check the paper before citing it.