Large test collections are judged by pooling: only the union of many runs' top $k$ is judged, and the rest counts as nonrelevant. On Cranfield, with twelve runs, a depth-100 pool judges a fifth of the collection and finds 80% of the relevant documents. Pooled scores are inflated (BM25's MAP rises from 0.307 to 0.439 at depth 10), but the order of the pool's own systems holds ($\tau = 0.97$); outsiders can be underrated. Kappa, $\kappa = (P(A) - P(E))/(1 - P(E))$, measures agreement beyond chance: 0.776 for the textbook's two assessors, but 0.36 at the same 92.5% raw agreement when relevance is rare. A simulated second assessor moves MAP by about a third yet swaps a median of 3 of 66 system pairs, unless its disagreements favor one system.
The worked ranking that runs through this topic has relevant documents at ranks 1, 3, 6 and 9, and its recall is computed out of five. So someone knew of a fifth relevant document that the system never retrieved. Cranfield's judgments go further: for each of its 225 queries, someone decided which of the 1,400 documents are relevant. This article is about who makes such decisions, how they can cover documents no system found, and how far someone else would have decided the same way.
Every measure in this topic is computed against relevance judgments: someone's decision, for a given information need, about which documents are relevant. The judgments are the most expensive part of a test collection and the most fragile. A collection of a million documents and fifty topics would require fifty million decisions to judge exhaustively. At three seconds each that is 150 million seconds, or about 41,700 hours: more than twenty years of full-time work for a single assessor, at 2,000 hours a year. And as relevance explains, two careful assessors judging the same documents often disagree.
Here is the route. First we see who judges and under what instructions. Then we study pooling, the standard way to judge only part of a collection, simulated on Cranfield, and the biases it brings. Next we derive the kappa statistic, which measures agreement between assessors beyond chance. Finally we ask what a change of assessor does to the ranking of systems, and look at cheaper judges.
Who judges, and how
In TREC, each topic is usually written by the assessor who later judges it. The person deciding relevance is then the person whose need the topic describes. Assessors judge each document against the topic's narrative, which states what counts as relevant (see test collections). They see documents one at a time, typically without knowing which system retrieved them or how highly. Their judgments are therefore not influenced by the systems being compared.
Judgments are usually binary. Graded judgments, which nDCG is designed to use, cost more. Assessors must also decide how relevant each document is, and agreement between assessors is lower for fine distinctions.
Careful judging of one document is affordable. Judging every document for every topic is not, so the first decision is which documents to judge at all. The standard answer is pooling.
Pooling
Exhaustive judging is impossible for a large collection, but most documents are obviously nonrelevant to any given topic. Pooling judges only the documents some system found worth ranking highly. For each topic:
- Collect the rankings submitted by all participating systems.
- Take the top $k$ documents from each ranking, typically $k = 100$ in TREC's ad hoc tracks.
- Judge the union of those documents, the pool.
- Treat every document outside the pool as nonrelevant.
Here are three systems, each contributing its top five documents:
System A: 3, 7, 12, 5, 9
System B: 7, 3, 15, 22, 5
System C: 12, 40, 3, 7, 18
Example (fifteen proposals, nine judgments). The three systems propose fifteen documents, and the assessor must judge nine. The pool is {3, 5, 7, 9, 12, 15, 18, 22, 40}. Pools overlap heavily, since good systems tend to find the same documents, so a pool is much smaller than the number of systems times $k$. With dozens of systems and $k = 100$, a TREC pool typically held on the order of a thousand or two documents per topic, out of hundreds of thousands or millions.
Pooling simulated on Cranfield
How much a pool finds can be measured on Cranfield, because its judgments were made by screening every document against every query (see test collections). The script tools/experiments/cranfield/pooling.py runs twelve systems over the 225 queries. They are chosen to differ the way the participants of a TREC track differ:
- BM25 with several parameter settings, with and without stemming and stop-word removal;
- TF-IDF cosine with and without stemming;
- query likelihood with Dirichlet smoothing, with and without stemming;
- the binary independence model;
- two deliberately weak systems: coordination-level matching (the number of query terms a document contains) and raw term-frequency sums.
Their MAP on the full judgments ranges from 0.311 down to 0.029. For each depth $k$, the pool for a query is the union of the twelve top-$k$ lists. A relevant document counts as found if it is in the pool.
| Depth $k$ | Documents to judge per query | Share of 12 × $k$ | Share of the collection | Relevant documents found | Best single run alone |
|---|---|---|---|---|---|
| 1 | 3.8 | 32% | 0.3% | 11% | 5% |
| 5 | 17.8 | 30% | 1.3% | 34% | 23% |
| 10 | 33.7 | 28% | 2.4% | 45% | 34% |
| 20 | 63.8 | 27% | 4.6% | 56% | 46% |
| 50 | 148.4 | 25% | 10.6% | 70% | 60% |
| 100 | 277.1 | 23% | 19.8% | 80% | 71% |
Three things stand out.
- Overlap is heavy. Twelve runs to depth 100 propose 1,200 documents per query, but only 277 are distinct, because the systems agree on most of what they rank highly.
- Pooling beats any one system. At every depth the union finds between 6 and 11 percentage points more of the relevant documents than the best run's list of the same depth. Different systems fail on different relevant documents.
- The pool is far from complete at practical depths. At depth 100 it judges a fifth of the collection and still misses a fifth of the relevant documents. Sixteen relevant pairs were not in any run's top 1,000.
Cranfield's queries are long and its documents are short abstracts, so the exact numbers do not transfer to TREC. The lesson does: a pool is a sample of the relevant documents, not a census.
Is pooling reliable?
If a pool misses a fifth of the relevant documents, are the scores computed from it wrong? The scores, yes. The comparisons, mostly not.
Pooling misses relevant documents that no participating system ranked highly, and it treats them as nonrelevant. Zobel (1998) estimated that TREC pools missed a substantial fraction of relevant documents for many topics. He also found that the comparisons between systems remained reliable. Measured recall was overestimated for every system, but the missing documents rarely changed which system ranked above which. For systems that took part in building the pool, pooled judgments support comparison well.
Two risks remain:
- Reusability. A new system, built after the pool, may retrieve relevant documents nobody judged, and it will be scored as if they were nonrelevant. The more different the new system is from the original participants, the more it is underestimated. Neural rankers evaluated on collections pooled from older term-matching systems are a contemporary example. This site has one: its topical judgments cover only the top 20 of its own lexical ranker, and dense passage retrieval and evaluating embedding models measure what that does to a comparison with dense retrievers. Hybrid Retrieval then widened the pool to the top 20 of three rankers, lexical, dense and fused, and repeated the comparison on the new judgments.
- Bias at scale. In very large collections, pools can be dominated by documents that contain the topic's title words, because most systems rank such documents highly. Relevant documents that use other vocabulary are then underrepresented. Buckley, Dimmick, Soboroff, and Voorhees (2007) found this bias in pools for large collections and showed it can distort comparisons.
Both effects on Cranfield
The Cranfield simulation can show both the reassuring result and the risk, because the full judgments say what the right answer is.
To compare two orderings of systems, the standard statistic is Kendall's $\tau$ (Kendall, 1938), one of the rank correlations of Correlation: Pearson, Spearman and Kendall. Take every pair of systems, $\binom{12}{2} = 66$ pairs for twelve systems. Call a pair concordant if both orderings put the same system first, and discordant otherwise. Then
$$\tau = \frac{\text{concordant pairs} - \text{discordant pairs}}{\text{all pairs}}.$$
It is 1 for identical orderings and −1 for reversed ones. Each swapped pair out of 66 lowers it by $2/66 \approx 0.03$, so with $s$ discordant pairs $\tau = (66 - 2s)/66$. One swap gives $64/66 = 0.97$, two give 0.94, three give 0.91, four give 0.88, and the value 0.42 that appears below corresponds to 19 discordant pairs, $28/66$.
Scores rise, the order holds. Judge every system against the depth-10 pool of all twelve runs, with unpooled documents counted as nonrelevant. Every system's MAP rises: BM25 goes from 0.307 to 0.439. The pool's missing relevant documents disappear from the denominator of recall, which is the overestimate Zobel described. Yet the ordering of the twelve systems has $\tau = 0.97$ against the true ordering (one swapped pair), and 1.0 at depth 20.
A leave-one-out test asks what would have happened to each system had it not contributed. Its unique documents are removed from the pool before it is scored. The largest drop in MAP was 0.0065, for the weakest run, which contributed the most documents nobody else retrieved. One system lost a place at depth 10, and none moved at depths 20 or 50.
A new kind of system is underrated. Leave-one-out is mild here because each of the twelve has relatives in the pool. The risk appears when the pool comes from one family. In the next experiment only the four stemmed BM25 variants built the depth-10 pool. The other eight were scored against it as if they were later systems:
| System | True MAP | MAP against the BM25 pool | Top 10 unjudged | Rank: true → pool |
|---|---|---|---|---|
| BM25 $k_1 = 3$ (in pool) | 0.311 | 0.467 | 0% | 1 → 1 |
| BM25 (in pool) | 0.307 | 0.463 | 0% | 2 → 3 |
| BM25, stop words kept (in pool) | 0.306 | 0.464 | 0% | 3 → 2 |
| TF-IDF | 0.294 | 0.438 | 13% | 4 → 4 |
| BM25 unstemmed | 0.282 | 0.420 | 21% | 5 → 5 |
| Query likelihood | 0.277 | 0.419 | 16% | 6 → 6 |
| TF-IDF unstemmed | 0.274 | 0.398 | 29% | 7 → 8 |
| BM25 $b = 0$ (in pool) | 0.271 | 0.407 | 0% | 8 → 7 |
| Query likelihood unstemmed | 0.255 | 0.377 | 32% | 9 → 9 |
| BIM | 0.220 | 0.323 | 23% | 10 → 10 |
| Coordination | 0.172 | 0.258 | 38% | 11 → 11 |
| Raw TF | 0.029 | 0.037 | 88% | 12 → 12 |
The pool found 39 percent of the relevant documents. BM25 with $b = 0$, a member, is truly worse than unstemmed TF-IDF, an outsider, but the pool ranks it higher. Overall $\tau = 0.94$ (two swapped pairs); with a depth-5 pool it falls to 0.88.
The unjudged column is the warning sign recommended in test collections. The members have no unjudged documents in their top ten, while the outsiders have 13 to 38 percent, and the weakest has 88 percent. A system with a third of its top ten unjudged is being scored partly on a guess. Cranfield's runs are all variations on term matching, so the bias here is small. A system that differs more from the pool's contributors, such as a neural ranker scored on a pool built from term-matching systems, has more room to be underrated.
Measures for incomplete judgments
When many retrieved documents are unjudged, measures can avoid treating them as nonrelevant.
- bpref (Buckley and Voorhees, 2004) scores a ranking using only the judged documents. It counts how often judged nonrelevant documents are ranked above judged relevant ones.
- Condensed lists (Sakai, 2007) remove the unjudged documents from the ranking and apply an ordinary measure to what is left.
- Inferred average precision (Yilmaz and Aslam, 2006) estimates average precision from a random sample of the pool rather than the whole pool. That makes judging cheaper and gives unbiased estimates.
- Rank-biased precision reports, with each score, a residual: the most that the unjudged documents could add. User models behind retrieval metrics derives it, and gives 0.427 with a residual of 0.370 for the case worked below at $p = 0.8$.
- A simpler safeguard, recommended in test collections, is to report the fraction of each system's top results that is unjudged.
The first three are worked below on the running ranking, in the situation that implementing evaluation measures also uses: the documents at ranks 2 and 4 were never judged. The ten results then read R, ?, R, ?, N, R, N, N, R, N, where R is judged relevant, N judged nonrelevant and ? unjudged, and a fifth relevant document was not retrieved. The numbers are computed in tools/experiments/eval_measures/worked_examples.py.
bpref. Here is the idea in one sentence: for each relevant document retrieved, count the judged nonrelevant documents ranked above it, and score the ranking by how small those counts are, ignoring unjudged documents altogether. Buckley and Voorhees define it for a topic with $R$ relevant documents as
$$\text{bpref} = \frac{1}{R} \sum_{r} \left(1 - \frac{\lvert n \text{ ranked higher than } r \rvert}{R}\right),$$
where $r$ is a relevant document and $n$ is a member of the first $R$ judged nonrelevant documents as retrieved by the system (2004, §2). The sum has a term for each relevant document the system retrieved; a relevant document that was not retrieved adds nothing but still counts in the $1/R$. Restricting $n$ to the first $R$ judged nonrelevant documents keeps each term between 0 and 1.
With complete judgments the ten results read R, N, R, N, N, R, N, N, R, N and $R = 5$. Six nonrelevant documents are retrieved, and the first five of them are at ranks 2, 4, 5, 7 and 8.
| Relevant document at rank | Of the first five nonrelevant, ranked above it | Term $1 - \text{count}/5$ |
|---|---|---|
| 1 | 0 | 1.0 |
| 3 | 1 (rank 2) | 0.8 |
| 6 | 3 (ranks 2, 4, 5) | 0.4 |
| 9 | 5 (ranks 2, 4, 5, 7, 8) | 0.0 |
| not retrieved | 0 |
So $\text{bpref} = (1.0 + 0.8 + 0.4 + 0.0)/5 = 0.44$, against an average precision of 0.522 for the same ranking.
Now leave ranks 2 and 4 unjudged. Only four judged nonrelevant documents remain, at ranks 5, 7, 8 and 10, fewer than $R$, so all four are used. The relevant documents at ranks 1 and 3 have none of them above, the one at rank 6 has one (rank 5), and the one at rank 9 has three (ranks 5, 7, 8):
$$\text{bpref} = \frac{1 + 1 + (1 - 1/5) + (1 - 3/5) + 0}{5} = \frac{3.2}{5} = 0.64.$$
Average precision with the unjudged documents counted as nonrelevant is still 0.522, because it cannot tell an unjudged document from a judged nonrelevant one. bpref moved from 0.44 to 0.64, because two documents that it had counted against the ranking are no longer evidence of anything. Neither behavior is right in itself. The two unjudged documents are in fact nonrelevant in this example, so here AP's assumption happens to be correct and bpref's score rose for lack of information. Had they been relevant, the true AP would be 0.786 (with $R = 7$ and relevant documents at ranks 1, 2, 3, 4, 6 and 9), and AP's 0.522 would be the one in error.
Example (bpref is a share of preferences). When at most $R$ nonrelevant documents are judged, bpref is the share of a fixed set of preferences that the ranking gets right. Binary judgments say that every relevant document is preferred to every judged nonrelevant one. Pair each of the $R$ relevant documents with $R$ nonrelevant slots: the judged nonrelevant documents, plus empty slots if fewer than $R$ are judged, which count in the ranking's favor. That is $R^2$ pairs. A retrieved relevant document gets one pair right for each nonrelevant slot not ranked above it, which is $R$ minus its count, and an unretrieved one gets none. Summing and dividing by $R^2$ gives the formula. In the example with two unjudged documents, the four retrieved relevant documents get 5, 5, 4 and 2 of their five pairs right: $16/25 = 0.64$.
Example (a common misstatement: one bpref). Published bpref values are not all computed by the formula above. The same paper uses a variant, bpref-10, for its experiments: $n$ ranges over the first $10 + R$ judged nonrelevant documents and the count is divided by $10 + R$, because the plain form is coarse when $R$ is one or two. On the example it gives $(4 - 9/15)/5 = 0.68$ with complete judgments and $(4 - 4/15)/5 = 0.747$ with the two documents unjudged. trec_eval's bpref divides the count by the smaller of $R$ and the number of judged nonrelevant documents for the topic (National Institute of Standards and Technology, trec_eval source, m_bpref.c). With complete judgments that changes nothing here (0.44). With two documents unjudged the divisor is 4 and the value is $(1 + 1 + 3/4 + 1/4)/5 = 0.60$, not 0.64. A reported bpref should say which of the three it is.
Condensed lists. Sakai (2007) proposed a simpler device: delete the unjudged documents from the ranking, and compute any standard measure on the condensed list. Here the condensed list is R, R, N, R, N, N, R, N, with relevant documents at ranks 1, 2, 4 and 7, and
$$\text{AP}' = \frac{1/1 + 2/2 + 3/4 + 4/7 + 0}{5} = \frac{3.321}{5} = 0.664.$$
This is what trec_eval's -J option computes. Like bpref, it uses only judged documents, and like bpref it rose when the two nonrelevant documents lost their judgments (from 0.522 to 0.664). Sakai found that average precision, nDCG and his Q-measure computed on condensed lists handled incomplete judgments better than bpref did in his experiments, which compared ten measures on four NTCIR collections with graded judgments. He also found that graded relevance made the evaluation more robust to missing judgments, and so recommended Q-measure and nDCG on condensed lists.
Inferred average precision. Yilmaz and Aslam start from the fact that AP is an expectation: pick a relevant document at random, then pick a rank at random at or above it, and report whether the document there is relevant. For a relevant document at rank $k$, the second step picks rank $k$ itself with probability $1/k$, where the outcome is 1, and otherwise one of the $k - 1$ ranks above. They estimate the expected precision at rank $k$ as
$$\frac{1}{k} \cdot 1 + \frac{k - 1}{k} \cdot \frac{\lvert d_{\text{pool}} \rvert}{k - 1} \cdot \frac{\lvert \mathit{rel} \rvert}{\lvert \mathit{rel} \rvert + \lvert \mathit{nonrel} \rvert},$$
where, among the $k - 1$ documents above rank $k$, $d_{\text{pool}}$ are those in the pool, and $\mathit{rel}$ and $\mathit{nonrel}$ are those that were sampled and judged relevant or nonrelevant. Documents outside the pool are taken as nonrelevant, and the judged sample stands in for the unjudged part of the pool. (A small constant is added to the last fraction to avoid dividing by zero when nothing above rank $k$ was judged.) Inferred AP averages these estimates over the relevant documents.
On the example, taking all ten results to be in the pool: at rank 1 the estimate is 1. At rank 3, the judged documents above are one relevant and none nonrelevant: $1/3 + (2/3)(1) = 1.000$. At rank 6, two relevant and one nonrelevant: $1/6 + (5/6)(2/3) = 0.722$. At rank 9, three and three: $1/9 + (8/9)(3/6) = 0.556$. With the unretrieved relevant document counted as zero, inferred AP is $(1 + 1 + 0.722 + 0.556 + 0)/5 = 0.656$. The estimator treats each unjudged document above a rank as relevant with the same frequency as the judged ones there. Its guarantee of an unbiased estimate holds when the judged documents are a uniform random sample of the pool, which two hand-picked ranks are not; the example shows the arithmetic, not the guarantee.
| Treatment of the two unjudged documents | Value for the running ranking |
|---|---|
| AP, unjudged counted as nonrelevant | 0.522 |
| bpref (Buckley and Voorhees) | 0.64 |
| AP on the condensed list | 0.664 |
| Inferred AP | 0.656 |
| True AP if both are nonrelevant | 0.522 |
| True AP if both are relevant | 0.786 |
Pooling decides which documents get judged. The other half of the problem is whether the judgments themselves can be trusted.
Measuring agreement
If judgments depend on the judge, their reliability can be measured by having two assessors judge the same documents and comparing the results. Simple percentage agreement is misleading. Two judges who both mark nearly everything nonrelevant will agree most of the time by chance. The kappa statistic corrects for chance:
$$\kappa = \frac{P(A) - P(E)}{1 - P(E)},$$
where $P(A)$ is the proportion of documents on which the judges agree and $P(E)$ is the proportion on which they would agree by chance, given how often each says "relevant". Kappa is 1 for perfect agreement, 0 for agreement no better than chance, and negative for systematic disagreement.
Where the formula comes from
Here is the idea in one sentence: kappa is the share of the agreement that chance could not explain which the judges actually achieved. The derivation needs only a model of what chance agreement means.
Suppose judge 1 calls a fraction $p_1$ of the documents relevant and judge 2 a fraction $p_2$. Suppose also that each decides without regard to the other, as if flipping biased coins. They agree when both say relevant, with probability $p_1 p_2$, or both say nonrelevant, with probability $(1 - p_1)(1 - p_2)$. So the agreement expected by chance is
$$P(E) = p_1 p_2 + (1 - p_1)(1 - p_2).$$
Agreement beyond chance is then $P(A) - P(E)$. The most there could be is $1 - P(E)$, reached when the judges agree on every document. Kappa is the ratio of the two: the share of the possible above-chance agreement that the judges achieved.
Reading it this way explains its range. A pair who agree exactly as often as independent coin-flippers would score 0, whatever their raw agreement. Only a pair who disagree more often than chance can score below 0.
A worked example
Manning, Raghavan, and Schütze (2008, §8.5) give the judgments of two assessors on 400 documents:
| Judge 2: relevant | Judge 2: nonrelevant | Total | |
|---|---|---|---|
| Judge 1: relevant | 300 | 20 | 320 |
| Judge 1: nonrelevant | 10 | 70 | 80 |
| Total | 310 | 90 | 400 |
The judges agree on $300 + 70 = 370$ documents, so $P(A) = 370/400 = 0.925$.
For chance agreement, the textbook pools the two judges' marginals. Of the 800 judgments made in total, $320 + 310 = 630$ were "relevant". So $P(\text{relevant}) = 630/800 = 0.7875$ and $P(\text{nonrelevant}) = 0.2125$. Two independent judges with those rates would agree with probability
$$P(E) = 0.7875^2 + 0.2125^2 = 0.6653.$$
Then
$$\kappa = \frac{0.925 - 0.6653}{1 - 0.6653} = 0.776.$$
The judges agreed on 92.5 percent of documents, but much of that is expected from chance, because both judged most documents relevant. Kappa reports the agreement beyond chance. Manning, Raghavan, and Schütze describe values above 0.8 as good agreement, 0.67 to 0.8 as fair, and below 0.67 as a dubious basis for evaluation. By that scale this pair's agreement is fair. They note that agreement on TREC and similar collections has generally fallen in the fair range. Other fields use other labels for the same numbers. The most quoted are those of Landis and Koch (1977, p. 165): below 0 poor, 0.00 to 0.20 slight, 0.21 to 0.40 fair, 0.41 to 0.60 moderate, 0.61 to 0.80 substantial, and 0.81 to 1.00 almost perfect, divisions that its authors themselves called "clearly arbitrary" but useful as benchmarks. On that scale 0.776 is "substantial", so a label for a kappa value means little without the scale it comes from.
Pooled and Cohen's kappa
A common variant, Cohen's kappa (Cohen, 1960), computes chance agreement from each judge's own rates rather than pooled rates. The pooled version uses one rate $p$ for both judges in the formula of the previous section, $P(E) = p^2 + (1 - p)^2$. Cohen's version uses each judge's own rate, here $p_1 = 320/400 = 0.8$ and $p_2 = 310/400 = 0.775$:
$$P(E) = 0.8 \times 0.775 + 0.2 \times 0.225 = 0.62 + 0.045 = 0.665, \qquad \kappa = \frac{0.925 - 0.665}{1 - 0.665} = 0.776.$$
The two rates are close, so the answers agree to three decimals. They part company when the judges' rates differ. Suppose judge 1 marks 70 of 400 documents relevant and judge 2 marks 10, all 10 of them among judge 1's 70. They agree on those 10 and on the 330 that neither marks, so $P(A) = 340/400 = 0.85$. For Cohen's version the rates are $p_1 = 70/400 = 0.175$ and $p_2 = 10/400 = 0.025$:
$$P(E) = 0.175 \times 0.025 + 0.825 \times 0.975 = 0.0044 + 0.8044 = 0.8088, \qquad \kappa = \frac{0.85 - 0.8088}{1 - 0.8088} = 0.216.$$
For the pooled version the single rate is $p = 80/800 = 0.1$:
$$P(E) = 0.1^2 + 0.9^2 = 0.82, \qquad \kappa = \frac{0.85 - 0.82}{1 - 0.82} = 0.167.$$
Pooling the rates assumes the judges share one underlying tendency to say "relevant", so a difference in their rates counts as disagreement. Cohen's version takes each judge's tendency as given and measures agreement only beyond it. (These numbers, and all others in this section, are computed in tools/experiments/cranfield/pooling.py.)
High agreement, low kappa
Kappa depends strongly on how common relevant documents are.
Example (the same agreement, rare relevance). With the same raw agreement as the textbook's pair, 370 of 400 documents, but with relevant documents rare, as they usually are in retrieval, kappa falls from 0.776 to 0.36. Here is such a pair:
| Judge 2: relevant | Judge 2: nonrelevant | Total | |
|---|---|---|---|
| Judge 1: relevant | 10 | 15 | 25 |
| Judge 1: nonrelevant | 15 | 360 | 375 |
| Total | 25 | 375 | 400 |
Now $P(A) = 0.925$ as before, but each judge says "relevant" for only $p = 25/400 = 0.0625$ of the documents, so
$$P(E) = 0.0625^2 + 0.9375^2 = 0.0039 + 0.8789 = 0.8828, \qquad \kappa = \frac{0.925 - 0.8828}{1 - 0.8828} = 0.36.$$
The same 92.5 percent agreement now earns a kappa in the "dubious" range, and rightly. Of the 40 documents that either judge called relevant, the judges agreed on only 10. Almost all of their agreement is on obviously nonrelevant documents, which any two judges would agree on. Retrieval judgments usually look like this second table, since most documents are nonrelevant to most topics. That is why raw agreement is never reported alone. Measures of Agreement treats this effect of prevalence, and Cohen's kappa in general, with proofs.
Kappa says how much two assessors disagree. The question that matters for evaluation is what the disagreement does to the comparison of systems.
Substituting one assessor for another
As relevance describes, Voorhees (2000) found that substituting one assessor's judgments for another's changed systems' scores substantially but rarely changed the order of systems. Moderate agreement is enough for comparative evaluation, which is what test collections are for.
The reason is that random disagreement affects every system in roughly the same way. A simulation on Cranfield shows the mechanism, and its limit. The script creates a second assessor for every query by rejudging the documents:
- it keeps each of the original assessor's relevant documents with a probability that falls with the grade: 0.9 for grade 1, 0.8 for grade 2, 0.6 for grade 3, 0.4 for grade 4, on the assumption that marginal documents are where judges disagree;
- it marks as relevant 4 percent of the nonrelevant documents in the depth-20 pool.
These numbers are assumptions. They were chosen so that the overlap between the two assessors' relevant sets is about 0.45, inside the range of 0.42 to 0.49 that Voorhees reported for pairs of TREC-4 assessors. (Overlap is the size of the intersection of the two sets divided by the size of their union.)
Example (scores move by a third, the order barely moves). Under the simulated second assessor a typical system's MAP changes by about a third, and the ordering of the twelve systems changes in only about 3 of its 66 pairs. Over 30 seeds (medians, with interquartile ranges):
| Quantity | Median | IQR |
|---|---|---|
| Overlap of relevant sets | 0.45 | 0.45 to 0.46 |
| Cohen's kappa over the pooled documents | 0.60 | 0.59 to 0.61 |
| Mean absolute change in a system's MAP | 0.067 | 0.065 to 0.072 |
| The same, relative to the system's MAP | 31% | 29% to 33% |
| Kendall's $\tau$ between the two orderings of the 12 systems | 0.91 | 0.91 to 0.94 |
| Pairs of systems that swap, out of 66 | 3 | 2 to 3 |
Scores move a lot, about a third of their value, but the ordering hardly moves. Random disagreement affects every system in roughly the same way. Every system loses some of the documents it found and gains credit for some it ranked highly. A system that is better at finding the first assessor's relevant documents is, on average, also better at finding the second's. Only systems whose scores were nearly tied trade places.
The right-hand panel shows the limit. The second assessor there is equally plausible by the agreement statistics, with an overlap of 0.48 and a kappa of 0.63, both slightly higher than for the random assessor. But this assessor's extra relevant documents are drawn from the top five of one particular run, unstemmed TF-IDF, as if the assessor shared that system's notion of what the query is about. Kendall's $\tau$ falls to 0.42, and the favored run goes from seventh to first in all 30 seeds.
Agreement statistics measure how much two assessors disagree, not whether the disagreement is correlated with the systems being compared. Only the second kind distorts comparisons. Voorhees's finding is that, for TREC's human assessors, the disagreement behaved like the left panel. It is a finding about those assessors, not a guarantee, and it is the reason the model-generated judgments below need care.
Cheaper judges
Since judgments are the bottleneck, cheaper sources have been studied extensively.
Crowdsourcing hires many non-expert workers through online platforms to judge documents. It usually uses several workers per document and quality checks, such as documents with known answers. Alonso, Rose, and Stewart (2008) described the approach and reported from their own experiments on Amazon Mechanical Turk that thousands of judgments could be collected in a couple of days at about a cent each, with several workers judging each document so that their judgments can be aggregated to control quality.
Large language models are the most recent candidate. Given a topic and a document, a model can be prompted to produce a relevance grade. Thomas, Spielman, Craswell, and Mitra (2024) reported that carefully prompted models produced judgments that agreed with searchers' own preferences about as well as human annotators did. Faggioli and colleagues (2023) examined the opportunities and risks.
The central risk is circularity, the right-hand panel above in a new form. If the systems being evaluated are themselves built on language models, judgments from a similar model may favor them for reasons unrelated to relevance. Model-generated judgments are therefore usually validated against a sample of human judgments before they are trusted (Evaluating Retrieval-Augmented Systems reviews model judges). Language Models as Judges derives the bias that a judge's errors put into a score and its correction, and Prediction-Powered Inference combines a validation sample of human judgments with many model judgments into a confidence interval that is valid however wrong the model is.
Worked problems
Problem 1 is Exercise 8.10 of the course text (Manning, Raghavan, and Schütze, 2008), restated here with a solution in our own words. Problems 2 to 4 are posed on this article's own examples. The numbers are recomputed in tools/experiments/eval_measures/worked_examples.py.
Problem 1 (Exercise 8.10). Two judges rated 12 documents for one information need (1 relevant, 0 nonrelevant):
| Document | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Judge 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
| Judge 2 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
A system returns the set {4, 5, 6, 7, 8}. (a) Compute kappa for the two judges. (b) Compute the system's precision, recall and $F_1$ if a document counts as relevant only when both judges say so. (c) Compute them if a document counts as relevant when either judge says so.
Solution. (a) $\kappa = -1/3$. The judges agree on documents 1 and 2 (both 0) and 3 and 4 (both 1), so $P(A) = 4/12 = 0.333$. Each judge marks 6 of the 12 relevant. Pooling the marginals, 12 of the 24 judgments are "relevant", so $P(E) = 0.5^2 + 0.5^2 = 0.5$. Then
$$\kappa = \frac{0.333 - 0.5}{1 - 0.5} = -0.333.$$
Cohen's version gives the same value, since both judges' own rates are 0.5 and $P(E) = 0.5 \times 0.5 + 0.5 \times 0.5 = 0.5$. The kappa is negative: the judges agree less often than two independent coin-flippers with the same rates would. They disagree on 8 of the 12 documents.
(b) Under the strict rule the relevant set is {3, 4}. The system's five documents include one of them, document 4: precision $1/5 = 0.2$, recall $1/2 = 0.5$, and $F_1 = 2(0.2)(0.5)/0.7 = 0.286$.
(c) Under the lenient rule the relevant set is documents 3 to 12, ten in all. All five returned documents are in it: precision $5/5 = 1$, recall $5/10 = 0.5$, and $F_1 = 2(1)(0.5)/1.5 = 0.667$.
The same output scores a precision of 0.2 or of 1.0 according to how two disagreeing judges are combined. Recall happens to be 0.5 under both rules, for different reasons. With agreement this poor, the choice of rule decides the result, which is what a negative kappa warns of.
Problem 2 (a pool of three runs). In the pooling example above, systems A, B and C each contribute five documents. Suppose the relevant documents are 3, 7, 15 and 40, all in the pool, and one more, document 60, that no system retrieved. Compute each system's average precision against the pool's judgments and against the complete judgments, and compare the orderings.
Solution. Against the pool, A, B and C score 0.500, 0.750 and 0.479; against the complete judgments they score 0.400, 0.600 and 0.383; the ordering B, A, C is the same. The pool knows four relevant documents, the complete judgments five.
| System | Ranking | Relevant at ranks | Sum of precisions | AP, pool ($R = 4$) | AP, complete ($R = 5$) |
|---|---|---|---|---|---|
| A | 3, 7, 12, 5, 9 | 1, 2 | $1 + 1 = 2$ | 0.500 | 0.400 |
| B | 7, 3, 15, 22, 5 | 1, 2, 3 | $1 + 1 + 1 = 3$ | 0.750 | 0.600 |
| C | 12, 40, 3, 7, 18 | 2, 3, 4 | $1/2 + 2/3 + 3/4 = 1.917$ | 0.479 | 0.383 |
Every pooled score is exactly $5/4$ of the true one. The missing relevant document was retrieved by nobody, so it changes no system's sum of precisions; it changes only the divisor, and by the same factor for all. That is the mechanism behind "scores rise, the order holds" in the Cranfield simulation. It also shows the condition: the factor is common only when the unjudged relevant documents are missed by every system being compared. A fourth system that retrieved document 60 would have it counted as nonrelevant, and it alone would be scored too low.
Problem 3 (Kendall's τ from a table). In the table of the one-family pool, the column "Rank: true → pool" shows the twelve systems' ranks under the complete judgments and under the BM25 pool. Find the discordant pairs and compute $\tau$.
Solution. Two pairs are discordant and $\tau = 62/66 = 0.94$. A pair of systems is discordant when their order differs between the two rankings. Reading down the column, the pool exchanges ranks 2 and 3 (BM25 and BM25 with stop words kept) and ranks 7 and 8 (unstemmed TF-IDF and BM25 with $b = 0$). Each exchange is of neighbors, so it reverses exactly one pair. Every other system keeps its rank. With 2 discordant and 64 concordant pairs, $\tau = (64 - 2)/66 = 0.939$, the 0.94 quoted with the table.
Problem 4 (bpref for the second worked query). The second query of mean average precision has three relevant documents, retrieved at ranks 2, 5 and 8 of ten, with every other result judged nonrelevant. Compute bpref, and compare it with the query's average precision of 0.425.
Solution. bpref is $2/9 = 0.222$. Here $R = 3$, and the first three judged nonrelevant documents are at ranks 1, 3 and 4. The relevant document at rank 2 has one of them above it, for a term of $1 - 1/3 = 2/3$. The relevant documents at ranks 5 and 8 have all three above them, for terms of 0. So $\text{bpref} = (2/3 + 0 + 0)/3 = 0.222$. The value is about half the average precision. Once $R$ nonrelevant documents stand above a relevant one, bpref gives it no credit at all, wherever it is, while AP still credits the documents at ranks 5 and 8 with precisions 0.4 and 0.375. With few relevant documents the measure is coarse, which is the reason Buckley and Voorhees give for bpref-10.
What we have learned
Judgments come from assessors who judge against a written need, and for large collections only a pool of top-ranked documents is judged. On Cranfield a depth-100 pool of twelve runs judges a fifth of the collection and finds 80 percent of the relevant documents. Scores against a pool are inflated, but the ordering of the systems that built it survives ($\tau = 0.97$ at depth 10); systems outside the pool can be underrated. Kappa measures agreement beyond chance, and it is low when relevant documents are rare even if raw agreement is high. A change of assessor moves scores by about a third but swaps only nearly tied systems, unless the new assessor's disagreements line up with one system.
So with judgments fixed, one system's MAP can still beat another's by a small margin. The next article, Comparing Systems with Significance Tests, shows how to decide whether such a margin is a real improvement or an accident of which topics happened to be chosen.
References
- Alonso, O., Rose, D. E., and Stewart, B. (2008). Crowdsourcing for relevance evaluation. SIGIR Forum, 42(2), 9–15. record
- Buckley, C., Dimmick, D., Soboroff, I., and Voorhees, E. (2007). Bias and the limits of pooling for large collections. Information Retrieval, 10(6), 491–508. record
- Buckley, C., and Voorhees, E. M. (2004). Retrieval evaluation with incomplete information. In Proceedings of SIGIR 2004, 25–32. record · 2 pages
- Cohen, J. (1960). A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20(1), 37–46. record · 2 pages
- Faggioli, G., Dietz, L., Clarke, C. L. A., et al. (2023). Perspectives on large language models for relevance judgment. In Proceedings of ICTIR 2023, 39–50. record · 2 pages
- Kendall, M. G. (1938). A new measure of rank correlation. Biometrika, 30(1/2), 81–93. record · 2 pages
- Landis, J. R., and Koch, G. G. (1977). The measurement of observer agreement for categorical data. Biometrics, 33(1), 159–174. record · 2 pages
- Manning, C. D., Raghavan, P., and Schütze, H. (2008). Introduction to Information Retrieval, section 8.5. Cambridge University Press. record · 102 pages
- National Institute of Standards and Technology. trec_eval. https://github.com/usnistgov/trec_eval record · 4 pages
- Sakai, T. (2007). Alternatives to bpref. In Proceedings of SIGIR 2007, 71–78. record
- Thomas, P., Spielman, S., Craswell, N., and Mitra, B. (2024). Large language models can accurately predict searcher preferences. In Proceedings of SIGIR 2024, 1930–1940. record · 3 pages
- Voorhees, E. M. (2000). Variations in relevance judgments and the measurement of retrieval effectiveness. Information Processing and Management, 36(5), 697–716. record · 2 pages
- Yilmaz, E., and Aslam, J. A. (2006). Estimating average precision with incomplete and imperfect judgments. In Proceedings of CIKM 2006, 102–111. record
- Zobel, J. (1998). How reliable are the results of large-scale information retrieval experiments? In Proceedings of SIGIR 1998, 307–314. record
Reviewed: verified, 16 Nov 2026 · checked against sources, 23 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 23 Nov 2026 · 14 revisions