Robust Sparse Estimation for Gaussians with Optimal Error under Huber Contamination

Ilias Diakonikolas, Daniel Kane, Sushrut Karmalkar, Ankit Pensia, Thanasis Pittas

Abstract

In high-dimensional statistics, the challenge of robustly estimating parameters from sparse data has long been hindered by a gap between information-theoretic optimality and computational efficiency. While it is theoretically possible to achieve an error of $O(\epsilon)$ under $\epsilon$-contamination, previous polynomial-time algorithms were limited to an error of $O(\epsilon \sqrt{\log(1/\epsilon)})$. This paper introduces the first computationally efficient algorithms for robust sparse Gaussian mean estimation, PCA, and linear regression that achieve the optimal $O(\epsilon)$ error rate. By utilizing a novel multidimensional filtering approach and semidefinite programming (SDP) relaxations, the authors bridge the gap between theory and practice in robust high-dimensional estimation.

Introduction

Modern data analysis frequently operates in high-dimensional regimes where the number of features $d$ far exceeds the number of samples $n$. To make these problems tractable, researchers often assume sparsity—the idea that only a small subset $k$ of the total features are relevant. However, these models are often fragile when faced with real-world data, which frequently contains outliers.

Under the Huber Contamination Model, an adversary replaces an $\epsilon$-fraction of the data with arbitrary values. The goal is to recover the parameters of the underlying "clean" distribution despite this noise. For years, a significant bottleneck existed: while exponential-time algorithms could achieve the optimal error of $O(\epsilon)$, efficient algorithms were stuck with a sub-optimal $\sqrt{\log(1/\epsilon)}$ factor. This work provides a polynomial-time solution that finally reaches the information-theoretic limit.

The Computational-Statistical Gap

Prior to this work, the landscape of robust sparse estimation was divided into two regimes:

  1. Information Theory: Achieving $O(\epsilon)$ error was possible with $k \log d$ samples, but required exhaustive search or exponential time.
  2. Computation: Polynomial-time algorithms could only guarantee $O(\epsilon \sqrt{\log(1/\epsilon)})$ error. In high-precision applications, this logarithmic overhead represents a significant loss in accuracy.

The authors address the fundamental question: Is it possible to achieve $O(\epsilon)$ error using a sample-efficient, polynomial-time algorithm? Their findings confirm that it is, provided the sample complexity follows the $k^2$ scaling typically associated with computationally efficient sparse estimation.

Methodology: Multidimensional Filtering

The technical core of this paper is a multidimensional filtering method tailored for sparse structures. Traditional robust estimation relies on "one-dimensional filtering," where the algorithm identifies a single direction of high variance and removes points that appear as outliers in that specific projection. However, this one-dimensional view is precisely what leads to the $O(\epsilon \sqrt{\log(1/\epsilon)})$ error.

To achieve $O(\epsilon)$, the authors look at multiple directions simultaneously. The challenge is that finding the "worst" sparse direction is an NP-hard problem. The authors bypass this through several key innovations:

  • SDP Relaxation: They employ semidefinite programming to find "sparse-like" matrices that capture the collective behavior of outliers across multiple dimensions.
  • Coordinate Decomposition: The algorithm iteratively identifies a set of "suspicious" coordinates $H$ (of size approximately $k^2$).
  • Hybrid Estimation: The algorithm treats coordinates differently based on their risk profile. For "clean" coordinates, standard empirical means are used. For the suspicious set $H$, the authors apply a robust "dense" estimator. Because the size of $H$ is restricted, the dense estimation remains computationally efficient.

For Principal Component Analysis (PCA), the authors develop a novel reduction technique. They transform the task of finding a principal component into a robust mean estimation problem, allowing their sparse filter to be applied to covariance estimation as well.

Key Results and Contributions

The paper provides rigorous mathematical proofs for the performance of these algorithms on synthetic Gaussian distributions under Huber contamination. The primary results include:

  • Optimal Error Rates: The algorithms achieve $O(\epsilon)$ error for mean estimation and linear regression. For PCA, they achieve $O(\epsilon/\rho)$, where $\rho$ represents the signal strength. These are the best possible errors regardless of computational budget.
  • Computational Efficiency: All proposed algorithms run in poly(nd) time, ensuring they are scalable to high-dimensional datasets.
  • Sample Complexity: The algorithms require $n \ge \frac{k^2 \log d}{\epsilon^2} \text{polylog}(1/\epsilon)$ samples. While the $k^2$ factor is higher than the information-theoretic $k \log d$, it aligns with the Statistical-Query (SQ) lower bounds, suggesting this is the optimal sample size for any polynomial-time algorithm.

Discussion and Future Directions

While this work represents a major milestone in robust statistics, several avenues for future research remain. Currently, the mean estimation algorithm assumes a known covariance (typically the identity matrix). Extending these optimal $O(\epsilon)$ guarantees to settings with unknown covariance is a significant open challenge.

Additionally, the PCA results are currently optimized for specific ranges of signal strength. Developing a "gap-free" version of sparse PCA that maintains optimality across all signal-to-noise ratios would further generalize the utility of this framework. Finally, while the Gaussian model is a standard benchmark, extending these results to broader sub-Gaussian distributions would broaden the impact of robust sparse estimation in practical machine learning applications.

Summary updated

BibTeX
@inproceedings{diakonikolas2024robust,
  author = {Ilias Diakonikolas and Daniel Kane and Sushrut Karmalkar and Ankit Pensia and Thanasis Pittas},
  title = {{Robust Sparse Estimation for Gaussians with Optimal Error under Huber Contamination}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=E3V5MMwFgd},
}
Figure