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

Clustering a Mixture of Gaussians with Unknown Covariance

Damek Davis, Mateo Díaz, Kaizheng WangarXiv 2021

Clustering is a fundamental task in machine learning, yet it remains challenging when data does not conform to spherical distributions. In many real-world scenarios, data follows a Gaussian Mixture Model (GMM) where clusters are "stretched" by a common but unknown covariance matrix. Standard tools like $k$-means often fail in these settings because they assume isotropic (spherical) clusters.

Recent research by Damek Davis, Mateo Díaz, and Kaizheng Wang investigates this problem, uncovering a significant "statistical-computational gap." Their work reveals that while we can statistically solve this problem with relatively little data, doing so efficiently requires a substantially larger sample size.

The Statistical-Computational Gap

The core of the paper's theoretical contribution lies in identifying the trade-off between data efficiency and computational power. The authors analyze two primary approaches: a Max-Cut integer program and a spectral algorithm.

Comparison of algorithmic complexities and error rates.

As shown in the table above, the Max-Cut algorithm is statistically optimal, achieving the Bayes-optimal misclassification rate with a sample size that grows linearly with the dimension ($n \approx d$). However, solving this program is computationally intractable (exponential time). Conversely, the Spectral algorithm is computationally efficient (polynomial time) but requires a quadratic number of samples ($n \approx d^2$) to achieve similar reliability. The authors conjecture that this $d$ vs. $d^2$ gap is a fundamental limit for polynomial-time methods.

Methodology: Invariance and Optimization

The researchers developed a framework based on three key components:

  1. Max-Cut Integer Program: Derived from the Maximum Likelihood Estimator (MLE) for a two-component mixture, this formulation is invariant to linear transformations. This allows the algorithm to ignore the "stretch" of the covariance matrix entirely, focusing only on the subspace spanned by the data.
  2. Spectral Initialization: To provide a starting point for iterative refinement, the authors use a spectral method based on fourth-order moments. This step is the primary source of the $d^2$ sample complexity requirement.
  3. Projected Power Iteration: Once initialized, a "hard-EM" style iterative algorithm converges to optimal labels in $O(\log n)$ steps.

Beyond Gaussians, the authors extend these guarantees to multi-component mixtures and a broader class of distributions (such as strongly log-concave distributions) using transportation-cost inequalities.

Empirical Results

The effectiveness of the proposed covariance-invariant method was tested on both synthetic datasets and real-world data. On the Fashion-MNIST dataset, the task was to separate "T-shirts/tops" from "Pullovers."

Performance comparison on Fashion-MNIST: PCA ground truth vs. k-means vs. the proposed algorithm.

In a 2D projection, standard $k$-means fails significantly (44.8% error) because it cannot account for the elongated shape of the clusters. In contrast, the authors' "New algorithm" successfully identifies the cluster boundary, achieving a much lower error rate of 7.1%. This demonstrates that the theoretical invariance to covariance has practical utility in handling real-world, non-spherical data clusters.

Conclusion

This work provides a rigorous characterization of the statistical and computational limits of clustering under unknown covariance. While the Max-Cut approach sets the statistical benchmark, the spectral method highlights the current practical ceiling for efficient algorithms. Future work remains to bridge this gap or formally prove its necessity, as well as to extend these invariant methods to mixtures with heterogeneous (different) covariance matrices for each cluster.

Summary updated

BibTeX
@misc{davis2021clustering,
  author = {Damek Davis and Mateo Díaz and Kaizheng Wang},
  title = {{Clustering a Mixture of Gaussians with Unknown Covariance}},
  year = {2021},
  eprint = {2110.01602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.01602},
}
Figure