Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Nearly Tight Almost Sure Convergence Rates for the Last iterate of SGD

  • Problem Last-iterate SGD is what practitioners monitor and stop on, but almost-sure rates for it were scarce, and the optimal exponent under second-moment noise was unknown.
  • Method Lower-bound constructions with rare, increasingly separated noise shocks, combined with deterministic anytime step-size schedules and a Moreau-envelope supermartingale argument for the upper bounds.
  • Results Lower bound exponent −1/3 for smooth objectives with a stationary minimizer, up to logarithmic factors (Theorem 3.1 (ii)); upper bound exponent −1/4 for nonsmooth objectives under Assumption 6, with logarithmic correction [log(k+t0)]^{1/2+η}.

Why almost-sure rates for the last iterate are hard

An almost-sure rate describes how the optimization error decays along almost every realization of a single run, and it holds from a path-dependent starting time onward without giving an explicit finite-time confidence bound. High-probability bounds for one horizon-free run can produce almost-sure rates through the Borel–Cantelli lemma, provided their dependence on 1/δ is polylogarithmic.

Under second-moment assumptions alone, polynomial dependence on 1/δ can arise, and the direct conversion then may worsen the exponent or yield no decaying bound.

Liu and Yuan obtained last-iterate rates O(k−1/3+β) for smooth convex objectives, for any β in (0,1/3), under a standard variance assumption on the gradient noise. Whether the exponent −1/3 is intrinsic for smooth objectives, and how constraints change it, were therefore open questions.

Setting and admissible step-sizes

The iterates follow a projected stochastic recurrence started from a fixed point x1 in X, where each step moves against the oracle response scaled by Γk and projects back onto X. The class Sα consists of predictable step-sizes that are Fk-measurable and lie in (0, α] almost surely, and it contains every deterministic schedule bounded by α.

The larger class Sfin only requires each Γk to be finite and Fk-measurable, and Sα is contained in Sfin.

Bounded adaptive rules that depend on past oracle responses, and randomized policies whose randomness is drawn before the current oracle call, both belong to Sα. Gradient clipping and the usual AdaGrad-Norm update are generally outside the class, because their effective scalar step-size depends on the current response when written in the form of the recurrence.

A sequence has almost-sure rate ρk when the ratio of Yk to ρk tends to zero with probability one. The lower bounds are proved in a stronger form, in which the limit superior of the rescaled optimization error is infinite with probability one, and the analysis works with rk equal to the reciprocal of the rate.

Smooth objectives: exponents −1/3 and −1/4

The smooth analysis assumes a Lipschitz gradient with constant L, and a conditional abc oracle model in which the expected oracle response equals the gradient and the conditional second moment is bounded by a times the optimization error plus b times the squared gradient norm plus c. A stationary minimizer is a constrained minimizer x⋆ with a vanishing gradient, which always exists in the unconstrained case or when a minimizer lies in the interior of the feasible set.

The lower bound for smooth objectives without a stationary minimizer, over X = [0,1] × [−2,2], shows that for every Sfin schedule and every p > 0 the optimization error is not almost-surely of order (log(e+k))^{−p} · k^{−1/4}. For smooth objectives with a stationary minimizer, the corresponding lower bound uses the same almost-sure formulation with exponent −1/3, for every Sα schedule and every p > 0.

Together with the deterministic upper bounds, this identifies −1/3 for the stationary-minimizer case and −1/4 without it, up to logarithmic factors.

The authors compare this with averaging: for the averaged iterate, a rate of k−1/2+β for β in (0,1/2) holds under standard second-moment assumptions, so averaging improves the polynomial exponent rather than only the logarithm.

The upper bound without a stationary minimizer holds under Assumption 4 with exponent −1/4 and logarithmic correction [log(k+t0)]^{1/2+η}, for an α-bounded predictable step-size sequence. When a stationary minimizer exists, the upper bound has exponent −1/3 with correction [log(k+t0)]^{1/3+η}, and it sharpens the polynomial slack of Liu and Yuan into a logarithmic factor.

The −1/3 bound extends to projected SGD only when the feasible set contains a stationary minimizer.

The lower-bound instance couples a flat coordinate, whose objective value is reduced only by enough cumulative movement, with a noisy coordinate perturbed by rare shocks; the step-size controls both updates. At a nonstationary boundary minimizer an inward displacement h gives a linear objective gap, whereas at a stationary minimizer a quadratic coordinate turns the same displacement into an error of order h².

Shock scales are separated so that the variance budget in Assumption 4 is spread across rare events, and each policy either makes too little progress or meets shocks whose conditional probabilities sum to infinity, which the Borel–Cantelli lemma turns into almost-sure failure.

