Systematic Analysis of Cluster Similarity Indices: How to Validate Validation Measures

Martijn Gösgens, Liudmila Prokhorenkova, Aleksei Tikhonov

TL;DR

Choosing the right cluster similarity index is crucial but challenging due to disagreements among existing measures, which can lead to suboptimal algorithm performance in real-world applications. This paper provides a rigorous theoretical framework to formally define desirable properties of these indices and systematically analyzes dozens of them, offering clear recommendations for selecting the best index for a given task.

What Problem Does This Paper Address?

When evaluating clustering algorithms, we often use "cluster similarity indices" to compare a proposed clustering to a known "ground truth" or reference clustering. The problem is that there are many such indices, and they don't always agree on which clustering is "better." This disagreement is not just academic; it can lead to choosing a suboptimal clustering algorithm for a specific application, potentially degrading performance. For instance, one index might favor algorithms that produce many small clusters, while another might prefer algorithms that produce fewer large clusters. The authors aim to bring clarity to this situation by providing a systematic way to understand and choose the most appropriate index.

Methods

The authors tackle this problem by developing a theoretical framework. They:

  1. Define Desirable Properties: They formally define a set of properties that a "good" cluster similarity index should ideally possess. These include properties like symmetry (the order of clusterings shouldn't matter), linear complexity (fast computation), and crucially, "constant baseline" (the index shouldn't unfairly favor clusterings with many or few clusters).
  2. Theoretical Analysis: They then rigorously analyze a large number of existing cluster similarity indices against these defined properties. This involves mathematical proofs to determine whether each index satisfies each property.
  3. Recommendations: Based on this analysis, they provide guidance on how to choose an index, suggesting that practitioners should first identify which properties are most important for their specific application and then select an index that satisfies those properties. They highlight that some commonly used indices have significant drawbacks and advocate for less common but more robust alternatives.

Datasets

The paper uses several real-world datasets for evaluation, including 16 datasets from the UCI Machine Learning Repository (e.g., Arrhythmia, Balance Scale, Ecoli, Heart Statlog, Letter, Segment, Vehicle, Wine, etc.). For these datasets, the "target class" field was used as the reference partition. Additionally, an experiment was conducted on a news aggregation system, using manually grouped news articles as a reference.

Key Insights and Ideas

  • Disagreement is Rampant: Many popular cluster similarity indices are inconsistent with each other, meaning they can rank the same pair of clusterings differently. This inconsistency is not just theoretical; it was observed in experiments on real datasets.
  • "Constant Baseline" is Crucial: A key property is the "constant baseline," which ensures an index doesn't unfairly prefer clusterings with many or few clusters. Many commonly used indices violate this, leading to biased results.
  • Some Indices are "Dominated": The analysis reveals that some widely used indices are outperformed by others that are less popular but possess more desirable theoretical properties. For example, Adjusted Rand Index (AR) is shown to be dominated by Correlation Coefficient (CC) and Sokal&Sneath (S&S).
  • No Single "Best" Index: The paper emphasizes that the "best" index depends on the specific application's needs. Different properties are important in different contexts.
  • New Indices Proposed: The authors introduce "Correlation Distance" (CD), which is shown to be a distance metric and has desirable properties, including an asymptotic constant baseline.

Key Results

  • Extensive Property Analysis: The paper provides a comprehensive theoretical analysis of dozens of cluster similarity indices against a set of formally defined desirable properties.
  • Inconsistency Demonstrated: Experiments showed significant inconsistency rates (e.g., Adjusted Rand and Variation of Information disagree in almost 40% of cases).
  • Recommendations for Practice: The authors identify a few indices (AMI, S&S, CC, and CD) that satisfy most of their proposed desirable properties and are recommended for general use. They specifically highlight CC and S&S as strong alternatives to more popular but flawed indices.
  • Production System Impact: An experiment on a news aggregator system demonstrated how the choice of index could influence algorithm selection, with indices that align with user preferences being identified.

Limitations and Future Work

  • Impossibility Theorem: The authors are working on proving an impossibility theorem stating that for pair-counting indices, monotonicity, distance, and constant baseline cannot be simultaneously satisfied.
  • "Level of Balance" for Clusters: While they discuss how indices might favor small vs. large clusters, a formalization of the "desired balance" that differs per application is still an open area.
  • Statistical Tests: The paper notes that statistical tests for constant baseline and bias cannot definitively prove a property but rather provide evidence for or against it.
  • Practical Application of CD: While Correlation Distance (CD) is theoretically sound, its practical adoption as a similarity index is new, and its performance in various real-world scenarios might require further investigation.

Summary updated

BibTeX
@misc{gosgens2019systematic,
  author = {Martijn Gösgens and Liudmila Prokhorenkova and Aleksei Tikhonov},
  title = {{Systematic Analysis of Cluster Similarity Indices: How to Validate Validation Measures}},
  year = {2019},
  eprint = {1911.04773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.04773},
}
Figure