Introduction
Clustering is often described as an "art" as much as a science. While numerous metrics exist to evaluate clustering quality post-hoc, they typically ignore the effort required to find optimal hyperparameter settings. Standard benchmarks often report peak performance achieved through exhaustive search on labeled data—a luxury rarely available in real-world unsupervised settings. This paper introduces a new framework to quantify the "usability" or "ease-of-tuning" of clustering algorithms, shifting the focus from theoretical maximums to practical utility.
The Expected Maximum Performance (EoM) Metric
The authors propose Expected Maximum Performance (EoM) as a function of the "tuning budget" $t$ (the number of hyperparameter trials). Unlike static metrics, EoM provides a curve illustrating how performance improves as more effort is invested in tuning.
The framework evaluates two search strategies:
- Uninformed Search ($EoM_R$): Simulates random selection of hyperparameters from a predefined range.
- Informed Search ($EoM_B$): Employs Bayesian Optimization to strategically navigate the hyperparameter space.
By analyzing these curves, practitioners can identify which algorithms plateau early (indicating high usability) and which require extensive tuning to reach their potential.
Experimental Evaluation
The study evaluates five common clustering algorithms—BIRCH, DBSCAN, HAC, HDBSCAN, and Mini-Batch K-Means (MBKM)—across a diverse set of benchmarks including 56 generic classification datasets from OpenML and three major NLP text corpora processed with various embedding models.
Key Results and Insights
The experimental results reveal several critical trade-offs between peak performance and tuning effort.
The Ranking Flip
A significant finding is that the "best" algorithm often depends on the available tuning budget. As shown in the aggregated results, an algorithm that performs well with a small budget may be overtaken by another if more trials are allowed. For instance, on generic datasets, HDBSCAN is robust initially but can be surpassed by BIRCH given a sufficient budget.
Robustness vs. Sensitivity
- HAC as the "Easy" Button: Hierarchical Agglomerative Clustering (HAC) consistently plateaus quickly due to its minimal hyperparameter set. While it may not always reach the highest peak, it is highly reliable for practitioners with limited time.
- DBSCAN Sensitivity: DBSCAN exhibits high sensitivity to its
epsparameter. Small changes can lead to drastic performance swings, making it a "high-risk" choice without ground-truth labels for validation. - Embedding Mismatch: Interestingly, traditional clustering algorithms often find "older" GloVe embeddings easier to partition than modern transformer-based embeddings (like MPNet). This suggests a geometric alignment between Euclidean-based clustering and GloVe's vector space.
Conclusion
The EoM metric provides a formal way to penalize "brittle" algorithms that are difficult to use in practice. While calculating EoM still requires ground-truth labels for simulation, it offers a more realistic benchmark for algorithm selection. Future work aims to leverage these sensitivity profiles to develop meta-learning systems that can recommend hyperparameter distributions for new, unlabeled datasets.
Citation: Siddhartha Mishra, Nicholas Monath, Michael Boratko, Ari Kobren, Andrew McCallum. "An Evaluative Measure of Clustering Methods Incorporating Hyperparameter Sensitivity." Proceedings of the Thirty-Sixth AAAI Conference on Artificial Intelligence (AAAI-22).
Summary updated