NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust Learning of Mixtures of Gaussians

Daniel M. Kane

TL;DR

This paper presents the first polynomial-time algorithm for robustly learning a mixture of two arbitrary $d$-dimensional Gaussians. Even when an adversary corrupts a small fraction ($\epsilon$) of the data with arbitrary noise, the algorithm recovers the underlying distribution to within $poly(\epsilon)$ error in total variation distance.

What Problem Does This Paper Address?

Gaussian Mixture Models (GMMs) are a cornerstone of unsupervised learning, used to model data that comes from several different "clusters" or subpopulations. While we have known how to learn these models from clean data for some time, real-world data is rarely clean.

The field of robust statistics asks: can we still learn the underlying distribution if a small fraction of our samples are "poisoned" by an adversary? For a single Gaussian, the answer is yes. However, mixtures of Gaussians are much harder. Previous robust algorithms only worked under restrictive assumptions—for example, if the Gaussians were already very far apart (highly separated) or if they all shared the same known covariance matrix (like the identity matrix). This paper tackles the "general" case for two Gaussians with equal weights, allowing them to have any mean and any covariance.

Methods

The author employs a sophisticated multi-stage pipeline to handle the noise and the lack of a priori bounds on the distribution:

  1. Case Splitting (Separation): The algorithm first checks if the two Gaussians are "highly separated" in total variation distance. If they are, it uses existing clustering-based robust techniques.
  2. Normalization: If the Gaussians are not highly separated, the algorithm performs a robust normalization step. It estimates the mean and covariance of the entire mixture and applies an affine transformation so the mixture has roughly mean zero and identity covariance.
  3. Hermite Moment Estimation: To distinguish between different mixtures that look similar at low orders, the algorithm needs higher-order moments (specifically up to the 6th moment). To do this robustly, the author uses Hermite polynomial tensors. These tensors are clever because, for "close" Gaussians, they have bounded covariance, which allows for robust mean estimation of the tensors themselves.
  4. Parameter Recovery via Projections: Once the higher moments are estimated, the algorithm must solve the "inverse problem" of finding the specific Gaussian parameters ($\mu, \Sigma$) that produced those moments. This is done using random projections into lower dimensions and a "guessing" procedure to filter out low-rank noise.
  5. The Tournament: Because the algorithm involves some "guessing" (branching), it produces multiple candidate hypotheses. It concludes by running a "tournament"—comparing the candidates against the noisy sample set to pick the one that best fits the true underlying distribution.

Datasets

As a theoretical work in computational statistics, this paper does not use empirical real-world datasets. Instead, it provides a mathematical proof of correctness and efficiency for an algorithm acting on samples drawn from a Strong Contamination Model. In this model, $N$ samples are drawn i.i.d. from a mixture $X$, and an adversary is allowed to inspect them and replace any $\epsilon N$ of them with arbitrary, even malicious, values.

Key Insights and Ideas

  • The Power of Six: Building on prior non-robust work, the paper reinforces that the first six moments are sufficient to uniquely identify a mixture of two Gaussians.
  • Hermite Tensors as a Robustness Tool: Standard moments (like $E[X^{\otimes 6}]$) are extremely sensitive to outliers. By switching to Hermite polynomials, the author ensures the "variance of the evidence" stays under control, making it possible to apply robust mean estimation techniques.
  • Reduction to "Close" Gaussians: A major conceptual breakthrough is showing that the "hard" case is when the Gaussians are close together. If they are far apart, they can be separated and treated individually; if they are close, their joint moments behave predictably enough to be normalized and solved.

Key Results

  • Efficiency: The algorithm runs in polynomial time relative to the dimension $d$ and the inverse of the error rate $1/\epsilon$ (specifically $poly(d/\epsilon)$).
  • Accuracy: The algorithm returns a hypothesis $\hat{X}$ such that the Total Variation distance $d_{TV}(X, \hat{X}) = poly(\epsilon)$.
  • Generality: This is the first result to achieve these bounds for two Gaussians with arbitrary means and covariances without requiring them to be separated.

Limitations and Future Work

  • Equal Weights Only: The current proof assumes the two Gaussians are evenly weighted (50/50). The author notes that extending this to arbitrary weights is a logical next step but introduces technical complexities in the normalization and moment formulas.
  • The $k > 2$ Challenge: Moving from a mixture of two Gaussians to $k$ Gaussians is significantly harder. The author suggests this would require more complex clustering and likely even higher-order moments ($d^k$ scaling).
  • Error Rate Scaling: The error is $poly(\epsilon)$. In an ideal world, we might want $O(\epsilon)$ or $\tilde{O}(\epsilon)$ error, but the author explains that the "information-theoretic gap" between parameter distance and total variation distance makes this extremely difficult for mixtures.

Summary updated

BibTeX
@inproceedings{kane2021robust,
  author = {Daniel M. Kane},
  title = {{Robust Learning of Mixtures of Gaussians}},
  booktitle = {SODA},
  year = {2021},
  doi = {10.1137/1.9781611976465.76},
}
Figure