Median-of-Means under Structured Heavy-Tailed Noise: High-Probability Bounds for Clipped Stochastic Optimization

Ahmed El Bajdali, Ohad Shamir, Samuel Horváth, Eduard GorbunovNeurIPS 2026

TL;DR

Training modern machine learning models often involves navigating wildly erratic gradient noise—sometimes so extreme that the mathematical "average" of the noise doesn't even exist. This paper explores what happens when you tame that chaos by combining gradient clipping with the Median-of-Means (MoM) estimator under a realistic, hybrid noise model. The authors reveal a fascinating tension in how you batch your data, showing that you can achieve light-tailed convergence speeds even under brutal, infinite-mean noise—without relying on restrictive probability density assumptions.

What Problem Does This Paper Address?

Classical optimization theory loves well-behaved, bell-curve-like noise with finite variance. Deep learning, unfortunately, did not get the memo. In practice, stochastic gradients often exhibit heavy tails—wild outliers that occur far more frequently than a Gaussian distribution would predict. In the most extreme regimes, the noise doesn't even have a finite mean.

To keep optimization on the rails, researchers typically reach for two tools: gradient clipping (capping the length of gradient vectors) and Median-of-Means (MoM) (splitting samples into $n$ blocks of size $m$, averaging each block, and taking the median of those averages).

Here is the catch: when noise is asymmetric (skewed), medians introduce bias. Inside an optimization loop, persistent bias stops you from ever reaching the true minimum. Previous works tried to fix this by assuming the noise has smooth probability densities and adding artificial Gaussian smoothing—excluding discrete or "atomic" distributions. This paper asks: Can we get high-probability optimization guarantees under extreme, asymmetric heavy-tailed noise using only weak moment assumptions?

Methods

First, the authors introduce a structured noise model that reflects realistic scenarios (like symmetric communication glitches mixed with skewed data-sampling errors). They model gradient noise as a blend of two independent pieces:

  1. A symmetric component with ultra-heavy tails: it only needs a bounded $\beta$-th moment where $\beta \in (0, 1]$ (meaning it may have infinite variance and no mean).
  2. An asymmetric, zero-mean component with slightly milder heavy tails: it has a bounded $\alpha$-th moment where $\alpha \in (1, 2]$.

Second, they derive tight mathematical bounds on the bias and second moment (spread) of the coordinate-wise MoM estimator under this hybrid noise.

Finally, they plug this MoM gradient estimator into standard clipped optimization frameworks: Clip-MoM-SGD (for smooth convex and nonconvex problems) and Clip-MoM-SSTM, an accelerated variant based on the Stochastic Similar Triangles Method.

Datasets

This is primarily a theoretical paper; no standard real-world ML benchmarks are used. For numerical illustrations (detailed in Appendix B), the authors evaluate Mean vs. MoM at a fixed scalar query using synthetic heavy-tailed distributions—specifically, weighted sums of Gaussian or symmetric stable noise combined with an independent centered Gamma component (run across 10 seeds with 50,000 replicates per seed).

Key Insights and Ideas

  • Decoupling the symmetric chaos from asymmetric bias: Remarkably, as long as you have enough blocks ($n > 4/\beta$), the bias of the MoM estimator depends only on the asymmetric noise component, scaling as $m^{-(\alpha-1)/\alpha}$. A gigantic, infinite-mean symmetric disturbance won't skew your estimator's expectation at all. Furthermore, the authors prove this $m$-dependence is fundamentally sharp for MoM.
  • The batching tug-of-war: Usually, averaging more samples (increasing block size $m$) makes life strictly better. Not when $\beta < 1$! Because averaging ultra-heavy-tailed variables actually amplifies their spread (a quirk of stable laws), increasing $m$ shrinks the asymmetric bias, while simultaneously inflating the variance of the symmetric part. Meanwhile, increasing the number of blocks $n$ tames the extreme symmetric tails.
  • Symmetry saves you an exponential penalty: For general distributions with only a $\beta$-th moment, bounding the median's second moment incurs an unavoidable $2^{4/\beta}$ constant. However, if the noise is symmetric and you bump the number of blocks to $n \ge 8/\beta^2$, that nasty exponential factor completely vanishes, leaving a clean polynomial dependence on $1/\beta$.

