arXiv:2609.04578math.OCSep 2026

Manuscript Offprint

arXiv:2609.04578

Centered Permutation Prefixes for SGD with Random Reshuffling: Sharp Rates, Hölder Geometry, and Composite Proximal Extensions

Jiaxiang Li

Abstract

We study stochastic gradient descent with random reshuffling for finite sums

F(x)=1n∑i=1nfi(x).F(x)=\frac{1}{n}\sum_{i=1}^{n}f_i(x).

For fresh reshuffling with a constant component stepsize, if each fif_i has an LL-Lipschitz gradient and the average FF is μ\mu-strongly convex with a Lipschitz-continuous Hessian, we prove the last-epoch rate

E[F(yK)−F(x⋆)]=O~(T−2+n2T−3),T=nK,\mathbb{E}[F(y_K)-F(x_\star)]=\widetilde{O}\big(T^{-2}+n^2T^{-3}\big),\qquad T=nK,

matching the known quadratic lower bound in its (n,K)(n,K)-dependence. The components may be nonconvex, and no componentwise Hessian continuity or separate bounded-iterate assumption is required. More generally, a ν\nu-Hölder-continuous average Hessian adds only O~(n1+νT−2−2ν)\widetilde{O}(n^{1+\nu}T^{-2-2\nu}), so every ν≥1/2\nu\geq 1/2 preserves the quadratic rate. Under convex components, a decreasing-stepsize result removes the large-epoch requirement and recovers the same two-term scale once nKnK exceeds the condition-number scale.

We also analyze epoch-wise ProxRR for P=F+ψ\mathcal{P}=F+\psi. Writing x†x^\dagger for the composite minimizer and β⋆=∥∇F(x†)∥\beta_\star=\|\nabla F(x^\dagger)\|, we prove

E∥yK−x†∥2=O~(β⋆2K2+T−2+n2T−3+n1+νT−2−2ν).\mathbb{E}\|y_K-x^\dagger\|^2=\widetilde{O}\bigg(\frac{\beta_\star^2}{K^2}+T^{-2}+n^2T^{-3}+n^{1+\nu}T^{-2-2\nu}\bigg).

For ν≥1/2\nu\geq 1/2, we show that the β⋆2/K2\beta_\star^2/K^2 splitting term is unavoidable and obtain a matching lower bound up to logarithms in the stated constant-stepsize regime.

1 Introduction

SGD with random reshuffling (RR) processes every component of a finite sum once per epoch in a uniformly random order and is a common implementation in modern machine-learning training. It is often faster in practice than with-replacement SGD, but its analysis is more delicate because the label used at an inner iteration is statistically dependent on the iterates generated by the preceding labels in the same epoch.

For smooth strongly convex finite sums, earlier work established 1/K21/K^2-type convergence; see [5, 6, 15, 13, 1, 17]. The sharp dependence on the number nn of components depends on second-order

*Grado Department of Industrial and Systems Engineering, Virginia Tech. jason1jx@vt.edu regularity. Safran and Shamir [21] proved that constant-stepsize RR, evaluated at the last epoch iterate, can incur

Ω ⁣(1(nK)2+1nK3)(1)\Omega\!\left(\frac{1}{(nK)^2}+\frac{1}{nK^3}\right) \tag{1}

even on one-dimensional quadratic finite sums. Rajput, Gupta, and Papailiopoulos [19] obtained a matching upper bound when the average objective is quadratic. For non-quadratic objectives under componentwise Lipschitz-Hessian assumptions, the previously available second-order upper bound was O~(T−2+n3T−3)=O~((nK)−2+K−3)\widetilde{\mathcal{O}}(T^{-2}+n^{3}T^{-3})=\widetilde{\mathcal{O}}((nK)^{-2}+K^{-3}) [6]; Ahn, Yun, and Sra [1] explicitly recorded the remaining factor-nn gap. In this work, we close this gap by centering the partial sums associated with the first labels of the sampled permutation before applying a Taylor expansion.

Contributions. Our main contributions are as follows.

(i) Sharp strongly convex rate under an average Lipschitz Hessian. Under component smoothness, strong convexity of the average, and Lipschitz continuity of the average Hessian, we prove

E∥yK−x⋆∥2=O~(T−2+n2T−3).\mathbb{E}\|y_{K}-x_{\star}\|^{2}=\widetilde{\mathcal{O}}(T^{-2}+n^{2}T^{-3}).

The components may be nonconvex, their Hessians need not be Lipschitz, and bounded iterates or gradients are not assumed separately. To the best of our knowledge, this is the first upper bound under these assumptions that matches the quadratic lower bound in (n,K)(n,K).

(ii) A Hölder-Hessian threshold at ν=12\nu=\frac{1}{2}. Under ∥∇2F(x)−∇2F(y)∥op≤ρν∥x−y∥ν\|\nabla^2 F(x)-\nabla^2 F(y)\|_{\mathrm{op}}\leq \rho_\nu\|x-y\|^\nu, the additional global term is O~(n1+νT−2−2ν)\widetilde{\mathcal{O}}(n^{1+\nu}T^{-2-2\nu}). For every ν≥12\nu\geq \frac{1}{2}, this term is dominated by n2T−3n^2T^{-3}. Figure 1 visualizes the resulting upper-bound threshold in the KK-decay exponent.

(iii) No large-epoch requirement under convex components. Under component convexity and the standard bounded-iterates condition, we combine a per-update estimate of Ahn, Yun, and Sra [1] with our centered-prefix one-epoch bound. For any fixed ζ>4\zeta>4, a decreasing stepsize gives, for every K≥1K\geq 1,

