Robust high dimensional expectation maximization algorithm via trimmed hard thresholding

Di Wang, Xiangyu Guo, Shi Li, Jinhui Xu

TL;DR

This paper introduces Trimmed Gradient EM, a robust version of the Expectation-Maximization algorithm designed to handle high-dimensional data ($d \gg n$) containing arbitrary corruptions. By integrating gradient trimming and hard thresholding, the authors prove that the algorithm achieves geometric convergence to near-optimal statistical rates, effectively "corruption-proofing" one of machine learning's most essential tools.

What Problem Does This Paper Address?

The Expectation-Maximization (EM) algorithm is a staple for estimating latent variable models, such as Gaussian mixtures. However, standard EM is notoriously "brittle." In high-dimensional settings where we assume the underlying parameters are sparse, even a small fraction of outliers or adversarial "corruptions" can completely derail the estimation process.

While recent research has provided statistical guarantees for EM in high dimensions, these models typically assume "clean" data. If just 5% of your samples are corrupted, classical high-dimensional EM variants often fail to converge or produce unacceptably high error rates. The authors set out to bridge this gap: creating an EM variant that is both computationally efficient in high dimensions and robust against arbitrary data corruption.

Methods

The authors propose a new algorithm called Trimmed (Gradient) Expectation Maximization. It modifies the standard Gradient EM procedure with two critical additions:

  1. Dimensional $\alpha$-trimming (The Robust Step): In the E-step, instead of simply averaging the gradients across all samples, the algorithm performs "trimming." For every single dimension, it discards the largest and smallest $\alpha$ fraction of gradient values. This prevents any individual corrupted sample from exerting too much influence on the update direction.
  2. Hard Thresholding (The Sparsity Step): To handle the high-dimensional nature of the problem ($d \gg n$), the algorithm applies a hard thresholding operator after the M-step. It keeps only the $s$ largest components of the parameter vector, enforcing the sparsity needed to make estimation tractable.

The algorithm alternates between these robust E-steps and thresholded M-steps, maintaining a sparse estimate that ignores the "noise" introduced by outliers.

Datasets

The paper evaluates the algorithm using synthetic datasets tailored to three canonical latent variable models:

  • Gaussian Mixture Models (GMM): Estimating the means of two symmetric Gaussian clusters.
  • Mixture of Regressions (MRM): Linear regression where samples come from one of two different underlying models.
  • Linear Regression with Missing Covariates (RMC): A regression task where some input features are randomly missing.

In each case, the authors manually inject "adversarial" corruption by replacing a fraction $\epsilon$ of the data with high-variance Gaussian noise to test the limits of the algorithm.

Key Insights and Ideas

  • Gradient Trimming is Key: Rather than trying to identify and remove "bad" samples upfront, trimming the gradients coordinate-wise is a more flexible way to achieve robustness in non-convex optimization problems like EM.
  • Geometric Convergence: One of the most significant theoretical contributions is proving that the algorithm still converges "geometrically" (exponentially fast) to a neighborhood of the true parameter, even with the trimming and thresholding steps.
  • The "Corruption Floor": The theory shows that the final estimation error consists of two parts: the standard statistical error (which goes to zero as you get more data) and a "corruption error" proportional to the fraction of bad samples $\epsilon$.
  • Optimal Robustness: The algorithm is shown to be near-optimal as long as the fraction of corrupted samples $\epsilon$ is bounded by roughly $\tilde{O}(1/\sqrt{n})$.

Key Results

The authors first demonstrate the vulnerability of existing methods. As seen in Figure 1, classical high-dimensional EM fails immediately when corruption ($\epsilon > 0$) is introduced.

Estimation error of classical high dimensional gradient EM algorithm in Wang et al. (2015) w.r.t sample size, iteration and dimension

In contrast, the proposed Trimmed EM remains stable. Figure 3 shows the algorithm achieving linear convergence (a straight line on a log-scale) across all three models, even with corruption rates as high as 20% ($\epsilon = 0.2$).

Estimation error versus iterations t under different dimensionality d

Furthermore, Figure 4 confirms that the algorithm's performance is largely independent of the total dimension $d$, which is the hallmark of a successful high-dimensional statistical method.

Estimation error versus iterations t under different dimensionality d

Limitations and Future Work

  • Initialization: The current theory requires a "warm start"—the initial guess must be reasonably close to the true parameter. Finding a robust way to generate this initial guess in high dimensions remains an open problem.
  • Known Sparsity: The algorithm assumes the user knows (or can accurately guess) the sparsity level $s^*$. Handling cases where the sparsity is unknown is a suggested direction for future research.
  • Model Complexity: While the three models studied are fundamental, real-world data often involves more complex latent structures (e.g., more than two mixture components) that may require further algorithmic refinements.

Summary updated

BibTeX
@article{wang2020robust,
  author = {Di Wang and Xiangyu Guo and Shi Li and Jinhui Xu},
  title = {{Robust high dimensional expectation maximization algorithm via trimmed hard thresholding}},
  journal = {Machine Learning},
  year = {2020},
  doi = {10.1007/s10994-020-05926-z},
}
Figure