Key Results

  • Variance-like rates without a mean: Under purely symmetric noise ($\beta \in (0, 1]$), Clip-MoM-SGD finds an $\varepsilon$-accurate convex solution in $\widetilde{\mathcal{O}}\big(\frac{1}{\beta^2} \max\{\frac{LR^2}{\varepsilon}, \frac{dM_s^2 R^2}{\varepsilon^2}\}\big)$ oracle calls (using $m=1$ and $n \ge 8/\beta^2$). That $\varepsilon^{-2}$ scaling is the exact same accuracy dependence as standard clipped SGD under nice, bounded variance—even though the underlying gradients here might not have a finite mean!
  • The price of asymmetry: When the asymmetric component is active, suppressing the bias to reach accuracy $\varepsilon$ forces a large block size $m$, which multiplies the total iteration count. For instance, with purely asymmetric finite-variance noise ($\alpha=2$), convex complexity lands at $\widetilde{\mathcal{O}}(\varepsilon^{-3})$ (and $\widetilde{\mathcal{O}}(\varepsilon^{-6})$ in the nonconvex setting, compared to $\widetilde{\mathcal{O}}(\varepsilon^{-4})$ for standard clipped SGD).
  • Acceleration: Clip-MoM-SSTM successfully accelerates the deterministic part of the rate, improving the $LR^2/\varepsilon$ term to $\sqrt{LR^2/\varepsilon}$.

Limitations and Future Work

  • Parameter omniscience: Choosing the theoretical stepsizes, clipping thresholds, and batch shapes requires knowing problem parameters upfront ($L, R, \alpha, \beta$, noise scales, and horizon $T$), and numerical constants in the bounds are quite large.
  • Dimension penalties: Because the MoM estimator is applied coordinate-by-coordinate, the bounds pick up $\sqrt{d}$ and $d$ factors in the bias and second moment, respectively.
  • The "product" bottleneck: Because the MoM bias doesn't shrink over iterations on its own, the required block size $m$ multiplies the number of iterations $T$. Determining whether this multiplicative penalty can be avoided—perhaps via explicit bias-correction techniques or genuinely multivariate robust estimators—remains an exciting open question.

Summary updated

Abstract

Optimization under heavy-tailed stochastic noise remains a major challenge in modern machine learning, where classical moment assumptions often fail to capture realistic gradient distributions. In this work, we revisit robust estimation techniques and provide a systematic analysis of the Median-of-Means (MoM) estimator under a structured noise model that interpolates between a symmetric heavy-tailed distribution with bounded $\beta$-th moment ($\beta\in(0,1]$) and a mean-zero distribution with bounded $\alpha$-th moment ($\alpha\in(1,2]$). We derive new upper bounds on the second moment and bias of MoM in this setting: for any odd number of blocks $n>4/\beta$ and block size $m$, the bias is bounded by a constant multiple of the moment scale of the asymmetric component times $m^{-(\alpha-1)/\alpha}$, independently of the scale of the symmetric component, which may even have no mean. We also show that this dependence on $m$ cannot be improved for MoM. Building on these properties, we study clipped stochastic optimization methods with MoM gradient estimation and establish high-probability convergence guarantees in the smooth convex (including accelerated) and nonconvex settings, together with explicit oracle complexity bounds. Our bounds recover prior symmetric-noise guarantees as a special case and extend them to the structured asymmetric setting under moment-only assumptions: in particular, under purely symmetric noise, the oracle complexity has the same dependence on the accuracy as for clipped SGD under bounded variance, even when the noise has no mean, with a polynomial dependence on $1/\beta$, and our analysis requires neither densities nor additional smoothing.
BibTeX
@inproceedings{bajdali2026median,
  author = {Ahmed El Bajdali and Ohad Shamir and Samuel Horváth and Eduard Gorbunov},
  title = {{Median-of-Means under Structured Heavy-Tailed Noise: High-Probability Bounds for Clipped Stochastic Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=vGEUrQdO7l},
}
Figure