Foundations to Frontier
Tests

Benchmarks and their limits

Benchmarks such as MMLU, GSM8K, HumanEval, GPQA, SWE-bench and Chatbot Arena are how the field compares language models. Every benchmark is a finite sample of questions with an answer format, a scoring rule and a history. Its numbers carry sampling noise, ceiling effects, labelling errors and sensitivity to prompt format. Models are also trained, deliberately or not, towards popular benchmarks. This page covers the main benchmark families, how to read leaderboard gaps, and confidence intervals and paired tests. It also covers saturation, label noise, format sensitivity and Goodhart's law. In the exercises you compute accuracy intervals, paired differences and rank agreement. You then simulate leaderboards of 10 models with evenly spaced true abilities, using an item-response model. With 100 questions the best model came first only 68% of the time; with 2000 it always did. A saturated benchmark, an answer key with 10% errors, and model-specific prompt-format effects each distorted the ranking. More questions did not fix the format effects.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Exams for language models

A benchmark is an exam: a fixed set of questions with known answers. Like any exam, a short one is partly luck, an easy one cannot separate the top students, a few wrong answers in the key cap everyone’s score, and students who practise the exact past papers look better than they are. The demo shows how wide the uncertainty is for a given number of questions.

Evaluation lab
With 500 questions at 70%, the 95% interval is ±4.0 points. Two models closer than about 5.7 points cannot be told apart.
Why engineers care

Before trusting a model for flight documentation or mission planning, test it on your own tasks: public benchmark ranks may not transfer.

📝 Quick check (Level 0)
0/3 answered
  1. 1. A benchmark with few questions is…
  2. 2. An easy benchmark cannot…
  3. 3. Training on benchmark questions makes scores…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • Knowledge and reasoning: MMLU (57 subjects, 4 options), MMLU-Pro (10 options), GPQA Diamond (graduate science), ARC, HellaSwag (now saturated), BIG-Bench Hard.
  • Maths and code: GSM8K, MATH, AIME; HumanEval, MBPP, LiveCodeBench (fresh problems), SWE-bench Verified (real GitHub issues).
  • Agents and long context: τ-bench, OSWorld, WebArena; RULER, needle-in-a-haystack.
  • Preference: Chatbot Arena (pairwise human votes, Elo/Bradley-Terry), MT-Bench and AlpacaEval (judged by LLMs).
  • Reading scores: report confidence intervals; use paired tests on the same questions; know the chance level and the label-error ceiling.
  • Limits: saturation; label errors (several per cent in MMLU); prompt-format and answer-extraction sensitivity; contamination; Goodhart’s law: optimising for a benchmark erodes its meaning.
📝 Quick check (Level 1)
0/3 answered
  1. 1. A benchmark of real GitHub issues:
  2. 2. Chatbot Arena ranks models by…
  3. 3. Goodhart's law: optimising a measure…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Running and reading benchmarks

Exercise 1.

  • Accuracy with a 95% interval.
  • Paired difference between two models on the same questions.
  • Kendall τ between rankings.

Practice.

  • Use lm-evaluation-harness, OpenAI simple-evals, HELM, Inspect or lighteval; record the harness version, prompt template, few-shot count and answer extraction.
  • Report intervals; compare models on the same items with paired tests or bootstrap.
  • Check a sample of ‘errors’ by hand: some are label errors or extraction failures.
  • Prefer fresh or private test sets (LiveCodeBench, held-out internal sets) to limit contamination.
  • Treat leaderboard gaps of a point or two as ties unless the interval says otherwise.
