Skip to main content
QUICK REVIEW

[Paper Review] The Impact of Random Models on Clustering Similarity

Alexander J. Gates, Yong‐Yeol Ahn|arXiv (Cornell University)|Jan 23, 2017
Advanced Clustering Algorithms ResearchComputer Science25 references10 citations
TL;DR

This paper proposes corrected versions of the Rand Index and Normalized Mutual Information (NMI) for clustering similarity by deriving their expected values under two random clustering models—where cluster counts and sizes vary—rather than the standard permutation model. It demonstrates that the choice of random model drastically affects similarity rankings and baseline evaluation, urging practitioners to justify their model choice based on clustering context.

ABSTRACT

Clustering is a central approach for unsupervised learning. After clustering is applied, the most fundamental analysis is to quantitatively compare clusterings. Such comparisons are crucial for the evaluation of clustering methods as well as other tasks such as consensus clustering. It is often argued that, in order to establish a baseline, clustering similarity should be assessed in the context of a random ensemble of clusterings. The prevailing assumption for the random clustering ensemble is the permutation model in which the number and sizes of clusters are fixed. However, this assumption does not necessarily hold in practice; for example, multiple runs of K-means clustering returns clusterings with a fixed number of clusters, while the cluster size distribution varies greatly. Here, we derive corrected variants of two clustering similarity measures (the Rand index and Mutual Information) in the context of two random clustering ensembles in which the number and sizes of clusters vary. In addition, we study the impact of one-sided comparisons in the scenario with a reference clustering. The consequences of different random models are illustrated using synthetic examples, handwriting recognition, and gene expression data. We demonstrate that the choice of random model can have a drastic impact on the ranking of similar clustering pairs, and the evaluation of a clustering method with respect to a random baseline; thus, the choice of random clustering model should be carefully justified.

Motivation & Objective

  • To address the lack of justification in choosing random clustering models for baseline comparison in clustering similarity evaluation.
  • To challenge the widespread use of the permutation model (fixed cluster counts and sizes) as a random baseline, which often does not reflect real clustering scenarios.
  • To derive corrected versions of the Rand Index and NMI under two alternative random models where cluster counts and sizes are allowed to vary.
  • To demonstrate that different random models yield significantly different expected similarity values, affecting the interpretation of clustering performance.
  • To advocate for context-aware selection of random models in clustering evaluation, especially in methods like K-means where cluster sizes vary despite fixed cluster counts.

Proposed method

  • Derives the expected value of the Rand Index under two random clustering ensembles: one where cluster counts and sizes are random, and another where only cluster counts are fixed but sizes vary.
  • Derives the expected value of Normalized Mutual Information (NMI) under the same two random models, accounting for the bias introduced by cluster count and size distribution.
  • Uses Stirling numbers of the second kind and Bell numbers to compute the number of possible clusterings under each model, enabling exact expectation calculations.
  • Applies asymptotic approximations (e.g., Dobiński’s formula) for efficient computation of Bell numbers and Stirling numbers in large datasets.
  • Compares corrected similarity scores across models using synthetic data, handwritten digit recognition (digits dataset), and gene expression data.
  • Introduces a framework for one-sided comparisons, where one clustering is fixed (e.g., a reference), and the other is randomized, to assess significance in real-world clustering evaluation.

Experimental results

Research questions

  • RQ1How does the choice of random clustering model affect the expected similarity values of the Rand Index and NMI?
  • RQ2To what extent do the permutation model and more flexible random models (with variable cluster counts and sizes) differ in their baseline expectations?
  • RQ3How do the corrected similarity measures perform in real-world clustering scenarios such as K-means on handwritten digits and gene expression data?
  • RQ4What impact does the normalization term in NMI have on bias, especially when cluster counts vary?
  • RQ5Can one-sided comparisons (with a fixed reference clustering) lead to different conclusions depending on the random model used?

Key findings

  • The expected Rand Index and NMI under the standard permutation model are significantly different from those under models allowing variable cluster counts and sizes, especially as dataset size increases.
  • The expected similarity of random clusterings under the new models increases with dataset size, contradicting intuition but explained by convergence in expected cluster count and size distribution.
  • In the digits dataset, K-means clusterings show high similarity to the reference clustering under the permutation model, but this similarity drops significantly when corrected under a more realistic random model with variable cluster sizes.
  • Gene expression data shows that the choice of random model alters the ranking of clustering methods, with some methods appearing better or worse depending on the baseline.
  • The normalization term in NMI introduces a bias that depends on cluster count, and this bias is not adequately corrected under the permutation model, leading to misleading interpretations.
  • The paper's framework reveals that the permutation model is often 'not random enough'—it preserves structural features of real clusterings, thus providing a poor baseline for evaluation.

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.