EM Algorithm is Sample-Optimal for Learning Mixtures of Well-Separated Gaussians

Jeongyeol Kwon, Constantine Caramanis

Introduction

Learning the parameters of a Gaussian Mixture Model (GMM)—specifically the means, weights, and variances of multiple data clusters—is a fundamental task in unsupervised learning. Despite its ubiquity, the problem is computationally and statistically challenging. Without structural assumptions, the number of samples required to learn a GMM can grow exponentially with the number of components ($k$).

To ensure tractability, researchers typically assume a degree of "separation" between the Gaussian components. A landmark 2017 result established that a separation of $\Omega(\sqrt{\log k})$ serves as a critical threshold: above this limit, parameters can be learned with polynomial sample complexity; below it, complexity becomes super-polynomial. While the Expectation-Maximization (EM) algorithm is the most widely used heuristic for this task, its theoretical guarantees have historically lagged behind this information-theoretic limit. This paper bridges that gap, proving that the standard EM algorithm is sample-optimal for learning spherical GMMs in the well-separated regime.

The Challenge of EM Convergence

Previous theoretical analyses of EM required significantly larger separation—often $\Omega(\sqrt{k})$—and frequently relied on simplifying assumptions, such as known variances or uniform mixing weights. The difficulty in analyzing EM stems from its local nature and the sensitivity of its updates to "bad" samples (outliers or samples that are misattributed to the wrong component).

This work provides a rigorous local convergence analysis that pushes the required separation down to the optimal $\Omega(\sqrt{\log k})$ threshold. Furthermore, the analysis accounts for the simultaneous estimation of all parameters: means ($\mu$), mixing weights ($\pi$), and variances ($\sigma$).

Methodological Innovations

The authors employ several key technical strategies to establish their results:

1. Population to Finite-Sample Transition

The analysis begins with "Population EM," which assumes access to infinite data. The authors demonstrate that Population EM converges at a linear rate. They then utilize concentration of measure inequalities to prove that "Finite-Sample EM" closely tracks the population trajectory, provided the sample size is sufficiently large.

2. Good vs. Bad Sample Decomposition

To handle the influence of outliers, the authors decompose the sample set. They show that "good" samples—those clearly belonging to a specific component—provide a strong signal that drives the algorithm toward the ground truth. Conversely, they prove that "bad" samples occur with such low probability that their cumulative impact on the parameter updates is negligible.

3. Robust Initialization

As a local search algorithm, EM requires a starting point within a certain radius of the true parameters. The authors propose an initialization pipeline using a "proper learning" algorithm to estimate the overall density, followed by a modified "One-Step k-means" to refine these estimates. Crucially, they show that EM converges if the initialization is $O(1)$-close to the truth, a significant relaxation from previous requirements of $O(1/k^2)$-closeness.

Key Results and Insights

The paper establishes that the EM algorithm achieves a sample complexity of $\tilde{O}(kd/\epsilon^2)$ to recover parameters within $\epsilon$-accuracy. This result is significant for several reasons:

  • Information-Theoretic Optimality: The sample complexity matches the known lower bounds (up to logarithmic factors), making EM a sample-optimal algorithm for this class of models.
  • Linear Convergence: Once properly initialized, the error in the parameter estimates decreases exponentially with each iteration.
  • Universal Error Bounds: A striking finding is that the finite-sample error depends only on universal parameters—dimension ($d$), number of components ($k$), and desired accuracy ($\epsilon$)—rather than the specific pairwise distances between component means, provided the minimum separation is met.
  • Parameter Accuracy: The algorithm recovers means to within $\sigma^* \epsilon$, mixing weights to within $\pi^* \epsilon$, and variances to within $\sigma^* \epsilon / \sqrt{d}$.

Limitations and Future Directions

While this work marks a milestone in learning theory, certain constraints remain. The guarantees are currently limited to the "well-separated" regime; extending these optimal bounds to highly overlapping Gaussians remains an open problem. Additionally, the proof utilizes "sample-splitting" (using fresh data for each EM iteration), a common theoretical device that differs from the standard practice of reusing the same dataset. Finally, while the sample complexity is optimal, the computational efficiency of the initialization step remains a challenge in certain high-dimensional settings. Future work may focus on developing a fully polynomial-time, sample-optimal pipeline that eliminates the need for sample-splitting.

Summary updated

BibTeX
@misc{kwon2020em,
  author = {Jeongyeol Kwon and Constantine Caramanis},
  title = {{EM Algorithm is Sample-Optimal for Learning Mixtures of Well-Separated Gaussians}},
  year = {2020},
  eprint = {2002.00329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.00329},
}
Figure