betaFeedback

WorksMathematics

Taming the Tails of Stochastic Gradient Descent in the Interpolation Regime

Abstract

In this paper, we study stochastic gradient descent in the smooth interpolation regime, where the population objective shares a common minimizer with the sample losses. In contrast to prior work, which has largely focused on in-expectation analysis, we obtain high-probability convergence guarantees under the same assumptions. In the convex case, we prove a fast rate of order log⁡(β−1)⋅n−1\log(β^{-1}) \cdot n^{-1} after nn iterations, with failure probability at most ββ. In the strongly convex case, we derive a family of moment-based bounds of order β−p⋅exp⁡(−O(p⋅n))β^{-p} \cdot \exp(-\mathcal{O}(p \cdot n)) for p∈(0,1]p \in (0,1], and complement them with a matching lower bound showing that the corresponding deterioration in the exponential rate is essentially unavoidable. In both settings, our theoretical results are unified across a broad class of step-size schedules. Building on this analysis, we extend our results to a low-noise regime and to nonconvex objectives satisfying the Polyak-Lojasiewicz condition.

Introduction

Stochastic Gradient Descent (SGD) [37, 6] is among the most widely used algorithms in modern machine learning. Its performance is typically studied within the framework of stochastic optimization, where the goal is to minimize a population loss having access only to stochastic gradients, or equivalently to sample losses. The success of SGD stems from a combination of algorithmic simplicity, empirical effectiveness, and strong theoretical guarantees. For instance, on smooth objectives with stochastic gradients of bounded variance, SGD achieves, after nn iterations, rates of order n−1/2n^{-1/2} and n−1n^{-1} on convex and strongly convex objectives [33], respectively. While optimal [34, 1] in the classical stochastic setting, these rates are substantially slower than their deterministic counterparts, namely n−1n^{-1} and exp⁡(−O(n))\exp(-O(n)), which are achievable via Gradient Descent (GD) [32].

A structural property that allows SGD to recover deterministic rates is interpolation, which in its original formulation requires the population objective and the sample losses to share a common minimizer [MBB18]. This regime is well motivated by modern over-parameterized learning models, where the number of parameters often far exceeds the number of training samples and perfect fitting of the training data is commonly observed. Interpolation has profound algorithmic consequences, and has been exploited to obtain SGD rates matching those of GD [MBB18, VML+19, LVLLJ21, GRS23].

Despite this progress, the existing theory for SGD under interpolation is largely confined to convergence in expectation, which leaves unclear what can be guaranteed along a single, potentially expensive, run of SGD. While in-expectation bounds can always be turned into high-probability guarantees via Markov’s inequality, this typically yields a poor dependence on the failure probability β∈(0,1)\beta\in(0,1). Obtaining substantially stronger high-probability rates is in general much more difficult, and often requires stronger assumptions (e.g., [33, 16, 26, 11, 25]).

