Dive into Deep Learning · §18.5
Evaluation Suites, Judges and Error Bars
paired intervals · clusters · detectable effects · frozen suites · contamination · judges · protocols
The problem
| checkpoint | accuracy on 500 ARC science questions |
|---|---|
| Qwen3-0.6B-Base | 0.38 |
| Qwen3-0.6B | 0.32 |
| Qwen3.5-0.8B-Base | 0.35 |
| Qwen3.5-0.8B | 0.33 |
| Qwen3-1.7B | 0.42 |
Model cards report gains of two points as progress. Is a gain of two points real?
Goals
Running example: Qwen3-1.7B against Qwen3-0.6B on the 500 questions, 0.42 against 0.32. The idea: a score is a sample mean, and a difference counts when its interval excludes zero.
Where this fits
| movement | section |
|---|---|
| open a checkpoint | Pretrained Models with Hugging Face |
| A Released Checkpoint in the Book’s Own Code | |
| measure it | Prompting and In-Context Learning |
| Scoring Language Models | |
| Evaluation Suites, Judges and Error Bars | |
| inside and outside | Interpretability |
| Models behind an API |
The bootstrap
Bootstrap: draw n items with replacement, recompute the mean, repeat. The spread of the replicate means is the sampling error. Their 2.5% and 97.5% quantiles bound a 95% interval.
C per resample.y_sum holds the scores and m is all ones. Groups of items arrive with the clustered design.Paired differences
\textrm{Var}(\bar a - \bar b) = \frac{v_a + v_b - 2c}{n}
a_i, b_i: scores of two models on item i of n. v_a, v_b: their variances. c: their covariance, positive on shared questions.
| Qwen3-1.7B - Qwen3-0.6B, 500 items | estimate | 95% interval |
|---|---|---|
| as two independent samples | 0.100 | \pm 0.059 |
| paired: bootstrap of the differences per item | 0.100 | 0.056 to 0.144 |
The models disagree on 134 items, 92 against 42. The unpaired design needs 1.8 times the questions for the same interval.
All ten pairs of the five checkpoints, 500 items:
| verdict | pairs |
|---|---|
| separate 95% intervals overlap | 8 of 10 |
| of these, paired interval excludes 0 | 3 |
| of these, resolved only by pairing | 2 |
Compare models on the same items, item by item. Keep results per item.
Clustered items
G clusters of m items, correlation \rho inside a cluster: the variance of a mean grows by the design effect 1 + (m - 1)\rho. G = 2, m = 2, \rho = 1: two problems asked twice are two problems.
100 GSM8K problems, 8 sampled answers each:
| 95% half-width, items resampled | problems resampled | design effect | \rho | |
|---|---|---|---|---|
| Qwen3-0.6B | 0.034 | 0.078 | 5.3 | 0.6 |
| Qwen3.5-0.8B | 0.034 | 0.075 | 5.0 | 0.6 |
| difference | 0.034 | 0.055 | 2.5 | 0.2 |
800 scores carry the information of about 150. Resample what is independent: whole problems.
Detectable effects
\textrm{MDE}(n) = 2.80\, s_d \sqrt{\textrm{DEFF}/n}
Minimum detectable effect: the true difference that a two-sided test at level 0.05 finds with probability 0.8, its power. s_d: standard deviation of the differences per item. DEFF: design effect.
| design, 500 items | MDE |
|---|---|
| two independent samples | 8.5 points |
| paired | 6.5 points |
| paired, clusters of 8 | 10 points |
| observed gap | paired items needed |
|---|---|
| 9 to 10 points | about 200 |
| 4 points | 600 to 1,000 |
| 2 to 3.5 points | 1,400 to 2,100 |
| 1.4 points | 7,600 |
Check
Two models disagree on 27% of the questions. You expect a gain of 3 points. How many questions does a paired test need for a power of 0.8? ARC-Challenge has 1,172 test questions.
Answer. s_d^2 \approx 0.27, so n = 2.80^2 \cdot 0.27 / 0.03^2 \approx 2{,}350: twice the benchmark. On 500 questions the MDE is 2.80\sqrt{0.27/500} = 6.5 points.
Suites
Label errors put the ceiling below 100%. A fresh test set mixes distribution shift with overfitting (dashed). Only a private split of the same pool separates them.
Steps left = (ceiling - best published score) / MDE on the full test set.
| benchmark | best published | ceiling | MDE | steps left |
|---|---|---|---|---|
| MMLU | 0.933 | 0.935 | 0.006 | 0.4 |
| GSM8K | 0.968 | 0.992 | 0.014 | 1.8 |
Data file of this edition, compiled 2026-11-13.
Frozen manifests
| suite | first digits of its hash |
|---|---|
dev_v1: 500 ARC questions, 100 GSM8K problems |
c8ecbb6f |
| the same with 501 ARC questions | 5e7e5d49 |
| the same with other GSM8K demonstrations | 1d96585d |
Two results are compared only if their suite hashes agree.
Development suite, 6 pairs of models on 2 tasks. Names are shortened: 0.6B is Qwen3-0.6B, 3.5-2B is Qwen3.5-2B.
| pair, task (items) | difference | 95% interval | MDE |
|---|---|---|---|
| 1.7B - 0.6B, ARC (500) | 0.106 | 0.060 to 0.152 | 0.064 |
| 3.5-0.8B - 0.6B, ARC (500) | 0.014 | -0.026 to 0.052 | 0.055 |
| 3.5-0.8B - 0.6B, GSM8K (100) | 0.06 | -0.04 to 0.16 | 0.136 |
| 3.5-2B - 1.7B, GSM8K (100) | -0.10 | -0.19 to -0.02 | 0.122 |
Contamination
| accuracy | originals | variants | gap | 95% interval | MDE |
|---|---|---|---|---|---|
| Qwen3-1.7B | 0.72 | 0.72 | 0.003 | -0.080 to 0.085 | 0.12 |
The accuracy test cannot tell a contamination gap of ten points from none.
Log-likelihood per byte of the question text, originals minus variants, in nats:
| model | gap | 95% interval |
|---|---|---|
| Qwen3-1.7B | 0.076 | 0.057 to 0.094 |
| GPT-2 small (2019; GSM8K appeared in 2021) | 0.043 | 0.032 to 0.054 |
| difference | 0.033 | 0.015 to 0.050 |
Did the model see the test? Tentatively yes. Did seeing it help? Not answerable at a resolution of 12 points.
Check
Variance per template of the original’s score minus the mean of m variants:
p(1-p)\Bigl(1 + \frac{1 + (m-1)\rho}{m} - 2\rho\Bigr)
p: accuracy, here 0.75. \rho: correlation of two questions of a template, say 0.3. With m = 4 and 100 templates the MDE is 11 points. And with m = 50?
Answer. 10 points. The leading 1 is the original, a single score of 0 or 1, and no number of variants averages it away. More templates help. More variants do not.
Model judges
A judge reads a question and two answers and names the better one. We read the log-odds l of the token A over B. One reading cannot tell a taste for the first slot from a preference for the answer that stands there.
l_1 = \beta + \Delta, \quad l_2 = \beta - \Delta \quad\Longrightarrow\quad \Delta = \frac{l_1 - l_2}{2}, \quad \beta = \frac{l_1 + l_2}{2}
Validation
Agreement with expert votes on 400 MT-Bench answer pairs. Easy: the experts prefer one of the two models in over 80% of their votes.
| judge | all | easy | hard |
|---|---|---|---|
| Qwen3.5-4B, verdicts consistent in both orders | 0.83 | 0.89 | 0.73 |
| GPT-4 | 0.87 | 0.89 | 0.83 |
| experts with each other | 0.82 | 0.89 | 0.71 |
Validate a judge on hard pairs, and compare judges on the same votes.
Position bias
Four answerers, 6 pairs, 300 prompts: 1,800 answer pairs in both orders.
| quantity | estimate | 95% interval |
|---|---|---|
| mean position bias \beta | 0.71 | 0.64 to 0.79 |
| verdicts consistent in both orders | 0.76 | 0.73 to 0.78 |
| winner changes if only order 1 is read | 0.14 | 0.13 to 0.16 |
| winner changes if only order 2 is read | 0.10 | 0.09 to 0.12 |
Length
| measurement | estimate | 95% interval |
|---|---|---|
| intervention: \Delta of an answer with 54 words of filler against the same answer without, 289 prompts | -0.79 | -0.86 to -0.72 |
| observation: slope of \Delta on the log ratio of word counts, 1,711 pairs | 0.30 | -0.05 to 0.67 |
Rankings
Model i has strength \theta_i and beats j with probability \sigma(\theta_i - \theta_j). Intervals resample prompts.
| answerer | strength | 95% interval | median words |
|---|---|---|---|
| Qwen3.5-2B | 0.96 | 0.82 to 1.10 | 153 |
| Qwen3-1.7B | 0.58 | 0.49 to 0.68 | 102 |
| Qwen3.5-0.8B | -0.60 | -0.72 to -0.48 | 149 |
| Qwen3-0.6B | -0.94 | -1.07 to -0.82 | 79 |
Narrow intervals say that this judge is consistent, not that it is right.
Reproducible reports
Qwen3-0.6B-Base on all 1,319 GSM8K test problems, greedy decoding:
| protocol | accuracy | 95% interval |
|---|---|---|
ours: 4 worked solutions, Q: and A: blocks |
0.51 | 0.48 to 0.54 |
| evaluation harness: 8 chains of thought ending “The answer is” | 0.61 | 0.59 to 0.64 |
| published as “4-shot, CoT” (Qwen3 Technical Report, Table 8) | 0.596 |
A score carries its protocol: model, suite hash, prompt, decoding, extractor, run settings, n, interval, MDE.
Check
“Our model reaches 61.2 on GSM8K, 1.6 points above the baseline.” Name four things you need before you believe the 1.6.
Answer. (1) Results per item for both models on the same problems, for a paired interval. (2) The MDE: on 1,319 problems even one accuracy against a fixed number has an MDE of about 4 points. (3) The protocol of both runs: demonstrations, stop string and token limit moved a score by 10 points. (4) The batch size: alone it moved an accuracy by almost a point.
Next: from what a model answers to how it computes the answer.