NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Data Set Oriented Approach for Clustering Algorithm Selection

Maria Halkidi, Michalis VazirgiannisPKDD 2001

Abstract

Clustering is a fundamental unsupervised learning task, yet evaluating the quality of results remains a significant challenge due to the lack of ground truth labels. This paper introduces the $S\_Dbw$ validity index, a mathematical framework designed to evaluate clustering results by measuring cluster compactness and inter-cluster density. By providing an objective metric, $S\_Dbw$ enables researchers to select optimal clustering algorithms and parameters, particularly in high-dimensional datasets where visual inspection is unfeasible.

The Challenge of Clustering Evaluation

The primary difficulty in clustering lies in its unsupervised nature. Different algorithms, or even the same algorithm with varying parameters, can yield drastically different partitions of the same dataset. In low-dimensional spaces, researchers often rely on visual heuristics, but these do not scale to high-dimensional real-world data.

Comparison of different clustering partitions on the same dataset.

As shown above, the same data can be interpreted in multiple ways depending on the algorithm and the number of clusters ($k$) specified. Without an objective criterion, it is impossible to determine which partition most accurately reflects the underlying structure of the data.

The $S\_Dbw$ Validity Index

The authors propose $S\_Dbw$ as a robust solution to this evaluation problem. The index is composed of two primary components:

  1. Average Scattering ($Scat(c)$): This component measures the internal compactness of clusters. It compares the average variance within clusters to the total variance of the dataset. Lower values indicate tighter, more compact clusters.
  2. Inter-cluster Density ($Dens\_bw(c)$): This novel metric evaluates the separation between clusters. Instead of merely measuring distances between centroids, it assesses the density of data points in the regions between clusters. High density between clusters suggests they are not well-separated.

The optimal clustering scheme is defined as the one that minimizes the total index: $S\_Dbw = Scat(c) + Dens\_bw(c)$.

Experimental Validation

The $S\_Dbw$ index was tested against synthetic and real-world datasets, comparing its performance across popular algorithms like K-means, DBSCAN, and CURE.

Impact of parameter selection on DBSCAN clustering results.

Key findings from the experiments include:

  • Parameter Optimization: As illustrated above, algorithms like DBSCAN are highly sensitive to input parameters such as $Eps$. $S\_Dbw$ successfully identifies the parameter set that minimizes inter-cluster density and maximizes compactness.
  • Algorithm Agnosticism: The index serves as a neutral evaluator. In tests where K-means failed to capture non-spherical clusters, $S\_Dbw$ correctly assigned it a higher (worse) score compared to density-based methods like DBSCAN.
  • Identifying True Cluster Counts: In synthetic tests with known ground truth, the $S\_Dbw$ minimum consistently aligned with the actual number of clusters used to generate the data.
  • Real-World Utility: The index was applied to real-world spatial data, including Greek road networks and island village locations. In the island dataset, $S\_Dbw$ correctly identified 10 clusters as the optimal partitioning for K-means, outperforming other algorithms that struggled with the specific spatial distribution.

Conclusion and Future Directions

The $S\_Dbw$ index provides a much-needed objective tool for the clustering process. While it excels at identifying compact clusters, the authors note limitations with highly non-convex or "extraordinarily curved" shapes. Future work aims to extend the index by using multiple representative points per cluster rather than single centroids, allowing for the validation of arbitrary geometric structures.

Summary updated

BibTeX
@inproceedings{halkidi2001data,
  author = {Maria Halkidi and Michalis Vazirgiannis},
  title = {{A Data Set Oriented Approach for Clustering Algorithm Selection}},
  booktitle = {PKDD},
  year = {2001},
  doi = {10.1007/3-540-44794-6\_14},
}
Figure