Contributions. In this paper, we show that, in the interpolation regime, one can do substantially better without strengthening the assumptions used in the corresponding in-expectation analysis. In particular, we provide the following contributions.

  • For convex smooth objectives, we establish, to the best of our knowledge, the first high-probability convergence rate that matches the corresponding in-expectation result up to a log⁡(β−1)\log(\beta^{-1}) factor; see Theorem 3.1. Remarkably, the fast rate of order n−1n^{-1} is obtained without requiring assumptions beyond those used in the in-expectation analysis. Moreover, our analysis is unified across a broad class of step-size policies, well beyond the constant schedule. In particular, it covers Stochastic Line Search (SLS) [41] and Stochastic Polyak Step Size (SPS) [24], adaptive methods that allow one to run SGD without additional knowledge of the underlying objective. This is made possible by exploiting the fact that, under interpolation, all these methods enjoy Fejér monotonicity [12, 2]; see Proposition 2.1. This property confines the iterates near the optimum and is what ultimately allows us to obtain the fast high-probability rate.

  • For strongly convex objectives, we derive a family of high-probability bounds (Theorem 4.1) of order β−p⋅exp⁡(−O(p⋅κ−1⋅n))\beta^{-p} \cdot\exp(-O(p \cdot\kappa^{-1} \cdot n)) for p∈(0,1]p \in(0,1], where κ\kappa denotes the condition number of the population objective. The choice p=1p = 1 recovers the canonical Markov-type bound, which matches the exponential in-expectation rate in nn at the price of a poor dependence on β\beta. Smaller values of pp improve the dependence on β\beta, at the cost of a slower, yet still exponential, rate in nn. We complement this result with a matching lower bound (Theorem 4.2), showing that the deterioration of the exponential rate is essentially tight. The lower-bound construction reveals that this phenomenon can be traced to a “lazy” event on which all sampled gradients vanish.

  • We extend our analysis in two directions: beyond interpolation and beyond convexity. In Theorem 5.1, we consider a low-noise regime in which the gradient noise at the minimizer is subGaussian with modulus σ⋆\sigma_\star. When σ⋆=0\sigma_\star= 0, the fast n−1n^{-1} rate is recovered, whereas for σ⋆>0\sigma_\star> 0 the rate degrades gracefully to order n−1/2n^{-1/2}. This result relies crucially on the error decomposition developed for the interpolation regime and requires a careful high-probability control of the location of the iterates, which may grow as n\sqrt{n} in the absence of Fejér monotonicity. Finally, we move beyond convexity by considering functions satisfying the Polyak–Łojasiewicz (PL) condition. In Theorem 5.2, we prove an exponential high-probability rate of order β−1/2⋅exp⁡(−O(κ−2⋅n))\beta^{-1/2} \cdot\exp(-O(\kappa^{-2} \cdot n)). In this setting, the lack of Fejér monotonicity is handled by exploiting the quadratic-growth property implied by the PL condition [KNS16].

Related Works

SGD under Interpolation. The study of stochastic gradient methods in the interpolation regime was initiated in [MBB18], where it was shown that SGD recovers, for strongly convex objectives, the same exponential rate as GD. Subsequent works established deterministic-like rates under interpolation for a variety of objectives and step-size rules. In particular, [39] considered the stronger Strong Growth Condition and proved deterministic rates for constant step-size SGD in the strongly convex, convex, nonconvex, and PL settings. Moving beyond fixed step-sizes, [41], [24], and [15] analyzed several line-search and Polyak-type rules, including adaptive procedures that do not require prior knowledge of problem-dependent constants and often perform better in practice. Although the term interpolation originates from [MBB18], the zero-noise-at-the-optimum specialization of the assumptions in [28] already encompasses this regime. Their rate, however, never matches O(n−1)O(n^{-1}), even in the noiseless case where their parameter σ\sigma is 0. More recently, last-iterate guarantees beyond exact interpolation have been investigated in [4, 13]; in particular, these works prove bounds of order n−1+σ⋆⋅n−1/2n^{-1}+\sigma_{\star}\cdot n^{-1/2}, up to logarithmic factors. All these results are stated in expectation. On a different front, [38] established almost sure convergence rates for SGD and related methods in several convex and nonconvex settings. These guarantees, however, are asymptotic in nature and do not provide finite-sample bounds.

High-Probability Bounds without Interpolation. Obtaining high-probability rates matching the corresponding in-expectation guarantees, while improving on the confidence dependence given by Markov’s inequality, is generally difficult and typically requires stronger noise assumptions than the finite-variance condition used in in-expectation analysis. For instance, [16, 18, 22, 25, 30] derive high-probability convergence guarantees for SGD and related methods under subGaussian noise assumptions, yielding subGaussian rates of order log⁡(β−1)⋅n−1\sqrt{\log(\beta^{-1})}\cdot n^{-1}, which are optimal in the absence of additional structure. To recover deterministic rates, [19] imposes even stronger noise assumptions, including boundedness; in the convex setting, for instance, this effectively requires a bounded domain. In [9], a high-probability fast rate is derived for the specific case of finite-dimensional least-squares regression under almost-sure boundedness of the covariates, higher-order moment control of the residual noise, and a uniform bound on the directional kurtosis of the covariates. A complementary line of work considers robust variants based on clipping or truncation, which can recover sharp rates under assumptions similar to those used for in-expectation guarantees; representative examples include [14, 31 PPS24]. Along a different direction, [11, 27] study more general noise models and prove a two-regime behavior for SMD, and therefore also for SGD, in which the contribution of the heavier-tailed component decays at rate n−1n^{-1}; as a consequence, the asymptotic behavior is eventually governed by the subGaussian term.

