6.5.3 · D4Research Frontiers & Practice

Exercises — Benchmark design and evaluation rigor

3,319 words15 min readBack to topic

This page is your self-test. Read a problem, cover the solution, work it yourself, then reveal. Everything here builds on Benchmark design and evaluation rigor and leans on 4.1.03-Evaluation-metrics, 3.2.01-Bias-variance-tradeoff, and 2.4.02-Regularization-techniques. Prefer Hinglish? See the Hinglish note.

Before we begin, one symbol contract so nothing appears un-defined:


Level 1 · Recognition

L1-Q1 — Point estimate vs. distribution

A paper reports "Model A: 92.3%" from a single training run with the best hyperparameters picked on the validation set. In one sentence, name the single most important thing this number does not tell you, and name the bias introduced by "best hyperparameters".

Recall Solution

The number is a point estimate: it hides the uncertainty (spread) of performance across seeds/splits — we can't tell signal from noise. Picking the "best" run is selection bias (cherry-picking the right tail of the distribution), which over-estimates true capability.

L1-Q2 — Read the formula

Given and , compute the SEM. Then state, in words, what would happen to the SEM if we did runs instead of .

Recall Solution

With : . Because SEM scales as , quadrupling runs () halves the uncertainty. This is why "4× more runs to halve error" is the rule of thumb.

L1-Q3 — Purpose of a negative control

A benchmark author adds a test where the correct answer choices are randomly shuffled. What is this test called, and what score would a model that is truly reasoning (not pattern-matching) be expected to get on a 4-choice version?

Recall Solution

This is a negative control. If the label is now random noise, no real reasoning can help, so a properly-behaving model should collapse to chance = . Scoring well above chance on a scrambled task is a red flag for spurious correlations (surface cues leaking the answer).


Level 2 · Application

L2-Q1 — Confidence interval, small sample

A model is run times: mean , sample std . Build the 95% confidence interval. Use .

Recall Solution

First the SEM: So (percent). Why , not ? With only runs the central-limit "" shortcut under-covers; Student's with degrees of freedom is fatter-tailed and honestly wider.

L2-Q2 — Cohen's effect size

Two models, each run enough that , , with and . Compute Cohen's and classify it (negligible / small / medium / large).

Recall Solution

The pooled standard deviation: Since , this is a large effect. Note: effect size measures "how many std-devs apart", and is independent of — that's what distinguishes it from a -value.

L2-Q3 — Bonferroni correction

You compare models pairwise. (a) How many comparisons is that? (b) With family-wise , what per-test threshold does Bonferroni demand? (c) Expected false positives if you ignored the correction?

Recall Solution

(a) Pairs of 20: comparisons. (b) Bonferroni: per test. (c) Ignoring it, expected false positives . So you'd "discover" ~10 significant differences that are pure chance — hence the correction.


Level 3 · Analysis

L3-Q1 — Welch's t-test, unequal variance

Model A: , , . Model B: , , . Compute the Welch statistic and the Welch–Satterthwaite degrees of freedom. Is a lead convincing?

Recall Solution

The standard error of the difference combines both noises: Now the degrees of freedom — don't hand-wave "about 8". The Welch–Satterthwaite formula (from the parent note) tells us how many "effective independent measurements" the noisy variances are worth: Plug in and : So — round down to df to stay conservative. That is why it lands near 8: five runs each would give df only if the variances were equal; unequal variances shrink the effective count slightly. The two-tailed critical value at , is . Since , we fail to reject . Conclusion: not convincing. The lead is inside the noise. (The parent note used per-run SEMs of 0.5 and 0.7 giving ; here we use per-run std with , so the signal-to-noise is larger but still short of significance — either way, don't celebrate.)

L3-Q2 — Why the naive comparison overstates the winner

Model A reports its single best of 20 runs. Model B reports the mean of 20 runs. Both come from the same underlying distribution (mean , std ). Explain qualitatively why A will almost always "win", and what statistic you should compare instead.

Recall Solution

"Best of 20" is the maximum order statistic — the largest of 20 draws sits deep in the right tail, so A's reported number is systematically inflated. Where does the inflation number come from? For independent standard-normal draws, the expected maximum grows roughly like (a standard extreme-value approximation). For : standard deviations above the mean in the crude form; the sharper Blom estimate gives about standard deviations, which is the value we quote. Either way it is positive and large. In real units: B's honest mean sits at . They are the same model, yet A "wins" by ~3.7 points purely from selection bias. Fix: compare means (with CIs), never a cherry-picked max against an honest mean. This is a distribution-level illusion, not a real capability gap.

L3-Q3 — Distribution shift in the test split

A benchmark trains on scenarios with 1–2 objects and tests on 3–5 objects with unseen materials. Using the vocabulary of 3.2.01-Bias-variance-tradeoff, explain what capability this split is designed to probe, and why a model that memorized the train set would fail it.

Recall Solution

