Skip to main content
QUICK REVIEW

[Paper Review] Stop using the elbow criterion for k-means and how to choose the number of clusters instead

Erich Schubert|arXiv (Cornell University)|Dec 23, 2022
Advanced Clustering Algorithms ResearchComputer Science9 citations
TL;DR

This paper argues against using the elbow criterion for selecting the number of clusters in k-means clustering, citing its lack of theoretical foundation and poor performance on diverse data types. Instead, it advocates for superior alternatives like the Calinski-Harabasz VRC, Bayesian Information Criterion (BIC), and Gap statistic, which provide more reliable and consistent cluster selection across various data structures.

ABSTRACT

A major challenge when using k-means clustering often is how to choose the parameter k, the number of clusters. In this letter, we want to point out that it is very easy to draw poor conclusions from a common heuristic, the "elbow method". Better alternatives have been known in literature for a long time, and we want to draw attention to some of these easy to use options, that often perform better. This letter is a call to stop using the elbow method altogether, because it severely lacks theoretic support, and we want to encourage educators to discuss the problems of the method -- if introducing it in class at all -- and teach alternatives instead, while researchers and reviewers should reject conclusions drawn from the elbow method.

Motivation & Objective

  • To challenge the widespread use of the elbow criterion in k-means clustering due to its lack of theoretical rigor and inconsistent performance.
  • To highlight that the elbow method often fails on non-spherical, overlapping, or non-Gaussian data distributions, leading to misleading cluster counts.
  • To promote established, more robust alternatives such as the Calinski-Harabasz VRC, Bayesian Information Criterion (BIC), and Gap statistic for k-selection.
  • To urge educators, practitioners, and reviewers to stop endorsing or accepting conclusions based on the elbow method in favor of more reliable evaluation techniques.
  • To reframe cluster analysis as an exploratory process where multiple valid solutions may exist, and 'optimal' k is inherently subjective.

Proposed method

  • Proposes replacing the elbow method with the variance-ratio criterion (VRC) of Calinski and Harabasz, which evaluates cluster separation relative to within-cluster variance.
  • Recommends using the Bayesian Information Criterion (BIC) to balance model fit and complexity, penalizing overfitting by incorporating the number of clusters and data points.
  • Endorses the Gap statistic, which compares the total within-cluster dispersion to that of a reference null distribution under uniformity, identifying the k that maximizes the gap.
  • Emphasizes that these alternatives are grounded in statistical theory and have been validated in prior literature, unlike the heuristic elbow method.
  • Suggests that these methods are easy to implement and interpret, making them suitable for both educational and research settings.
  • Stresses that k-means itself assumes spherical, equally sized clusters with isotropic variance, so any k-selection method must account for this underlying assumption.

Experimental results

Research questions

  • RQ1Why is the elbow criterion considered unreliable for determining the optimal number of clusters in k-means clustering?
  • RQ2How do established alternatives like the VRC, BIC, and Gap statistic outperform the elbow method in terms of consistency and theoretical soundness?
  • RQ3In what data scenarios does the elbow method fail, and why do these failures undermine its use in real-world clustering applications?
  • RQ4What are the implications of relying on the elbow method for clustering results in academic research and data science practice?
  • RQ5How can educators and reviewers improve the quality of cluster analysis by replacing the elbow method with more robust evaluation techniques?

Key findings

  • The elbow method frequently produces misleading results on non-spherical, overlapping, or non-Gaussian data, such as uniform noise or multivariate normal distributions.
  • The elbow plot often shows a similar 'elbow' shape even on data with no natural clusters, indicating a lack of discriminative power.
  • The Calinski-Harabasz VRC, BIC, and Gap statistic consistently outperform the elbow method across diverse data types, including well-separated, overlapping, and complex-shaped clusters.
  • The VRC and BIC are mathematically grounded and penalize model complexity, reducing the risk of overfitting to spurious cluster structures.
  • The Gap statistic provides a principled reference-based comparison, identifying the k that best distinguishes real clustering structure from random noise.
  • The paper concludes that no single 'optimal' k exists in cluster analysis, and that multiple solutions may be valid—making robust evaluation methods essential for reliable interpretation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.