TL;DR
Evaluating text clustering usually requires expensive, human-annotated "gold" labels—and even then, standard metrics squish everything into a single score that hides how a system is failing. AutoRankCS is a reference-free framework that uses an LLM as a judge to rank competing clustering systems without any labels at all. By asking two simple binary questions—are a cluster's items coherent (precision), and were related items wrongly split apart (recall)?—it reproduces gold-standard rankings using just 5–10% of a corpus.
What Problem Does This Paper Address?
Text clustering—grouping semantically similar sentences, intents, or documents—powers everything from intent discovery to topic modeling and deduplication. Yet evaluating whether one clustering system is better than another remains surprisingly painful.
Standard external metrics like Normalized Mutual Information (NMI), Adjusted Rand Index (ARI), and $\text{B}^3$ require gold labels, which are expensive to collect, hard to scale, and tied to a specific dataset. Worse, most of these metrics collapse a complex partition into a single number: a system that carelessly lumps unrelated topics together and one that over-splits a coherent group can receive the exact same NMI score, even though they need opposite fixes.
On the other hand, label-free geometric proxies like the silhouette score only measure spatial compactness in embedding space. They are blind to actual semantic meaning. Practitioners need a way to rank competing clustering systems without gold labels, while still diagnosing whether a system over-merges or over-splits.
Methods
Given $M$ competing clustering systems over a corpus of $N$ items, AutoRankCS evaluates them in a multi-stage pipeline:
- Efficient Sampling: Rather than judging every item, AutoRankCS samples a small subset of $n \ll N$ items. It tests two strategies: uniform random sampling, and disagreement-weighted sampling, which up-weights items where the $M$ systems disagree most (measured via average pairwise Jaccard distance).
- Two Binary LLM-Judge Tasks: For each sampled item $i$ and each system, an LLM judge (Claude Sonnet 4.5 at temperature 0) answers two complementary yes/no questions:
- Precision (cluster coherence): The judge sees item $i$ alongside $k=5$ randomly drawn cluster-mates and decides whether they all share the same topic or intent. This catches over-merging.
- Recall (cluster completeness): The judge sees item $i$, $k=5$ cluster-mates, and the $k'=5$ nearest out-of-cluster candidates (ranked by cosine similarity in Instructor-large embedding space). It decides whether those external candidates should have been grouped with $i$. This catches over-splitting.
- Reference-Free Ranking: Each system is scored by its good-rate—the fraction of sampled items judged error-free—separately for precision and recall. A paired McNemar test ($p < 0.05$) determines which system pairs are significantly separated.
Crucially, because the judge only ever sees a fixed number of neighbors ($k=5, k'=5$) per sampled item, evaluation cost is $O(nk)$—completely decoupled from cluster size.
Datasets
The authors evaluate across six public benchmark families (32 corpora in total, micro-averaged), spanning intent detection, news, and community Q&A:
- Banking77: 13k banking intent utterances across 77 classes.
- CLINC150: 150 intent classes.
- MASSIVE: 16.5k virtual-assistant utterances, evaluated separately on both 18 scenarios and 60 intents.
- MTOP: 19.7k task-oriented utterances, evaluated on both 11 domains and 113 intents.
- 20 Newsgroups: 20 topic categories.
- StackExchange: 25 test sets of post titles across diverse topics.
They compare a pool of 10 clustering systems (2 clustering algorithms $\times$ 5 embedding models). No new benchmarks are introduced.
Key Insights and Ideas
- Diagnostic decomposition works: In controlled fault-injection experiments on Banking77, each axis responded specifically to the failure mode it targets—over-merging dropped precision good-rates, while over-splitting dropped recall good-rates.
- Disagreement-weighted sampling shines for pairs, not pools: When ranking 10 systems at once, averaging disagreement across all $\binom{10}{2} = 45$ pairs dilutes the signal, making disagreement-weighted sampling perform about the same as uniform sampling. When comparing just two systems, however, disagreement-weighted sampling clearly outperforms uniform sampling. This suggests a practical two-stage protocol: use uniform sampling to rank the full pool, then use disagreement-weighted sampling to resolve near-ties.
- Residual disagreements reflect genuine ambiguity: When the LLM judge disagreed with gold labels, qualitative inspection showed these were genuinely ambiguous boundary cases. In a human study, two human annotators only agreed with each other on 74% of precision items and 73% of recall items—suggesting the gap to gold labels is largely due to inherent task subjectivity rather than judge failure.
Key Results
- Ranking fidelity: Against gold $\text{B}^3$ precision and recall, AutoRankCS achieves Kendall $\tau = 0.76$ (precision) and $\tau = 0.57$ (recall)—dramatically outperforming the silhouette score ($\tau = 0.25$ and $0.22$). Combining precision and recall good-rates via their geometric mean tracks NMI at $\tau = 0.73$ ($r = 0.86$) and $\text{B}^3\text{F1}$ at $\tau = 0.64$ ($r = 0.81$).
- Data efficiency: Judging roughly 5–10% of a corpus (around 500–1,000 items per system) suffices to stabilize $\tau$ and reach 80% detection power.
- Robustness across judges: Re-running the framework with GPT-OSS-20B reproduces virtually the same system rankings ($\tau = 0.77$ precision, $\tau = 0.64$ recall), even though item-level agreement between the two judges is moderate ($\kappa = 0.48$ for precision, $\kappa = 0.37$ for recall).
Limitations and Future Work
The authors note several limitations:
- Scale: Main experiments used a single random seed, two judge models, and two clustering algorithms; broader coverage would strengthen robustness.
- Sampling strategies: Only uniform sampling and one disagreement-weighted variant (mean pairwise Jaccard distance) were tested. The proposed two-stage protocol is supported by individual results, but remains to be empirically validated end-to-end.
- Recall difficulty: Recall is inherently harder and more subjective than precision. Improving prompting or task formalization—and closing the gap to human-level agreement—are promising directions for future work.
Summary updated