English

A fast and slightly robust covariance estimator

Data Structures and Algorithms 2025-03-03 v1

Abstract

Let Z={Z1,,Zn}i.i.d.PRd\mathcal{Z} = \{Z_1, \dots, Z_n\} \stackrel{\mathrm{i.i.d.}}{\sim} P \subset \mathbb{R}^d from a distribution PP with mean zero and covariance Σ\Sigma. Given a dataset X\mathcal{X} such that dham(X,Z)εnd_{\mathrm{ham}}(\mathcal{X}, \mathcal{Z}) \leq \varepsilon n, we are interested in finding an efficient estimator Σ^\widehat{\Sigma} that achieves err(Σ^,Σ):=Σ12Σ^Σ12Iop1/2\mathrm{err}(\widehat{\Sigma}, \Sigma) := \|\Sigma^{-\frac{1}{2}}\widehat{\Sigma}\Sigma^{-\frac{1}{2}} - I\| _{\mathrm{op}} \leq 1/2. We focus on the low contamination regime ε=o(1/d\varepsilon = o(1/\sqrt{d}). In this regime, prior work required either Ω(d3/2)\Omega(d^{3/2}) samples or runtime that is exponential in dd. We present an algorithm that, for subgaussian data, has near-linear sample complexity n=Ω~(d)n = \widetilde{\Omega}(d) and runtime O((n+d)ω+12)O((n+d)^{\omega + \frac{1}{2}}), where ω\omega is the matrix multiplication exponent. We also show that this algorithm works for heavy-tailed data with near-linear sample complexity, but in a smaller regime of ε\varepsilon. Concurrent to our work, Diakonikolas et al. [2024] give Sum-of-Squares estimators that achieve similar sample complexity but with large polynomial runtime.

Keywords

Cite

@article{arxiv.2502.20708,
  title  = {A fast and slightly robust covariance estimator},
  author = {John Duchi and Saminul Haque and Rohith Kuditipudi},
  journal= {arXiv preprint arXiv:2502.20708},
  year   = {2025}
}

Comments

39 pages

R2 v1 2026-06-28T22:01:10.100Z