mlsanityData to 7 Oct 2026

Rapid Overfitting of Multi-Pass Stochastic Gradient Descent in Stochastic Convex Optimization

arXiv 2505.08306 ↗First posted 13 May 2025cs.LG math.OC stat.MLcited by 2

Not on the map. Why?

Abstract (arXiv)

We study the out-of-sample performance of multi-pass stochastic gradient descent (SGD) in the fundamental stochastic convex optimization (SCO) model. While one-pass SGD is known to achieve an optimal Theta(1/√n) excess population loss given a sample of size n, much less is understood about the multi-pass version of the algorithm which is widely used in practice. Somewhat surprisingly, we show that in the general non-smooth case of SCO, just a few epochs of SGD can already hurt its out-of-sample performance significantly and lead to overfitting. In particular, using a step size η = Theta(1/√n), which gives the optimal rate after one pass, can lead to population loss as large as Omega(1) after just one additional pass. More generally, we show that the population loss from the second pass onward is of the order Theta(1/(η T) + η √T), where T is the total number of steps. These results reveal a certain phase-transition in the out-of-sample behavior of SGD after the first epoch, as well as a sharp separation between the rates of overfitting in the smooth and non-smooth cases of SCO. Additionally, we extend our results to with-replacement SGD, proving that the same asymptotic bounds hold after O(n log n) steps. Finally, we also prove a lower bound of Omega(η √n) on the generalization gap of one-pass SGD in dimension d = smashwidetilde O(n), improving on recent results of Koren et al.(2022) and Schliserman et al.(2024).

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 13 May 2025.

Builds on

17 of 23 references.

References · 17

  1. 2015Train faster, generalize better: Stability of stochastic gradient descentcited by 547
  2. 2020Stability of Stochastic Gradient Descent on Nonsmooth Convex Lossescited by 172
  3. 2020Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descentcited by 118
  4. 2019How Good is SGD with Random Shuffling?cited by 63
  5. 2019SGD without Replacement: Sharper Rates for General Smooth Convex Functionscited by 59
  6. 2020Closing the convergence gap of SGD without replacementcited by 56
  7. 2021SGD Generalizes Better Than GD (And Regularization Doesn't Help)cited by 38
  8. 2016Generalization of ERM in Stochastic Convex Optimization: The Dimension Strikes Backcited by 37
  9. 2021SGD: The Role of Implicit Regularization, Batch-size and Multiple-epochscited by 22
  10. 2023Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyondcited by 21
  11. 2022Benign Underfitting of Stochastic Gradient Descentcited by 18
  12. 2021Random Shuffling Beats SGD Only After Many Epochs on Ill-Conditioned Problemscited by 16
5 more
  1. 2020Recht-R'e Noncommutative Arithmetic-Geometric Mean Conjecture is Falsecited by 15
  2. 2021Can Single-Shuffle SGD be Better than Reshuffling SGD and GD?cited by 8
  3. 2023Select without Fear: Almost All Mini-Batch Schedules Generalize Optimallycited by 5
  4. 2024The Dimension Strikes Back with Gradients: Generalization of Gradient Methods in Stochastic Convex Optimizationcited by 5
  5. 2024The Sample Complexity of Gradient Descent in Stochastic Convex Optimizationcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.