Robustly Learning Mixtures of k Arbitrary Gaussians

Ainesh Bakshi, Ilias Diakonikolas, He Jia, Daniel M. Kane, Pravesh K. Kothari, Santosh S. Vempala

Abstract

This paper presents the first polynomial-time algorithm for robustly learning a mixture of $k$ arbitrary Gaussian distributions in high dimensions. Even when a constant fraction $\epsilon$ of the data is maliciously corrupted, our method achieves an error guarantee independent of the dimension $d$. By combining Sum-of-Squares (SoS) based partial clustering with a novel list-decodable tensor decomposition and recursive spectral separation, we resolve a long-standing open problem in algorithmic robust statistics, matching known Statistical Query (SQ) lower bounds.

Introduction

Gaussian Mixture Models (GMMs) are a cornerstone of latent variable modeling, used to represent complex data as a combination of multiple normal distributions. While algorithms for learning these models in idealized, noise-free settings have existed for over a decade, real-world data is frequently subject to corruption.

The central challenge addressed here is robustness. Traditional estimation methods are notoriously fragile; a single adversarial outlier can significantly bias the estimation of means and covariances. In robust statistics, the objective is to design estimators capable of tolerating a constant fraction $\epsilon$ of corrupted data points, regardless of the ambient dimension $d$. Prior to this work, robust algorithms were limited to specific cases, such as single Gaussians or well-separated mixtures. Learning a mixture of $k$ arbitrary Gaussians—where components may overlap or have highly anisotropic covariances—remained an elusive goal.

Methodology

We employ a "divide and conquer" strategy that transitions between different algorithmic regimes based on the clusterability of the data:

  1. Robust Partial Clustering (SoS Approach): When components are well-separated in terms of Total Variation (TV) distance, we utilize the Sum-of-Squares (SoS) hierarchy. This framework of semidefinite programs allows for a "partial clustering" that partitions the data into simpler sub-mixtures.
  2. List-Decodable Tensor Decomposition: In the "non-clusterable" regime where components overlap, we analyze higher-order moments, specifically the 4th-order Hermite tensor. We introduce an algorithm to "collapse" modes of this tensor using random matrices, generating a list of candidate parameters.
  3. Recursive Spectral Separation: To handle "thin" components (those with very small eigenvalues in their covariance matrices), we developed a recursive subroutine. This identifies these skinny directions, projects the data, and enables further clustering.
  4. Robust Tournament: Since the tensor decomposition step produces multiple potential models, we employ a robust "tournament" to compare these hypotheses against fresh corrupted samples, selecting the one that best fits the underlying distribution.

Theoretical Framework

As a theoretical contribution, this work utilizes the Total Variation Contamination Model. In this model, an adversary replaces an $\epsilon$-fraction of $n$ samples drawn from a $k$-GMM with arbitrary points. We provide rigorous mathematical proofs that our algorithm succeeds on any such input, achieving both "proper learning" (finding a mixture close in TV distance) and "parameter recovery" (identifying the actual means and covariances).

Key Insights: The "Parallel Pancakes"

A major hurdle in GMM learning is the "parallel pancake" problem, where different mixtures have identical low-order moments but differ significantly in a single "hidden" direction. We demonstrate that while low-order moments cannot identify components exactly, they can identify them up to a low-rank error. Furthermore, our algorithm is weight-independent, handling components with very small weights by treating them as noise until they become statistically significant.

Results and Complexity

  • Polynomial Complexity: The algorithm runs in $\text{poly}(d, 1/\epsilon)$ time for any fixed $k$. The sample complexity is $d^{O(k)} \text{poly}(1/\epsilon)$.
  • Dimension-Independent Error: The TV distance error depends only on $\epsilon$ and $k$, not on the dimension $d$.
  • Optimality: The $d^{O(k)}$ dependence matches known Statistical Query (SQ) lower bounds, suggesting this complexity is qualitatively optimal.

Conclusion and Future Work

While this work establishes a polynomial-time framework for robust GMM learning, the exponent's dependence on $k$ remains a practical bottleneck. Future research may explore whether the dependence on $k$ can be improved or if the SoS-based approach can be simplified for broader application in high-dimensional data science.

Summary updated

BibTeX
@inproceedings{bakshi2022robustly,
  author = {Ainesh Bakshi and Ilias Diakonikolas and He Jia and Daniel M. Kane and Pravesh K. Kothari and Santosh S. Vempala},
  title = {{Robustly Learning Mixtures of k Arbitrary Gaussians}},
  booktitle = {STOC},
  year = {2022},
  doi = {10.1145/3519935.3519953},
}
Figure