A Fast Spectral Algorithm for Mean Estimation with Sub-Gaussian Rates

Zhixian Lei, Kyle Luh, Prayaag Venkat, Fred Zhang

Introduction

Estimating the mean of a dataset is a foundational task in statistics and machine learning. While the empirical average is an optimal estimator for Gaussian distributions, real-world data is frequently "heavy-tailed," containing extreme outliers that can significantly bias the result. In high-dimensional settings ($d$), achieving robust performance—specifically, error rates that match the performance of Gaussian data (sub-Gaussian rates)—has historically presented a significant computational challenge.

Previously, researchers faced a trade-off between mathematically optimal but computationally intractable estimators and polynomial-time algorithms based on Semi-Definite Programming (SDP). While SDP-based methods were a breakthrough in feasibility, they remain notoriously slow and memory-intensive, scaling poorly as the number of samples ($n$) or dimensions ($d$) increases. This paper introduces the first "spectral" algorithm that achieves optimal sub-Gaussian error rates without relying on SDPs, significantly lowering the computational barrier for robust statistics.

The Computational Bottleneck in Robust Estimation

To achieve sub-Gaussian performance on heavy-tailed data, an estimator must be resilient to outliers that appear in any direction in high-dimensional space. The standard approach involves finding a mean estimate $\hat{\mu}$ such that for every unit vector $v$, the projection of the data onto $v$ behaves well.

Recent breakthroughs utilized convex relaxations (SDPs) to search for these directions of high variance. However, the runtime of these methods—often $\tilde{O}(n^{3.5} + n^2d)$—makes them impractical for large-scale datasets. The authors of this work address a central question: Is it possible to achieve these optimal statistical rates using only fast, iterative linear algebra?

Methodology: A Spectral Approach

The proposed algorithm replaces complex convex optimization with an iterative descent procedure powered by spectral methods. The approach consists of several key components:

  1. Median-of-Means (MoM) Bucketing: The $n$ samples are partitioned into $k$ buckets, and the mean of each bucket is calculated. This preprocessing step dampens the influence of individual outliers.
  2. Iterative Descent: The algorithm maintains a candidate mean and iteratively refines it. To determine the direction of the next update, the authors show that one does not need a full SDP solution. Instead, a "good enough" direction can be found using approximate top singular vector computations, such as Power Iteration or the Lanczos method.
  3. Multiplicative Weights and Bregman Projections: To manage adversarial or extreme outliers, the algorithm employs a Multiplicative Weights Update (MWU) scheme to reweight the data buckets. A critical innovation is the use of a Bregman projection step, which ensures the weight distribution remains "smooth." This smoothness prevents the algorithm from over-focusing on a small subset of points, which is essential when dealing with the "weak promise" of heavy-tailed distributions.

Key Theoretical Insights

A major conceptual contribution of this work is the connection between robust mean estimation and the Furthest Hyperplane Problem (FHP)—the task of finding a hyperplane that is distant from a set of points. By mapping mean estimation to FHP, the authors were able to adapt highly efficient algorithms from that domain to the problem of robust statistics.

Furthermore, the paper demonstrates that SDP is "overkill" for this problem. Spectral methods, which are the workhorse of modern large-scale machine learning, are sufficient to identify the directions of outlier influence and correct for them.

Results and Performance

The algorithm achieves the optimal sub-Gaussian error bound: $$\|\mu - \hat{\mu}\| \lesssim \sqrt{\frac{\text{Tr}(\Sigma)}{n}} + \sqrt{\frac{\|\Sigma\| \log(1/\delta)}{n}}$$ where $\Sigma$ represents the covariance and $\delta$ is the failure probability.

Most importantly, the algorithm provides a massive leap in efficiency. The runtime is reduced to $\tilde{O}(n^2d)$, scaling linearly with the dimension and quadratically with the number of samples. This makes the algorithm robust not only to heavy-tailed noise but also to adversarial corruption, where a fraction of the data is maliciously altered.

Conclusion and Future Directions

By moving from SDPs to spectral methods, this research makes robust high-dimensional mean estimation practical for much larger datasets. While the algorithm currently requires a failure probability $\delta \geq 2^{-O(n)}$ and involves relatively large constant factors in its bucket construction, it sets a new standard for the field. Future work may focus on tightening these constants for smaller sample sizes and extending these spectral, SDP-free techniques to more complex robust estimation tasks, such as covariance estimation and linear regression.

Summary updated

BibTeX
@inproceedings{lei2020fast,
  author = {Zhixian Lei and Kyle Luh and Prayaag Venkat and Fred Zhang},
  title = {{A Fast Spectral Algorithm for Mean Estimation with Sub-Gaussian Rates}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=WsqR_6jEWjQ},
}
Figure