Robust Cluster Analysis (TCLUST)

Statistics
Introduced by
García-Escudero, Gordaliza, Matrán & Mayo-Iscar (TCLUST)
Year
2008
Type
Robust model-based clustering

What does it do?

Robust Cluster Analysis (TCLUST) is a trimmed model-based clustering method, introduced by García-Escudero and colleagues in 2008, that partitions continuous multivariate data into clusters while limiting the influence of outliers and noise.

It allows a chosen proportion of the worst-fitting observations to be left out of the clustering, so stray points do not shape the recovered clusters. The framework covers a range of clustering approaches, depending on the strength of the restriction placed on the cluster scatter matrices.

The intuition behind the method

Ordinary clustering forces every point into a group, so a handful of outliers can pull cluster centres off course or even create phantom clusters of their own. TCLUST instead allows itself to leave a chosen share of the most poorly fitting points unassigned, then forms clusters from the cleaner remainder. It is like grouping students by exam scores but ignoring a few obviously mismarked papers so they do not distort the groups.

History

García-Escudero, Gordaliza, Matrán and Mayo-Iscar introduced a general trimming approach to robust cluster analysis in The Annals of Statistics in 2008. The approach allows a proportion α of contaminating data and restricts the ratio between the largest and smallest eigenvalues of the group scatter matrices. This restriction makes the problem well defined and guarantees consistency of the sample solutions with the population ones. Depending on the strength of the restriction, the method covers a wide range of clustering approaches, and the authors propose an algorithm for approximately solving the sample problem.

When to use it

Use Robust Cluster Analysis when you want to group continuous multivariate observations and suspect that the data contain outliers or background noise that would distort ordinary clustering. The method assumes continuous multivariate data and requires the number of clusters k, the trimming proportion α and the eigenvalue-ratio constant c to be set. The configured minimum sample on this page is 50 observations; this is a practical guideline rather than a theoretical threshold, and smaller samples make the trimmed estimates less stable. Do not use it when you have no reason to expect contamination, since ordinary clustering is simpler, or when you cannot justify a value for α.

Limitations and considerations

  • The number of clusters k and the trimming proportion α must both be chosen in advance, and the partition is sensitive to these choices.
  • Trimming removes a fixed proportion of observations, so in small samples little data may remain to estimate the cluster parameters.
  • When contamination is heavy, a large α is needed, and a value above the true contamination level discards genuine cluster members.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Resists outliers and contaminating observations that would otherwise pull cluster centres and covariances away from the main structure.
  • Impartial trimming lets the algorithm choose which observations to exclude, rather than relying on a separate prior outlier rule.
  • The eigenvalue-ratio restriction on group scatter matrices allows clusters of different spread while keeping the estimation problem well defined.

Applications

  • Grouping continuous multivariate measurements known to contain a proportion of contaminating records, where ordinary Gaussian mixture fitting would let the contaminants dominate the component scatters.
  • Recovering clusters of differing spread from data with background noise, where a few noise points would otherwise create spurious groups.
  • Clustering datasets in which a trimming level can be justified from prior knowledge of the contamination rate.

How it works

How it works

1

Each retained observation is treated as coming from a mixture of k multivariate normal components, one per cluster, each with its own centre, covariance and weight. The number of clusters k is fixed in advance. The scatter matrices are constrained so that the ratio between the largest and the smallest eigenvalue across all group scatter matrices is bounded by a constant c ≥ 1 chosen by the user. This keeps cluster shapes from degenerating onto a few points and keeps the problem well defined. Small c forces similar scatter in all clusters (c = 1 gives clusters of equal spherical scatter), while large c permits clusters of very different spread.

Formula
x_i \sim \sum_{j=1}^{k} \pi_j\, \mathcal{N}(\mu_j, \Sigma_j), \; i \in Z,\; |Z| = \lceil n(1-\alpha) \rceil, \quad \frac{\max_j \lambda_{\max}(\Sigma_j)}{\min_j \lambda_{\min}(\Sigma_j)} \le c
2

Rather than fitting all observations, TCLUST maximises the trimmed likelihood: it keeps only the best-fitting fraction (1 − α) of the data and discards the remaining proportion α as outliers. The trimming is impartial, so the fit itself decides which points to drop. Centres, covariances and cluster assignments are estimated from the retained subset that maximises the fit. The sample problem is solved approximately by an iterative algorithm that alternates between trimming the worst-fitting observations and re-estimating the parameters. The result can depend on the starting configuration, so use several random starts and keep the solution with the best trimmed likelihood.

Formula
\max_{\theta,\, Z}\; \sum_{i \in Z} \log\!\Big( \sum_{j=1}^{k} \pi_j\, \phi(x_i;\mu_j,\Sigma_j) \Big), \quad |Z| = \lceil n(1-\alpha) \rceil

Common pitfalls

  • Setting α too low for heavily contaminated data, so outliers still enter the clusters.
  • Running TCLUST on samples below the configured minimum of 50 observations, where the trimmed fit is likely to be unstable.
  • Reporting a single partition without checking how the assignments change across alternative values of k, α and c.
  • Over-trimming heavily contaminated data until part of the genuine cluster structure is removed along with the outliers.
  • Using a single start: the iterative algorithm can converge to different local solutions, so run multiple starts and keep the best trimmed likelihood.

Frequently asked questions

What does the trimming proportion α control?

α is the share of observations the method is allowed to discard as outliers. The cleanest part of the data, a fraction 1 − α, drives the clustering, and the worst-fitting observations are set aside. Choosing α too low lets outliers contaminate the clusters; choosing it too high can discard genuine cluster members.

How is TCLUST different from ordinary k-means or Gaussian mixtures?

Ordinary k-means and Gaussian mixtures assign every point to a cluster, so outliers can distort the centres and covariances. TCLUST maximises a trimmed likelihood, so the cluster estimates come only from the retained subset. Trimmed observations are left unassigned and reported as outliers. Which points are trimmed is determined by the fit for the chosen α, not by a separate outlier test.

Do I have to choose the number of clusters myself?

Yes. TCLUST requires the number of clusters k to be fixed in advance, and the eigenvalue-ratio constant c constrains the cluster shapes. Examining the solution across different values of k, α and c is the practical way to check how stable the chosen partition is.

When should I not use TCLUST?

Avoid it when the sample is below the configured minimum of 50 observations, since little data remains after trimming. Also avoid it when contamination is so heavy that the trimming needed to remove it would also remove genuine cluster members. In such cases, compare the results with another approach, such as ordinary model-based clustering with an explicit outlier component, and check that the partitions agree before trusting either.

Related methods

Sources

  1. García-Escudero, L. A., Gordaliza, A., Matrán, C., & Mayo-Iscar, A. (2008). A General Trimming Approach to Robust Cluster Analysis. The Annals of Statistics, 36(3), 1324-1345.

    Open DOI reference
  2. Riani, M., Cerioli, A., Atkinson, A. C., & Perrotta, D. (2014). Monitoring Robust Regression / Robust Clustering. Statistics and Computing.

    Open publication reference