no. 22 · Wednesday 25 November 2026
Robust stochastic first order methods in heavy-tailed noise via medoid mini-batch gradient sampling
Abstract
We consider a first order stochastic optimization framework where, at each iteration, $K$ independent identically distributed (i.i.d.) data point samples are drawn, based on which stochastic gradients can be queried. We allow gradient noise to be heavy-tailed, with possibly infinite variances. For the considered heavy-tailed setting, many algorithmic variants have recently been proposed based on gradient clipping or other nonlinear operators (e.g., normalization) applied over noisy gradients. In this paper, we take an alternative approach and propose a novel gradient estimator. The core idea of proposed estimator is to split the $K$-sized data batch into $M$ distinct data chunks, form for each chunk the stochastic gradient, and select the stochastic gradient of the chunk that is medoid of gradients of all data-chunks. For a broad class of symmetric heavy-tailed gradient noise distributions, we show that the proposed estimator has a finite second moment even when the underlying gradient noise has an infinite second moment. For nonconvex objectives, this yields convergence to a neighborhood of zero in expected squared gradient norm at a rate of $\mathcal{O}(T^{-1})$. We explicitly characterize the size of this neighborhood in terms of the noise and algorithm parameters. When the time horizon $T$ is known in advance, we establish an $\mathcal{O}(T^{-1/2})$ convergence rate. A diminishing step size achieves the same rate up to a logarithmic factor. Incorporating clipping or a more general nonlinear transformation yields high-probability convergence guarantees with the same rate up to logarithmic factors. Experimental results indicate that R-SGD-Mini and its clipped or nonlinear variant consistently perform favorably compared to SGD, clipped SGD, Nonlinear SGD and Median-of-Means based methods.
- fields
- Optimization and Control, Statistics Theory