Skip to content

Exact Last-Iterate Bounds and Optimal Stepsizes for Proximal Stochastic Gradient Descent

Laurent Condat, Peter Richtárik

math.OC

Abstract

Proximal Stochastic Gradient Descent minimizes the sum of an LL-smooth convex function ff, known through unbiased stochastic gradients of bounded variance, and a nonsmooth convex function RR, known through its proximity operator. We derive the exact worst-case value of the expected objective gap of its last iterate, for every predetermined stepsize schedule in a broad class, which contains all the schedules with stepsizes at most 3/(2L)3/(2L). This extends to the composite setting a recent result of Grimmer and Shen for the smooth case R=0R=0. The value is the sum of an initial-error term and of one term per iteration, which is the price of the noise injected at this iteration, damped by the stepsizes that remain after it. The upper bound is proved with a simple potential, the Moreau envelope of the objective with a smoothing parameter proportional to the remaining stepsize sum, and it is attained by an explicit instance. The formula shows that a logarithmic factor is unavoidable with a constant stepsize, and it gives the exact price of the proximity operator, relative to the smooth case. It also makes the choice of the stepsizes a tractable optimization problem: for a uniform variance bound σ2σ^2, the best schedule is unique, decreasing, and computed by a scalar search, and it is minimax optimal among all predetermined schedules, unless the noise level is low. Asymptotically, the minimax value MTM_T after TT iterations satisfies (Dσ/MT)2=T+log⁡T+C⋆+o(1)(Dσ/M_T)^2=T+\log T+C_\star+o(1), where DD is a bound on the initial distance to a solution and C⋆≈1.768C_\star\approx1.768 is a universal constant; unlike in the smooth case, LL plays no role at this order. This law is achieved by an explicit schedule, which is the optimal one when f=0f=0.

Create a lesson