Generalization Error Estimation for Primal--Dual Algorithms in Non-Smooth Regression
Published 14 Aug 2026 in math.ST and stat.ML | (2608.13870v1)
Abstract: This paper studies trajectory-wise estimation of generalization error for primal--dual algorithms in non-smooth regression. Motivating examples include (\ell_1)-penalized least absolute deviations regression and square-root Lasso regression, where the data-fitting loss is non-differentiable and existing risk estimators for gradient-type optimization paths do not apply directly. We develop a general recursive framework that includes the Chambolle--Pock algorithm and related primal--dual splitting methods. We estimate risk by correcting each in-sample fitted value with a weighted combination of past dual iterates. The ideal weights are Stein derivative contractions and depend on the design covariance. We construct replacement weights from observable derivative contractions of the fitted-signal trajectory, yielding a covariance-free, data-driven correction. For high-dimensional Gaussian designs and fixed finite iteration horizon, we prove finite-sample guarantees for both estimators. For square-root ridge, we further establish a matched-Gaussian universality result beyond Gaussian designs. Numerical experiments show that the proposed estimators accurately track the out-of-sample risk along finite optimization paths.
The paper develops trajectory-wise leave-one-out estimators for non-smooth primal–dual algorithms, correcting training predictions with weighted past dual iterates rather than primal iterates.
Under Gaussian designs and fixed iteration horizons, the covariance-dependent estimator achieves an expected error rate of O(n^-1/2), while its observable covariance-free counterpart achieves O(n^-1/4).
The results support asymptotically oracle early stopping and establish matched-Gaussian universality for square-root ridge, while leaving growing horizons and nonlinear proximal maps as open problems.
Overview
The paper develops trajectory-wise estimators of generalization error for primal–dual optimization algorithms applied to non-smooth regression problems, with the Chambolle–Pock recursion as the central example (2608.13870). The motivating settings are ℓ1-penalized least absolute deviations (LAD) regression and square-root Lasso, where the data-fitting loss is non-differentiable and existing risk-estimation methods for gradient-type paths do not apply directly. The target is the conditional prediction risk rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)] of each iterate along a finite trajectory of length T, which supports early stopping without rerunning the algorithm.
The construction follows a leave-one-out (LOO) logic: since bt,−i is independent of (xi,yi), the LOO empirical risk approximates rt. Gaussian Stein's formula converts the difference between full-data and deleted fitted values into a derivative contraction, yielding a corrected training error of the form
rt=n1i=1∑nℓ(yi,xi⊤bt−s=1∑twt+1,suis),
where the correction subtracts a weighted combination of past dual iterates us. This structural feature distinguishes the paper from prior work on gradient descent [bellec2024uncertainty] and proximal SGD [tan2024estimating], where corrections were built from the primal trajectory; here the correction weights live in a strictly lower-triangular matrix W defined by derivative contractions of the coupled primal–dual recursion.
Algorithmic framework
The authors consider penalized regression minbfy(Xb)+g(b) with possibly non-differentiable rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]0 and non-smooth rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]1. The Chambolle–Pock updates involve proximal maps of rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]2 and rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]3; for LAD the dual proximal map is coordinatewise clipping to rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]4, and for square-root loss it is Euclidean projection onto the unit ball. After rewriting in residual form with normalized residual vectors rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]5 and dual-gradient vectors rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]6, the recursion is abstracted into a general history-dependent iteration
rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]7
with Lipschitz update maps. This class contains Chambolle–Pock, proximal-gradient methods for smooth losses, and linearized ADMM. Jacobian blocks of these maps, taken as modified almost-everywhere derivatives so that a Lipschitz chain rule holds, drive all subsequent constructions.
Covariance-dependent estimator
Under i.i.d. Gaussian designs with covariance rt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]8 satisfying eigenvalue bounds, proportional asymptoticsrt=E[ℓ(ynew,xnew⊤bt)∣(X,y)]9, bounded signal, and either 1-Lipschitz test losses or centered squared error, the main theorem establishes
T0
for every fixed iterate T1. The proof decomposes the total error into five residuals: LOO-to-risk approximation, empirical fluctuation of centered deleted losses (handled via a leave-two-out decoupling identity), second-order Stein comparison, contraction of derivatives into the weight matrix T2, and replacement of T3 by its data-driven counterpart. Notably, the Lipschitz-loss case requires only first moments of the noise, whereas the squared-error case uses second moments.
Covariance-free estimator
The population weight matrix T4 depends on the unknown design covariance T5. To remove this dependence, the authors define two observable matrices built from empirical derivative contractions of the trajectory: T6, lower triangular with deterministic diagonal entries T7, and T8. The covariance-free correction is then T9, computable by forward substitution in bt,−i0 after propagating Hutchinson probe vectors through the linearized recursion at cost bt,−i1. Because bt,−i2's diagonal is deterministic, invertibility holds unconditionally — an improvement over the corresponding matrix in the SGD analysis of Tan and Bellec, which was invertible only on a high-probability event.
The guarantee is
bt,−i3
on the event bt,−i4 where bt,−i5 is controlled (probability at least bt,−i6), giving overall consistency of bt,−i7 for bt,−i8 at rate bt,−i9. The authors state plainly that they do not expect the (xi,yi)0 rate to be optimal; it arises from the weighted stability bound (xi,yi)1 governing the average squared change in corrected fitted values. A corollary shows that minimizing (xi,yi)2 over the first (xi,yi)3 iterates yields an early-stopping rule whose risk exceeds the oracle-optimal risk on the path by (xi,yi)4 for fixed (xi,yi)5.
Universality beyond Gaussian designs
For square-root ridge with squared test loss, the paper proves that both the true risk and both estimators have identical limits under a non-Gaussian design (xi,yi)6 (sub-Gaussian entries) and its covariance-matched Gaussian counterpart (xi,yi)7:
(xi,yi)8
Consequently both estimators remain consistent under such non-Gaussian designs in this setting. The proof exploits the linearity of the ridge proximal map: iterates admit a finite Krylov representation (xi,yi)9 with polynomials driven by rt0, and all fixed-time quantities reduce to finitely many "admissible primitive scalars" (trace functionals, signal alignments, quadratic forms). Matched-Gaussian universality of these scalars follows from Chatterjee's Lindeberg principle plus conditional variance bounds for noise quadratic forms. Two restrictions are explicit: the theorem requires ridge penalties (linear proximal map), and the estimator universality requires a no-boundary condition ensuring the limiting trajectory avoids the nondifferentiability kink of the square-root projection rt1; true-risk universality needs only continuity and holds without this condition.
Numerical experiments
Simulations use rt2, rt3, rt4, Toeplitz covariance rt5, sparse signals with rt6, and Chambolle–Pock constants rt7. Eight procedures combine LAD or square-root loss with ridge, Lasso, MCP, or SCAD penalties; MCP and SCAD are included only as empirical checks using single-valued proximal maps, with no convergence guarantee claimed for these non-convex objectives. Across all panels, both rt8 and rt9 track the true test risk and the location of its minimum along the computed path, including trajectories that have not stabilized by iteration 300. For square-root ridge, Gaussian and covariance-matched uniform designs produce nearly overlapping curves for the true risk and both estimators, matching the universality theorem empirically; analogous comparisons for other loss–penalty combinations suggest, but do not prove, broader universality.
Limitations and open questions
Several limitations are conceded explicitly. The main risk bounds are proved under Gaussian designs and hold for fixed iteration horizon rt=n1i=1∑nℓ(yi,xi⊤bt−s=1∑twt+1,suis),0 as rt=n1i=1∑nℓ(yi,xi⊤bt−s=1∑twt+1,suis),1 grows; extension to growing horizons is open. The covariance-free rate rt=n1i=1∑nℓ(yi,xi⊤bt−s=1∑twt+1,suis),2 is acknowledged as likely suboptimal. The universality theorem is confined to square-root ridge with squared loss because the proof relies on the spectral structure of the linear ridge proximal map; whether universality extends to nonlinear proximal maps such as square-root Lasso, or to broader design classes suggested by the uniform-design simulations, remains unestablished. The framework also assumes convex penalties for its guarantees, so the MCP/SCAD experiments carry no theoretical backing.
Conclusion
This paper extends pathwise generalization-error estimation from gradient-type algorithms to coupled primal–dual recursions for non-smooth regression. Its two estimators — one requiring the design covariance, one fully data-driven via an always-invertible triangular system — achieve rt=n1i=1∑nℓ(yi,xi⊤bt−s=1∑twt+1,suis),3 and rt=n1i=1∑nℓ(yi,xi⊤bt−s=1∑twt+1,suis),4 accuracy respectively per fixed iterate, support asymptotically oracle early stopping over finite horizons, and, for square-root ridge, enjoy matched-Gaussian universality. The results provide a statistically grounded basis for monitoring and tuning iterative solvers in settings where smooth-loss theory does not apply.