E∥yK−x⋆∥2=O((κκ+nK)ζ+(κ+nK)−2+n2(κ+nK)−3+n1+ν(κ+nK)−2−2ν),\mathbb{E}\|y_{K}-x_{\star}\|^{2}=O\left(\left(\frac{\kappa}{\kappa+nK}\right)^{\zeta}+(\kappa+nK)^{-2}+n^{2}(\kappa+nK)^{-3}+n^{1+\nu}(\kappa+nK)^{-2-2\nu}\right),

with fixed problem parameters and the initial distance suppressed. For ν≥12\nu\geq \frac{1}{2} and nK≳κnK\gtrsim \kappa, this becomes O(T−2+n2T−3)O(T^{-2}+n^{2}T^{-3}), even when only a few epochs are run.

(iv) A sharp composite ProxRR theorem. For P=F+ψ\mathcal{P}=F+\psi, where ψ\psi is proper, closed, and convex, and one proximal map is evaluated after each reshuffled pass, we prove

E∥yK−x†∥2=O~ ⁣(β⋆2K2+T−2+n2T−3+n1+νT−2−2ν).\mathbb{E}\|y_{K}-x^{\dagger}\|^{2}=\widetilde{\mathcal{O}}\!\left(\frac{\beta_{\star}^{2}}{K^{2}}+T^{-2}+n^{2}T^{-3}+n^{1+\nu}T^{-2-2\nu}\right).

A zero-variance construction proves that the β⋆2/K2\beta_{\star}^{2}/K^{2} splitting term is unavoidable. For ν≥12\nu\geq \frac{1}{2}, a direct-sum lower bound matches all three leading terms up to logarithms once the Safran-Shamir lower-bound truncation is inactive.

Comparison at a glance. Table 1 compares the standard with-replacement SGD benchmark with the random-reshuffling upper and lower bounds most directly related to our main theorem. As in Ahn, Yun, and Sra [1], the objective classes are ordered from more general to more restrictive. The composite results use a different error measure and are summarized separately in Table 2.

Table 1: Comparison of with-replacement SGD and random reshuffling for smooth strongly convex finite sums. All rates are for expected objective suboptimality. The with-replacement SGD row applies to all three nested objective classes. We set T=nKT = nK, κ=L/μ\kappa = L/\mu, and suppress logarithms, fixed problem parameters, and initial-distance factors. Here RR, (BI), (B2), and (LB) denote random reshuffling, bounded iterates, a bounded stochastic-gradient second moment, and a lower bound, respectively.

Objective classComponentsSampling and referenceConvergence rateScope / assumptions
FF strongly convexfif_i smoothWith-replacement SGD: Rakhlin et al. [20]♣O(T−1)O(T^{-1})last iterate; ηt≍t−1\eta_t \asymp t^{-1}; (B2)
fif_i smoothRR: Ahn et al. [1]†O~(nT−2)\tilde{O}(nT^{-2})K≳κK \gtrsim \kappa
fif_i smooth convexRR: Rajput et al. [19]Ω(nT−2)\Omega(nT^{-2}) (LB)constant stepsize
FF strongly convex; average ν\nu-Hölder Hessianfif_i smooth convexRR: HaoChen and Sra [6]‡O~(T−2+n3T−3)\tilde{O}(T^{-2} + n^3T^{-3})ν=1,K≳κ2\nu = 1, K \gtrsim \kappa^2, (BI)
fif_i smoothRR: ours (Cor. 5.5)O~(T−2+n2T−3)\tilde{O}(T^{-2} + n^2T^{-3})ν≥12,K≳κ2\nu \geq \frac{1}{2}, K \gtrsim \kappa^2
fif_i smooth convexRR: ours (Cor. 5.9)O((κ/(κ+nK))ζO((\kappa/(\kappa+nK))^\zetaν≥12,K≥1\nu \geq \frac{1}{2}, K \geq 1, (BI), varying steps
+(κ+nK)−2+n2(κ+nK)−3)+(\kappa+nK)^{-2} + n^2(\kappa+nK)^{-3})
FF strongly convex quadraticfif_i smooth convexRR: Rajput et al. [19]*O~(T−2+n2T−3)\tilde{O}(T^{-2} + n^2T^{-3})K≳κ2K \gtrsim \kappa^2, (BI)
fif_i smooth convexRR: Ahn et al. [1]*O(T−2+n2T−3)O(T^{-2} + n^2T^{-3})K≥1K \geq 1, (BI), varying steps
fif_i smooth quadratic convexRR: Safran and Shamir [21]Ω(T−2+n2T−3)\Omega(T^{-2} + n^2T^{-3}) (LB)constant stepsize

♣ Rakhlin, Shamir, and Sridharan prove the optimal generic O(T−1)O(T^{-1}) last-iterate rate for smooth strongly convex stochastic optimization under (B2). The same generic upper bound applies to the nested Hölder-Hessian and quadratic classes; regularity of the average alone does not force the sampling variance at the optimum to vanish.

† Ahn et al. state the general result for the best epoch iterate. Under their bounded-iterates condition, the same order holds for the last epoch iterate.

‡ HaoChen and Sra additionally assume that every component is convex and has a Lipschitz-continuous Hessian.

  • The quadratic-average upper bounds of Rajput et al. and Ahn et al. do not require the individual components fif_i to be quadratic.

References (20)