Part 4 · Judging RAG · Chapter 21
Judging the judge
In one sentence: an automatic judge is itself a system, so it must be tested, and the usual test is whether it puts a set of systems in the same order as trusted human judgments do.
Why you should care
Chapter 20 gave you a judge. Before you believe its numbers you need evidence that it works. A judge that always prefers the longer answer will produce clean tables and wrong conclusions. In 2026 TREC opened a whole track for this question, Auto-Judge, and we took part. This chapter gives you the tools: how to compare two rankings, how to compare two sets of labels, and three traps.
Words you need
- Meta-evaluation
- Evaluating an evaluation method.
- Leaderboard
- A list of systems ordered by score.
- Reference ranking
- The leaderboard you trust, usually built from human judgments.
- Kendall's tau (τ)
- A number from −1 to 1 that says how alike two orderings are. 1 is the same order, −1 the reverse, 0 no relation.
- tau-AP (τAP)
- A version of tau that punishes mistakes near the top of the list more.
- Cohen's kappa (κ)
- Agreement between two labellers on single items, corrected for the agreement that chance alone would give.
- Circularity
- Testing a judge against a reference that was made, in part, by the same kind of judge.
- Named measure
- The one measure a judge commits to before any result is seen.
Core The idea
Two levels of agreement
A judge can agree with people at two levels. At the label level, it gives the same verdict on the same sentence or nugget. At the system level, it puts the systems in the same order. The system level is easier and is usually what you need, because single errors average out over many topics. A judge can be wrong on a third of the single labels and still rank systems well, as long as its errors do not favour one system.
Kendall's tau by hand
Five systems, A to E. The reference ranks them A, B, C, D, E. Your judge ranks them A, C, B, E, D. Look at every pair of systems. There are ten pairs. The judge has two of them the wrong way round: B with C, and D with E.
Why the top matters more: tau-AP
Tau counts every swapped pair the same. In practice a mistake at the top of a leaderboard matters more than one at the bottom. Take two judges that each make one swap.
| Judge's order | Mistake | τ | τAP |
|---|---|---|---|
| B, A, C, D, E | the top two swapped | 0.80 | 0.50 |
| A, B, C, E, D | the bottom two swapped | 0.80 | 0.875 |
Tau-AP walks down the judge's list. At each system after the first, it asks what share of the systems placed above it truly belong above it. It averages those shares and rescales the result to run from −1 to 1. In the first row, the second system, A, has one system above it and that one does not belong there, so its share is 0. The other three shares are 1. The average is 0.75, and τAP = 2 × 0.75 − 1 = 0.50.
Agreement on labels: kappa
Two judges label 100 sentences as supported or not. They agree on 85. That sounds good. But one judge says “supported” 90 times and the other 85 times, so they would agree often by chance alone.
Three traps
- Circularity. If a language model helped to make the reference, a judge built on the same model will agree with it for the wrong reason. It is partly marking its own homework.
- Picking the best measure afterwards. A judge can output twenty measures. If you report whichever one agrees best with the reference, you are reporting luck. The maximum of many noisy numbers is always flattering.
- Few systems, few topics. With six systems there are only 15 pairs, and one swap moves tau by 0.13. A tau from a small set is a rough reading.
Watch and read
- VideoKendall's Tau [Easily explained] numiqo, 7 minutes. The pair-counting idea with a worked example. Page checked 16 Nov 2026
- SiteTREC Auto-Judge track The task: given all the runs of a host track, score every system and produce a leaderboard. Read 16 Nov 2026
- PaperA New Rank Correlation Coefficient for Information Retrieval Yilmaz, Aslam and Robertson, 2008. The paper that introduced tau-AP. Checked 16 Nov 2026
- PaperPerspectives on Large Language Models for Relevance Judgment Faggioli and others, 2023. The range of ways people and models can share the judging, with arguments for and against. Checked 16 Nov 2026
- PaperDon't Use LLMs to Make Relevance Judgments Soboroff, 2024. The case against, from the person who runs TREC. Read it next to the papers of Chapter 20. Checked 16 Nov 2026
How we did it at TREC 2026
The Auto-Judge task
The track gave every team the system runs of two host tracks, RAG 2026 and RAGTIME 2026, with the systems' names hidden. A judge had to give each system a score on one or more measures. The organizers then compared each judge's leaderboard with the host track's official one, using Kendall's tau and a tau-AP variant that allows ties. Teams could submit ten judges.
One measure, named first
The track's own rule scores a judge by the best of all the measures it outputs. We read that rule as a risk: adding measures can never lower such a score, so a high score may come from the number of measures and not from the judge. So each of our ten runs named one primary measure for each host track before any result existed, and we report each run at that measure. We wrote the plan down on 25 September 2026, before the first pilot upload: the targets, the rule for choosing the main judge, and the role of each run.
| Run | What it is | Why it is there |
|---|---|---|
| 1 | The open-weight panel of Chapter 20 | Our main judge |
| 3, 4 | The same panel, naming a content measure or a support measure | Hedges: is content or support the better guide? |
| 5 | The panel plus pairwise battles | Does preference add to nuggets? |
| 6 | One judge model per track, with a measure that mirrors the track's own | Does copying the official recipe win? |
| 7 | The panel with a different primary measure | Variety |
| 8 | Our first simple judge, frozen | A baseline from before the plan |
| 2, 9 | Our code run by the organizers on small open models | Does the method survive a small model? |
| 10 | One large open model alone | The fallback: is a panel needed at all? |
All choices were made on last year's data from four pilot collections. Feedback from the 2026 test data was not allowed to guide any choice.
The results arrived on 13 November. They go into this book once the organizers agree.
A small case from the RAG track
Chapter 18 showed our six generation runs under assessor nuggets and automatic nuggets. The two orders are identical, a Kendall's tau of 1.0. The scores differ by a factor of two to four. This is the system level and the label level in one table: perfect agreement on the order, none on the level. With six runs it is only an illustration.
What surprised us
Try it
- Rank six systems by a human-made score, then by your own judge. Compute Kendall's tau by counting pairs.
- Compute tau-AP for the same two orders. Is it higher or lower than tau, and why?
- Take 50 single verdicts from your judge and label the same items yourself. Compute raw agreement and kappa.
- Let your judge output five measures. Report tau for the one you named first, then the best of the five. How large is the gap?
Check yourself
- What is the difference between agreement at the label level and at the system level?
- The reference order is A, B, C, D. A judge gives B, A, C, D. Compute Kendall's tau.
- Two judges each make one swap, one at the top and one at the bottom. Which has the lower tau-AP?
- Two labellers agree on 90% of items. Why might kappa still be low?
- Why did we name one measure per run in advance?
Answers
- Label level: the same verdict on single items. System level: the same ordering of systems.
- Six pairs, one swapped: (5 − 1) ÷ 6 = 0.67.
- The one with the swap at the top.
- If one label is very common, much of the agreement would happen by chance.
- Because the best of many measures is partly luck. A score at a measure named first can be believed.
Go deeper
- Ties. When two systems have the same score, plain tau is not defined for that pair. Tau-b is the usual tie-corrected form, and the track's tau-AP variant handles ties too.
- Uncertainty of tau. In our pilots the reference had 22 and 16 judged topics, and we estimated a standard error of about 0.06 to 0.07 for one tau. Differences smaller than that between two judges mean little.
- Optimism from choosing. Even with a plan, we chose among many candidates on the pilot data. The winner of such a search looks better there than it will later. We put our own expected optimism at about 0.04 in tau.
- Which reference? A host track may publish several official measures. A judge can track one and miss another, so the choice of reference measure is part of the result.
- Can models replace assessors? The papers above disagree. A common middle view: models may extend human judgments to more systems, and a fresh human reference is still needed to know whether they did it well.
- Project idea. Take a public track with human nugget scores. Build two judges and report tau, tau-AP and kappa for each, at a measure you name before you run them.