Building Evaluation Sets: Question Sources, Label Quality and Item Information
An evaluation set is only as good as its coverage, labels, discrimination and freshness. This page designs one from the decision it supports, then simulates how label errors lower scores and inflate sample sizes, why Cohen's kappa tracks class balance, and which items separate models.
After this page you will be able to
- Write the specification of an evaluation set from the decision it supports: a coverage table, the question sources, the items per cell and how to report them, and name the bias of each source.
- Derive the score seen through noisy labels, compute the ceiling 1−e for a perfect model and the factor by which the needed sample size grows, and explain why random label errors only compress gaps while systematic ones can change rankings.
- Explain why Cohen's kappa swings with class balance, cut label errors with majority votes and expert adjudication, and know that voting has diminishing returns when errors concentrate on hard items.
- Describe an item by its difficulty and discrimination in a two-parameter IRT model, find uninformative or mislabeled items with the item–rest correlation, and use the Spearman–Brown formula to estimate how many items a reliable ranking needs.
- Set rules for versions, secrecy and saturation monitoring, and explain what a fresh-problem re-test such as GSM1k shows.
On this page
- Decide first, then write questions
- Label errors: lower scores, compressed gaps
- The score seen through noisy labels
- Experiment 1: simulating label errors
- Annotator agreement: kappa is not quality itself
- Experiment 2: the same annotators, different class balance
- Experiment 3: how far do more annotators bring the error down
- Item information: difficulty, discrimination and reliability
- Experiment 4: building a flawed evaluation set
- Experiment 5: can 100 picked items replace all of them
- Experiment 6: reliability and the number of items
- Secrecy, versions and freshness
- A checklist and common mistakes
- Register slices that an average can hide
- Summary and exercises
- Quick self-check
- Exercises
- Further reading
- FAQ
An evaluation set is a measuring instrument. It has to support decisions such as which model to pick, whether a change regressed anything, and whether to ship, and it is good or bad along four axes: coverage (do the questions test the task you care about), labels (are the reference answers right), information (does each question separate models) and freshness (has any model seen the questions). The public numbers for labels are telling: Northcutt et al. (2021) found at least 3.3% label errors on average in the test sets of 10 widely used datasets, and Gema et al. (2024) had experts re-annotate 5,700 MMLU questions and estimated that 6.49% of them are wrong. Put an error rate like that into a four-option evaluation set and a model that answers everything correctly still scores only 0.935.
This page first takes the design questions apart (decisions, coverage and question sources), then uses six simulations that run on a laptop to measure how label errors, annotator agreement and item information each affect scores and rankings, and ends with secrecy, versioning and saturation. LLM evaluation methodology covers what the benchmarks measure and how they get contaminated; The statistics of evaluation covers the error of a score and the number of items needed. This page is about how to build the set itself and how to check it.
The six experiments run in one script, in order; the code blocks on this page, joined in sequence, are the full script. Environment: Apple M2 Max (64 GB), CPU only; Python 3.14.3 and NumPy 2.4.2, no network access. Every source of randomness (label errors, model answers, annotator mistakes, item parameters, model abilities, item sampling) has its own generator and a fixed seed, so a rerun gives bit-identical numbers; with another NumPy version a few numbers may differ slightly. A complete run takes under 10 seconds.
All data are simulated. A “model” is a 0/1 answer record generated from a two-parameter model (see experiment 4); it is not a real language model, and the item sets are not a real evaluation set. The simulations show how the statistics behave; they do not tell you how informative any real evaluation set is.
Decide first, then write questions
An evaluation set is not better for being bigger, or for being harder. Before writing any question, write down the decision it supports, because different decisions ask for almost opposite things:
| Decision to support | Shape of the set | What matters most |
|---|---|---|
| Pick one of several candidate models | A development set close to real usage, plus a private holdout | Coverage, discrimination, no contamination |
| Did this change regress anything | A small fixed regression set built from past failures | Stability, reproducibility, speed |
| Can we ship in this scenario | A dedicated set for the high-risk scenario, reported per category | Items per category and confidence intervals |
| Watch progress during training | A cheap probe set with low variance across seeds that rises roughly monotonically | Signal-to-noise ratio |
Choosing a model needs to separate candidates, which takes hard questions and many of them; monitoring training needs to be cheap, which takes easy, stable questions. One set rarely does both well, so in practice you keep a family of evaluation sets, each owning one decision.
Once the decision is fixed, draw a coverage table: tasks as rows, difficulty or risk as columns, a quota in every cell, and only then write questions. Three rules:
- Rows are things users actually do (“answer questions about a contract clause”), not ability nouns (“reasoning”).
- Every cell you intend to report separately needs enough items for a usable confidence interval; see The statistics of evaluation for the arithmetic.
- High-risk and long-tail scenarios get their own cells so that the average does not drown them.
Where the questions come from determines which biases the set carries:
| Source | Strength | Risk and bias |
|---|---|---|
| Real inputs (logs, anonymized) | Closest to production traffic | Privacy; covers only what users already do, drifts with the product |
| Failures fed back | Aimed at known pain points, cheap | Skews hard, scores run low, not representative; fits a regression set |
| Written by experts | Covers edge cases and new tasks, controllable | Expensive; one writing style, biased toward what the author thought of |
| Programmatic (with a verifier) | Answers check automatically, endless fresh items | Narrow task types, different distribution; public the moment the generator leaks |
| Model-generated, then reviewed | Cheap, scales fast | Skews toward the generator’s taste; the label error rate needs spot checks |
| Rewriting an existing benchmark | New wording eases contamination | Still inherits the original’s errors and biases |
No source is perfect. A common recipe mixes them: logs for distribution, failures for pain points, expert items for edges, programmatic items for volume. Report the score of each source separately, so that when a score moves you know which kind of item moved it. When models write the items, do not let the same model write and grade them; see the checklist in Synthetic data and self-improvement.
Label errors: lower scores, compressed gaps
A wrong reference answer is the most direct defect of an evaluation set, and it is more common than one would expect:
| Study | Finding |
|---|---|
| Northcutt et al. (2021), test sets of 10 widely used datasets | At least 3.3% label errors on average, from 0.15% on MNIST to 10.12% on QuickDraw; 2,916 confirmed errors (5.83%) in the ImageNet validation set. They shortlisted candidates with confident learning and had people check them; on average 51% of the candidates were indeed mislabeled |
| Gema et al. (2024), MMLU-Redux | 14 experts re-annotated 5,700 MMLU questions (100 from each of the 57 subjects) and estimated that 6.49% are wrong (unclear question or wrong reference answer); 57% of the analyzed Virology questions contain errors |
A few percent does not sound like much. A minimal model shows exactly what it does to scores and gaps.
The score seen through noisy labels
Let each question have options ( for MMLU). The recorded label is wrong with probability , and when wrong it falls uniformly on one of the wrong options; the model has true accuracy , and when it errs it picks uniformly among the wrong options. “The model’s answer equals the recorded label” has two cases:
- The label is right (probability ): the answer equals the label exactly when the model is right, probability .
- The label is wrong (probability ): the model must be wrong (probability ) and must pick exactly the option that was mistakenly recorded (probability ).
So the score seen is
Three direct consequences:
- A perfect model () scores only : the label error rate sets a ceiling on scores.
- The gap between any two models is multiplied by the same factor : gaps are compressed.
- The number of items needed to detect a given gap is inversely proportional to the square of the gap (see The statistics of evaluation), so you need times as many items.
There is also a fixed point: a model that only guesses () scores whatever is, so the stronger a model, the more it is pushed down.
The label errors are independent of the model, and a model that errs picks uniformly among the wrong options. Real errors are not like that: they cluster on ambiguous and hard questions, and a strong model sometimes simply disagrees with the label. The numbers below are therefore the idealized case; on a real evaluation set the effect can be larger and can differ by model (the end of this section covers what Northcutt et al. found).
Experiment 1: simulating label errors
The simulation uses 400,000 questions. takes four values: 0 (clean labels), 3.30% (the 3.3% lower bound on average from Northcutt et al.), 6.49% (the MMLU-Redux estimate for MMLU) and 10% (a reference point); takes five values from 0.60 to 0.95. Each cell counts how often the answer equals the recorded label and compares it with the formula; then it computes how a true gap of 0.80 versus 0.85 looks at each . The first block of code holds the small helpers shared by all experiments (ranks, Spearman correlation and the sigmoid).
"""Building eval sets: label noise, annotator agreement, item information."""
import platform
from math import comb
import numpy as np
print(f"Python {platform.python_version()}, NumPy {np.__version__}")
def rank(x):
"""Ranks from 1; tied values get their average rank."""
_, inv, cnt = np.unique(np.asarray(x, float), return_inverse=True,
return_counts=True)
return (np.cumsum(cnt) - (cnt - 1) / 2)[inv]
def spearman(x, y):
return float(np.corrcoef(rank(x), rank(y))[0, 1])
def sigmoid(z):
return 1 / (1 + np.exp(-z))
Python 3.14.3, NumPy 2.4.2
K = 4 # four-option questions
A = (0.60, 0.70, 0.80, 0.90, 0.95) # true accuracy of five models
E = (0.0, 0.033, 0.0649, 0.10) # label error rates (see text)
N = 400_000 # questions per simulated cell
r_lab = np.random.default_rng(101) # recorded labels
r_ans = np.random.default_rng(102) # model answers
def observed(a, e, k=K):
"""P(answer == recorded label) = (1-e)a + e(1-a)/(k-1)."""
return (1 - e) * a + e * (1 - a) / (k - 1)
def simulate(a, e):
# option 0 is the true answer; a wrong label or answer is uniform on 1..k-1
lab = np.where(r_lab.random(N) < e, r_lab.integers(1, K, N), 0)
ans = np.where(r_ans.random(N) < a, 0, r_ans.integers(1, K, N))
return (lab == ans).mean()
print("label score seen by a model with true accuracy"
" perfect max |sim-formula|")
print("error " + "".join(f"{a:7.2f}" for a in A))
for e in E:
sim = [simulate(a, e) for a in A]
gap = max(abs(s - observed(a, e)) for s, a in zip(sim, A))
print(f"{e:6.2%} " + "".join(f"{s:7.3f}" for s in sim)
+ f" {observed(1.0, e):9.3f} {gap:10.4f}")
print()
print("A true gap of 5 points (0.80 vs 0.85), seen through noisy labels:")
print("label gap seen shrink factor items needed (relative)")
for e in E:
f = 1 - e * K / (K - 1) # shrink factor of every gap
seen = observed(0.85, e) - observed(0.80, e)
print(f"{e:6.2%} {seen:8.4f} {f:13.4f} {1 / f ** 2:20.3f}")
label score seen by a model with true accuracy perfect max |sim-formula|
error 0.60 0.70 0.80 0.90 0.95
0.00% 0.601 0.700 0.800 0.900 0.951 1.000 0.0009
3.30% 0.584 0.679 0.776 0.872 0.920 0.967 0.0008
6.49% 0.570 0.661 0.753 0.844 0.890 0.935 0.0010
10.00% 0.553 0.639 0.726 0.813 0.857 0.900 0.0009
A true gap of 5 points (0.80 vs 0.85), seen through noisy labels:
label gap seen shrink factor items needed (relative)
0.00% 0.0500 1.0000 1.000
3.30% 0.0478 0.9560 1.094
6.49% 0.0457 0.9135 1.198
10.00% 0.0433 0.8667 1.331
Reading the output:
- Formula and simulation agree. The largest deviation is 0.0010, the size of the sampling error of 400,000 questions.
- The ceiling. The “perfect” column reads 1.000, 0.967, 0.935 and 0.900, exactly . At a 6.49% error rate a model that is always right can only reach 0.935; if the leader already sits near 0.93, the remaining differences are mostly label errors, not ability. The widget below makes the formula draggable: tune the label error rate, the option count and the two models’ true accuracies to watch the ceiling 1−e, the compressed gap and the extra questions — drag e up to 10% and see what a 0.95 leader looks like.
- Compressed gaps. The true 5-point gap (0.80 versus 0.85) looks like only 0.0457 at 6.49%, a factor of 0.9135; detecting a gap of the same significance takes 1,198 items instead of 1,000 (1.198 times).
Random errors only compress gaps and leave rankings alone; systematic errors do not. In the model above the errors are independent of the model, so rankings never change. Northcutt et al. found the same on ImageNet and CIFAR-10: after correcting the labels, the ranking of models did not change. But when they then raised the share of “originally mislabeled” examples in the test set (by 6% for ImageNet and 5% for CIFAR-10) and scored against the corrected labels, the lower-capacity models (ResNet-18, VGG-11) overtook the higher-capacity ones (ResNet-50, VGG-19): larger models generalize better to the wrong labels in the test set, so they look stronger on the original labels and are weaker on the corrected ones. Gema et al. re-evaluated leading models on MMLU-Redux, and the metrics changed noticeably and the ranking changed with them.
That gives three practical habits for label errors:
- Estimate the error rate and put the ceiling in the report. “The current best is 0.93, the estimated ceiling 0.935” says much more than a bare 0.93: it tells the reader there is no room left for comparison.
- Use models as leads to find wrong items. Items on which a model confidently picks a different option are the best ones to review by hand; this is the idea behind the confident learning Northcutt et al. used, where on average 51% of the candidates were indeed mislabeled.
- Fix or drop the subsets where errors concentrate, and ship a new version. Do not edit quietly (see “Secrecy, versions and freshness” below).
Annotator agreement: kappa is not quality itself
Where do labels come from? Most evaluation sets rely on human annotation, and the agreement between several annotators is how quality is measured. Cohen’s kappa subtracts from the observed agreement the agreement that would happen by chance (the LLM-as-a-Judge page uses it to measure how well a judge agrees with people):
is determined by the label frequencies each annotator uses, so kappa reflects not only annotation quality but also the class balance.
Experiment 2: the same annotators, different class balance
Two annotators each make a mistake with probability 5%, independently and symmetrically between the classes. The share of positive items among the true labels takes the values 0.50, 0.80, 0.95 and 0.99, with 400,000 items per cell. With , the agreement does not depend on , whereas with , the probability that one annotator says “positive”. The code prints both the simulated value and this formula.
EPS = 0.05 # each annotator's error rate
M = 400_000 # items per simulated cell
r_true = np.random.default_rng(201) # true labels
r_ann = np.random.default_rng(202) # annotator mistakes
def kappa(x, y):
po = (x == y).mean() # observed agreement
p1, p2 = x.mean(), y.mean() # share of label 1 per annotator
pe = p1 * p2 + (1 - p1) * (1 - p2) # agreement expected by chance
return po, pe, (po - pe) / (1 - pe)
print("Two annotators, each wrong 5% of the time, independently")
print("prevalence agree p_o chance p_e kappa (sim) kappa (formula)")
for pi in (0.5, 0.8, 0.95, 0.99):
t = r_true.random(M) < pi # true label 1 with probability pi
x = t ^ (r_ann.random(M) < EPS) # annotator 1 flips with prob EPS
y = t ^ (r_ann.random(M) < EPS)
po, pe, k = kappa(x, y)
q = pi * (1 - EPS) + (1 - pi) * EPS # P(an annotator says 1)
pe_f = q * q + (1 - q) * (1 - q)
po_f = (1 - EPS) ** 2 + EPS ** 2
print(f"{pi:10.2f} {po:9.3f} {pe:10.3f} {k:11.3f}"
f" {(po_f - pe_f) / (1 - pe_f):15.3f}")
Two annotators, each wrong 5% of the time, independently
prevalence agree p_o chance p_e kappa (sim) kappa (formula)
0.50 0.905 0.500 0.811 0.810
0.80 0.905 0.645 0.732 0.732
0.95 0.905 0.828 0.445 0.448
0.99 0.905 0.889 0.144 0.144
The agreement stays at 0.905 while kappa falls from 0.811 to 0.144: with extremely imbalanced classes (0.99) the chance agreement is already 0.889, the denominator is down to about a tenth, and every disagreement is magnified. The simulation and the formula differ only in the third decimal, which is sampling error.
So whenever you report kappa, give and the class balance beside it, and preferably the agreement per class. For imbalanced tasks such as harmful-content detection or rare error types, do not apply rules of thumb like “kappa of at least 0.8 is acceptable”. You can also switch to a measure that is less sensitive to class balance, such as Gwet’s AC1. Feinstein and Cicchetti (1990) called this pattern of high agreement and low kappa one of the two paradoxes of kappa.
Experiment 3: how far do more annotators bring the error down
Majority voting is the usual way to cut label errors. If (odd) annotators err independently with probability , the probability that the majority is wrong is
The key word is “independently”. If errors cluster on hard items, each item has its own error probability , and you evaluate the formula per item and average. The simulation: 10% of items are hard (each annotator errs 35% of the time), the rest 2%, and an annotator errs 5.30% of the time on average.
r_hard = np.random.default_rng(203) # which items are hard
r_vote = np.random.default_rng(204) # annotator votes
H, E_HARD, E_EASY = 0.10, 0.35, 0.02 # 10% hard items
p_err = np.where(r_hard.random(M) < H, E_HARD, E_EASY) # per-item error
mean_err = H * E_HARD + (1 - H) * E_EASY # one annotator
def maj_err(p, n):
"""P(the majority of n annotators is wrong); p: scalar or per item."""
return np.mean(sum(comb(n, j) * p ** j * (1 - p) ** (n - j)
for j in range(n // 2 + 1, n + 1)))
print(f"one annotator is wrong {mean_err:.2%} of the time on average")
print("annotators independent hard items (exact) hard items (sim)")
for n in (1, 3, 5):
sim = ((r_vote.random((n, M)) < p_err).sum(axis=0) * 2 > n).mean()
print(f"{n:10d} {maj_err(mean_err, n):11.2%} {maj_err(p_err, n):18.2%}"
f" {sim:16.2%}")
one annotator is wrong 5.30% of the time on average
annotators independent hard items (exact) hard items (sim)
1 5.30% 5.31% 5.33%
3 0.81% 2.93% 2.92%
5 0.14% 2.36% 2.37%
With independent errors, 3 annotators bring the error down to 0.81% and 5 to 0.14%. With errors concentrated on hard items, 3 annotators only reach 2.93% and 5 reach 2.36%: the fourth and fifth annotators together only move the error from 2.93% to 2.36%. Nearly all of what remains comes from the 10% hard items, where a majority vote improves things slowly; if annotators share a misconception on hard items and their individual error exceeds 50%, voting makes the wrong answer more certain the more people vote.
So adding people is not the first lever for label errors:
- Write annotation guidelines and run a pilot, then read the items with the most disagreement: most are ambiguous questions or cases the guidelines do not cover, and fixing the guidelines beats adding annotators.
- Send items with large disagreement to an expert for adjudication instead of taking the majority.
- Keep each annotator’s raw label and the disagreement rate rather than only the majority label: strong disagreement is itself the signal that the item is ambiguous, and you can report on it separately or drop the item.
- State in the report how many annotators labeled each item and how much they agreed.
Item information: difficulty, discrimination and reliability
The other half of an evaluation set’s quality is information. Inside one total score, some items separate models carefully, some are answered right (or wrong) by every model and contribute almost nothing, and some are mislabeled and make stronger models more likely to “fail”. Item response theory (IRT) from psychometrics supplies the standard language for this.
The two-parameter model (2PL) describes an item by two numbers, its difficulty and its discrimination , and a model by one, its ability . The probability that a model answers item correctly is
is the ability at which the success probability is exactly 50%, and is the steepness of this S-curve. The information (Fisher information) an item provides at ability is
It peaks at with height : doubling the discrimination quadruples the information, and when a model’s ability is far from the item’s difficulty (too easy or too hard) the information goes to zero. So an item with adds nothing to the ranking; an item with means that more capable models are more likely to get it wrong, which usually points to a wrong reference answer or an ambiguous question, and Rodriguez et al. (2021) use negative discrimination to find annotation errors in leaderboard data.
How dependable a whole test is, is measured by its reliability: split the items at random into two equally long “parallel forms” and take the correlation between the scores the same models get on the two forms. Lengthening the test by a factor raises reliability by the Spearman–Brown formula, and inverting it gives the factor needed to reach a target reliability:
is the reliability of the current test and the target. Reliability is not a property of the test alone: it depends on how spread out the test-takers are, as experiment 6 will show.
The widget below makes these curves draggable: tune the discrimination a and difficulty b to see the ICC steepen and the information peak a²/4 move; then set the test reliability rho and a target to read how many-fold the test must stretch — going from 0.6 to 0.9 takes 6-fold.
Experiment 4: building a flawed evaluation set
Build a simulated world of 3,000 items: difficulty is drawn from a normal distribution with mean 0.8 and standard deviation 2.4 (hard and widely spread); discrimination is lognormal, and 15% of the items are flawed (discrimination only 0 to 0.3, standing in for ambiguous or mislabeled questions). 60 “reference models” have abilities drawn from a standard normal distribution, and each answers all 3,000 items once. The code then counts each item’s accuracy, prints the peak information for three discrimination values, and computes each item’s item–rest correlation: the correlation between the item’s right-or-wrong record and the total score on all the other items, keeping the best 100.
The difficulty spread of 2.4 was adjusted once. The first version used 1.6, which left almost no items that everybody or nobody solved and hid the effect of dropping uninformative items, so I widened it to 2.4; all numbers below come from the complete run with 2.4.
J, N_REF, N_HELD = 3000, 60, 40 # items, reference and held-out models
r_item = np.random.default_rng(301) # item parameters
r_theta = np.random.default_rng(302) # model abilities
r_resp = np.random.default_rng(303) # responses
r_sub = np.random.default_rng(304) # random subsets
b = r_item.normal(0.8, 2.4, J) # difficulty: wide, harder than average
a = r_item.lognormal(0.0, 0.3, J) # discrimination
bad = r_item.random(J) < 0.15 # 15% flawed: ambiguous or wrong key
a[bad] = r_item.uniform(0.0, 0.3, bad.sum())
th_ref = r_theta.normal(0.0, 1.0, N_REF) # reference pool
th_held = r_theta.normal(0.0, 1.0, N_HELD) # new models, same level
th_strong = r_theta.normal(1.5, 0.5, N_HELD) # new, clearly stronger models
th_close = r_theta.normal(0.0, 0.3, N_HELD) # new models, very close together
def respond(theta, items=slice(None)):
p = sigmoid(a[items] * (theta[:, None] - b[items]))
return r_resp.random(p.shape) < p
R = respond(th_ref) # reference responses: 60 x 3000
acc = R.mean(axis=0) # per-item accuracy in the pool
print(f"{J} items, {N_REF} reference models")
print(f"solved by nobody {np.mean(acc == 0):.1%}, "
f"by everybody {np.mean(acc == 1):.1%}, "
f"accuracy within 10%..90%: {np.mean((acc > 0.1) & (acc < 0.9)):.1%}")
th = np.linspace(-6, 6, 12001) # Fisher information of one item
for aa in (0.3, 1.0, 2.0):
P = sigmoid(aa * (th - 0.8)) # an item with difficulty 0.8
info = aa ** 2 * P * (1 - P)
print(f"a={aa}: max information {info.max():.4f} at theta="
f"{th[info.argmax()]:.2f} (a^2/4 = {aa ** 2 / 4:.4f})")
# item-rest correlation: how well an item agrees with the rest of the test
rest = R.sum(axis=1)[:, None] - R
Rc, Sc = R - R.mean(axis=0), rest - rest.mean(axis=0)
irc = (Rc * Sc).sum(0) / np.sqrt((Rc ** 2).sum(0) * (Sc ** 2).sum(0) + 1e-12)
pick = np.argsort(-irc)[:100] # the 100 most discriminating items
informative = (acc > 0) & (acc < 1)
print(f"flawed items: {bad.sum()}; among the picked 100: {bad[pick].sum()}")
3000 items, 60 reference models
solved by nobody 5.7%, by everybody 1.1%, accuracy within 10%..90%: 72.1%
a=0.3: max information 0.0225 at theta=0.80 (a^2/4 = 0.0225)
a=1.0: max information 0.2500 at theta=0.80 (a^2/4 = 0.2500)
a=2.0: max information 1.0000 at theta=0.80 (a^2/4 = 1.0000)
flawed items: 467; among the picked 100: 0
Of the 3,000 items, 5.7% are solved by none of the reference models and 1.1% by all of them; only 72.1% have an accuracy between 10% and 90%. The peak information is exactly : 0.0225 for , 0.2500 for and 1.0000 for , so one item with is worth dozens with . None of the 100 items with the highest item–rest correlation is a flawed item (467 of the 3,000 are): the statistic does separate uninformative items from informative ones.
Experiment 5: can 100 picked items replace all of them
Picking items only counts if it also works on new models. Test it on models outside the reference pool: the same new models answer all 3,000 items, and four scoring schemes are compared by the Spearman rank correlation between the ranking they give and the true ability: all 3,000 items, 100 random items, the 100 items with the highest item–rest correlation, and only the “informative” items (neither solved by nobody nor by everybody in the reference pool). Three groups of new models: the same level (abilities distributed as in the reference pool), clearly stronger (mean ability 1.5) and very close together (ability standard deviation 0.3). Each group is repeated 200 times (fresh answers and fresh random sampling each time) and the mean and standard deviation are reported.
REPS = 200
def study(theta):
out = {"all 3000": [], "random 100": [], "picked 100": [],
"informative only": []}
for _ in range(REPS):
H_ = respond(theta) # fresh responses of the same models
rnd = r_sub.choice(J, 100, replace=False)
out["all 3000"].append(spearman(theta, H_.mean(axis=1)))
out["random 100"].append(spearman(theta, H_[:, rnd].mean(axis=1)))
out["picked 100"].append(spearman(theta, H_[:, pick].mean(axis=1)))
out["informative only"].append(
spearman(theta, H_[:, informative].mean(axis=1)))
return out
print("Spearman correlation between true ability and the score "
f"({REPS} repeats, mean +- sd)")
for name, th in (("same level", th_held), ("stronger", th_strong),
("very close", th_close)):
res = study(th)
print(f"-- {name} models")
for k, v in res.items():
print(f" {k:17s} {np.mean(v):.3f} +- {np.std(v):.3f}")
Spearman correlation between true ability and the score (200 repeats, mean +- sd)
-- same level models
all 3000 0.995 +- 0.002
random 100 0.921 +- 0.024
picked 100 0.976 +- 0.007
informative only 0.995 +- 0.002
-- stronger models
all 3000 0.980 +- 0.006
random 100 0.735 +- 0.074
picked 100 0.848 +- 0.038
informative only 0.979 +- 0.006
-- very close models
all 3000 0.899 +- 0.030
random 100 0.508 +- 0.114
picked 100 0.720 +- 0.081
informative only 0.899 +- 0.031
- At the same level, the picked 100 items (0.976) get closer to the full set (0.995) than 100 random items (0.921), and with a much smaller standard deviation (0.007 against 0.024).
- When candidates are very close, the gap is wider: 100 random items reach a correlation of only 0.508 (standard deviation 0.114), the picked 100 reach 0.720 and all 3,000 reach 0.899.
- Dropping the items nobody (5.7%) or everybody (1.1%) solves in the reference pool costs almost nothing (0.995 against 0.995, 0.979 against 0.980): those items carry no information in this pool.
- Picking has a price. When the new models are clearly stronger, the picked 100 items (0.848) fall far behind the full set (0.980), because the choice was based on the ability range of the reference pool and the selected items are on the easy side for stronger models. As models improve, a picked small set has to be refreshed regularly.
This simulation favors the method under test: the data were generated by exactly the 2PL model, and the item–rest correlation matches it, while real model abilities are multidimensional. tinyBenchmarks (Polo et al., 2024) did something similar on real benchmarks: with IRT-based selection and weighting, 100 items per benchmark scenario were enough to estimate each model’s accuracy on the whole benchmark to within about 2% on average. Note that this is estimating accuracy, not ranking models that are close to each other.
Experiment 6: reliability and the number of items
Reliability can be measured directly: split the 3,000 items at random into two disjoint forms of items, let the same 40 new models answer once, take the correlation between the two scores, repeat 200 times and average; then compare with the Spearman–Brown prediction.
def forms(theta, m):
"""Scores of the same models on two disjoint random m-item forms."""
H_ = respond(theta)
idx = r_sub.permutation(J)
return H_[:, idx[:m]].mean(axis=1), H_[:, idx[m:2 * m]].mean(axis=1)
def rel(theta, m, reps=REPS):
r = [np.corrcoef(*forms(theta, m))[0, 1] for _ in range(reps)]
return float(np.mean(r))
r100 = rel(th_held, 100)
print(f"parallel-forms reliability, 100 items: {r100:.3f}")
print("items Spearman-Brown prediction measured")
for m in (50, 100, 400, 1500):
n = m / 100 # length relative to 100 items
pred = n * r100 / (1 + (n - 1) * r100)
print(f"{m:5d} {pred:25.3f} {rel(th_held, m):8.3f}")
target = 0.90
need = 100 * target * (1 - r100) / (r100 * (1 - target))
print(f"items for reliability {target}: about {need:.0f}")
r_close = rel(th_close, 100)
print(f"100 items, models within +-0.3 of each other: {r_close:.3f}")
need = 100 * target * (1 - r_close) / (r_close * (1 - target))
print(f" with such models, reliability {target} needs about {need:.0f} items")
parallel-forms reliability, 100 items: 0.853
items Spearman-Brown prediction measured
50 0.744 0.740
100 0.853 0.853
400 0.959 0.957
1500 0.989 0.989
items for reliability 0.9: about 155
100 items, models within +-0.3 of each other: 0.334
with such models, reliability 0.9 needs about 1794 items
With 100 items the reliability is 0.853; Spearman–Brown predicts 0.744, 0.959 and 0.989 for 50, 400 and 1500 items, and the measurements are 0.740, 0.957 and 0.989, which agree. Raising reliability to 0.9 takes about 155 items.
But that is the result for a pool of widely spread abilities (standard deviation 1). With the same 100 items and models that are only about ±0.3 apart, the reliability is just 0.334, and reaching 0.9 takes about 1,794 items. Reliability belongs to “this test and these test-takers” together: the closer the candidates, the more items you need. In real evaluation this is exactly the value of the paired analysis in The statistics of evaluation: for models that are close, use the paired difference on the same items instead of computing a confidence interval for each model and comparing them.
Secrecy, versions and freshness
A public evaluation set ends up in training data sooner or later (for ways to detect contamination see LLM evaluation methodology and Pretraining data engineering). Zhang et al. (2024) ran a direct test: annotators with no LLM assistance at all wrote 1,205 new grade-school math problems (GSM1k) in the style, difficulty and number of solution steps of GSM8K, checked that the two sets are comparable in human solve rate, solution steps, answer magnitude and similar measures, and then kept the new set private. The results:
- Several model families scored lower on GSM1k than on GSM8K, by up to 8%, with signs of systematic overfitting across almost all model sizes.
- The higher a model’s log-likelihood of generating GSM8K problems, the larger the gap between the two benchmarks (the body of the paper reports a Spearman rank correlation of 0.36, ; the abstract writes it as r²), which suggests that some models overfit or partly memorized the public problems.
- Frontier models barely dropped, and all models still generalize reasonably well to the new problems.
The life of an evaluation set can be managed with a few rules:
- Public development set, private holdout, same construction process. Use the holdout only for the final report, never to tune prompts or pick a model, or it too gets “tuned” into overfitting.
- Version numbers and content hashes. Write the version after every score (for example
my-eval v3), bump it whenever items or labels change, and never compare a score from one version directly with one from another. - A change log. Record which items changed and why (label error, ambiguity, leak).
- Saturation monitoring. When the strongest model approaches , what remains is mostly label error and it is time to replace the items; a growing share of items that every model solves in the per-item accuracy distribution is another sign of saturation.
- Record sources and dates. Keep each item’s source (logs, expert, synthetic) and the date it was written, which helps contamination analysis: items older than a model’s training cutoff are riskier.
A checklist and common mistakes
Put the above into one pipeline:
| Step | What to do | What to look at |
|---|---|---|
| 1. Decision | Write down the decision and the error you can accept | Items needed (statistics of evaluation) |
| 2. Coverage table | Tasks × difficulty or risk, a quota per cell | Items and confidence interval per cell |
| 3. Writing | Mix sources, record source and date per item | Scores per source, reported separately |
| 4. Annotation | Guidelines, pilot, several annotators, expert adjudication | Agreement , class balance, kappa and the disagreement rate |
| 5. Item analysis | Per-item accuracy and item–rest correlation from reference answers | Items nobody or everybody solves, negative correlations, review one by one |
| 6. Holdout and versions | Split off a private holdout, number the versions | Change log, content hash |
| 7. Reporting | Score, confidence interval, version, estimated ceiling | Is the gap larger than the noise (paired analysis) |
| 8. Maintenance | Watch saturation and contamination, refresh regularly | Distance of the strongest model from |
| Mistake | What is actually true |
|---|---|
| “More items are always better” | One item with is worth dozens with (experiment 4); look at discrimination and reliability before count |
| “Label errors just lower the score a bit” | They also compress gaps (1.198 times the items) and set a ceiling on scores (experiment 1); systematic errors can change rankings |
| “A low kappa means poor annotation” | The same two annotators go from kappa 0.811 to 0.144 only because the class balance changed (experiment 2) |
| “The majority vote is the truth” | With errors concentrated on hard items, 3 votes only reach 2.93% (experiment 3), and a shared misconception on hard items gets voted into “truth” |
| “Dropping items that everyone or no one solves costs nothing” | On the current pool it costs almost nothing (experiment 5), but the information in those items changes when models get stronger or weaker |
| “A score near 100% means a near-perfect model” | The ceiling of an evaluation set is ; beyond it, the differences are mostly label errors |
Register slices that an average can hide
Stanford CS324’s Harms I lecture treats performance disparities as an evaluation problem. Chapter 26 of CMU’s production ML book connects fairness criteria to the application and the people it affects. For multilingual support, register slices such as language, task category, and human handoff before looking at results. Document the consequences of errors in each slice. These synthetic counts illustrate aggregation. The example ran with standard Python 3.14.3 on an Apple M2 Max.
# (sample count, baseline matches, candidate matches)
slices = {
"common language": (90, 72, 81),
"less common language": (10, 8, 6),
}
totals = tuple(map(sum, zip(*slices.values(), strict=True)))
assert totals[2] > totals[1]
assert list(slices.values())[1][2] < list(slices.values())[1][1]
for name, (n, baseline, candidate) in [
*slices.items(),
("overall", totals),
]:
print(f"{name}: n={n}, {baseline/n:.0%} -> {candidate/n:.0%}")
common language: n=90, 80% -> 90%
less common language: n=10, 80% -> 60%
overall: n=100, 80% -> 87%
Overall accuracy rises while the less common language regresses. With few cases, a single item can materially change the rate. Report counts and uncertainty. Oversampling a less common language in the benchmark can improve precision, while a separate weighted aggregate can reflect a stated production mix. Set evaluation sample sizes and release thresholds for overall performance and critical slices in advance.
Summary and exercises
- An evaluation set is a measuring instrument built for one decision: write the decision first, then draw the coverage table and choose question sources, each of which carries its own bias.
- A label error rate sets the ceiling on scores, multiplies every gap by and raises the items needed by ; random errors leave rankings alone, systematic errors do not.
- Kappa reflects both annotation quality and class balance: the same two annotators can move from 0.811 to 0.144; report , the class balance and per-class agreement with it.
- Majority voting works well on independent errors and has diminishing returns on errors concentrated on hard items; guidelines, pilots and expert adjudication beat adding people.
- An item’s value is described by difficulty, discrimination and information: items with add nothing, and with suspect the label first; reliability depends on the number of items and how spread out the test-takers are, and the closer the candidates, the more items you need.
- An evaluation set has a life cycle: holdout, version numbers, change log and saturation monitoring, because a public set will be seen in training sooner or later.
Quick self-check
1. In a four-option evaluation set, 10% of the reference answers are wrong (replaced by a random wrong option). What score do you expect from a model whose true accuracy is 100%?
- 1.000
- 0.900
- 0.925
- 0.967
A perfect model scores (experiment 1). 0.967 corresponds to . The label error rate sets a ceiling on scores, and the ceiling does not depend on the number of options.
2. Two models differ by 5 true points (0.80 against 0.85), the label error rate is 6.49%, four options. What gap do you see through the noisy labels?
- 0.0500
- 0.0457
- 0.0325
- 0.0250
The gap is multiplied by , giving 0.0457 (experiment 1). Detecting a gap of the same significance takes 1.198 times the items.
3. Two annotators agree with p_o = 0.905, yet kappa is only 0.144. What is the most likely reason?
- The two annotators differ greatly in ability
- The classes are extremely imbalanced, so the chance agreement is already high
- The annotation guidelines are too detailed
- The evaluation set has too few items
In experiment 2, stays at 0.905 while rises from 0.500 to 0.889 as the class share goes from 0.50 to 0.99, and kappa falls from 0.811 to 0.144. A low kappa does not always mean poor annotation; look at the class balance first.
4. In experiment 3, why is the error of a 3-annotator majority on clustered hard items (2.93%) so much higher than with independent errors (0.81%)?
- The voting rule is implemented wrongly
- Errors concentrate on a few hard items, where a majority vote helps little, while the other items already have almost no errors
- The labels of the hard items are actually right
- More annotators always means a higher error rate
On the 10% hard items each annotator errs 35% of the time and the majority only lowers that slowly; on the other 90% of the items, three votes already push the error very low. The total error is therefore decided by the hard items, and 5 annotators still leave 2.36%.
5. In a two-parameter IRT model an item has discrimination close to 0 or negative. Which statements are true?
- An item with adds almost nothing to the ranking of models
- An item with usually points to a wrong reference answer or an ambiguous question and should be reviewed first
- An item with low discrimination must be hard
- The harder an item, the higher its discrimination
The information goes to 0 as ; negative discrimination is the signal Rodriguez et al. use to find annotation errors. Difficulty and discrimination are separate parameters: a hard item can have high or low discrimination.
6. With the same 100 items, a pool of widely spread models has reliability 0.853, and a pool of close models only 0.334 (experiment 6). Why?
- The close pool has fewer models
- Reliability depends on how spread out the test-takers are: the closer their abilities, the smaller the true differences and the larger the share of random fluctuation in the answers
- The items are biased against close models
- The Spearman–Brown formula fails in this case
Both pools have 40 models. Reliability is the share of the total variance that is true-score variance, and the closer the test-takers, the smaller that share. Ranking close models takes about 1,794 items (experiment 6), or a paired analysis instead.
Exercises
- Items needed. A four-option evaluation set has a label error rate of 6.49%. How many items do you need to detect the gap that 1,000 items detect with clean labels?
- Kappa. On a task where only 2% of the items are positive, two annotators each err 5% of the time. What are , and kappa? Does this kappa show poor annotation quality?
- Voting. 20% of the items are hard (each annotator errs 30% of the time), the rest 1%. What are the average error of a single annotator, the error of a 3-annotator independent vote, and the error of a 3-annotator vote when errors cluster on the hard items?
- Test length. A 100-item test has reliability 0.853 (experiment 6). How many items reach 0.90 and 0.95?
- Design. The best model on your evaluation set scores 0.93 and you estimate the label error rate at 7%. What do you do?
Reference answers
Continue from the script above (it uses K, EPS, maj_err, r100 and so on):
f = 1 - 0.0649 * K / (K - 1) # exercise 1: shrink factor
print(f"1. {1000 / f ** 2:.0f} items instead of 1000")
q = 0.02 * (1 - EPS) + 0.98 * EPS # exercise 2: 2% positives
pe = q * q + (1 - q) * (1 - q)
po = (1 - EPS) ** 2 + EPS ** 2
print(f"2. p_o {po:.3f}, p_e {pe:.3f}, kappa {(po - pe) / (1 - pe):.3f}")
p2 = np.array([0.3] * 20 + [0.01] * 80) # exercise 3: 20% hard items
print(f"3. one annotator {p2.mean():.2%}, 3 independent votes "
f"{maj_err(p2.mean(), 3):.2%}, 3 votes on hard items "
f"{maj_err(p2, 3):.2%}")
for target in (0.90, 0.95): # exercise 4: reliability r100
n = 100 * target * (1 - r100) / (r100 * (1 - target))
print(f"4. reliability {target}: {n:.0f} items")
1. 1198 items instead of 1000
2. p_o 0.905, p_e 0.873, kappa 0.251
3. one annotator 6.80%, 3 independent votes 1.32%, 3 votes on hard items 4.34%
4. reliability 0.9: 155 items
4. reliability 0.95: 327 items
1. 1,198 items. The factor is , and the item count is multiplied by .
2. , , and kappa is only 0.251. That does not show poor annotation: the same two annotators have kappa 0.811 when the classes are balanced (experiment 2). Report , the class balance and the per-class agreement.
3. A single annotator errs 6.80%, an independent 3-annotator vote 1.32%, and a 3-annotator vote with errors on the hard items 4.34%. Concentrating the errors on hard items takes away most of what voting gains.
4. 0.90 takes 155 items and 0.95 takes 327. Raising reliability from 0.90 to 0.95 takes more than twice the items.
5. 0.93 is exactly the ceiling : the best model is already at the limit, the remaining differences are mostly label errors, and comparing scores further is pointless. What to do: first confirm the 7% estimate and check whether the errors cluster in some subsets; spot-check the “wrong answers” of the best model and fix or drop mislabeled items; add new, harder items and ship a new version; state the version and the estimated ceiling in the report.
Further reading
The links below were checked in November 2026.
- Northcutt, Athalye and Mueller, Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarks, NeurIPS 2021 Datasets and Benchmarks (the error lists are at labelerrors.com)
- Gema et al., Are We Done with MMLU?, 2024
- Zhang et al., A Careful Examination of Large Language Model Performance on Grade School Arithmetic, NeurIPS 2024 Datasets and Benchmarks (GSM1k)
- Polo et al., tinyBenchmarks: evaluating LLMs with fewer examples, ICML 2024
- Rodriguez et al., Evaluation Examples are not Equally Informative: How should that change NLP Leaderboards?, ACL 2021
- Cohen, A Coefficient of Agreement for Nominal Scales, Educational and Psychological Measurement, 1960
- Feinstein and Cicchetti, High agreement but low kappa: I. The problems of two paradoxes, Journal of Clinical Epidemiology, 1990
FAQ
- What do label errors do to an evaluation, and how many are acceptable?
- They lower every score and shrink the gaps between models. Take four-option questions whose reference answer is replaced, with probability e, by a random wrong option: a model with true accuracy a is seen scoring (1−e)a + e(1−a)/3, so a perfect model tops out at 1−e, every gap is multiplied by 1−4e/3, and detecting the same gap takes 1/(1−4e/3)² times as many items. At the 6.49% that MMLU-Redux estimates for MMLU, a perfect model scores at most 0.935 and you need 1.198 times the items. Whether that is acceptable depends on how close the best model is to the ceiling: once scores approach 1−e, the remaining differences are mostly label errors and it is time to replace the set.
- Why can Cohen's kappa be low when the annotators agree most of the time?
- Kappa = (p_o − p_e)/(1 − p_e) subtracts the agreement expected by chance, and p_e swings with class balance. Two annotators who each err 5% of the time independently always agree with p_o = 0.905: kappa is 0.811 with balanced classes, but when 99% of items are positive, p_e rises to 0.889 and kappa falls to 0.144. A low kappa therefore does not always mean poor annotation; it may only mean the classes are very imbalanced. Report p_o, the class balance and per-class agreement next to kappa.
- How low can label errors go if more people annotate each item?
- It depends on whether the errors are independent. If each annotator errs 5.30% of the time on average and errors are independent, a majority of 3 gives 0.81% and a majority of 5 gives 0.14%. Real errors often cluster on ambiguous, hard items: if 10% of items are hard (35% error per annotator) and the rest err 2% (the same 5.30% on average), 3 votes only reach 2.93% and 5 votes 2.36%, so extra annotators help little. Clear guidelines, expert adjudication of the items annotators disagree on, and keeping every annotator's raw label work better.
- How do I find items that carry no information or are mislabeled?
- Take the responses of a pool of reference models and compute each item's correlation with the total score on the other items (the item–rest correlation). Items with a very low or negative correlation either do not discriminate or have a wrong reference answer, so review them first. In this page's simulation, 5.7% of 3,000 items are solved by nobody and 1.1% by everybody; none of the 100 items picked by item–rest correlation is flawed (467 of 3,000 are). On new, stronger models the picked 100 items reach a Spearman correlation of 0.848 with true ability, against 0.735 for 100 random items. The selection depends on the ability range of the reference pool, so refresh it as models improve.
- Should an evaluation set be public, and how do I keep it from being gamed?
- A public evaluation set will end up in training data sooner or later. Zhang et al. (2024) had annotators write 1,205 new problems in the style of GSM8K without any LLM assistance (GSM1k) and kept them private: several model families scored up to 8% lower on the new problems, and the likelier a model was to generate GSM8K problems, the larger its drop, while frontier models barely dropped. Common practice is a public development set and a private holdout built by the same process, a version number reported with every score, and a replacement of the set when scores approach the ceiling.