No Labeled Data Required: AutoRankCS Uses LLMs to Automatically Rank Clustering Systems

AutoRankCS uses LLMs to judge precision and recall, ranking clustering systems at low cost without gold labels.
AutoRankCS proposes a reference-free text clustering evaluation framework that breaks clustering quality into two prompt-based LLM binary judgment tasks—precision and recall—and ranks systems by the proportion of error-free items after sampling a small subset of items (about 5%-10%). Across six dataset families, the method reproduces rankings based on the gold B3 metric, with Kendall tau of 0.76 on the precision axis and 0.57 on the recall axis, holding across two backbone LLMs. This paradigm greatly reduces evaluation cost and suits teams that frequently iterate clustering algorithms and domains lacking annotation resources, though consistency on the recall axis is relatively low and the sufficiency of the sampling ratio under different data distributions still requires empirical research.
The Pain Point of Clustering Evaluation and AutoRankCS's Solution
Text clustering is a fundamental task in NLP, but evaluating clustering quality has always been difficult: traditional methods rely on human-annotated gold labels, which are extremely costly on large-scale corpora. AutoRankCS proposes a reference-free evaluation framework that breaks clustering quality down into two prompt-based judgment tasks: precision and recall. The former judges whether items within a cluster are coherent with each other, while the latter judges whether items that should belong to the same cluster have been incorrectly split apart. Combined, the two can reveal whether a system is over-merging unrelated items or over-splitting coherent items, and item-level judgments can concretely expose each failure mode.

Two-Axis Judgment and Ranking Mechanism
The core idea of AutoRankCS is intuitive: given multiple clustering systems on the same corpus, it first samples a small subset of items, then asks an LLM to make binary judgments (yes/no) along the two axes of precision and recall, and finally ranks the systems by "the proportion of error-free items." This reference-free ranking approach requires no gold labels, yet it can reproduce the ranking results based on the gold B3 metric—across six dataset families, Kendall tau is 0.76 on the precision axis and 0.57 on the recall axis (tau=0 indicates no association, tau=1 indicates perfect agreement). More importantly, judging only about 5% to 10% of the items in the corpus is sufficient to preserve the full system ranking. This finding dramatically reduces evaluation cost, making rapid comparison of large-scale clustering systems feasible.
Kendall tau is a rank correlation coefficient used to measure the agreement between two rankings, with values ranging from -1 to 1. Its computation is based on the ranking agreement of all paired samples: if two rankings judge the relative order of the same pair of samples identically, it is recorded as concordant; if opposite, it is recorded as discordant. The closer tau is to 1, the more consistent the two rankings are; close to 0 indicates no association; close to -1 indicates complete opposition. In the context of AutoRankCS, it compares the system ranking produced by the LLM against the standard ranking based on the gold B3 metric, thereby quantifying the accuracy of the reference-free evaluation.
The B³ (B-cubed) metric is a commonly used item-based framework for computing precision, recall, and F-score in clustering evaluation. Unlike traditional cluster-level metrics, B³ computes precision and recall separately for each item: precision measures how many items in the same cluster share the same gold category as that item, while recall measures how many items in the same gold category are assigned to the cluster containing that item. Finally, averaging over all items in the corpus yields the overall precision, recall, and F-score. B³ is insensitive to the number and size of clusters, making it suitable for evaluating imbalanced or variable-number clustering results, and it is therefore often used as the gold standard for ranking clustering systems.
Multi-Source Validation and Robustness
The results hold across two backbone LLMs used as judges, indicating that the method does not depend on a specific model. Although the original text does not mention the specific model names, the cross-model consistency strengthens the credibility of the conclusions. In addition, the coverage of six dataset families also indicates that the method has a certain degree of generalization ability. Interestingly, the tau on the precision axis (0.76) is noticeably higher than on the recall axis (0.57), which may mean that LLMs are more accurate at judging "whether items within a cluster are coherent" than at judging "whether items have been incorrectly split," the latter requiring a more global perspective.
Implications for AI Practitioners
The value of AutoRankCS lies in providing a low-cost, scalable paradigm for clustering evaluation. For teams that need to iterate clustering algorithms frequently, there is no longer any need to annotate gold labels for every version—simply sampling a small number of items and invoking an LLM for judgment yields a reliable system ranking. This not only accelerates experiment cycles but also enables rapid evaluation of clustering performance in domains lacking annotation resources (such as emerging vertical domains). Of course, the method still has room for improvement: judgment consistency on the recall axis is relatively low, which could potentially be improved in the future through more refined prompt design or multi-round judgment. In addition, whether the 5-10% sampling ratio is sufficient under all data distributions still requires more empirical research.
Overall, AutoRankCS demonstrates the potential of LLMs as judges in reference-free evaluation and provides a practical tool for automated ranking of clustering systems.
LLM-as-a-judge is an evaluation paradigm that has emerged in recent years: using large language models to score or make binary judgments on text quality, relevance, or system outputs, replacing expensive human annotation. Its advantage lies in not requiring a dedicated evaluation model to be trained, and evaluation dimensions can be flexibly defined through prompts. However, this method also has known issues such as position bias, length bias, and self-preference, so it typically requires cross-model validation, multi-round judgment, or consistency checks against human annotations. AutoRankCS is precisely a concrete application of this paradigm in clustering evaluation, and its consistent results across two backbone LLMs strengthen the credibility of the conclusions.
Related articles

Tutankhamun's Religious Revolution: How the Boy Pharaoh Reversed His Father's Monotheism
How Tutankhamun reversed his father Akhenaten's monotheistic revolution, restoring Amun and the old gods—revealed through the Restoration Stele, ram-headed sphinxes, and Talatat blocks.

Should You Flake on a Friend? Five Questions to Help You Decide
Should you cancel plans with a friend? Vox's Allie Volpe offers five weighing questions: who you're flaking on, the occasion, how much trouble it is to attend, whether your reason holds up, and the consequences—helping you make a more responsible decision before you send that message.

OpenSSH Adds Support for Composite ML-DSA 87 / ECDSA p384 Keys
OpenSSH commits support for composite ML-DSA 87 and ECDSA p384, combining post-quantum signatures with classic elliptic curve algorithms.