A Flexible EM-Like Clustering Algorithm for Noisy Data

Violeta Roizman, Matthieu Jonckheere, Frédéric Pascal

Abstract

Though very popular, it is well known that the EM for GMM algorithm suffers from non-Gaussian distribution shapes, outliers and high-dimensionality. In this paper, we design a new robust clustering algorithm that can efficiently deal with noise and outliers in diverse data sets. As an EM-like algorithm, it is based on both estimations of clusters centers and covariances. In addition, using a semi-parametric paradigm, the method estimates an unknown scale parameter per data-point. This allows the algorithm to accommodate for heavier tails distributions and outliers without significantly loosing efficiency in various classical scenarios. We first derive and analyze the proposed algorithm in the context of elliptical distributions, showing in particular important insensitivity properties to the underlying data distributions. We then study the convergence and accuracy of the algorithm by considering first synthetic data. Then, we show that the proposed algorithm outperforms other classical unsupervised methods of the literature such as k-means, the EM for Gaussian mixture models and its recent modifications or spectral clustering when applied to real data sets as MNIST, NORB, and 20newsgroups.

Introduction

Clustering is a fundamental task in unsupervised learning, with the Expectation-Maximization algorithm for Gaussian Mixture Models (GMM-EM) being one of the most widely used techniques. Despite its popularity, GMM-EM faces significant challenges in real-world scenarios. Specifically, it is highly sensitive to outliers, where even a small number of noisy points can drastically shift cluster centers. Furthermore, it struggles with non-Gaussian data distributions—particularly those with "heavy tails"—and becomes unstable in high-dimensional spaces where covariance estimation is difficult.

GMM-EM failure in the presence of noise.

As shown in Figure 1, standard GMM-EM fails to recover the true underlying clusters when uniform noise is introduced. The estimated contours (solid lines) are distorted by the noise (crosses), missing the true clusters (dashed lines). While existing solutions like $t$-distributions or trimmed clustering exist, they often require manual tuning of hyperparameters such as degrees of freedom or outlier percentages.

The Flexible EM (F-EM) Algorithm

To address these limitations, the authors propose the Flexible EM (F-EM) algorithm. F-EM is built upon the family of Elliptical Symmetric (ES) distributions and introduces a semi-parametric approach. The key innovation is the estimation of a unique nuisance scale parameter ($\tau$) for every individual data point.

E-Step and M-Step

In the E-step, the authors demonstrate that the probability of a point belonging to a specific cluster is independent of the exact "shape" of the underlying ES distribution, making the algorithm effectively distribution-free within this broad family. In the M-step, the algorithm utilizes weighted estimators for means and scatter matrices, generalizing Tyler’s M-estimator from robust statistics. This per-point scaling allows the model to automatically downweight outliers; points far from cluster centers are assigned high $\tau$ values, reducing their influence on the cluster parameters.

Experimental Results

The researchers evaluated F-EM against synthetic datasets and several real-world benchmarks, including MNIST, Small NORB, and 20newsgroups.

Synthetic and Real-World Performance

In synthetic tests with 10% background noise, F-EM maintained high accuracy while standard GMM performance collapsed. On the Small NORB dataset, which features challenging lighting variations, F-EM achieved approximately 70% accuracy, significantly outperforming $k$-means and GMM, which both struggled to exceed 35%. For high-dimensional text data in the 20newsgroups dataset, F-EM demonstrated superior results, effectively handling data sparsity.

Key Insights

  • Automatic Robustness: By allowing each point its own scale, F-EM adapts to heavy tails and noise without requiring user-specified rejection thresholds.
  • The Blessing of Dimensionality: Interestingly, the accuracy of estimating per-point scale parameters improves as the number of dimensions increases, thanks to the law of large numbers.

Conclusion and Future Work

F-EM provides a robust, self-contained clustering framework that outperforms traditional methods in noisy and high-dimensional environments. Future research will focus on proving the joint theoretical convergence of the fixed-point equations used in the M-step. Additionally, the estimated $\tau$ parameters could be leveraged for automated outlier detection systems, and sparse regularization could be integrated to further enhance performance in extremely high-dimensional settings where the number of features exceeds the sample size.

Summary updated

BibTeX
@article{roizman2019flexible,
  author = {Violeta Roizman and Matthieu Jonckheere and Frédéric Pascal},
  title = {{A Flexible EM-Like Clustering Algorithm for Noisy Data}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2019},
}
Figure