Problem Setting

We consider the following stochastic optimization problem

minimize⁡x∈XF(x)=EZ∼P[f(x,Z)]\begin{aligned} \underset{x\in\mathcal{X}}{\operatorname{minimize}}\quad F(x)&=\mathbb{E}_{Z\sim\mathcal{P}}[f(x,Z)] \end{aligned}

where ZZ is a Z\mathcal{Z}-valued random variable with distribution P\mathcal{P}. We make the following assumptions.

Assumption 1 (Feasibility Domain). X\mathcal{X} denotes a real separable Hilbert space, and X⋆:=arg⁡min⁡x∈XF(x)≠∅\mathcal{X}_{\star}:=\arg\min_{x\in\mathcal{X}}F(x)\ne\varnothing. We also define F⋆=min⁡x∈XF(x)∈RF_{\star}=\min_{x\in\mathcal{X}}F(x)\in\mathbb{R}.

Assumption 2 (Convexity and Smoothness). For P\mathcal{P}-almost every zz, f(⋅,z):X→Rf(\cdot,z):\mathcal{X}\to\mathbb{R} is convex and LL-smooth1 (this implies that FF is convex and LL-smooth).

Assumption 3 (Interpolation Regime). There exists x⋆∈X⋆x_\star\in\mathcal{X}_\star s.t. x⋆∈arg min⁡x∈Xf(x,z)x_\star\in\operatorname*{arg\,min}_{x \in\mathcal{X}} f(x,z) P\mathcal{P}-almost every zz.

Notation. Throughout kk and nn will always denote natural numbers. For m∈Nm \in\mathbb{N}, let us define [m]:={1,…,m}[m] := \{1,\ldots,m\}. As we consider iterative algorithms, we will denote by Zk∼PZ_k \sim\mathcal{P} the sample used by the algorithm at iteration kk. For each k∈Nk \in\mathbb{N}, we denote by Ek[⋅]:=E[⋅∣σ(Z1,…,Zk−1)]\mathbb{E}_k[\cdot] := \mathbb{E}[\cdot\mid\sigma(Z_1,\ldots,Z_{k-1})]. Note that

Ek[f(xk,Zk)]=F(xk)andEk[∇f(xk,Zk)]=∇F(xk).(1)\mathbb{E}_k[f(x_k,Z_k)] = F(x_k) \quad\text{and} \quad\mathbb{E}_k[\nabla f(x_k,Z_k)] = \nabla F(x_k). \tag*{(1)}

For x∈Xx \in\mathcal{X} and z∈Zz \in\mathcal{Z}, let us define Δ(x):=F(x)−F⋆\Delta(x) := F(x) - F_\star, and (with a slight abuse of notation) Δ(x,z):=f(x,z)−f(x⋆,z)\Delta(x,z) := f(x,z) - f(x_\star,z).

Stochastic Gradient Descent. Let x1∈Xx_1 \in\mathcal{X} and (ηk)k≥1(\eta_k)_{k \ge1} be a (possibly random) sequence of non-negative reals. SGD is defined by the following recurrence

∀k≥1,xk+1=xk−ηk⋅∇f(xk,Zk).(2)\forall k \ge1,\qquad x_{k+1} = x_k - \eta_k \cdot\nabla f(x_k,Z_k). \tag*{(2)}

For a given n≥1n \ge1, alongside xn+1x_{n+1} we will also be interested in the average iterate

xˉn=1n∑k=1nxk.\bar{x}_n = \frac{1}{n}\sum_{k=1}^{n} x_k.

We will assume that step size sequence ηk\eta_k satisfies the following assumption.

