arXiv:2608.22953cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22953

Stochastic gradient descent with initial regularization

Nabil Kahalé

Abstract

We analyze a variant of stochastic gradient descent with initial regularization (SGDIR) and derive dimension-free upper bounds on its expected excess risk for the squared loss. In the noiseless case, we obtain new bounds for both averaged and non-averaged SGDIR under moment, source, and capacity assumptions. For a particular value of the source parameter, these bounds are of order m−2log⁡2mm^{-2} \log^2 m, where the number of training samples is of order mm. For another value of the source parameter, we obtain, for any ϵ>0\epsilon > 0, bounds of order m−3+ϵm^{-3+\epsilon}, provided that the capacity parameter exceeds ϵ−1\epsilon^{-1}. We also establish a lower bound that matches our upper bounds in certain regimes up to a polylogarithmic factor. In the noisy case, we provide an instance-based comparison between SGDIR and ridge regression. Under general assumptions and a mild lower bound on the regularization parameter, we show that the expected excess risk of SGDIR is no larger than that of ridge regression, up to a polylogarithmic factor. Numerical experiments on synthetic and real data are consistent with our theoretical findings.

Keywords: stochastic gradient descent, noiseless model, ridge regression, least-squares

1 Introduction

A central question in machine learning is how to fit a model from copies of a feature-response pair (x,y)(x, y) so that it generalizes well to unseen data. Beyond generalization performance, the running time, space complexity, and degree of parallelism of the learning algorithm are also important considerations in practice. In this paper, we assume that (x,y)(x, y) is a square-integrable random vector in H×R\mathcal{H} \times \mathbb{R}, where H\mathcal{H} is a separable Hilbert space over R\mathbb{R}, equipped with the inner product ⟨⋅,⋅⟩\langle \cdot, \cdot \rangle. Define the loss function L(θ):=12E[(y−⟨x,θ⟩)2]L(\theta) := \frac{1}{2} E[(y - \langle x, \theta \rangle)^2] for any θ∈H\theta \in \mathcal{H}, and let (xt,yt)t≥0(x_t, y_t)_{t \geq 0} be independent copies of (x,y)(x, y). Our objective is to approximately minimize LL using the training sequence (xi,yi)(x_i, y_i), 0≤i≤n−10 \leq i \leq n-1, where nn is the sample size. This problem has been extensively studied using two main approaches: stochastic gradient descent (SGD) and ridge (or least-squares) regression.

The asymptotic properties of averaged SGD with constant step size were first studied by Ruppert (1988) and Polyak and Juditsky (1992). In the non-strongly convex setting, Bach and Moulines (2013) show that the expected excess risk of averaged SGD is O(1/n)O(1/n). Under strong convexity of L, Jain, Kakade, Kidambi, Netrapalli and Sidford (2018b) analyze tail-averaged and mini-batch SGD in Euclidean spaces and derive asymptotically optimal bounds. More recently, Kahalé (2026) introduces an unbiased SGD-like estimator of the minimizer of L and derives

*ESCP Business School, Paris, France; e-mail: nkahale@escp.eu.

convergence bounds that match those of Bach and Moulines (2013) up to a polylogarithmic factor.

The aforementioned studies concern finite-dimensional settings. In practice, the number of features can be very large, or even infinite, as in reproducing kernel Hilbert spaces (RKHSs). We next review work establishing dimension-independent bounds on the expected excess risk. In the RKHS framework, Caponnetto and De Vito (2007) and Dieuleveut and Bach (2016) derive convergence bounds for kernel ridge regression (KRR) and averaged SGD, respectively, that are asymptotically optimal under suitable assumptions. Dieuleveut, Flammarion and Bach (2017) derive similar bounds for regularized averaged SGD in Hilbert spaces. Improved bounds on the expected excess risk in hard learning problems have been established by Pillaud-Vivien, Rudi and Bach (2018) using SGD with multiple passes and by Jun, Cutkosky and Orabona (2019) using a variant of KRR. Likewise, Mücke, Neu and Rosasco (2019) derive improved bounds for tail-averaged SGD in Hilbert spaces under certain regularity assumptions and also study minibatching. Finally, under suitable moment assumptions, Zou, Wu, Braverman, Gu and Kakade (2023) derive sharp excess risk bounds for constant-step-size SGD with iterate averaging or tail averaging in terms of the full eigenspectrum of the covariance operator.

Motivated by the double-descent phenomenon and the near-zero training loss achieved by over-parameterized neural networks, a growing literature has analyzed SGD, linear regression, and ridge regression in over-parameterized settings. In particular, the last iterate of constant-step-size SGD has received considerable attention in this context, given the success of SGD in training over-parameterized models. For instance, Bartlett, Long, Lugosi and Tsigler (2020) and Hastie, Montanari, Rosset and Tibshirani (2022) analyze the prediction accuracy of the minimum-norm interpolator in over-parameterized linear regression, while Tsigler and Bartlett (2023) provide analogous results for ridge regression. Zdeborova (2022) analyze the performance of KRR under a low-noise Gaussian design. Ma, Bassily and Belkin (2018) establish exponential convergence bounds for the last iterate of SGD under noiselessness and strong convexity. In a noiseless Hilbert space setting, Berthier, Bach and Gaillard (2020) and Varre, Pillaud-Vivien and Flammarion (2021) derive tight convergence bounds for non-averaged SGD. Lin, Wu, Kakade, Bartlett and Lee (2024) provide sharp convergence bounds for the test error of SGD in terms of the number of parameters and training samples in an infinite dimensional linear regression setup. In zero- or low-noise settings, Attia, Schliserman, Sherman and Koren (2026) establish bounds on the expected excess risk of the last iterate of constant-step-size SGD for smooth convex objectives.

References (33)