The test set is deliberately out-of-distribution relative to training. It probes generalization / systematic reasoning, not memorization. A model that fit the training distribution tightly (low bias on train, effectively high variance w.r.t. the true task) has learned surface statistics of "1–2 object" scenes; on 3–5 objects those statistics no longer hold, so accuracy drops. This mirrors overfitting: great on seen data, poor under shift — exactly why 2.4.02-Regularization-techniques and held-out distribution shift matter for honest evaluation.


Level 4 · Synthesis

L4-Q1 — Design a leakage-proof split

You have 10,000 procedurally-generated physics scenarios, each tagged with the generator seed and the object-count. Propose a train/test split that (a) prevents template leakage and (b) tests generalization, and justify each choice.

Recall Solution

(a) Split by generator parameter, not by random row. Random row-splitting leaks: near-identical templates land in both train and test, so the model "remembers" rather than reasons. Instead hold out entire ranges of a controlled parameter — e.g. train on object-count , test on ; and hold out specific material combinations entirely. (b) This forces the test to measure compositional generalization: the model must apply the physical rule to configurations it literally never saw. Add a negative control subset (scrambled answers) to confirm the un-leaked test still yields chance-level for a non-reasoner. This is the "programmatic generation → provable required reasoning" idea from Example 3 in the parent note.

L4-Q2 — How many runs do you need?

You want the SEM of your reported mean to be at most , and pilot runs show . How many runs do you need (minimum integer)?

Recall Solution

We want . Solve for : So runs minimum. Notice the price of precision: to get another halving to you'd need — quadratic cost, the tax again.


Level 5 · Mastery

L5-Q1 — Full audit of a headline claim

A paper claims: "Model A beats Model B and sets a new SOTA." Data: A → ; B → (percent, 5 seeds each). (a) Compute each mean. (b) Compute each sample std. (c) Compute Welch . (d) Compare against the two-tailed critical value at (about here) and decide whether the "beats" claim is statistically supported.

Recall Solution

Recall from the glossary: is "no true difference" (), and is the two-tailed threshold at that must exceed to reject . (a) Means. (b) Sample stds (divide by ). . Deviations: ; squares sum ; , . : deviations ; squares ; , . (c) Welch . Welch–Satterthwaite df: , so the two-tailed at is about . (d) , so we reject : the difference is statistically significant here (unlike the earlier example, this gap has tight, consistent runs). Effect size for context: , so large. Claim supported statistically; also flag it should still pass a negative control before "SOTA" is earned.

L5-Q2 — When significance is meaningless

Suppose instead A and B differed by only in mean, but with runs each the -value came out to . Should the paper claim "A is better"? Give the principled answer.

Recall Solution

No — not in any useful sense. With enormous , the SEM shrinks so far that any microscopic difference becomes "significant". This is statistical significance ≠ practical significance. Report the effect size and a practically meaningful threshold: a gain is almost certainly below the noise floor of deployment (data drift, prompt variation). The honest write-up: "statistically distinguishable but practically negligible ()." Significance tests guard against fooling yourself with noise; they cannot tell you whether a real-but-tiny gap matters. The figure below makes this visible.

Now read the figure carefully — it is the whole argument in one picture.

Figure — Benchmark design and evaluation rigor

How to read it (top panel): each coloured bell is the distribution of run-scores for one model — lavender is Model B, coral is Model A. The dashed vertical lines mark each mean . Here the two bells are pushed far apart compared to how wide they are, so almost no coral run overlaps a lavender run: the gap is both real and practically meaningful. This is the L5-Q1 situation.

How to read it (bottom panel): same two colours, but now the bells sit almost on top of each other — the means differ by a hair while the spread is unchanged. You can still make the tiny gap "significant" by cranking up (that squeezes each mean's uncertainty), but the picture shows there is nothing worth shipping: a coral run and a lavender run are interchangeable in practice. This is the L5-Q2 trap. Takeaway: significance depends on the gap relative to the spread and ; practical value depends on the gap relative to the spread alone — the effect size .


Recall Self-check: can you answer these from memory?

What does SEM measure, and how does it scale with ? ::: The uncertainty of the mean estimate; it scales as (4× runs → half the error). Why use Student's instead of for small ? ::: For few runs the normal approximation under-covers; with df has fatter tails and gives an honestly wider interval. What is when comparing two models? ::: The null hypothesis that the two true means are equal, — we only claim a winner if the data make it implausible. What is and what three things set it? ::: The threshold must exceed to reject ; it depends on , the degrees of freedom, and one- vs. two-tailed choice. Two-tailed vs. one-tailed — which is the safe default and why? ::: Two-tailed, because you rarely pre-commit to the winner's direction; one-tailed is only honest if the direction was fixed before seeing data. What is the danger of reporting "best of runs"? ::: Selection bias — the max order statistic sits in the right tail, inflating the reported score above the true mean. Why Bonferroni-correct with many comparisons? ::: Each test has a false-positive chance; tests at give false positives, so use to control family-wise error. Significance vs. practical significance? ::: Significance = "unlikely to be noise given "; practical = "large enough to matter." Big can make trivial gaps significant.

Related: 6.5.01-Emerging-architectures · 6.5.02-Interpretability-and-AI-safety · 4.1.03-Evaluation-metrics