Introduction
Stochastic Gradient Descent (SGD) is the workhorse of machine learning, but standard theoretical guarantees often assume that gradient noise is "light-tailed" (e.g., sub-Gaussian). In practice, training modern architectures—like attention models and deep CNNs—frequently produces "heavy-tailed" gradient noise, where extreme outliers are common and only the $p$-th moment is bounded (for $1 < p \le 2$). Under these conditions, standard SGD can easily diverge.
While using gradient clipping (Clipped-SGD) fixes this instability in practice and in expectation, establishing strict high-probability guarantees—meaning the algorithm is mathematically guaranteed to succeed on almost every single run—has proven difficult. Previous proofs relied on a clunky mathematical recipe using blackbox concentration inequalities and union bounds. This approach artificially worsened the convergence rate by a $\log T$ factor and forced the algorithm to use fixed step sizes that depend on knowing the total time horizon $T$ in advance.
This paper provides a tighter, optimal high-probability convergence analysis for clipped gradient methods that eliminates these drawbacks.
Methods: A "Whitebox" Martingale Analysis
To bypass the limitations of prior proofs, the authors introduce a novel "whitebox" analysis approach.
Instead of treating concentration inequalities as black boxes and stitching iterations together with union bounds, they construct a carefully chosen supermartingale difference sequence. The key innovation is assigning history-dependent weights to this sequence. These weights are specifically designed to absorb the propagating bias introduced by the gradient clipping operator.
By directly bounding the moment-generating function of this custom sequence from first principles, the authors completely avoid the union bound over $T$ iterations. This mathematical flexibility naturally accommodates time-varying step sizes and clipping parameters. The analysis is applied to several standard algorithms, including Clipped-SGD for non-convex objectives and Clipped-SMD (Stochastic Mirror Descent) for convex objectives.
Key Insights & Results
The paper proves that heavy-tailed noise does not inherently require slower convergence; the extra $\log T$ penalty seen in previous high-probability bounds was merely an artifact of lazy proof techniques. Furthermore, for convex problems, the new analysis shows that practitioners do not even need to know the initial distance to the optimal solution to set step sizes and clipping parameters, removing a major barrier to practical implementation.
The authors achieve time-optimal high-probability convergence rates that perfectly match the best known in-expectation bounds and theoretical lower bounds.
Crucially, unlike prior works, all of these optimal rates are achieved even when the time horizon $T$ is unknown, using dynamically decreasing step sizes and clipping thresholds:
- Non-convex setting (Clipped-SGD): Achieves an optimal rate of $O(T^{\frac{2-2p}{3p-2}})$.
- Convex setting (Clipped-SMD): Achieves an optimal rate of $O(T^{\frac{1-p}{p}})$ for arbitrary (not necessarily compact) convex domains.
- Accelerated Convex setting: Achieves a rate of $O(T^{\frac{1-p}{p}}\sigma + T^{-2})$.
Limitations and Future Work
While the algorithms no longer need to know the time horizon $T$ or the initial distance to the optimum, they still require knowledge of certain theoretical problem parameters—specifically, the smoothness constant ($L$) and the noise tail parameter ($p$)—to set the step sizes and clipping thresholds.
Future work will likely investigate fully adaptive methods (akin to Adagrad or Adam) that can converge under heavy-tailed noise without requiring prior knowledge of any problem parameters. Another promising direction is extending this whitebox analysis framework to the setting of variational inequalities under heavy-tailed noise.
Summary updated