Risk Bounds of Multi-Pass SGD for Least Squares in the Interpolation Regime
Difan Zou, Jingfeng Wu, Vladimir Braverman, Quanquan Gu, Sham M. Kakade
Abstract
Stochastic gradient descent (SGD) has achieved great success due to its superior performance in both optimization and generalization. Most of existing generalization analyses are made for single-pass SGD, which is a less practical variant compared to the commonly-used multi-pass SGD. Besides, theoretical analyses for multi-pass SGD often concern a worst-case instance in a class of problems, which may be pessimistic to explain the superior generalization ability for some particular problem instance. The goal of this paper is to sharply characterize the generalization of multi-pass SGD, by developing an instance-dependent excess risk bound for least squares in the interpolation regime, which is expressed as a function of the iteration number, stepsize, and data covariance. We show that the excess risk of SGD can be exactly decomposed into the excess risk of GD and a positive fluctuation error, suggesting that SGD always performs worse, instance-wisely, than GD, in generalization. On the other hand, we show that although SGD needs more iterations than GD to achieve the same level of excess risk, it saves the number of stochastic gradient evaluations, and therefore is preferable in terms of computational time.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Scaling Laws for Precision in High-Dimensional Linear Regression cites Last Iterate Risk Bounds of SGD with Decaying Stepsize for Overparameterized Linear Regression
- How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear Regression cites The Benefits of Implicit Regularization from SGD in Least Squares Problems
- Improved Scaling Laws in Linear Regression via Data Reuse cites Last Iterate Risk Bounds of SGD with Decaying Stepsize for Overparameterized Linear Regression
- Improved Scaling Laws in Linear Regression via Data Reuse cites The Benefits of Implicit Regularization from SGD in Least Squares Problems
- Towards Data-Algorithm Dependent Generalization: a Case Study on Overparameterized Linear Regression cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
- Implicit Regularization or Implicit Conditioning? Exact Risk Trajectories of SGD in High Dimensions cites Last Iterate Risk Bounds of SGD with Decaying Stepsize for Overparameterized Linear Regression
Cited by top-tier papers9
- Implicit Regularization or Implicit Conditioning? Exact Risk Trajectories of SGD in High DimensionsCourtney Paquette, Elliot Paquette, Ben Adlam, Jeffrey PenningtonNeurIPS 2022 · 22 citations
- How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear RegressionXingwu Chen, Lei Zhao, Difan ZouNeurIPS 2024 · 19 citations
- Improved Scaling Laws in Linear Regression via Data ReuseLicong Lin, Jingfeng Wu, Peter L. BartlettNeurIPS 2025 · 7 citations
- Towards Data-Algorithm Dependent Generalization: a Case Study on Overparameterized Linear RegressionJing Xu, Jiaye Teng, Yang Yuan, Andrew C. YaoNeurIPS 2023 · 3 citations
- Scaling Laws for Precision in High-Dimensional Linear RegressionDechen Zhang, Xuan Tang, Yingyu Liang, Difan ZouICML 2026 · 2 citations
Builds on4
- Stability of Stochastic Gradient Descent on Nonsmooth Convex LossesRaef Bassily, Vitaly Feldman, Cristóbal Guzmán, Kunal TalwarNeurIPS 2020 · 240 citations
- SGD with shuffling: optimal rates without component convexity and large epoch requirementsKwangjun Ahn, Chulhee Yun, Suvrit SraNeurIPS 2020 · 83 citations
- The Benefits of Implicit Regularization from SGD in Least Squares ProblemsDifan Zou, Jingfeng Wu, Vladimir Braverman, Quanquan Gu et al.NeurIPS 2021 · 41 citations
- Last Iterate Risk Bounds of SGD with Decaying Stepsize for Overparameterized Linear RegressionJingfeng Wu, Difan Zou, Vladimir Braverman, Quanquan Gu et al.ICML 2022 · 38 citations
Related papers
- Risk Bounds of Accelerated SGD for Overparameterized Linear RegressionXuheng Li, Yihe Deng, Jingfeng Wu, Dongruo Zhou et al.ICLR 2024 · 7 citations
- Benign Underfitting of Stochastic Gradient DescentTomer Koren, Roi Livni, Yishay Mansour, Uri ShermanNeurIPS 2022 · 26 citations
- Rapid Overfitting of Multi-Pass SGD in Stochastic Convex OptimizationShira Vansover-Hager, Tomer Koren, Roi LivniICML 2025
- Beyond Lipschitz: Sharp Generalization and Excess Risk Bounds for Full-Batch GDKonstantinos E. Nikolakakis, Farzin Haddadpour, Amin Karbasi, Dionysios S. KalogeriasICLR 2023 · 3 citations
- The Implicit Regularization of Stochastic Gradient Flow for Least SquaresAlnur Ali, Edgar Dobriban, Ryan J. TibshiraniICML 2020 · 83 citations
