6.5.3 · D1Research Frontiers & Practice

Foundations — Benchmark design and evaluation rigor

2,394 words11 min readBack to topic

Before you can read the parent note Benchmark design and evaluation rigor, you need the language it speaks. Below is every symbol and idea it assumes, built from nothing, in an order where each one leans on the one before it.


0. The picture we keep returning to: a cloud of dots

Imagine you train the same model five times. Because of random shuffling and random starting weights, you get five different accuracy numbers: maybe . Plot them on a number line and you get a little scatter of dots — a cloud.

Figure — Benchmark design and evaluation rigor

Everything that follows is about describing this cloud with numbers instead of eyeballing it. Look at the figure: the centre of the cloud and the width of the cloud are the two things we will name.


1. Performance — a random variable

  • Plain words: (for Performance) is the accuracy you get from one training run.
  • Picture: one dot in the cloud of figure s01.
  • Why the topic needs it: if were a fixed constant, a single number would tell the whole truth. Because jumps around each run, one number is only a sample — a single dot, not the cloud. This is why the parent note refuses to trust "1 run, best hyperparameters."

The randomness comes from three knobs the parent note lists:

Symbol Plain words Picture
the random seed — the number that decides initial weights and data order which shuffle of the deck you happened to get
the train/test split — which examples land in training vs testing where you cut the deck
the hyperparameters — dials like learning rate you set by hand the settings on the machine before you press go

Each different gives a possibly different dot.


2. Subscripts and the running index

  • Plain words: is run number 1, is run number 2, and so on. The letter is a placeholder that walks through
  • Picture: number the dots left-to-right in figure s01; points at the -th dot.
  • Why the topic needs it: to talk about "all the runs at once" without writing them all out, we say .

The letter is simply how many runs you did (five, in our example).


3. The summation sign — "add them all up"

  • Plain words: the big stretched-out "S" (Greek capital sigma) is shorthand for a long addition.
  • Picture: = slide along the cloud, scoop up every dot's height, pile them together.
  • Why this tool and not "just write + + +": with 5 runs you could write it out; with 500 you can't. scales to any .


4. The sample mean — the centre of the cloud

  • Plain words: add up all the runs, divide by how many there are — the plain average.
  • Picture: the balance point of the cloud in figure s01 (the pale-yellow tick). If the dots were weights on a see-saw, is where it balances.
  • The bar on top () is read "P-bar" and always means "the average of the P's."
  • Why the topic needs it: this is the centre — our single best guess for the model's true capability. But a centre alone hides how spread out the cloud is, which is the next symbol.

5. The sample standard deviation — the width of the cloud

This is the first place a tool is chosen for a reason, so we build it slowly.

The question: "How far do the dots typically sit from the centre?"

Naive attempt: average the distances . But those distances are positive for dots above the centre and negative for dots below — they cancel to zero every time. Useless.

The fix: square each distance first (squares are always positive), average the squares, then take a square root to get back to the original units (percent, not percent-squared).

Figure — Benchmark design and evaluation rigor
  • Picture: figure s02 shows each dot's distance to the centre as a chalk-blue bar; is the typical length of those bars.
  • Why divide by and not ? A subtle but real point: you already "spent" one piece of information computing from the same data. Dividing by (called degrees of freedom) corrects a slight underestimate. For your intuition, treat it as "almost the average, nudged to be honest."
  • Why the topic needs it: a small = tight cloud = trustworthy number. A big = fat cloud = the model is moody and your single run means little. This is the variance side of the bias–variance picture, seen through evaluation.

6. The true mean — the target we never see

  • Plain words: is what your finite runs show; is the truth they point toward.
  • Picture: in figure s01 the dashed line is — the real centre of the infinite cloud. Your five dots' average lands near it, rarely exactly on it.
  • The key distinction: roman letters (, , ) = things you measure. Greek letters (, later , , ) = the hidden truth or fixed constants. The parent note's hypothesis test is entirely about guessing vs from measured and .

7. Standard error — uncertainty about the centre

