An LLM judge, asking two yes/no questions about a small sample of items, ranks text-clustering systems roughly as gold labels would. If it holds, systems can be compared on unlabelled corpora.
| Task | Dataset | [95% CI] | |
|---|---|---|---|
| Precision | Banking77 | 44.0 | [] |
| CLINC150 | 44.0 | [] | |
| StackExchange | 38.7 | [] | |
| 20 Newsgroups | 41.0 | [] | |
| MASSIVE-Int. | 30.0 | [] | |
| MASSIVE-Scen. | 43.0 | [] | |
| MTOP-Int. | 41.0 | [] | |
| MTOP-Dom. | 42.0 | [] | |
| Average | 39.1 | [] | |
| Recall | Banking77 | 40.0 | [] |
| CLINC150 | 43.0 | [] | |
| StackExchange | 40.2 | [] | |
| 20 Newsgroups | 39.0 | [] | |
| MASSIVE-Int. | 43.0 | [] | |
| MASSIVE-Scen. | 40.0 | [] | |
| MTOP-Int. | 43.0 | [] | |
| MTOP-Dom. | 43.0 | [] | |
| Average | 40.5 | [] |
Going deeper
The two judgement tasks on real Banking77 items. Precision shows the judge a target i and k of its neighbors and asks whether they share one intent (here they do: no error). Recall additionally shows the k′ nearest items that the system placed in other clusters and asks whether they should have been grouped with i (here they should: a recall error). Decisions are binary Y/N.
| Injected fault | good-rate | Sig. | B3 |
|---|---|---|---|
| Precision (merges; vs B3P) | |||
| gt_mixed | 3/3 | ||
| gt_mixed_adjacent | 3/3 | ||
| Recall (over-splits; vs B3R) | |||
| gt_split | 3/3 | ||
| gt_split_semantic | 3/3 | ||
Several people each sort the same big box of letters into piles. You want to know who sorted best, but nobody wrote down the right answer. Checking every pile yourself would take weeks.
So you pull a handful of letters at random. For each, you ask an assistant two questions: do the letters in this pile really belong together, and are there letters in other piles that clearly belong here? A sorter who lumps things together fails the first question. One who splits things apart fails the second.
Count how often each sorter passes, and you have a ranking. On boxes where the right answer was known, this ranking mostly matched it, better on the first question than the second. Where it missed, the authors say the letters were ones even two careful people sorted differently.
The abstract, word for word, with the seven densest phrases unpacked.
Evaluating text clustering typically requires gold labels, which are expensive to obtain at scale. We present AutoRankCS, a reference-free framework1 that decomposes clustering quality as two prompt-based judgement tasks: precision (are a cluster’s items mutually coherent?)2 and recall (were equivalent items wrongly split apart?)3. Together, these reveal whether a system over-merges unrelated items or over-splits coherent ones, with item-level judgements that illustrate each failure. Given competing clustering systems over the same corpus, AutoRankCS samples a small subset of items, obtains binary LLM judgements on each axis, and ranks systems by the fraction of items judged error-free4. This reference-free ranking reproduces the gold B3 metric ordering at Kendall τ=0.76 for precision and τ=0.57 for recall5 across six dataset families (where τ=0 indicates no association and τ=1 perfect agreement). Importantly, judging roughly 5-10% of a corpus already suffices to preserve the full system ranking6. Our results hold across two backbone LLMs7 tested as judges.
Three lines of work end at this paper. Each stop says what the paper credits it with and what it uses it for.
Read five parts of it, in this order.
If the agreement is weaker than it looks, these three places show why. Each is short.
| Task | Dataset | [95% CI] | |
|---|---|---|---|
| Precision | Banking77 | 44.0 | [] |
| CLINC150 | 44.0 | [] | |
| StackExchange | 38.7 | [] | |
| 20 Newsgroups | 41.0 | [] | |
| MASSIVE-Int. | 30.0 | [] | |
| MASSIVE-Scen. | 43.0 | [] | |
| MTOP-Int. | 41.0 | [] | |
| MTOP-Dom. | 42.0 | [] | |
| Average | 39.1 | [] | |
| Recall | Banking77 | 40.0 | [] |
| CLINC150 | 43.0 | [] | |
| StackExchange | 40.2 | [] | |
| 20 Newsgroups | 39.0 | [] | |
| MASSIVE-Int. | 43.0 | [] | |
| MASSIVE-Scen. | 40.0 | [] | |
| MTOP-Int. | 43.0 | [] | |
| MTOP-Dom. | 43.0 | [] | |
| Average | 40.5 | [] |
As an additional validation, we collected two independent human annotations for 50 precision and 50 recall items, using the same prompts shown to the judge (see Appendix H). We find that the two annotators agree with each other on 74% of precision tasks (kappa=0.48) and 73% of recall tasks (kappa=0.46). Judge-vs-human agreement is lower (59% / kappa=0.18 and 61% / kappa=0.22), but most mismatches fall on items the annotators themselves disagree on: where both annotators agree, the judge matches their consensus 62 – 66% of the time. The disagreements again expose semantic ambiguity. For example, the StackExchange precision item “Convexity and conditional von Neumann Entropy”, grouped with portfolio- and asset-pricing titles, was marked as a mixed cluster by both annotators but coherent by the judge — it spans quantitative finance and quantum-information theory. Conversely, the recall target “How do I calculate a time delta in Google Spreadsheets?” paired with the candidate “a script to convert dates to local timezone” was judged the same topic by both annotators but separate by the judge; both concern date/time manipulation at different levels of specificity.
The judge leverages a few-shot chain-of-thought prompt and emits a binary verdict. Each task uses 16 few-shot examples, class-balanced and drawn once from the weakest system, verified against the ground truth and excluded from evaluation. We experimented with several judge configurations along two axes, namely output format and prompting strategy. For the output, we tried graded labels (a Likert-style categorical scale) and binary Y/N verdicts under both a strict and a lenient collapse of the graded labels; for the strategy, we varied zero-shot versus few-shot demonstrations and the presence of chain-of-thought reasoning. The binary few-shot chain-of-thought variant was the most effective and is used for all main runs, consistent with prior findings that in-context examples and explicit reasoning improve LLM-as-a-judge reliability Liu et al. (2023); Kim et al. (2024). We also tested zero-shot and multi-label prompts, but the few-shot binary variant outperformed both on the synthetic validation set.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
We used AI assistants as coding assistance and for basic proof-reading of our manuscript. We are solely responsible for all content.
More latest news
Read all