arXiv:2608.24098cs.LGAug 2026

Manuscript Offprint

arXiv:2608.24098

The Sharp Tail of Uniform Stability

Pahan Dewasurendra

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Uniform stability controls how much one training example can change the loss at any test point. A new logarithmic-free upper bound shows that a γ\gamma-uniformly stable algorithm with loss in [0,L][0, L] has generalization gap at most

O(γlog⁡(1/δ)+Llog⁡(1/δ)n)O\left(\gamma\log(1/\delta)+L\sqrt{\frac{\log(1/\delta)}{n}}\right)

with probability 1−δ1 - \delta. Whether an actual bounded-loss learning algorithm can realize the linear dependence on log⁡(1/δ)\log(1/\delta) has remained open. The known construction realizes it only for auxiliary weakly dependent random variables whose pointwise range grows with n. The known learning lower bound holds only at constant probability.

We close this gap. For every nn, stability level γ\gamma, and loss bound LL, we construct one deterministic γ\gamma-uniformly stable learning problem whose tail satisfies, simultaneously for 1≤p≤cn1 \leq p \leq cn,

P(R(AS)−RS(AS)≥c′min⁡{L,γp+Lp/n})≥e−p.\mathbb{P}\Big(R(A_{S})-R_{S}(A_{S})\geq c^{\prime}\min\Big\{L,\gamma p+L\sqrt{p/n}\Big\}\Big)\geq e^{-p}.

The construction is ordinary bounded absolute-loss regression with constant labels. Its key is a multiscale collection of rare Rademacher features. A coordinatewise ramp is stable in sup norm, while an odd symmetrized maximum converts a unique extreme feature into a gap of order γp\gamma p without violating the loss bound. Geometrically spaced ramps put all confidence levels into the same problem. Together with the logarithmic-free upper bound, this determines the optimal high-probability and moment dependence of uniform stability up to universal constants.

1 INTRODUCTION

Algorithmic stability explains generalization through the behavior of the learning rule rather than through uniform convergence over a hypothesis class. A learning algorithm AA is γ\gamma-uniformly stable when replacing one training example changes its loss at every test point by at most γ\gamma (Bousquet & Elisseeff, 2002). This property underlies guarantees for regularized empirical risk minimization, gradient methods, and stochastic optimization (Shalev-Shwartz et al., 2010; Hardt et al., 2016). Its expectation guarantee is simple and sharp: ∣E[R(AS)−RS(AS)]∣≤γ|\mathbb{E}[R(A_S) - R_S(A_S)]| \leq \gamma. Obtaining the correct high-probability guarantee took a longer sequence of results.

The classical bounded-differences argument gives a deviation term of order γnlog⁡(1/δ)\gamma\sqrt{n\log(1/\delta)} (Bousquet & Elisseeff, 2002). Feldman & Vondrák (2018) replaced the factor γn\gamma\sqrt{n} by γL\sqrt{\gamma L}, and Feldman & Vondrák (2019) obtained a nearly optimal bound with logarithmic overhead in nn. Bousquet et al. (2020) reduced the learning problem to a moment inequality for weakly interacting functions. Their result left one factor log⁡n\log n in the stability term. Very recently, Nguyen-Cung & Nguyen (2026) removed that factor and proved

∥R(AS)−RS(AS)∥p≤33pγ+L2pn,p≥2.(1)\|R(A_{S})-R_{S}(A_{S})\|_{p}\leq33p\gamma+L\sqrt{\frac{2p}{n}},\qquad p\geq2. \tag{1}

The trivial range bound then caps the right side by L. Equation (1) gives the clean tail scale

min⁡{L,γlog⁡(1/δ)+Llog⁡(1/δ)n}.(2)\min\left\{L,\gamma\log(1/\delta)+L\sqrt{\frac{\log(1/\delta)}{n}}\right\}. \tag{2}

Figure

Figure 1: The multiscale mechanism. Reciprocal-probability feature replication makes a rare large-deviation crossing visible. A coordinatewise stable ramp and the odd maximum turn that crossing into empirical bias. Independent memory and sampling terms fill the constant-confidence and square-root parts of the tail. Geometric choices of pkp_k put every p≤cnp \leq cn in one learner.

The lower-bound side has not matched this progress. Bousquet et al. (2020) constructed weakly interacting functions with ppth moment Ω(pnγ+Lpn)\Omega(pn\gamma + L\sqrt{pn}). Their functions have pointwise magnitude of order nγn\gamma, so the construction does not come from a learning algorithm with a uniform loss bound LL. They explicitly asked whether the same behavior is possible for the functions induced by a uniformly stable learner. Liu & Lu (2020) later constructed a bounded-loss learner with gap Ω(γ+L/n)\Omega(\gamma + L/\sqrt{n}) at constant probability, and left the dependence on small failure probability open. The new upper-bound paper also separates its result from exactly this learning lower-bound question (Nguyen-Cung & Nguyen, 2026). Our lower-bound theorem and proof are independent of that preprint. Equation (1) is used only to identify the matching upper scale.

We show that every term in (2) is necessary. More strongly, one finite-dimensional problem realizes the full curve at all confidence levels e−pe^{-p} with p≤cnp \leq cn. This is not a different problem chosen for each pp.

Why the obvious quadratic construction fails. Let X1,…,XnX_1, \ldots, X_n be Rademacher signs, T=∑iXiT = \sum_i X_i, and let a learner predict with amplitude γT\gamma T. A linear loss has generalization gap γT2/n\gamma T^2/n, whose ppth scale is γp\gamma p. The prediction amplitude at that event is γnp\gamma \sqrt{np}. Clipping it to the loss range LL activates when p≳L2/(γ2n)p \gtrsim L^2/(\gamma^2 n). This is exactly where the term γp\gamma p begins to dominate Lp/nL \sqrt{p/n}. Thus clipping destroys the part of the tail that needs to be proved.

The new mechanism. We replace one feature by many independent Rademacher features. At a chosen scale, exponentially many coordinates are placed just below a fixed large-deviation threshold. A ramp of width Θ(p)\Theta(p) gives amplitude Θ(γp)\Theta(\gamma p) only when one coordinate crosses that threshold. The ramp is coordinatewise γ\gamma-stable regardless of the number of coordinates. The loss reads the coordinates through the odd function

Ha(x)=max⁡jajxj−max⁡j(−ajxj).(3)H_{a}(x)=\max_{j}a_{j}x_{j}-\max_{j}(-a_{j}x_{j}). \tag{3}

It is centered under a symmetric population and is 2-Lipschitz in a under the sup norm. When there is one dominant coordinate, its empirical average is bounded away from zero, so it contributes Θ(γp)\Theta(\gamma p) to the gap. Coordinates with smaller ramps can be present without changing the sign of the effect. Coordinates with larger ramps are absent on the clean extreme event.

We use geometrically spaced ramp widths. The event at scale pkp_k has probability much larger than e−pke^{-p_k}, which leaves enough probability to intersect it with an ordinary sampling-deviation event. A separate stable memorization term handles constant confidence and the range-saturated regime. All components are combined in a scalar predictor under absolute loss.

References (27)