# lm-evaluation-harness
# lm_eval --model hf --model_args pretrained=meta-llama/Llama-3.1-8B-Instruct \
#   --tasks mmlu,gsm8k --num_fewshot 5 --batch_size 8 --output_path results/ --log_samples
import json, numpy as np
s = [json.loads(l) for l in open("results/samples_gsm8k.jsonl")]
acc = np.array([x["exact_match"] for x in s]); print(acc.mean(), 1.96 * acc.std() / np.sqrt(len(acc)))
🐍 Exercise 1: intervals and rankings
Compute an accuracy interval, a paired difference interval and Kendall τ.
📝 Quick check (Level 2)
0/3 answered
  1. 1. Record with every score…
  2. 2. Compare two models on the same items with…
  3. 3. A benchmark with fresh problems to limit contamination:

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Sampling noise. Accuracy on n independent questions has standard error √(p(1−p)/n); ±1 point at p = 0.5 needs about 9600 questions. Differences between models on the same questions have smaller variance when their errors are correlated, which is why paired tests are more powerful.

Item response theory. P(correct) = c + (1 − c) σ(a(θ − b)) with ability θ, difficulty b, discrimination a and guessing level c. Items far below everyone’s ability carry almost no information about differences: saturation.

Systematic errors. Label errors and format effects are bias, not variance: they do not shrink with more questions. A format offset that differs between models changes the ranking at any n.

📝 Quick check (Level 3)
0/3 answered
  1. 1. ±1 point at 50% accuracy needs about…
  2. 2. Easy items give little information about…
  3. 3. Format effects shrink with more questions?

Level 4: Expert

★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.

How reliably do benchmarks rank models, and which problems are not cured by adding questions?

History.

  • D. Hendrycks et al., “Measuring massive multitask language understanding” (MMLU, 2021).
  • P. Liang et al., “Holistic evaluation of language models” (HELM, 2022).
  • A. P. Gema et al., “Are we done with MMLU?” (2024), label errors.

Exercise 2. Simulated leaderboards.

  • Models: 10, true abilities evenly spaced from −1 to 1.
  • Items: 4-option multiple choice; P(correct) = 0.25 + 0.75 σ(1.5(θ − b)), difficulty b ~ N(0, 1).
  • Variants: 100, 500 or 2000 questions; saturated (b ~ N(−2.5, 1)); 10% wrong answer keys; prompt-format offset per model (standard deviation 0.3 in ability).
  • Measures over 200 simulated benchmarks: Kendall τ with the true ranking; how often the best model comes first.
benchmark Kendall τ best model first best model’s score
100 questions 0.857 0.675 0.806
500 questions 0.974 0.935 0.81
2000 questions 0.999 1.0 0.81
500, saturated 0.913 0.645 0.989
500, 10% wrong keys 0.959 0.92 0.734
2000, format sensitivity 0.795 0.55 0.802
  • Noise: neighbouring models differed by 4 points; with 100 questions (standard error 4.7 points) the ranking was often wrong.
  • Saturation: scores near 99% squeezed neighbour gaps to 1.2 points.
  • Label errors capped the best score at 0.73 and slightly lowered τ.
  • Format sensitivity was the worst problem, and 2000 questions did not fix it.
  • Seeds 1 and 2 agreed within 0.02 on every τ.
  • Caveat: a one-dimensional ability model; real benchmarks measure several abilities and models differ in profile.
🐍 Exercise 2 (research): how reliably do benchmarks rank models, and which problems are not cured by adding questions?
Simulate benchmarks of different sizes and flaws; measure how well they recover the true ranking of 10 models.

Benchmarks in AI, robotics and aerospace

  • Domain benchmarks: aerospace and engineering question sets exist but are small; intervals matter even more.
  • Robotics: simulated benchmarks (LIBERO, CALVIN) have the same issues of saturation and sim-to-real transfer.
  • Procurement: choose models by evaluation on your own tasks, using public leaderboards only as a first filter.

References

  1. D. Hendrycks et al. (2021). “Measuring massive multitask language understanding.” ICLR.
  2. P. Liang et al. (2023). “Holistic evaluation of language models.” TMLR.
  3. A. P. Gema et al. (2024). “Are we done with MMLU?” arXiv.
  4. M. Sclar et al. (2024). “Quantifying language models’ sensitivity to spurious features in prompt design.” ICLR.