The construction sets ϱj = 2−3j, Rj = 4 exp(2j²) and Tj = ⌈R_j^4⌉, and the flat profile ψ takes the value βj on [ϱj/2, 2ϱj], where βj = ϱj/4 · exp(−2j²). The resulting oracle satisfies Assumption 4 with a = b = 0 and c = 2.

Because the objective on the feasible set has the form γb·(u + φ(v)) with both terms nonnegative, the optimization error splits into the two coordinate contributions. If the summed probabilities of large negative shocks are finite for some M, the cumulative step-size up to Tj is o(Rj), and the flat coordinate stays above ϱj eventually, which forces a large error at times Tj.

If these probabilities sum to infinity for every M, the noisy coordinate is pushed inward at infinitely many times, and the conditional Borel–Cantelli lemma gives lim sup of rk·Δ(Xk) equal to infinity on that event.

Nonsmooth objectives and the Moreau envelope

Assumption 6 requires that the conditional expectation of the oracle lies in the subdifferential and that the conditional second moment is bounded by σ². Under this model, the lower bound for the set X = [−1,1] × [−2,2] shows that every Sfin schedule and every p > 0 fail to achieve the almost-sure rate (log(e+k))^{−p} · k^{−1/4}. Shamir and Zhang obtained an expected rate of (log k)·k^{−1/2} for nonsmooth objectives on bounded domains with horizon-independent stepsizes, so the almost-sure guarantee must allow for a polynomial loss.

The upper bound for nonsmooth objectives holds for anytime k ≥ 1 with exponent −1/4 and correction [log(k+t0)]^{1/2+η}, using deterministic step-sizes that do not depend on the horizon.

A one-step supermartingale does not work here, since without smoothness or unconstrained structure a single step can raise the objective by an amount of order Γk. The approach instead tracks a Moreau envelope of the constrained objective, whose smoothing deviates from the objective when strong and amplifies per-step noise when weak, and it balances these by letting the smoothing shrink over time.

The proof takes p = 1/2 + η and step-size Γk = γ0·(k+t0)^{−3/4}·[log(k+t0)]^{−p}, together with a smoothing parameter λk = λ0·(k+t0)^{−1/4}·[log(k+t0)]^{−p} and rk = (k+t0)^{1/4}·[log(k+t0)]^p. The Moreau envelope Φλ is defined as an infimum over y of Φ(y) plus the squared distance divided by 2λ, and its minimizer pλ(x) is the proximal point of x.

Projection onto X keeps every iterate in X, and the subgradient inequality bounds the optimization error by σ times the distance of the iterate to x⋆.

Summing the squared-distance recursion gives a finite weighted sum of expected errors, which shows that Δ(Xk) is integrable. The surrogate error Yk = Φλk(Xk) − F⋆ satisfies 0 ≤ Yk ≤ Δ(Xk) and obeys an approximate supermartingale recursion, and the normalized supermartingale lemma gives rk·Yk → 0 almost surely. The gap between rk·Δ(Xk) and rk·Yk is bounded by a term that vanishes, so rk·Δ(Xk) → 0 almost surely.

Limits of the current results

The optimality of the logarithmic corrections in the upper bounds is not settled by these results. The interpolation regime, where stochastic gradients vanish at the minimizer, is left as a direction where faster rates may be possible. Whether gradient clipping and AdaGrad-Norm can improve the rates is also left open, since their step-sizes depend on the current oracle response.

Paper info

Authors
Ou, Weiming, Paudice, Andrea, Wang, Xiao
Venue
arXiv · Preprint
First published
2026-11-18
Added
2026-11-20
Updated
2026-11-18
Version
v1
arXiv
2611.24151
Category
math.OC · cs.LG
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

We study the almost sure convergence of the last-iterate optimization error of Stochastic (sub)Gradient Descent (SGD) for convex objectives. For smooth objectives, we establish convergence rates of order $k^{-1/3}$ when a stationary minimizer exists, and $k^{-1/4}$ otherwise, up to polylogarithmic factors, where $k$ denotes the iteration counter. We further show that the latter rate extends to nonsmooth convex objectives. All these rates are achieved by deterministic, anytime stepsize policies. Finally, we establish matching lower bounds showing that the exponents $-1/3$ and $-1/4$ are optimal, up to polylogarithmic factors, for the corresponding problem classes.

Quote from the paper

Ou, Weiming, Paudice, Andrea, Wang, Xiao (2026). Nearly Tight Almost Sure Convergence Rates for the Last iterate of SGD. arXiv:2611.24151v1. https://arxiv.org/abs/2611.24151v1

BibTeX
@misc{weiming2026nearly,
  title = {{Nearly Tight Almost Sure Convergence Rates for the Last iterate of SGD}},
  author = {Ou, Weiming and Paudice, Andrea and Wang, Xiao},
  year = {2026},
  eprint = {2611.24151},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24151v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up