Do not confuse this with .

  • = how spread the individual runs are.
  • = how spread the average would be if you repeated the whole 5-run experiment again and again.
  • Picture: figure s02 (right side) shows a narrow cloud-of-averages sitting inside the fat cloud-of-runs.
  • Why the : averaging cancels noise. More runs steadier average smaller SEM. But it shrinks like , so 4× the runs only halves the uncertainty — the parent note's warning.

8. The confidence interval — the honest ""

  • Picture: figure s03 draws with whiskers stretching left and right. Two overlapping whisker-bars = "can't tell these models apart."
Figure — Benchmark design and evaluation rigor

Two versions appear in the parent note:

  • The number : for a big-enough pile of runs the cloud-of-averages is bell-shaped, and of a bell sits within SEMs of the centre. It is a fixed constant, not a mystery.
  • : the same idea but wider when you have few runs, because a small cloud gives you a shaky . The is the same degrees-of-freedom count from §5. With 5 runs, and this number is — noticeably bigger than , meaning "be more humble with less data."

9. Hypothesis testing symbols: , , , ,

The parent note asks: "is Model A really better than Model B, or are their clouds just overlapping?"

  • Picture: figure s03's two whisker-bars; says "these are secretly the same cloud."

The test statistic — a signal-to-noise ratio:

  • Top (signal): how far apart the two centres are.
  • Bottom (noise): the combined wobble of both clouds' averages.
  • Read it as: "how many noise-widths apart are the two centres?" A big means the gap dwarfs the wobble — probably a real difference.

The -valueif were true, how surprising is a gap this big?

  • A small (below , the significance level) means "too surprising to be luck" reject .
  • is your chosen risk of a false alarm.

(Greek "nu"), the degrees of freedom — a count of how much independent information feeds the test, controlling how wide/humble the -based conclusion is. Welch's ugly formula for just handles the case where the two clouds have different widths.


10. Effect size (Cohen's ) — "how big, in cloud-widths?"

  • Plain words: the gap between centres, measured in units of typical spread.
  • Picture: in figure s03, = "how many cloud-widths separate the two centres." Two centres one full width apart look obviously different; a tenth of a width apart look merged.
  • Why separate from : grows just by adding runs; does not. answers practical size, answers is-it-real.

The parent note's ladder: negligible, up to large.


11. Selection bias & spurious correlations — the traps

  • Picture: selection bias = drawing your conclusion from the single top-right dot in figure s01. Spurious correlation = a "reasoning" score that collapses the moment you shuffle the answer choices (the parent note's negative control).
  • Why they close the loop: these are exactly the failures that all the machinery above (averaging over runs, confidence intervals, negative controls) is built to catch. They connect to regularization and evaluation metrics — a metric that rewards a shortcut causes spurious success.

How these foundations feed the topic

random variable P

index i and sum sigma

mean P-bar the centre

std dev s the width

SEM uncertainty of centre

confidence interval

true mean mu

hypothesis test t and p

effect size d

rigorous benchmark claim

selection bias and shortcuts


Equipment checklist

Test yourself — reveal only after answering.

What does the bar in mean?
The average of the values across runs.
What is in every formula here?
The number of independent runs (or samples) you collected.
Read in plain words.
Add up every run's performance from the 1st to the -th.
Difference between and SEM?
is the spread of individual runs; SEM is the spread of the average, equal to .
Why divide by in the standard deviation?
You spent one degree of freedom computing ; corrects the resulting underestimate.
What is and can you ever measure it exactly?
The true mean over infinite runs; no — you only estimate it with .
Why does 4× more runs only halve uncertainty?
SEM scales like , so halving it needs quadrupling .
What does the null hypothesis claim?
That the two models have equal true means, .
In the test statistic , what do the top and bottom represent?
Top = gap between centres (signal); bottom = combined noise (standard error of the difference).
When do you reject ?
When the -value falls below your chosen significance level (e.g. 0.05).
Does statistical significance mean the difference is important?
No — that is what effect size tells you; significance only says the gap is unlikely to be pure luck.
What is selection bias in reporting?
Reporting your luckiest run instead of a fair average, overstating true capability.

Ready? Return to Benchmark design and evaluation rigor and the Hinglish companion. Related frontier notes: 6.5.01-Emerging-architectures, 6.5.02-Interpretability-and-AI-safety.