Assumption 4 (Step Size Condition). Let x⋆∈X⋆x_\star\in\mathcal{X}_\star. There exists a (possibly randomized) sequence (ϕk)k≥1(\phi_k)_{k \ge1} and a constant ϕˉ>0\bar{\phi} > 0 s.t., for every k≥1k \ge1, it holds that: ϕk≥ϕˉ\phi_k \ge\bar{\phi} and

∥xk+1−x⋆∥2≤∥xk−x⋆∥2−2⋅ϕk⋅Δ(xk,Zk)(almost surely).(3)\lVert x_{k+1} - x_\star\rVert^2 \le\lVert x_k - x_\star\rVert^2 - 2 \cdot\phi_k \cdot\Delta(x_k,Z_k) \quad\text{(almost surely)}. \tag*{(3)}

The next proposition shows that, under interpolation, Assumption 4 is satisfied by several step size policies of interest. The proof is in Appendix § 8.§ 2.

Proposition 2.1. Suppose Assumptions 1-3 hold. Then Assumption 4 is satisfied for the following methods:

(i) Constant Step Size. If ηk=η∈(0,2/L)\eta_k = \eta\in(0,2/L) for every k≥1k \ge1, then Assumption 4 holds with

ϕk=ϕˉ={η,if η∈(0,1/L],η⋅(2−L⋅η),if η∈(1/L,2/L).(4)\phi_k = \bar{\phi} = \begin{cases} \eta, & \text{if } \eta\in(0,1/L], \\ \eta\cdot(2 - L \cdot\eta), & \text{if } \eta\in(1/L,2/L). \end{cases} \tag*{(4)}

(ii) Stochastic Line Search (SLS). Suppose the step size ηk\eta_k is selected by the stochastic line-search rule in Algorithm 1 (in Appendix § 8), with parameters c∈(1/2,1)c \in(1/2,1), δ∈(0,1)\delta\in(0,1), and η>0\eta> 0. Then Assumption 4 holds with

ϕk=2⋅c−12⋅c⋅ηk,ϕˉ=2⋅c−12⋅c⋅min⁡{2⋅(1−c)⋅δL,η}.(5)\phi_k = \frac{2 \cdot c - 1}{2 \cdot c} \cdot\eta_k,\qquad \bar{\phi} = \frac{2 \cdot c - 1}{2 \cdot c} \cdot\min\left\{\frac{2 \cdot(1-c) \cdot\delta}{L},\eta\right\}. \tag*{(5)}

(iii) Stochastic Polyak Step size (SPS). Suppose

ηk={Δ(xk,Zk)∥∇f(xk,Zk)∥2,if ∥∇f(xk,Zk)∥≠0,0,otherwise.\eta_k = \begin{cases} \frac{\Delta(x_k,Z_k)}{\lVert\nabla f(x_k,Z_k)\rVert^2}, & \text{if } \lVert\nabla f(x_k,Z_k)\rVert\ne0,\\ 0, & \text{otherwise.} \end{cases}

Then Assumption 4 holds with

ϕk=ϕˉ=14⋅L.(6)\phi_k=\bar{\phi}=\frac{1}{4\cdot L}. \tag*{(6)}

References

  1. [1][ABRW12] Alekh Agarwal, Peter L. Bartlett, Pradeep Ravikumar, and Martin J. Wainwright. Information-theoretic lower bounds on the oracle complexity of stochastic convex optimization. IEEE Transactions on Information Theory, 58(5):3235–3249, 2012.
  2. [2][Agm54] Shmuel Agmon. The relaxation method for linear inequalities. Canadian Journal of Mathematics, 6:382–392, 1954.DOI
  3. [3][AGV22] Vassilis Apidopoulos, Nicolo Ginatta, and Silvia Villa. Convergence rates for the heavy-ball continuous dynamics for non-convex optimization, under polyak–loj asiewicz condition. Journal of Global Optimization, 84(3):563–589, 2022.DOI
  4. [4][ASSK25] Amit Attia, Matan Schlिसerman, Uri Sherman, and Tomer Koren. Fast last-iterate convergence of SGD in the smooth interpolation regime. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.arxiv.org/abs/2507.11274
  5. [5]Heinz H Bauschke and Patrick L Combettes. Convex Analysis and Monotone Operator Theory in Hilbert Spaces. Springer, 2011.
  6. [6]Léon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. SIAM review, 60(2):223–311, 2018.arxiv.org/abs/1606.04838
  7. [7]Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K Warmuth. Learnability and the vapnik-chervonenkis dimension. Journal of the ACM (JACM), 36(4):929–965, 1989.DOI
  8. [8]S. N. Bernstein. On a modification of chebyshev’s inequality and of the error formula of laplace (in russian). Uch. zap. n.-i., kafedr Ukraini, Otd. matem, pages 38–49, 1924.
  9. [9]Francis Bach and Eric Moulines. Non-strongly-convex smooth stochastic approximation with convergence rate o (1/n). Advances in neural information processing systems, 26, 2013.
  10. [10]Joseph L Doob. Regularity properties of certain families of chance variables. Transactions of the American Mathematical Society, 47(3):455–486, 1940.
  11. [11]Khaled Eldowa and Andrea Paudice. General tail bounds for non-smooth stochastic mirror descent. In International Conference on Artificial Intelligence and Statistics, pages 3205–3213. PMLR, 2024.arxiv.org/abs/2312.07142
  12. [12]Leopold Fejér. Über die lage der nullstellen von polynomen, die aus minimumforderungen gewisser art entspringen. In Mathematische Annalen, volume 85, pages 41–48. Springer, 1922.
  13. [13]Guillaume Garrigos, Daniel Cortild, Lucas Ketels, and Juan Peypouquet. Last-iterate complexity of SGD for convex and smooth stochastic problems. arXiv preprint arXiv:2507.14122, 2025.arxiv.org/abs/2507.14122
  14. [14]Eduard Gorbunov, Marina Danilova, and Alexander Gasnikov. Stochastic optimization with heavy-tailed noise via accelerated gradient clipping. In Proceedings of the 34th Annual Conference on Neural Information Processing Systems, pages 15042–15053, 2020.arxiv.org/abs/2005.10785
  15. [15]Leonardo Galli, Holger Rauhut, and Mark Schmidt. Don’t be so monotone: Relaxing stochastic line search in over-parameterized models. Advances in Neural Information Processing Systems, 36:34752–34764, 2023.arxiv.org/abs/2306.12747
  16. [16]Nicholas JA Harvey, Christopher Liaw, Yaniv Plan, and Sikander Randhawa. Tight analyses for non-smooth stochastic gradient descent. In Conference on Learning Theory, pages 1579–1613. PMLR, 2019.arxiv.org/abs/1812.05217
  17. [17]Chi Jin, Praneeth Netrapalli, Rong Ge, Sham M Kakade, and Michael I Jordan. A short note on concentration inequalities for random vectors with subgaussian norm. arXiv preprint arXiv:1902.03736, 2019.arxiv.org/abs/1902.03736
  18. [18]Prateek Jain, Dheeraj M. Nagaraj, and Praneeth Netrapalli. Making the last iterate of SGD information theoretically optimal. SIAM Journal on Optimization, 31(2):1108–1130, 2021.arxiv.org/abs/1904.12443
  19. [19]Billy Jin, Katya Scheinberg, and Miao­lan Xie. High probability complexity bounds for adaptive step search based on stochastic oracles. SIAM Journal on Optimization, 34(3):2411–2439, 2024.arxiv.org/abs/2106.06454
  20. [21]Yegor Klochkov and Nikita Zhivotovskiy. Stability and deviation optimal risk bounds with convergence rate o(1/n). Advances in Neural Information Processing Systems, 34:5065–5076, 2021.arxiv.org/abs/2103.12024
  21. [22]Zijian Liu, Ta Duy Nguyen, Thien Hang Nguyen, Alina Ene, and Huy Nguyen. High probability convergence of stochastic gradient methods. In International conference on machine learning, pages 21884–21914. PMLR, 2023.arxiv.org/abs/2302.14843
  22. [23]Łojasiewicz, S. A topological property of real analytic subsets (in french). Coll. du CNRS, Les équations, pages 87–89, 1963.
  23. [24]Nicolas Loizou, Sharan Vaswani, Issam Hadj Laradji, and Simon Lacoste-Julien. Stochastic polyak step-size for SGD: An adaptive learning rate for fast convergence. In International conference on artificial intelligence and statistics, pages 1306–1314. PMLR, 2021.arxiv.org/abs/2002.10542
  24. [25]Zijian Liu and Zhengyuan Zhou. Revisiting the last-iterate convergence of stochastic gradient methods. In Proceedings of the 12-th International Conference on Learning Representations (to appear), 2024.arxiv.org/abs/2312.08531
  25. [26]Chaoyue Liu, Libin Zhu, and Mikhail Belkin. Loss landscapes and optimization in over-parameterized non-linear systems and neural networks. Applied and Computational Harmonic Analysis, 59:85–116, 2022.arxiv.org/abs/2003.00307
  26. [27]Zhipeng Lou, Wanrong Zhu, and Wei Biao Wu. Beyond sub-gaussian noises: Sharp concentration analysis for stochastic gradient descent. The Journal of Machine Learning Research, 23(1):2227–2248, 2022.
  27. [28]Eric Moulines and Francis Bach. Non-asymptotic analysis of stochastic approximation algorithms for machine learning. Advances in neural information processing systems, 24, 2011.
  28. [30]Liam Madden, Emiliano Dall’Anese, and Stephen Becker. High probability convergence bounds for non-convex stochastic gradient descent with sub-weibull noise. Journal of Machine Learning Research, 25(241):1–36, 2024.
  29. [31]Ta Duy Nguyen, Alina Ene, and Huy L. Nguyen. Improved convergence in high probability of clipped gradient methods with heavy tails. In Proceedings of the 37th Annual Conference on Neural Information Processing Systems (to appear), 2023.arxiv.org/abs/2304.01119
  30. [32]Yurii Nesterov. Introductory lectures on convex optimization: A basic course. Appl. Optim. 87, Kluwer Academic Publishers, Dordrecht, The Netherlands, 2004.
  31. [33]A. Nemirovski, A. Juditsky, G. Lan, and A. Shapiro. Robust stochastic approximation approach to stochastic programming. SIAM Journal on Optimization, 19(4):1574–1609, 2009.DOI
  32. [34][NY83] Arkadij Semenovič Nemirovskij and David Borisovich Yudin. Problem complexity and method efficiency in optimization. Wiley-Interscience, 1983.
  33. [35][Pol63] Boris Teodorovich Polyak. Gradient methods for minimizing functionals (in russian). Zhurnal vychislitel'noi matematiki i matematicheskoi fiziki, 3(4):643–653, 1963.
  34. [37][RM51] Herbert Robbins and Sutton Monro. A stochastic approximation method. The annals of mathematical statistics, pages 400–407, 1951.
  35. [38][SGD21] Othmane Sebbouh, Robert M Gower, and Aaron Defazio. Almost sure convergence rates for stochastic gradient descent and stochastic heavy ball. In Conference on Learning Theory, pages 3935–3971. PMLR, 2021.
  36. [39][VBS19] Sharan Vaswani, Francis Bach, and Mark Schmidt. Fast and faster convergence of SGD for over-parameterized models and an accelerated perceptron. In The 22nd international conference on artificial intelligence and statistics, pages 1195–1204. PMLR, 2019.arxiv.org/abs/1810.07288
  37. [40][Ver18] Roman Vershynin. High-dimensional probability: An introduction with applications in data science, volume 47. Cambridge university press, 2018.
  38. [41][VML+19] Sharan Vaswani, Aaron Mishkin, Issam Laradji, Mark Schmidt, Gauthier Gidel, and Simon Lacoste-Julien. Painless stochastic gradient: Interpolation, line-search, and convergence rates. Advances in neural information processing systems, 32, 2019.arxiv.org/abs/1905.09997
  39. [42][You12] William Henry Young. On classes of summable functions and their fourier series. Proceedings of the Royal Society of London A, 87(594):225–229, 1912.DOI

Paper details

vlnc:W_f73mdyb7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

generative AI tools

View statement
Looking for related papers…
Contents