Abstract
We consider the problem of estimating means of two Gaussians in a 2-Gaussian mixture, which is not balanced and is corrupted by noise of an arbitrary distribution. We present a robust algorithm to estimate the parameters, together with upper bounds on the numbers of samples required for the estimate to be correct, where the bounds are parametrised by the dimension, ratio of the mixing coefficients, a measure of the separation of the two Gaussians, related to Mahalanobis distance, and a condition number of the covariance matrix. In theory, this is the first sample-complexity result for imbalanced mixtures corrupted by adversarial noise. In practice, our algorithm outperforms the vanilla Expectation-Maximisation (EM) algorithm in terms of estimation error.
Introduction
Gaussian Mixture Models (GMMs) are a foundational tool in statistics and machine learning used to model populations composed of multiple sub-groups. Typically, practitioners use the Expectation-Maximization (EM) algorithm to find the parameters (means and covariances) of these sub-groups.
However, EM relies on two fragile assumptions: that the data is free of arbitrary/malicious noise, and that the sub-groups are relatively balanced in size. If you have a 2-component GMM where one cluster contains 80% of the data and the other contains 20%, and you introduce even a tiny amount of adversarial noise (e.g., a single extreme outlier), vanilla EM can fail spectacularly. It will often completely mis-estimate the smaller component. While recent advances in robust statistics have solved how to handle noise for a single Gaussian or a balanced mixture, estimating the parameters of an imbalanced, noisy mixture has remained an open problem.
The "Peeling" Meta-Algorithm
The authors propose an iterative "meta-algorithm" that tackles the Gaussians one at a time, in decreasing order of their size (mixing coefficients). Instead of trying to solve the whole mixture at once, the algorithm effectively reduces the complex noisy 2-GMM problem into two simpler noisy 1-GMM problems, stitched together by a smart filtering step:
- Robust Estimation of the Largest Component: It treats the entire dataset as a single Gaussian corrupted by a large amount of noise (which includes the actual noise plus the smaller Gaussian). It uses an existing robust spectral method to estimate the mean and covariance of this primary component.
- Filtering: It calculates the Mahalanobis distance of every data point to this newly estimated Gaussian. The points closest to the center are assumed to belong to this first component and are filtered out.
- Estimating the Second Component: The algorithm takes the remaining points and runs the robust single-Gaussian estimator again to find the parameters of the second, smaller component.
Key Insights and Ideas
- EM is incredibly fragile to imbalance + noise: The authors visually and quantitatively demonstrate that just one single outlier in a slightly imbalanced dataset can cause the standard EM algorithm to completely lose track of the smaller cluster.
- Peeling the onion works: By successfully identifying and removing the largest component first, the "signal-to-noise" ratio for finding the smaller component improves drastically, making it solvable with existing robust 1-GMM techniques.
- Separation depends on imbalance: Theoretical proofs reveal that in imbalanced scenarios, the required distance between the two cluster centers depends heavily on the ratio of their weights. The smaller the second cluster, the further away it needs to be to avoid being swallowed by the larger one.
- Robustness to user error: The algorithm requires the user to input the expected size of the first component ($w_1$). Surprisingly, both the math and the experiments show that even if the user guesses this number slightly incorrectly, the algorithm still outputs highly accurate estimates.
Key Results
The paper relies on synthetic datasets to simulate controlled environments with known ground truths, using 10,000 samples drawn from a noisy 2-GMM with highly imbalanced mixing coefficients ($w_1 = 0.8$, $w_2 = 0.16$) and a malicious noise fraction ($w_3 = 0.04$).
- Massive Error Reduction: In a 10-dimensional space, the estimation error for the smaller component's mean was $\sim 1.18$ for the proposed algorithm, compared to a massive $\sim 78.71$ for vanilla EM.
- High-Dimensional Stability: As dimensionality increases, EM's performance collapses entirely. At $n=60$ dimensions, EM's error on the second component skyrocketed to over $220$. The proposed algorithm remained highly stable, with an error of just $\sim 3.5$.
- No Initialization Required: Unlike EM, which is notoriously sensitive to where you place your starting centroids, this algorithm requires no initialization, leading to much lower variance in its predictions across different runs.
Limitations and Future Work
A notable limitation is that the algorithm requires the mixing coefficient of the largest component ($w_1$) as an input parameter. While it is robust to small errors in this input, a reasonably good guess of the cluster proportions is still required. Future directions include exploring whether swapping the underlying 1-GMM solver with robust EM algorithms could further improve performance and studying if the theoretical bounds on sample complexity are information-theoretically tight.
Summary updated