Papers
Topics
Authors
Recent
Search
2000 character limit reached

Stability and Generalization of Nonconvex Optimization with Heavy-Tailed Noise

Published 27 Jan 2026 in cs.LG | (2601.19730v1)

Abstract: The empirical evidence indicates that stochastic optimization with heavy-tailed gradient noise is more appropriate to characterize the training of machine learning models than that with standard bounded gradient variance noise. Most existing works on this phenomenon focus on the convergence of optimization errors, while the analysis for generalization bounds under the heavy-tailed gradient noise remains limited. In this paper, we develop a general framework for establishing generalization bounds under heavy-tailed noise. Specifically, we introduce a truncation argument to achieve the generalization error bound based on the algorithmic stability under the assumption of bounded ppth centered moment with p∈(1,2]p\in(1,2]. Building on this framework, we further provide the stability and generalization analysis for several popular stochastic algorithms under heavy-tailed noise, including clipped and normalized stochastic gradient descent, as well as their mini-batch and momentum variants.

Authors (4)

Summary

  • The paper provides a generalization error bound for stochastic nonconvex optimization under heavy-tailed noise, demonstrating that any algorithm that maintains stability in gradients achieves this bound.
  • The method employs a truncation argument without reliance on SDE-based arguments, showing how to manage gradient noise with unbounded variance effectively.
  • The framework favorably compares normalized Stochastic Gradient Descent (SGD) variants to clipped SGD, highlighting the superiority of normalization combined with mini-batching or momentum.
  • Clipped SGD shows a rate of $O(n^{- rac{p-1}{3(3p-2)})$ compared to the better rate of normalized SGD methods which all scale as $O(n^{- rac{p-1}{7p-6)}. See the sue of NSGD with Clipping and Normalization for population risk

Motivation and problem setting

The paper studies generalization guarantees for stochastic nonconvex optimization when the gradient noise is heavy-tailed. The standard assumption in stability-based generalization analysis is bounded variance, i.e., a bounded second centered moment of the stochastic gradients. However, empirical evidence from deep neural network training and reinforcement learning indicates that stochastic gradient noise is better modeled by heavy-tailed distributions, formalized here through the bounded ppth centered moment (pp-BCM) condition: E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p for some p∈(1,2]p \in (1,2]. This condition is weaker and more general than the α\alpha-stable model used in Lévy-driven SDE analyses, which implicitly assumes identically distributed noise across coordinates.

The paper's objective is the population gradient norm ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr] at the output A(S)A(S) of an algorithm trained on nn i.i.d. samples, decomposed into an optimization error term E[∥∇FS(A(S))∥]\mathbb{E}\bigl[\|\nabla F_S(A(S))\|\bigr] plus a generalization error term E[∥∇F(A(S))−∇FS(A(S))∥]\mathbb{E}\bigl[\|\nabla F(A(S))-\nabla F_S(A(S))\|\bigr]. Prior work had established convergence rates under pp0-BCM for clipped SGD and normalized SGD variants, but generalization bounds under this noise model remained limited: existing results either relied on SDE-based continuous-time arguments restricted to vanilla SGD, or assumed noise conditions not equivalent to pp1-BCM.

Main result: generalization via truncation

The central contribution is a generalization error bound under pp2-BCM for any algorithm that is pp3-uniformly stable in gradients (i.e., replacing one training sample changes expected squared gradient norms by at most pp4). The bound reads:

pp5

where pp6 at pp7 and pp8 for pp9, with E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p0. At E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p1 the bound exactly recovers the bounded-variance result of Lei et al., so the extension interpolates continuously across the tail index.

The proof is nontrivial because the ghost-sample decomposition produces terms E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p2 whose variance is unbounded under heavy-tailed noise, so the standard Jensen-plus-squared-norm expansion fails. The key technique is a truncation argument: each E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p3 is split into a truncated part built from clipped gradient noise E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p4 (centered to be mean-zero) and a residual tail part. The truncated part is controlled via E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p5, which converts the E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p6th moment into a variance-like quantity scaling as E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p7; cross terms are handled by an additional dataset perturbation argument yielding E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p8. The residual tail satisfies E[∥∇f(x;ξ)−∇F(x)∥p]≤σpp\mathbb{E}\bigl[\|\nabla f(x;\xi)-\nabla F(x)\|^p\bigr] \le \sigma_p^p9, giving a bias of order p∈(1,2]p \in (1,2]0. Optimizing over the truncation level p∈(1,2]p \in (1,2]1 balances the two terms and yields the stated rate.

Compared with prior nonconvex bounds, the rate degrades gracefully with heavier tails: p∈(1,2]p \in (1,2]2 at p∈(1,2]p \in (1,2]3 versus p∈(1,2]p \in (1,2]4 for p∈(1,2]p \in (1,2]5, while uniform-convergence alternatives such as Mei et al.'s p∈(1,2]p \in (1,2]6 depend on dimension and require sub-Gaussian tails. An implication is that stability-based generalization remains viable in high dimensions under heavy-tailed noise, provided the algorithm itself is stable.

Applications: clipping versus normalization

The framework is applied to four algorithms, all analyzed under p∈(1,2]p \in (1,2]7-smoothness, p∈(1,2]p \in (1,2]8, and a moment bound p∈(1,2]p \in (1,2]9 along the trajectory. The resulting population risk rates after tuning α\alpha0 are summarized below.

Algorithm Stability driver Population risk rate
Clipped SGD α\alpha1 α\alpha2
Mini-batch NSGD (NSGD-B) α\alpha3 α\alpha4
NSGD with momentum (NSGD-M) α\alpha5 α\alpha6
NSGD with clipping and momentum (NSGD-CM) α\alpha7 α\alpha8

Two structural findings emerge. First, the stability of clipped SGD scales linearly in the clipping threshold α\alpha9, whereas normalized methods have stability independent of ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]0; balancing against the optimization error (which improves as ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]1 grows, since clipping bias is ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]2) forces a worse overall rate for clipped SGD. Second, vanilla normalized SGD can fail to converge — the paper gives a concrete one-dimensional example where normalization turns the iterates into a simple random walk that never reaches the unique minimizer — which motivates either mini-batching or momentum. Both remedies achieve the same rate ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]3, though through different mechanisms: NSGD-B reduces the gradient estimation error as ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]4 via a martingale difference inequality, while NSGD-M reduces it via the momentum bias ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]5, with the momentum parameter ultimately limiting further improvement. Adding clipping on top of momentum (NSGD-CM) does not improve the risk bound over NSGD-M, indicating that clipping contributes nothing once normalization and momentum are present — consistent with recent convergence-side findings that clipping can be dispensed with.

