Abstract
We consider the task of heavy-tailed statistical estimation given streaming $p$-dimensional samples. This could also be viewed as stochastic optimization under heavy-tailed distributions, with an additional $O(p)$ space complexity constraint. We design a clipped stochastic gradient descent algorithm and provide an improved analysis, under a more nuanced condition on the noise of the stochastic gradients, which we show is critical when analyzing stochastic optimization problems arising from general statistical estimation problems. Our results guarantee convergence not just in expectation but with exponential concentration, and moreover does so using $O(1)$ batch size. We provide consequences of our results for mean estimation and linear regression. Finally, we provide empirical corroboration of our results and algorithms via synthetic experiments for mean estimation and linear regression.
Introduction
In many real-world applications—from finance to autonomous driving—data distributions are "heavy-tailed," meaning outliers are far more common than a standard Gaussian distribution would suggest. Standard machine learning tools like Stochastic Gradient Descent (SGD) work well in expectation, but they can fail in high-stakes scenarios where high-probability guarantees are required.
While "batch" algorithms can handle heavy tails with high probability, they typically require storing the entire dataset in memory, which is impractical for massive, streaming data. Existing streaming methods often rely on mini-batches that grow in size, defeating the purpose of a lightweight estimator. This paper addresses the challenge: Can we achieve high-probability, robust estimation using only $O(1)$ batch size and $O(p)$ space?
Methodology: Clipped-SGD
The authors propose clipped-SGD, a variation of standard gradient descent with three critical modifications designed for robustness and stability in streaming environments.
- Gradient Clipping: If the magnitude of a stochastic gradient exceeds a threshold $\lambda$, it is scaled down to $\lambda$. This prevents single outliers from disproportionately affecting the estimate.
- Decaying Step Size: The algorithm uses a step size $\eta_t = O(1/t)$, standard for strongly convex optimization but analyzed here under heavy-tailed noise.
- Delay Parameter ($\gamma$): The step size is specifically $\eta_t = 1 / (\tau(t + \gamma))$. The parameter $\gamma$ "slows down" the learning rate during early iterations. This ensures the true gradient remains within the clipping region while the estimate is far from the optimum, preventing bias from causing divergence.
The authors also introduce a nuanced noise condition where noise variance depends on the distance from the true parameter, which is essential for modeling problems like linear regression where noise scales with features.
Empirical Evaluation
The algorithm was tested on synthetic datasets (e.g., Pareto distributions) for tasks like Mean Estimation and Linear Regression. Experiments involved dimensions up to $p=256$ and sample sizes up to $N=1024$, with results averaged over 50,000 trials to capture the "tails" of the error distribution.
Key Results
The theoretical analysis proves that clipped-SGD achieves "sub-Gaussian style" concentration. This means the error grows only logarithmically with the confidence level ($1-\delta$), even for heavy-tailed data.
Empirically, clipped-SGD consistently outperformed vanilla SGD. For instance, the 99.9th percentile error for vanilla SGD was often 10x worse than its average error, whereas clipped-SGD kept the tail error close to the average. In linear regression, it also outperformed robust baselines like Huber regression and Lasso.
Conclusion and Future Work
clipped-SGD bridges the gap between theoretical robustness and practical streaming scalability. However, performance remains sensitive to hyperparameters like the clipping level $\lambda$ and delay $\gamma$. While a sequential validation strategy is proposed for tuning, finding optimal values adds complexity. Future work may explore even heavier tails (infinite variance) or adversarial robustness under Huber’s $\epsilon$-contamination model.
Summary updated