Outlier-Robust Sparse Mean Estimation for Heavy-Tailed Distributions

Ilias Diakonikolas, Daniel Kane, Jasper C.h. Lee, Ankit Pensia

Introduction

In high-dimensional statistics, estimating the mean of a dataset is a foundational task. However, this problem becomes exceptionally challenging when dealing with the "perfect storm" of three conditions: high-dimensional sparsity, heavy-tailed data distributions, and adversarial outliers. While prior research has successfully developed efficient algorithms for robust sparse mean estimation in light-tailed (e.g., Gaussian) distributions, heavy-tailed distributions have remained notoriously difficult. In heavy-tailed data, "natural" extreme values frequently occur, making them nearly indistinguishable from malicious outliers.

This paper bridges that gap, presenting the first sample-efficient and polynomial-time robust sparse mean estimator for heavy-tailed distributions under mild moment assumptions. By combining a novel coordinate-wise truncation step with stability-based filtering, the authors achieve optimal error rates with a sample complexity that scales logarithmically with the ambient dimension.

The Challenge: Sparsity, Heavy Tails, and Outliers

To understand the contribution, we must look at the three intersecting difficulties the algorithm overcomes:

  1. Sparsity: The true mean vector $\mu$ has only a few non-zero entries ($k \ll d$, where $d$ is the ambient dimension). Leveraging this sparsity is essential to avoid requiring an impractically massive number of samples.
  2. Heavy Tails: The data does not follow a standard bell curve. Instead, it features "fat tails," meaning extreme values appear far more often than in Gaussian distributions.
  3. Outliers: An adversary has corrupted a small fraction ($\epsilon$) of the dataset, potentially placing points strategically to maximize the error of the mean estimate.

Methodology: A Multi-Stage Algorithmic Pipeline

To tackle these challenges, the authors propose a sophisticated, multi-stage algorithmic pipeline:

  • Median-of-Means Pre-processing: The algorithm first employs a standard technique to reduce the influence of heavy tails by grouping samples and taking their means. This effectively makes the underlying distribution behave in a "more Gaussian" manner.
  • Coordinate-wise Truncation: This is a central contribution of the paper. The algorithm computes a rough initial estimate and then "clips" all samples to a specific radius around that estimate. This prevents any single coordinate from becoming so large that it breaks the "stability" of the dataset.
  • Stability-Based Filtering: Following truncation, the algorithm applies a filter that searches for directions where the data exhibits unexpectedly high variance. If such a direction is found, the points contributing most heavily to that variance are removed.
  • Convex Relaxation ($X_k$ norm): Finding the direction of maximum variance among sparse vectors is equivalent to the Sparse PCA problem, which is NP-hard. To maintain computational efficiency, the authors utilize a convex relaxation known as the $X_k$ norm, allowing them to approximate this search in polynomial time.

Key Theoretical Insights

The theoretical guarantees of the paper rely on several critical mathematical insights:

  • Truncation is Mandatory: The authors prove that for heavy-tailed data, no subset of raw samples is naturally "stable" enough for standard robust algorithms to succeed. Truncating the data to "tame" the tails is a strict prerequisite to hunting for malicious outliers.
  • Overcoming the Rotation Problem: Truncation is inherently risky because it can "rotate" the mass of a distribution, inadvertently increasing variance in certain directions. The authors demonstrate that a mild "axis-wise 4th moment" assumption is sufficient to ensure truncation helps rather than hurts.
  • Non-Spectral Decomposition: Standard robust statistics rely heavily on Singular Value Decomposition (SVD). However, SVD does not preserve sparsity. To solve this, the authors developed a delicate, non-spectral decomposition for positive semi-definite matrices that respects sparsity constraints—a crucial step for proving sample efficiency.
  • Additive Failure Probability: The algorithm achieves an additive dependence on the failure probability ($\log(1/\tau)$). This is considered the "gold standard" in heavy-tailed estimation but is notoriously difficult to achieve in robust, high-dimensional settings.

Main Results

The proposed estimator delivers strong theoretical guarantees:

  • Optimal Error: The algorithm achieves an error of $O(\sqrt{\epsilon})$ in the $\ell_{2,k}$ norm, matching the information-theoretic optimum for distributions with bounded covariance.
  • Sample Complexity: The required number of samples scales as $n \approx (k^2 \log d + \log(1/\tau))/\epsilon$. The $\log d$ term proves the algorithm successfully leverages sparsity (avoiding a linear dependence on $d$). Furthermore, the $k^2$ term matches the conjectured "computational-statistical gap," as it is widely believed that no polynomial-time algorithm can achieve the information-theoretic $O(k)$ limit.
  • Efficiency: The entire pipeline runs in time polynomial to both the number of samples and the ambient dimensions.

Limitations and Future Directions

As a purely theoretical work focused on mathematical guarantees, the paper notes a few limitations and areas for future exploration. First, while the $k^2$ dependence is likely necessary for polynomial-time algorithms, it remains a theoretical gap compared to the $O(k)$ sample complexity achievable with unbounded computing power. Second, the algorithm requires the 4th moment to be bounded along the axes; future work could investigate whether this can be relaxed to only require a bounded 2nd moment (covariance). Finally, translating these theoretical bounds into a practical, high-performance software library would require significant empirical tuning of the truncation radii and filtering thresholds.

Summary updated

BibTeX
@inproceedings{diakonikolas2022outlier,
  author = {Ilias Diakonikolas and Daniel Kane and Jasper C.H. Lee and Ankit Pensia},
  title = {{Outlier-Robust Sparse Mean Estimation for Heavy-Tailed Distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=jWgGtPmi8c},
}
Figure