On the Use of Relative Validity Indices for Comparing Clustering Approaches

Luke W. Yerbury, Ricardo J. G. B. Campello, G. C. Livingston Jr, Mark Goldsworthy, Lachlan O'Neil · DOI

Introduction

Relative Validity Indices (RVIs), such as the Silhouette Width Criterion (SWC), are standard tools in the clustering practitioner's toolkit, primarily used for determining the optimal number of clusters ($k$). However, a growing trend in the literature involves using these indices to select between different "Similarity Paradigms"—combinations of normalization, data representation, and distance metrics. This paper presents a rigorous theoretical and empirical investigation into this practice, revealing that RVIs are fundamentally unreliable for this purpose due to inherent circularity and "ruler" bias.

Problem Statement: The Circularity of Unsupervised Evaluation

Clustering is an unsupervised task lacking ground-truth labels. To evaluate results, practitioners often turn to RVIs, which measure internal properties like cluster compactness and separation. A significant issue arises when these same indices are used to justify the choice of a Similarity Paradigm (SP).

Literature survey showing the widespread use of RVIs for comparing distances (D), normalizations (N), and representations (R).

As shown in the literature survey, many studies use RVIs to compare distance metrics or normalizations. However, RVIs are themselves calculated using a distance metric. If the metric used for evaluation is the same as (or biased toward) the metric used for clustering, the RVI acts as a "biased ruler," leading to a logical circularity that favors certain paradigms regardless of their objective quality.

Methodology

The authors decompose the clustering process into five distinct components, focusing specifically on the Similarity Paradigm (SP): normalization, representation, and distance measure.

The clustering approach framework, highlighting the Similarity Paradigm and its relationship to the Relative Validity Index (RVI).

To evaluate the reliability of RVIs in SP selection, the study compared three evaluation schemes:

  1. Fixed-SP: Evaluation using a single default distance (e.g., Euclidean).
  2. Matching-SP: Evaluation using the same distance measure employed during the clustering phase.
  3. Mean-SP: Averaging RVI scores across a set of candidate distance measures.

The performance of seven popular RVIs (including SWC, Calinski-Harabasz, and Davies-Bouldin) was benchmarked against External Validity Indices (EVIs) like the Adjusted Rand Index (ARI), which utilize hidden ground-truth labels to provide an objective "gold standard."

Experimental Setup

The study involved an exhaustive analysis of over 2.7 million clustering partitions across three diverse dataset batteries:

  • The Vendramin Battery: 972 synthetic datasets with well-separated Gaussian clusters.
  • The Gagolewski Battery: 57 datasets featuring complex shapes, varying densities, and noise.
  • The UCR Archive: 112 real-world time-series datasets requiring specialized measures like Dynamic Time Warping (DTW).

Analysis: The "Ruler" Bias and Scale Incompatibility

The empirical results confirm that RVIs are "local" statistics tied to a specific spatial embedding. Comparing a Silhouette score derived from Euclidean distance to one derived from DTW is mathematically unsound; the values are not on the same scale.

Furthermore, the "Fixed-SP" scheme exhibits a heavy bias: if evaluation is performed using Cosine distance, the RVI will systematically prefer partitions created with Cosine distance. Neither "Matching-SP" nor "Mean-SP" schemes successfully mitigated these biases across all scenarios, failing to consistently identify the optimal similarity paradigm.

Key Results

  • Reliability Gap: While RVIs are effective for $k$-selection (often >80% success on synthetic data), their success rate for SP-selection is significantly lower, often dropping by half.
  • Real-World Performance: On complex time-series data, the success rate for RVIs in selecting the best SP rarely exceeded 30%.
  • Statistical Bias: RVIs such as AUCC, SWC, and DBI demonstrated a statistically significant bias toward their own distance metrics (Optimal When Matching - OWM) across all tested dataset types.

Conclusion and Recommendations

The practice of using RVIs to justify distance metrics or normalization techniques is fundamentally flawed. The authors recommend that practitioners:

  1. Avoid RVIs for SP justification: Use external validation on high-quality labeled proxy datasets or domain-specific objective criteria.
  2. Employ Visual Assessment: Use dimensionality reduction techniques (e.g., t-SNE, MDS) to inspect clustering tendencies visually.
  3. Increase Transparency: Software developers should clearly state the distance metrics used for RVI calculations to prevent inappropriate default applications.

Summary updated

BibTeX
@article{yerbury2025use,
  author = {Luke W. Yerbury and Ricardo J. G. B. Campello and G. C. Livingston Jr and Mark Goldsworthy and Lachlan O'Neil},
  title = {{On the Use of Relative Validity Indices for Comparing Clustering Approaches}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2025},
  doi = {10.1145/3748726},
}
Figure