Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Robust k-means
Machine learningMachine learning

Robust k-means

Robust k-means Clustering · Also known as: robust k-means clustering, trimmed k-means, outlier-resistant k-means, RKM

Robust k-means is a variant of classical k-means clustering designed to resist the influence of outliers. By trimming a specified fraction of the most extreme observations before computing cluster centers, it produces stable and meaningful partitions even when the data contain noise, contamination, or heavy-tailed distributions — situations where standard k-means breaks down.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Robust k-means
DBSCANHierarchical ClusteringK-meansSpectral ClusteringRobust Gaussian Mixture…

When to use it

Use Robust k-means when you need to cluster continuous multivariate data but suspect the presence of outliers, measurement errors, or data contamination that would distort a standard k-means solution. It is especially appropriate when the trimming fraction can be estimated from domain knowledge (e.g., expecting up to 10% erroneous records). Avoid it when k is unknown and no sensitivity analysis is planned — the joint choice of k and alpha requires care. It is not suited to categorical or mixed-type data, which call for k-modes or k-prototypes instead. For very high-dimensional data, distance concentration may undermine the trimming criterion.

Strengths & limitations

Strengths
  • Explicitly controls outlier influence via the trimming fraction, making clusters interpretable and stable under contamination.
  • Retains the simplicity and scalability of k-means while adding meaningful robustness guarantees.
  • The trimmed observations themselves serve as an automatic outlier detection by-product.
  • Well-supported by rigorous statistical theory, with proven breakdown-point properties.
  • Compatible with k-means++ initialization and parallel restarts, keeping computation tractable on large datasets.
Limitations
  • Requires two tuning parameters — number of clusters k and trimming fraction alpha — both of which must be chosen carefully.
  • Assumes roughly spherical, equally sized clusters; elongated or irregular cluster shapes favor DBSCAN or spectral methods.
  • Sensitive to the choice of distance metric; Euclidean distance can be misleading in high dimensions.
  • Trimmed observations are excluded from final cluster membership, which may be problematic if those points carry scientific meaning.

Frequently asked

How do I choose the trimming fraction alpha?

Start from domain knowledge about the expected contamination rate (e.g., 5–10% erroneous records). Then run a sensitivity analysis across a grid of alpha values and inspect how cluster sizes and the composition of the trimmed set change. Stable clusters across a range of alpha values suggest the solution is genuine.

Is Robust k-means the same as k-medoids?

No. k-medoids (PAM) replaces the mean center with an actual data point (the medoid), which also provides outlier resistance but through a different mechanism. Robust k-means still uses means but excludes outlying observations before computing them. k-medoids is more interpretable for categorical-adjacent data; Robust k-means has stronger theoretical guarantees under the trimming framework.

Can I use Robust k-means for outlier detection alone?

Yes, treating the trimmed fraction as a flagged anomaly set is a legitimate application. However, for dedicated anomaly detection, methods such as Isolation Forest or DBSCAN (which labels noise points explicitly) may be more appropriate, as they do not require specifying k clusters.

Does Robust k-means scale to large datasets?

Reasonably well. Each iteration involves computing distances and sorting, which is O(nk) per iteration — the same complexity as standard k-means with an added sort. For very large n, mini-batch variants of Robust k-means have been proposed in the literature.

What if my clusters are very different in size?

Standard Robust k-means (like standard k-means) tends to produce clusters of similar size. If your clusters are expected to differ greatly in density or membership, consider DBSCAN, Gaussian Mixture Models, or the more general TCLUST framework, which allows for different cluster shapes and sizes within the same trimming paradigm.

Sources

  1. Garcia-Escudero, L. A., & Gordaliza, A. (1999). Robustness properties of k-means and trimmed k-means. Journal of the American Statistical Association, 94(447), 956–969. DOI: 10.2307/2670010 ↗
  2. Garcia-Escudero, L. A., Gordaliza, A., Matrán, C., & Mayo-Iscar, A. (2008). A general trimming approach to robust cluster analysis. Annals of Statistics, 36(3), 1324–1345. DOI: 10.1214/07-AOS515 ↗

How to cite this page

ScholarGate. (2026, June 3). Robust k-means Clustering. ScholarGate. https://scholargate.app/en/machine-learning/robust-k-means

Related methods

DBSCANHierarchical ClusteringK-meansSpectral Clustering

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • DBSCANMachine learning↔ compare
  • Hierarchical ClusteringMachine learning↔ compare
  • K-meansMachine learning↔ compare
  • Spectral ClusteringMachine learning↔ compare
Compare side by side →

Referenced by

Robust Gaussian Mixture Model

Similar methods

Robust K-means ClusteringRobust Cluster AnalysisRobust Mixture ModelingRobust Gaussian Mixture ModelRobust Hierarchical ClusteringRegularized k-meansK-meansEnsemble K-means

Related reference concepts

K-Means ClusteringClustering AlgorithmsCluster AnalysisModel-Based ClusteringRobustness (Statistics)Hierarchical Cluster Analysis

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Robust k-means (Robust k-means Clustering). Retrieved 2026-07-20 from https://scholargate.app/en/machine-learning/robust-k-means · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Garcia-Escudero, L. A. & Gordaliza, A.
Year
1999
Type
Robust clustering algorithm
DataType
Continuous (numeric) multivariate data
Subfamily
Machine learning
Related methods
DBSCANHierarchical ClusteringK-meansSpectral Clustering
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account