Abstract
An $\varepsilon$-coreset for a given set $D$ of $n$ points is a small weighted set such that querying the coreset provably yields a $(1+\varepsilon)$-factor approximation to the original dataset for a specific family of queries. We present the first coresets that approximate the negative log-likelihood for $k$-Gaussian Mixture Models (GMM) of arbitrary shapes, removing the restriction that Gaussians must be semi-spherical. For an input set $D$ with integer coordinates in a polynomial grid, the coreset size is $(\log n)^{O(1)}/\varepsilon^2$, computable in near-linear time. Our approach reduces the $k$-GMM problem to a projective clustering problem. Experimental results on real-world datasets demonstrate significant improvements in accuracy and efficiency over existing methods.
Introduction
Gaussian Mixture Models (GMMs) are fundamental tools in machine learning for clustering and density estimation. However, as datasets grow to millions or billions of points, the computational cost of fitting GMMs using algorithms like Expectation-Maximization (EM) becomes prohibitive. Coresets offer a solution by compressing the dataset into a tiny, representative subset. If a coreset is constructed correctly, a model trained on it will provide a $(1+\varepsilon)$ approximation of the model trained on the full data.
While coresets have been successfully applied to $k$-means and $k$-median clustering, GMMs present a unique challenge due to their probabilistic nature and the geometric complexity of their components. Previous state-of-the-art coreset methods for GMMs were limited to "semi-spherical" Gaussians—those where the eigenvalues of the covariance matrices are bounded within a narrow range (typically $[\frac{1}{2\pi}, 2\pi]$). This paper introduces a method to handle Gaussians of any shape, allowing for highly elongated clusters and removing previous scaling restrictions.
Methodology: Bridging Probability and Geometry
The core contribution of this work is a reduction from the probabilistic problem of GMM likelihood estimation to the geometric problem of projective clustering. The authors achieve this through a chain of mathematical reductions:
1. Likelihood Decomposition
The negative log-likelihood of a GMM is decomposed into two parts. The authors isolate the data-dependent portion into a non-negative cost function, $\phi$. This allows the problem to be treated as a minimization of a sum of costs, similar to the objective functions in $k$-means clustering.
2. From GMMs to Subspace Mixture Models (SMM)
The authors map the $k$-GMM problem to a $k$-Subspace Mixture Model. Instead of fitting probability distributions, the problem becomes one of finding affine linear subspaces that best represent the data. This shift is crucial because a subspace can be viewed as the limit of a Gaussian distribution as it becomes infinitely stretched in certain directions, naturally accommodating arbitrary shapes.
3. Projective Clustering and Sensitivity Sampling
To build the coreset, the authors project the $d$-dimensional data into a $2d+1$ dimensional space. They then solve a "projective clustering" problem—finding the maximum distance from any point to a set of $k$ hyperplanes (an $\ell_\infty$ approximation). This $\ell_\infty$ bound is used to calculate the "sensitivity" or importance of each point. By sampling points based on these sensitivities, the authors produce an $\ell_1$-coreset that bounds the total error across the entire dataset.
Experimental Evaluation
The proposed algorithm was evaluated against uniform sampling and previous coreset techniques on three major datasets:
- CSN (Community Seismic Network): 17-dimensional feature vectors from cell phone accelerometers.
- MNIST: The classic handwritten digit dataset, reduced to 100 dimensions via PCA.
- Higgs: A high-energy physics dataset containing 11 million instances.
In the CSN experiments, the new coreset method achieved an approximation error 10x smaller than the previous state-of-the-art and 40x smaller than uniform sampling, even with a coreset size as small as 20 points. Across all datasets, the method consistently outperformed competitors in accuracy while maintaining competitive construction times. Furthermore, the use of a merge-and-reduce tree structure allows these coresets to be maintained over data streams or distributed across parallel architectures.
Theoretical Guarantees and Limitations
The authors prove that for any dataset $D$ with coordinates on a polynomial grid, a coreset of size $(\log n)^{O(1)}/\varepsilon^2$ can be constructed in near-linear time. However, some limitations remain:
- Dimensionality: The theoretical size of the coreset grows exponentially with the dimension $d$ and the number of clusters $k$. While this is a known bottleneck in projective clustering, empirical results suggest that real-world data is often much more manageable than worst-case theoretical bounds.
- Eigenvalue Lower Bound: While the upper bound on eigenvalues was removed (allowing arbitrary stretching), a lower bound is still required to ensure the likelihood function remains well-defined and does not diverge to infinity.
Conclusion
By reducing GMM fitting to a geometric clustering problem, this work provides a robust framework for scaling mixture models to massive datasets without making restrictive assumptions about cluster shapes. The resulting coresets are generic and potentially applicable to other non-convex kernels and distance functions, such as Laplacian mixture models, paving the way for more efficient large-scale probabilistic modeling.
Summary updated