Why does k-means fail when clusters are non-convex or concentric?

Last updated 11 November 2026

  • Nearest-centroid assignment makes every cluster a convex Voronoi cell with linear boundaries, so moons and concentric rings cannot be represented.

  • Concentric rings share the same mean, so k-means slices them into wedges. SSE rewards compactness, not connectivity, so the true partition can score worse.

  • Fixes: DBSCAN/HDBSCAN, spectral clustering, kernel k-means or feature transforms (e.g. radius for rings), or single-linkage hierarchical clustering.

  • https://www.youtube.com/watch?v=-DYNMBYL_Y4&vl=id
  • https://antoinebrl.github.io/blog/kmeans/
  • https://scikit-learn.org/stable/modules/clustering.html
All Clustering interview questions