Nearly Optimal Robust Covariance and Scatter Matrix Estimation Beyond Gaussians

Gleb NovikovNeurIPS 2026

TL;DR

In high-dimensional statistics, estimating a covariance matrix when a fraction of your data is adversarially poisoned is a notoriously brittle problem—fast, near-optimal algorithms have historically demanded your clean data be strictly Gaussian. This paper breaks through that Gaussian barrier, showing how to achieve those same gold-standard guarantees in polynomial time for the vast family of elliptical distributions, even heavy-tailed ones like the multivariate Cauchy where variance doesn't technically exist. By exploiting geometric symmetry rather than moment bounds, the author unlocks fast, outlier-robust estimation for a much wilder, more realistic set of distributions.

What Problem Does This Paper Address?

Imagine trying to find the shape (covariance) of a high-dimensional data cloud in $\mathbb{R}^d$, except an adversary with unbounded compute has replaced an $\varepsilon$-fraction of your data points with arbitrary outliers (the strong contamination model).

If your clean data is Gaussian, we know how to solve this in polynomial time with nearly optimal error, $O(\varepsilon \log(1/\varepsilon))$. Classic filtering algorithms spot outliers by checking higher-order spread. However, they rely on a rigid algebraic coincidence: a tidy, exact relationship between a Gaussian’s second and fourth moments. Step outside the Gaussian comfort zone—say, to general sub-Gaussian distributions—and getting near-optimal error previously forced you into quasi-polynomial time and sample complexity. Worse, what if your data is heavy-tailed (like a Student’s $t$ or Cauchy distribution) where fourth—or even first—moments are infinite?

