Your new model scores 87.2% on the test set, the incumbent scores 86.5%. Ship it?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Not on that evidence. A point estimate with no interval is not a result, and 0.7 points is very likely noise.
Full worked answer
Not on that evidence. A point estimate with no interval is not a result, and 0.7 points is very likely noise.
First, quantify the uncertainty. Bootstrap the test set: resample with replacement ~1,000 to 10,000 times, recompute the metric each time, take the 2.5th and 97.5th percentiles. Better, bootstrap the paired difference, scoring both models on the same resampled indices, which cancels test-set difficulty variance and gives a much tighter interval than comparing two independent CIs. Note that overlapping CIs do not imply no significant difference, so test the difference directly rather than eyeballing two error bars.
Rough intuition for the scale. At n = 1,000 and accuracy near 0.87, the standard error is about sqrt(0.87*0.13/1000) ≈ 1.1%. A 0.7 point gap sits comfortably inside noise. Resolving it reliably would need on the order of tens of thousands of examples. Paired testing helps because only the disagreements carry information, which is exactly what McNemar's test formalizes.
import numpy as np
def paired_bootstrap(correct_a, correct_b, n=10_000, seed=0):
rng, N = np.random.default_rng(seed), len(correct_a)
d = np.array([ (correct_a[i]-correct_b[i]).mean()
for i in (rng.integers(0, N, N) for _ in range(n)) ])
return np.percentile(d, [2.5, 97.5])
Three variance sources the naive comparison hides:
- Seed variance. Retrain with several seeds. For fine-tunes, seed-to-seed spread often swamps the gap you are chasing.
- Selection noise. If you tried 40 configurations and reported the best, the winner is partly luck. That needs a fresh holdout.
- Non-iid data. Grouped rows (multiple per user or per document) break the bootstrap's assumption. Resample at the group level.
The LLM-era version bites harder: eval sets are often 200 to 1,000 items, so most "model A beats model B by a point" claims are unresolvable. If the gap is within noise, I choose on cost, latency or simplicity and say so plainly.
What a good answer covers
- A point estimate with no interval is not a result, and 0.7 points is very likely noise
- Bootstrap the test set: resample with replacement ~1,000 to 10,000 times, recompute the metric each…
- Better, bootstrap the paired difference, scoring both models on the same resampled indices, which…
- Note that overlapping CIs do not imply no significant difference, so test the difference directly rather…
- At n = 1,000 and accuracy near 0.87, the standard error is about sqrt(0.870.13/1000) ≈ 1.1%
Key terms: paired difference · Seed variance · Selection noise · Non-iid data
Interviewer follow-ups to expect
How would you set up the eval so a 0.7 point difference is detectable, and is that a good use of budget?
Your test set has 5 examples per user across 200 users. What breaks in a naive bootstrap?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep