arXiv:2610.25469cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25469

Near-Optimal Last-Iterate Convergence of SGD in the Smooth Interpolation Regime

Matan Schliserman, Tomer Koren

Abstract

We study the last iterate of stochastic gradient descent (SGD) with a constant stepsize on smooth convex objectives in the low-noise and interpolation regimes, where the variance σ⋆2\sigma_{\star}^2 of the stochastic gradients at the optimum is small or zero. We establish that after TT steps of SGD on β\beta-smooth convex losses with any constant stepsize 0<η<2/β0 < \eta < 2/\beta, the last iterate attains expected excess risk O~(1η(2−βη)3T+η(2−βη)4σ⋆2)\widetilde{O}\big(\frac{1}{\eta(2-\beta\eta)^3T} + \frac{\eta}{(2-\beta\eta)^4}\sigma_{\star}^2\big), which gives the rate O~(1/T)\widetilde{O}(1/T) for every constant stepsize in the interpolation regime (σ⋆=0)(\sigma_{\star} = 0), matching the Ω(1/T)\Omega(1/T) lower bound up to logarithmic factors and improving upon the O(1/T)O(1/\sqrt{T}) rate of Attia et al. [2026] for η=1/β\eta = 1/\beta. Our analysis is based on a new technique, which compares the second moments of the stochastic gradients along the SGD trajectory across only logarithmically many time scales. For quadratic losses in the interpolation regime, an adaptation of this technique gives an O(1/T)O(1/T) rate for every constant stepsize, extending the recent optimal rate for the randomized Kaczmarz method of Derezinski and Dong (2026) to stepsizes above the greedy stepsize with an arguably simpler proof.

1 Introduction

We study the convergence of stochastic gradient descent (SGD) for smooth convex objectives in the low-noise and interpolation regimes. Concretely, we consider optimization problems of the form

min⁡x∈RdF(x):=Ez∼Z[f(x;z)],\min_{x\in\mathbb{R}^{d}}F(x):=\mathbb{E}_{z\sim\mathcal{Z}}[f(x;z)],

where Z\mathcal{Z} is a distribution over a sample space ZZ, and f(⋅;z):Rd→Rf(\cdot; z): \mathbb{R}^d \to \mathbb{R} is convex and β\beta-smooth for all z∈Zz \in Z. In the low-noise regime, the gradient noise at the optimum, defined as σ⋆2:=Ez∥∇f(x⋆;z)∥2\sigma_\star^2 := \mathbb{E}_z \|\nabla f(x^\star; z)\|^2 for x⋆∈arg⁡min⁡x∈RdF(x)x^\star \in \arg\min_{x \in \mathbb{R}^d} F(x), is assumed to be small or even zero. The special case where σ⋆2=0\sigma_\star^2 = 0 is known as the interpolation regime, in which x⋆x^\star minimizes f(⋅;z)f(\cdot; z) for almost all z∈Zz \in Z. We analyze the expected excess risk of SGD, which, given a stepsize η>0\eta > 0 and an i.i.d. sample z1,…,zT∼Zz_1, \ldots, z_T \sim \mathcal{Z}, performs the following updates, starting from an initialization x1∈Rdx_1 \in \mathbb{R}^d:

xt+1=xt−η∇f(xt;zt).(t=1,…,T)x_{t+1}=x_{t}-\eta\nabla f(x_{t};z_{t}).\qquad(t=1,\ldots,T)

Standard convergence bounds of SGD apply to an average (possibly weighted) of the iterates. It is by now a classical result that the average iterate of SGD with a constant stepsize converges at the

∗^{*}Blavatnik School of Computer Science and AI, Tel Aviv University; schliserman@mail.tau.ac.il.

†^{\dagger}Blavatnik School of Computer Science and AI, Tel Aviv University, and Google Research Tel Aviv; tkoren@tauex.tau.ac.il.

fast rate O(1/T)O(1/T) in the interpolation regime with η=Θ(1/β)\eta = \Theta(1/\beta), and at the rate O(1/T+σ⋆/T)O(1/T + \sigma_{\star}/\sqrt{T}) in the low-noise regime with a suitably tuned stepsize [Srebro et al., 2010, Ma et al., 2018], as compared to the slower O(1/T)O(1/\sqrt{T}) rate that holds more generally.

In practice, however, SGD is commonly run with a constant stepsize, independent of T and of order Θ(1)\Theta(1), and returns its last iterate. This has motivated a long line of work on last-iterate bounds, namely, bounds that apply to the expected excess risk E[F(xT)−F(x⋆)]\mathbb{E}[F(x_T) - F(x^\star)] of the last SGD iterate rather than to an average of the iterates [Rakhlin et al., 2012, Shamir and Zhang, 2013, Jain et al., 2019, Harvey et al., 2019, Orabona, 2020, Zamani and Glineur, 2025, Liu and Zhou, 2024]. For convex Lipschitz losses, the last iterate can be worse than the average by a logarithmic factor [Shamir and Zhang, 2013, Harvey et al., 2019], and stepsize schedules that depend on the horizon can close this gap [Jain et al., 2019]. These results, however, require stepsizes of O(1/T)O(1/\sqrt{T}), and thus do not capture the fast rates attained by the average iterate in the smooth low-noise regime.

A recent line of work has focused on the last iterate of SGD with a constant stepsize in the smooth low-noise regime. This regime is natural for modern overparameterized models, which often interpolate their training data [Ma et al., 2018]. It also captures classical procedures that output their last iterate, such as the randomized Kaczmarz method [Needell et al., 2014] and continual learning of realizable tasks [Evron et al., 2022, 2026, Dereziński and Dong, 2026b,a], which can be presented as instances of SGD in the interpolation regime with the “greedy” stepsize η=1/β\eta = 1/\beta (e.g. Evron et al. [2026]). For quadratic losses, Varre et al. [2021] proved an O(log⁡T/T)O(\log T/T) rate with a stepsize of order 1/(βlog⁡T)1/(\beta \log T), and at the greedy stepsize, the known rates improved from O(T−1/4)O(T^{-1/4}) [Evron et al., 2026] to O(T−3/4)O(T^{-3/4}) [Dereziński and Dong, 2026b] and, very recently, to the optimal O(1/T)O(1/T) [Dereziński and Dong, 2026a]; the latter two results rely on the linear structure of the updates. For general smooth convex losses, Attia et al. [2026] and Garrigos et al. [2025] obtained fast last-iterate rates with stepsizes of order 1/(βlog⁡T)1/(\beta \log T), which depend on the horizon. For larger constant stepsizes, these guarantees deteriorate polynomially in T, and at the greedy stepsize, the best known rate is O(1/T)O(1/\sqrt{T}) [Attia et al., 2026] (see Table 1). Thus, for general smooth convex losses with a constant stepsize, there is a gap between the best known last-iterate bounds and the fast O(1/T)O(1/T) rate of the average iterate.

In this work, we establish that the last iterate of SGD on convex and β\beta-smooth losses with any constant stepsize 0<η<2/β0 < \eta < 2/\beta attains an expected excess risk of O~(1ηT+ησ⋆2)\widetilde{O}\left(\frac{1}{\eta T} + \eta \sigma_{\star}^2\right). To achieve this bound, we introduce a new multiscale technique for last-iterate analysis, which tracks the sequence of second moments of the stochastic gradients along the SGD trajectory. Then, for quadratic losses in the interpolation regime, we show that an adaptation of our technique removes the logarithmic factors and achieves an O(1/T)O(1/T) rate for every constant stepsize η<2/β\eta < 2/\beta, extending the recent optimal rate of Dereziński and Dong [2026a], proved for η≤1/β\eta \leq 1/\beta, with an arguably simpler proof. Finally, for completeness, we apply our bounds to the randomized Kaczmarz method and related applications.

References (67)