Limitations and open questions

Several caveats qualify these results. All algorithmic analyses assume ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]6-smoothness and ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]7; the nonsmooth setting is explicitly left open. The population risk bounds additionally require a trajectory-wise moment bound ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]8, which is an auxiliary condition beyond ES,A[∥∇F(A(S))∥]\mathbb{E}_{S,A}\bigl[\|\nabla F(A(S))\|\bigr]9-BCM itself. The results are in-expectation rather than high-probability guarantees, and no lower bounds are established for the generalization problem under heavy-tailed noise, so it remains unknown whether the exponent A(S)A(S)0 is optimal. Finally, the comparison between NSGD-B and NSGD-M rests on specific hyperparameter scalings; whether other tunings yield sharper rates is not addressed.

Conclusion

This paper establishes the first systematic link between algorithmic stability and generalization for nonconvex stochastic optimization under the A(S)A(S)1-BCM heavy-tailed noise condition, via a truncation-and-tail-decomposition proof that recovers the bounded-variance bound at A(S)A(S)2. Applied to clipped and normalized SGD variants, the framework shows that normalization combined with mini-batching or momentum yields strictly better population risk rates than clipping alone, and that clipping adds no benefit atop normalization with momentum. The main open problems are nonsmooth objectives and matching lower bounds for learning under heavy-tailed noise.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.