This paper asks: can we get Gaussian-grade accuracy in polynomial time without Gaussian moments? The author shows the answer is yes, provided the data comes from an elliptical distribution—essentially any spherically symmetric cloud stretched and shifted by a linear transformation. Because covariance might not exist for heavy-tailed cases, the goal is to estimate the scatter matrix $\Sigma$ (which captures the ellipsoid's shape and orientation up to a scalar factor), and then recover the exact covariance when mild tail conditions allow.

Methods

To tame wild radial tails, the algorithm ignores how far points are from the center and looks only at their direction:

  • Centering and Spatial Sign: First, taking pairwise differences of samples cancels out any unknown center shift. Next, every point $x$ is projected onto a sphere of radius $\sqrt{d}$ via the spatial sign: $\text{spsign}(x) = \sqrt{d} \, x / \|x\|$. This strips away arbitrary, potentially infinite radial behavior, leaving a nicely bounded distribution whose covariance shares the exact same eigenvectors as $\Sigma$—and, in high dimensions, nearly the same eigenvalues.
  • Three-Stage Preconditioning & Generalized Filtering: Because the spatial sign’s fourth moment isn't Gaussian and depends on the unknown $\Sigma$, standard filtering fails. The author splits the data and iteratively reshapes ("preconditions") it toward a sphere across three stages:
  • Coarse Pass: Using an existing Sum-of-Squares (SoS) subroutine, get a rough $O(\sqrt{\varepsilon})$ approximation of $\Sigma$ and use it to make the data nearly spherical (isotropic).
  • Spectral Pass: Apply a novel generalized covariance filter. Instead of testing all matrix directions (where non-Gaussian fourth-moment errors blow up), it restricts mean estimation to rank-1 directions while using a degree-4 SoS relaxation to spot and downweight outliers in polynomial time. This sharpens the error to $O(\varepsilon \log(1/\varepsilon))$ in spectral norm.
  • Frobenius Pass: Once $\Sigma$ is that close to the identity matrix, its fourth-moment tensor closely mimics that of a uniform sphere. A final pass of the filter, calibrated to this spherical reference tensor rather than a Gaussian one, locks in the tight Frobenius norm guarantee.

Datasets

Not discussed in the paper. (This is a purely theoretical work proving mathematical guarantees—no empirical datasets or benchmarks are used.)

Key Insights and Ideas

  • Geometry beats moments: Prior polynomial-time algorithms needed bounded moments certifiable by Sum-of-Squares. Here, directional symmetry does all the heavy lifting—allowing scatter recovery even when the underlying distribution has no finite mean or variance.
  • High dimensions cure heavy tails: In 1D, robustly estimating the variance of sub-exponential data (like a Laplace distribution) incurs a worse $O(\varepsilon \log^2(1/\varepsilon))$ error than Gaussians. Remarkably, in high dimensions ($d \gtrsim \frac{1}{\varepsilon \log(1/\varepsilon)}$), the angular component of an elliptical distribution behaves so much like a Gaussian across lower moments that you can estimate the missing scale factor—and thus the full covariance—at the exact Gaussian rate of $O(\varepsilon \log(1/\varepsilon))$.
  • Decoupling directions from tests: Standard filtering conflates the directions you want to estimate with the quadratic tests used to catch outliers. Separating them lets the algorithm side-step unknown fourth-moment artifacts during the spectral estimation phase.

Key Results

Given $n = \tilde{O}(d^2/\varepsilon^2)$ corrupted samples (specifically $n \ge C \cdot d^2 \log^5(d)/\varepsilon^2$), assuming the scatter matrix has an effective rank $\text{erk}(\Sigma) = \text{Tr}(\Sigma)/\|\Sigma\| \ge C$ (meaning the cloud isn't squished into a tiny subspace, specifically requiring $\text{erk}(\Sigma) > 4$), the algorithm runs in $\text{poly}(n)$ time and outputs $\hat{\Sigma}$ achieving:

  • Scatter Matrix Estimation: Relative spectral norm error $\|\Sigma^{-1/2}\hat{\Sigma}\Sigma^{-1/2} - \text{Id}\| \le O(\varepsilon \log(1/\varepsilon))$ when $d \gtrsim \frac{1}{\varepsilon \log(1/\varepsilon)}$, and the much stronger relative Frobenius norm error $\|\Sigma^{-1/2}\hat{\Sigma}\Sigma^{-1/2} - \text{Id}\|_F \le O(\varepsilon \log(1/\varepsilon))$ when $d \gtrsim \frac{1}{\varepsilon^2 \log^2(1/\varepsilon)}$.
  • Full Covariance Estimation: By adding a robust scale estimator, it achieves the exact same $O(\varepsilon \log(1/\varepsilon))$ Frobenius bound for elliptical distributions satisfying the Hanson-Wright concentration property (e.g., uniform distributions on ellipsoids), and the $O(\varepsilon \log(1/\varepsilon))$ spectral bound for sub-exponential elliptical distributions (e.g., multivariate Laplace).

Limitations and Future Work

  • High-dimension requirement: Because projecting onto a sphere introduces an intrinsic bias of $O(1/d)$ in spectral norm and $O(1/\sqrt{d})$ in Frobenius norm, the dimension $d$ must be large relative to $1/\varepsilon$ (or $1/\varepsilon^2$) so this bias stays smaller than the contamination error.
  • Effective rank floor: The initial preconditioning step breaks down if the data essentially lives in 4 dimensions or fewer ($\text{erk}(\Sigma) \le 4$). Removing this mild assumption remains an open problem.
  • What about the center? Taking pairwise differences neatly dodges estimating the location parameter $\mu$, leaving polynomial-time, $\tilde{O}(\varepsilon)$-accurate location estimation for general elliptical distributions as a major open question—alongside tightening sample complexity for robust PCA and exploring differentially private variants.

Summary updated

Abstract

We study the problem of \emph{computationally efficient} robust estimation of the covariance/scatter matrix of elliptical distributions---that is, affine transformations of spherically symmetric distributions---under the \emph{strong contamination model} in the high-dimensional regime $d \gtrsim 1/\varepsilon^2$, where $d$ is the dimension and $\varepsilon$ is the fraction of adversarial corruptions. We show that the structure inherent to elliptical distributions enables us to achieve estimation guarantees comparable to those known for the Gaussian case. We propose an algorithm that, under a {very mild assumption} on the effective rank of the scatter matrix $\Sigma$, and given a nearly optimal number of samples $n = \tilde{O}(d^2/\varepsilon^2)$, computes in polynomial time an estimator $\hat{\Sigma}$ satisfying $ \left\Vert \Sigma^{-1/2} \hat{\Sigma} \Sigma^{-1/2} - Id \right\Vert_{\text{F}} \le O(\varepsilon \log(1/\varepsilon)) . $ This matches the best known guarantees for the Gaussian setting. As an application of our result, we obtain \emph{efficiently computable, nearly optimal robust covariance estimators}, significantly generalizing prior results that were restricted to the Gaussian case or required, in particular, matching the Gaussian fourth moment. Specifically, for elliptical distributions satisfying the Hanson--Wright inequality (including Gaussians, uniform distributions over ellipsoids, and more generally elliptical distributions with Gaussian-type radial concentration), our estimator $\hat{\Sigma}$ of the covariance $\Sigma$ achieves the same error guarantee as in the Gaussian case. Moreover, for elliptical distributions with sub-exponential tails (such as the multivariate Laplace distribution), our covariance estimator $\hat{\Sigma}$ satisfies the spectral norm bound $ \left\Vert \Sigma^{-1/2} \hat{\Sigma} \Sigma^{-1/2} - Id \right\Vert \le O(\varepsilon \log(1/\varepsilon)) . $ Remarkably, despite the heavier tails of such distributions, the covariance can still be estimated at the same rate as in the Gaussian case---a phenomenon unique to high dimensions and absent in low-dimensional settings. Our approach is based on estimating the covariance of the \emph{spatial sign} (i.e., the projection onto the sphere) of elliptical distributions. As part of our framework, we develop a generalization of the standard covariance filtering algorithm that allows us to work with distributions whose fourth moment differs from that of the Gaussian distribution.
BibTeX
@inproceedings{novikov2026nearly,
  author = {Gleb Novikov},
  title = {{Nearly Optimal Robust Covariance and Scatter Matrix Estimation Beyond Gaussians}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=sTDb6ukoob},
}
Figure