Manuscript Offprint
arXiv:2608.24098The Sharp Tail of Uniform Stability
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 -uniformly stable algorithm with loss in has generalization gap at most
with probability . Whether an actual bounded-loss learning algorithm can realize the linear dependence on 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 , stability level , and loss bound , we construct one deterministic -uniformly stable learning problem whose tail satisfies, simultaneously for ,
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 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 is -uniformly stable when replacing one training example changes its loss at every test point by at most (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: . Obtaining the correct high-probability guarantee took a longer sequence of results.
The classical bounded-differences argument gives a deviation term of order (Bousquet & Elisseeff, 2002). Feldman & Vondrák (2018) replaced the factor by , and Feldman & Vondrák (2019) obtained a nearly optimal bound with logarithmic overhead in . Bousquet et al. (2020) reduced the learning problem to a moment inequality for weakly interacting functions. Their result left one factor in the stability term. Very recently, Nguyen-Cung & Nguyen (2026) removed that factor and proved
The trivial range bound then caps the right side by L. Equation (1) gives the clean tail scale

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 put every in one learner.
The lower-bound side has not matched this progress. Bousquet et al. (2020) constructed weakly interacting functions with th moment . Their functions have pointwise magnitude of order , so the construction does not come from a learning algorithm with a uniform loss bound . 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 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 with . This is not a different problem chosen for each .
Why the obvious quadratic construction fails. Let be Rademacher signs, , and let a learner predict with amplitude . A linear loss has generalization gap , whose th scale is . The prediction amplitude at that event is . Clipping it to the loss range activates when . This is exactly where the term begins to dominate . 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 gives amplitude only when one coordinate crosses that threshold. The ramp is coordinatewise -stable regardless of the number of coordinates. The loss reads the coordinates through the odd function
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 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 has probability much larger than , 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.
- A single problem realizes simultaneously for all . Consequently, the moment upper bound in (1) is sharp for actual learning algorithms.
• The construction uses deterministic learning and standard absolute regression loss. We prove uniform stability over all replacement datasets, not only on the high-probability event.
Related extensions. Several recent lines change the assumptions rather than the worst-case lower-bound question. Klochkov & Zhivotovskiy (2021) obtain faster excess-risk rates under a Bernstein condition. Zhou et al. (2023) derive PAC-Bayes bounds for randomized uniformly stable algorithms under a sub-exponential condition on their random stability parameter. Yuan & Li (2022) use subbagging to boost confidence for randomized algorithms under the weaker, distribution-dependent notion of stability. Fan & Lei (2024) introduce pointwise uniform stability and derive function-value and gradient generalization bounds, with applications to SGD. In a complementary 2026 direction, Lei et al. (2026) replace bounded differences by finite- replace-one envelopes and obtain Gaussian-plus-polynomial upper tails for unbounded losses. These results provide sharper conclusions from additional structure or modified algorithms. They do not give a high-probability lower bound for the ordinary deterministic uniform-stability condition (4). Our result concerns exactly that worst-case condition and the bounded-loss minimax gap left open by Bousquet et al. (2020), Liu & Lu (2020), and Nguyen-Cung & Nguyen (2026).
2 SETUP AND RESULT
Let . An algorithm maps to a predictor . For a loss with values in , define
The algorithm is -uniformly stable if, whenever S and differ in one coordinate,
Our theorem is stated with unspecified universal constants. The appendix tracks concrete constants for the construction.
Theorem 1 (Sharp lower tail). There are universal constants and with the following property. For every , , and , there are a finite input space, a distribution , and one deterministic -uniformly stable absolute-loss regression algorithm with loss in such that, simultaneously for every real ,
The regression labels are identically zero.
The problem may depend on , as is standard for a minimax lower bound. Crucially, it does not depend on or . The simultaneous statement immediately gives moment sharpness.
Corollary 2 (Moment sharpness). For the problem in Theorem 1 and every ,
for a universal .
Indeed, (5) implies times its displayed threshold. Combining Corollary 2 with (1) and the range bound yields the minimax law
where the supremum is over -stable algorithms with loss in . The upper and lower constants in (7) are universal.
3 THE MULTISCALE LEARNER
We now define the single problem used for every p. A training input is
All components are independent. The vector X consists of independent Rademacher coordinates, J is uniform on , and , U are Rademacher signs. The dimension of X is divided into groups indexed by a geometric set of scales.
Let
where . Let be a sum of independent Rademacher signs. Choose the first attainable score and set
Group contains independent coordinates. For a sample, write and define the ramp amplitude
If the set of scales is empty, has one dummy coordinate with amplitude zero. The total feature dimension is finite and typically exponential in because . Section 7 explains why this multiplicity is used.
The memory component uses cells. Let
with . Collect all ramp amplitudes in a vector and use the symmetrized maximum from (3). The predictor is
The regression label is zero and the loss is absolute error. We will show that , so the loss equals itself.
The four pieces in (12) have distinct roles. The center enforces a valid loss range. The symmetrized maximum produces the tail. The cell memory produces a constant-order stability gap and handles scales below 16 or above . The last sign produces the ordinary sampling tail.
4 STABILITY AND CENTERING
Two elementary Lipschitz properties make the construction work.
Lemma 3 (Symmetrized maximum). For nonnegative vectors and every sign vector ,
The proof applies the Lipschitz property of a maximum twice. Replacing one training point changes every score by at most two. Hence (10) gives . The term changes by at most . At a fixed memory cell, a replacement can change from to , so the memory term changes by at most . The term does not depend on the sample. This proves (4).
The largest ramp cap is at most . Lemma 3 gives . Together with , the sample-dependent offset from in (12) is at most
Thus .
Conditional on the training sample, a fresh X is symmetric. Lemma 3 therefore gives . A fresh and a fresh U are centered as well, so
(14) for every sample. Consequently,
This exact identity is the bridge from rare features to generalization.
5 RARE EXTREMES CREATE THE LINEAR TAIL
For each scale , let be the event that exactly one coordinate in group has score at least , and every other coordinate in group or a larger group has score strictly below its threshold . Smaller groups are unrestricted.
Lemma 4 (Clean extreme). For every scale in (8),
On ,
We give the main argument because it contains the new idea. Hoeffding's inequality yields . Since , the floor in (9) is negligible at the required constant scale and
Moving the threshold down by binomial steps multiplies its upper tail by at most . Therefore, the expected number of coordinates in group at or above the forbidden threshold , and similarly in every larger group, is at most
The scales grow by four, so the sum of these expectations from group k upward is below 0.021. Independence across coordinates and a union bound with (18) prove (16).
On , the exceptional coordinate reaches its cap . Every coordinate in a smaller group has amplitude at most , while every other coordinate in the same or a larger group has amplitude zero. Let be the exceptional coordinate. If , then . If , then . Since , summing these inequalities gives
This proves (17). The smaller scales may fire, but the geometric cap makes them too weak to reverse the contribution of the exceptional feature.
The role of the factor is deliberate. It is more probability than the theorem needs. We spend the surplus by intersecting with the independent sampling event below.
6 PROOF OF THE SHARP TAIL
We use a standard one-sided anti-concentration fact. A self-contained block proof from the Paley–Zygmund inequality is included in Appendix A.6.
Lemma 5 (Rademacher lower tail). For all sufficiently large n, every Rademacher sum and satisfy
For , the probability on the left is at least 0.45.
The constants are elementary. Paley–Zygmund and symmetry give for a Rademacher block sum. For , split the signs into blocks and require this event in every block, with a nonnegative leftover. The resulting threshold is at least and the probability is at least . One block handles . For , the maximum binomial atom bound gives the stated 0.45. Appendix A.6 records the arithmetic.
Let be the event that the memory indices are distinct. Since ,
On , each observed cell contains one sign. Hence and the middle term in (15) is exactly .
Fix , where . If a scale is available, choose the largest available . In particular, this is the terminal scale when exceeds the largest constructed scale. The geometric spacing gives
On the independent intersection of , , and the event in Lemma 5 for , equations (15) and (17) give
Its probability is at least
The inequality uses and .
If no scale is available, then . In that case , which already gives a constant fraction of . For , the same memory term gives a constant fraction of . We additionally require that no ramp is active. Equation (19) shows that this event has probability above 0.97. A constant-scale version of Lemma 5, together with (21), leaves probability above and gives the required term. This proves Theorem 1.
7 DISCUSSION
The auxiliary lower bound is now realizable. The construction of Bousquet et al. (2020) produces the quadratic Rademacher chaos , which has the right moments but arises from functions whose pointwise range is . The ramps in our construction move the large deviation into the feature index. At any fixed test point, the loss reads a maximum and remains bounded. At the training sample, a rare coordinate carries a persistent empirical bias. This separates pointwise range from aggregate tail size.
All confidence levels require multiple scales. A single ramp can match one prescribed p, which would prove a pointwise minimax lower bound. The geometric family is stronger. Smaller ramps have at most one quarter of the target amplitude, while larger ramps are inactive with overwhelming probability. This scale separation is why the same learner matches the full tail rather than a confidence level fixed in advance.
Implication for stability-based analyses. A common analysis of an optimizer first proves a uniform stability constant and then invokes a distribution-free generalization theorem that sees only . Our lower bound shows that this black-box second step must retain the term. A sharper guarantee for a particular optimizer must use more information, such as curvature, data-dependent stability, algorithmic randomness, or representation constraints.
The loss is standard, the learner is adversarial. Our predictor is scalar and is evaluated by absolute loss against the constant label zero. The construction is nonetheless a worst-case learner with exponentially many Rademacher features. This multiplicity is deliberate. A coordinate has upper-tail probability , and using on the order of independent coordinates makes one crossing occur at a controlled probability. Within an independent-threshold bank of this form, the union bound shows that polynomial multiplicity cannot suffice. Probability requires when . We do not claim that exponential dimension is necessary outside this mechanism. It is the price paid by this construction to encode all confidence levels in one problem. This is appropriate for determining what uniform stability alone can guarantee because that condition places no restriction on dimension. Additional structure, such as convex optimization, a fixed low-dimensional representation, or distributional stability, may yield smaller tails. The theorem shows that such improvements cannot follow from uniform stability and bounded loss by themselves.
Confidence range. The interval is the natural nondegenerate range for bounded i.i.d. sampling. It is also the range in which the weak-dependence lower bound of Bousquet et al. (2020) has its two-level form. Beyond it, the loss-range cap dominates and constants depend on how the extreme endpoint is parameterized. Theorem 1 covers every confidence level used in the usual exponential generalization regime.
REPRODUCIBILITY STATEMENT
The proof is finite and nonasymptotic. The supplement gives every omitted constant calculation. It also provides three short audit programs: extreme_ramp_check.py evaluates the exact binomial probabilities, multiscale_check.py checks every scale and case split, and stability_bruteforce.py exhausts the replacement inequalities on small instances. These computations check the proof and are not used as assumptions.
REFERENCES
Olivier Bousquet and André Elisseeff. Stability and generalization. Journal of Machine Learning Research, 2:499–526, 2002.
Olivier Bousquet, Yegor Klochkov, and Nikita Zhivotovskiy. Sharper bounds for uniformly stable algorithms. In Proceedings of the 33rd Conference on Learning Theory, volume 125 of Proceedings of Machine Learning Research, pp. 610–626, 2020.
Jun Fan and Yunwen Lei. High-probability generalization bounds for pointwise uniformly stable algorithms. Applied and Computational Harmonic Analysis, 70:101632, 2024.
Vitaly Feldman and Jan Vondrák. Generalization bounds for uniformly stable algorithms. In Advances in Neural Information Processing Systems, volume 31, pp. 9770–9780, 2018.
Vitaly Feldman and Jan Vondrák. High probability generalization bounds for uniformly stable algorithms with nearly optimal rate. In Proceedings of the 32nd Conference on Learning Theory, volume 99 of Proceedings of Machine Learning Research, pp. 1270–1279, 2019.
Moritz Hardt, Ben Recht, and Yoram Singer. Train faster, generalize better: Stability of stochastic gradient descent. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1225–1234, 2016.
Yegor Klochkov and Nikita Zhivotovskiy. Stability and deviation optimal risk bounds with convergence rate . In Advances in Neural Information Processing Systems, volume 34, 2021.
Qianqian Lei, Soham Bonnerjee, Yuefeng Han, and Wei Biao Wu. Stability beyond bounded differences: Sharp generalization bounds under finite moments. arXiv preprint arXiv:2606.06855, 2026.
Qinghua Liu and Zhou Lu. A tight lower bound for uniformly stable algorithms. arXiv preprint arXiv:2012.13326, 2020.
Thanh Nguyen-Cung and Binh T. Nguyen. Logarithmic-free moment and generalization bounds for uniformly stable algorithms. arXiv preprint arXiv:2608.09870, 2026.
Shai Shalev-Shwartz, Ohad Shamir, Nathan Srebro, and Karthik Sridharan. Learnability, stability and uniform convergence. Journal of Machine Learning Research, 11:2635–2670, 2010.
Xiao-Tong Yuan and Ping Li. Boosting the confidence of generalization for -stable randomized learning algorithms. arXiv preprint arXiv:2206.03834, 2022.
Sijia Zhou, Yunwen Lei, and Ata Kabán. Toward better PAC-Bayes bounds for uniformly stable algorithms. In Advances in Neural Information Processing Systems, volume 36, pp. 29602–29614, 2023.
A DETAILED PROOFS
This appendix proves the claims in the main text with one concrete choice of the scale constants. No optimization of numerical constants is intended.
A.1 NOTATION AND ELEMENTARY BOUNDS
Let be independent Rademacher signs and . Define
Then
Hoeffding's inequality gives
For , put
The event on the right contains the upper tail at and at most additional binomial levels. Moving down one level multiplies the point mass by
for all sufficiently large n. Since is at least the mass at , we obtain
The last inequality holds for every integer .
A.2 THE SYMMETRIZED MAXIMUM
Proof of Lemma 3. Write . Then
This immediately gives . Since each lies in , the range bound follows. Finally,
Applying this inequality at x and -x and using the triangle inequality proves the final claim. ☐
A.3 THE LEARNER IS STABLE AND BOUNDED
We verify the claims around (12). Suppose S and differ at observation i. For every ramp coordinate,
The scalar map in (10) is -Lipschitz. Therefore
Lemma 3 implies that the term changes by at most at every test point.
Only the old and new memory cells can change. At either cell, takes values in , so
For a fixed test point, only its own cell is read. Adding (27) and (28) proves -uniform stability.
If the scale set is nonempty, its largest element satisfies . Thus
The same bound is trivial if there are no ramps. Lemma 3 gives . Since and ,
This proves the range claim. With regression label zero, absolute loss is exactly .
For a fresh input, , and Lemma 3 gives . The fresh signs and are independent of and centered. This proves (14) and (15).
A.4 PROBABILITY OF A CLEAN EXTREME
We prove the probability part of Lemma 4. For a scale , equation (25) gives
By the definition of ,
In particular, .
The clean event forbids every nonexceptional coordinate whose score is at least . Equations (26) and (31) show
because . The same inequality holds at every larger scale. Since ,
for .
Choose which coordinate in group k is the exceptional one. Independence of all Rademacher coordinates gives
The second line is the union bound applied to all forbidden coordinates. This proves (16).
A.5 GAP ON THE CLEAN EXTREME EVENT
On , let denote the exceptional coordinate and put . Its score is at least , so its ramp reaches the cap . Every other coordinate in group or a larger group has amplitude zero. Every smaller scale has cap at most .
Write and let and count its positive and negative signs. There is at least one zero-amplitude coordinate because . If , the first maximum in is and the second is at most , so
If , the second maximum is a and the first is at least zero, so
Let . Equations (37) and (38) imply
On , . The right side of (39) is increasing in , so it is at least 3a/32. Substituting proves (17).
A.6 RADEMACHER ANTI-CONCENTRATION
We give an elementary block proof of Lemma 5. If is a sum of independent Rademacher signs, then
Paley–Zygmund applied to therefore gives
By symmetry, either one-sided event has probability at least 1/24.
Partition the first signs of into blocks of size , leaving at most signs. If every block sum is at least and the leftover sum is nonnegative, then, whenever ,
The event has probability at least
We now track constants. First suppose . The largest atom of is at most by the central binomial coefficient bound. Positive attainable values are spaced by two, so there are at most of them below . Symmetry gives
for all sufficiently large n. Since , the threshold is at least .
For , use one block. Equations (40) and symmetry give
and . Finally, suppose and take
Then and . Equations (41) and (42) yield
with probability at least
The three ranges prove Lemma 5 with no asymptotic normal approximation.
A.7 SMALL SCALES, SATURATION, AND SIMULTANEITY
We fill in the cases abbreviated in the main proof. First, the memory indices are distinct with probability at least 15/16 by (21). On this event,
Suppose . If , then and
If , then and the same inequality is immediate. The probability that any ramp is active is at most the sum in (33), hence below 0.021. By the compact-interval part of Lemma 5, the sampling event can be chosen to have probability at least 0.45 while still giving a universal multiple of . The three events are independent, and . Their intersection therefore exceeds . This proves (5) for .
Now suppose but . Then and
Thus memory alone supplies a constant fraction of the saturated stability term. Intersecting (44) with Lemma 5 proves the result.
It remains to justify (22). Let . If , the largest geometric scale below is greater than . For a query , the largest available scale not exceeding , or the terminal scale if , therefore obeys
The construction of all groups uses only . It is completed before is chosen. Thus the proof supplies the probability statement for all using the same distribution and algorithm. This establishes the simultaneity claimed in Theorem 1.
Finally, on the intersection used in the proof,
This also makes clear that every term is one-sided and no cancellation is used.
A.8 MOMENT CONSEQUENCE
Let
Theorem 1 gives . Hence
This proves Corollary 2. The upper direction of (7) is (1) combined with . The lower direction is the corollary.
B AI USE
LLM-based tools were used to assist with proofs and language editing.
C EXACT COMPUTATIONAL AUDITS
The construction contains only binomial probabilities and maximum inequalities. We nevertheless performed three audits.
Exact clean-event probabilities. For each and every geometric scale below , we evaluated , each lowered tail , the floor in , and the exact product in (36) in log space. Table 1 shows representative results. The final column divides the rigorous clean-event lower bound by . The analytic proof uses the weaker constant 6.
Table 1: Exact audit of the multiscale event.
| lower bound | ||||
|---|---|---|---|---|
| 4096 | ||||
| 4096 | ||||
| 16384 | ||||
| 65536 |
Exhaustive stability audit. For , we enumerated every Rademacher dataset, every one-point replacement, and every test input. We separately enumerated every memory dataset with three cells. With , the largest ramp loss change was , the largest memory loss change was , and their sum was exactly . The maximum coordinate-amplitude change was exactly . This checks the sharp cases of (27) and (28).
The audit scripts use exact enumeration for stability and double-precision log binomial masses for the probability calculation. The displayed margins are several orders of magnitude larger than floating-point error.