mlsanityData to 7 Oct 2026

The Benefits of Implicit Regularization from SGD in Least Squares Problems

arXiv 2108.04552 ↗First posted 10 Aug 2021cs.LG math.OC stat.MLcited by 32

Not on the map. Why?

Abstract (arXiv)

Stochastic gradient descent (SGD) exhibits strong algorithmic regularization effects in practice, which has been hypothesized to play an important role in the generalization of modern machine learning approaches. In this work, we seek to understand these issues in the simpler setting of linear regression (including both underparameterized and overparameterized regimes), where our goal is to make sharp instance-based comparisons of the implicit regularization afforded by (unregularized) average SGD with the explicit regularization of ridge regression. For a broad class of least squares problem instances (that are natural in high-dimensional settings), we show: (1) for every problem instance and for every ridge parameter, (unregularized) SGD, when provided with logarithmically more samples than that provided to the ridge algorithm, generalizes no worse than the ridge solution (provided SGD uses a tuned constant stepsize); (2) conversely, there exist instances (in this wide problem class) where optimally-tuned ridge regression requires quadratically more samples than SGD in order to have the same generalization performance. Taken together, our results show that, up to the logarithmic factors, the generalization performance of SGD is always no worse than that of ridge regression in a wide range of overparameterized problems, and, in fact, could be much better for some problem instances. More generally, our results show how algorithmic regularization has important consequences even in simpler (overparameterized) convex settings.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 20 of its 34 references that are in the map. First posted on arXiv 10 Aug 2021.

Builds on

20 of 34 references.

References · 20

  1. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  3. 2019Benign Overfitting in Linear Regressioncited by 544
  4. 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 508
  5. 2019Implicit Regularization in Deep Matrix Factorizationcited by 402
  6. 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 339
  7. 2018Characterizing Implicit Bias in Terms of Optimization Geometrycited by 259
  8. 2020Benign overfitting in ridge regressioncited by 152
  9. 2015High-Dimensional Asymptotics of Prediction: Ridge Regression and Classificationcited by 146
  10. 2020Implicit Regularization in Deep Learning May Not Be Explainable by Normscited by 118
  11. 2013Non-strongly-convex smooth stochastic approximation with convergence rate O(1/n)cited by 110
  12. 2020On the Optimal Weighted ℓ2 Regularization in Overparameterized Linear Regressioncited by 97
8 more
  1. 2021Benign Overfitting of Constant-Stepsize SGD for Linear Regressioncited by 71
  2. 2018A Continuous-Time View of Early Stopping for Least Squarescited by 67
  3. 2016Harder, Better, Faster, Stronger Convergence Rates for Least-Squares Regressioncited by 64
  4. 2020The Implicit Regularization of Stochastic Gradient Flow for Least Squarescited by 58
  5. 2018Optimal ridge penalty for real-world high-dimensional data can be zero or negative due to the implicit ridge regularizationcited by 52
  6. 2019Bad Global Minima Exist and SGD Can Reach Themcited by 49
  7. 2017A Markov Chain Theory Approach to Characterizing the Minimax Optimality of Stochastic Gradient Descent (for Least Squares)cited by 25
  8. 2020Can Implicit Bias Explain Generalization? Stochastic Convex Optimization as a Case Studycited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 7; 2023: 6; 2024: 5; 2025: 7; 2026: 4.

32 papers.

Sort:

  1. 2023Transformers as Support Vector Machinescited by 67
  2. 2025Whoever Started the Interference Should End It: Guiding Data-Free Model Merging via Task Vectorscited by 59
  3. 2023Max-Margin Token Selection in Attention Mechanismcited by 57
  4. 2024Scaling Laws in Linear Regression: Compute, Parameters, and Datacited by 54
  5. 2022Implicit Bias of Gradient Descent on Reparametrized Models: On Equivalence to Mirror Descentcited by 38
  6. 2021Last Iterate Risk Bounds of SGD with Decaying Stepsize for Overparameterized Linear Regressioncited by 37
  7. 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
  8. 2022The Power and Limitation of Pretraining-Finetuning for Linear Regression under Covariate Shiftcited by 25
  9. 2024How Transformers Utilize Multi-Head Attention in In-Context Learning? A Case Study on Sparse Linear Regressioncited by 13
  10. 2025Benefits of Early Stopping in Gradient Descent for Overparameterized Logistic Regressioncited by 9
  11. 2022Risk Bounds of Multi-Pass SGD for Least Squares in the Interpolation Regimecited by 8
  12. 2023Finite-Sample Analysis of Learning High-Dimensional Single ReLU Neuroncited by 8
20 more
  1. 2021Regularization Guarantees Generalization in Bayesian Reinforcement Learning through Algorithmic Stabilitycited by 7
  2. 2024On the Benefits of Over-parameterization for Out-of-Distribution Generalizationcited by 7
  3. 2025Improved Scaling Laws in Linear Regression via Data Reusecited by 7
  4. 2023Federated Learning under Covariate Shifts with Generalization Guaranteescited by 6
  5. 2021Comparing Classes of Estimators: When does Gradient Descent Beat Ridge Regression in Linear Models?cited by 5
  6. 2025Memory-Statistics Tradeoff in Continual Learning with Structural Regularizationcited by 4
  7. 2022Implicit Regularization with Polynomial Growth in Deep Tensor Factorizationcited by 3
  8. 2023Efficient Compression of Overparameterized Deep Models through Low-Dimensional Learning Dynamicscited by 3
  9. 2025Learning Curves of Stochastic Gradient Descent in Kernel Regressioncited by 3
  10. 2022Losing momentum in continuous-time stochastic optimisationcited by 2
  11. 2024Improving Implicit Regularization of SGD with Preconditioning for Least Square Problemscited by 2
  12. 2025On the Interplay between Graph Structure and Learning Algorithms in Graph Neural Networkscited by 2
  13. 2025Basic Inequalities for First-Order Optimization with Applications to Statistical Risk Analysiscited by 2
  14. 2022A Novel Fast Exact Subproblem Solver for Stochastic Quasi-Newton Cubic Regularized Optimizationcited by 1
  15. 2022Local SGD in Overparameterized Linear Regressioncited by 0
  16. 2024Stochastic Gradient Descent for Nonparametric Additive Regressioncited by 0
  17. 2026Hard labels sampled from sparse targets mislead rotation invariant algorithmscited by 0
  18. 2026Ridge Regression from Poisson Resetting: A Renewal Perspective on Spectral Regularizationcited by 0
  19. 2026Beyond Negative-Ridge Endpoints: Mixed-Sign Spectral Regularization via Negative-Shifted Gradient Descentcited by 0
  20. 2026Stochastic gradient descent with initial regularizationcited by 0