Key LLM Publications Series — Presentation 07

Evaluation & Benchmarks — How Do We Know It Works?

From multiple-choice knowledge tests to unit-tested code, hard capability probes, holistic multi-metric audits, and the rise of LLM-as-judge and crowdsourced Elo. The five publications that define how we measure language models.

MMLU HumanEval BIG-bench HELM LLM-as-Judge Chatbot Arena
Knowledge Tests → Code Eval → Capability Probes → Holistic Metrics → Human Preference / LLM-as-Judge
00

The Five Publications

01

MMLU — Measuring Massive Multitask Language Understanding

Hendrycks, Burns, Basart, Zou, Mazeika, Song & Steinhardt — 2020 ICLR 2021 / arXiv:2009.03300

The problem

By 2020, models were saturating narrow benchmarks (GLUE, SuperGLUE) that tested a handful of linguistic skills. There was no single test that asked: does the model actually know things across the breadth of human knowledge a well-read person is expected to have? Existing evals could not distinguish a model with shallow pattern-matching from one with genuine multidisciplinary understanding.

The contribution

MMLU is a four-way multiple-choice exam spanning 57 subjects — from elementary mathematics and US history to college-level law, professional medicine, abstract algebra, philosophy and machine learning. Questions are drawn from real exams and practice tests. Crucially, models are evaluated zero-shot and few-shot (typically 5-shot), never fine-tuned on the task, so the score reflects knowledge acquired during pre-training. Random chance is 25%; the authors reported GPT-3 at ~43.9%, against ~34.5% for unspecialised (Mechanical Turk) humans and an estimated ~89.8% for domain experts, exposing a large gap to expert level.

STEM
Abstract algebra
College physics
Computer security
Machine learning
Humanities
Philosophy
World religions
Professional law
Social sci
Econometrics
US foreign policy
Psychology
Other / Pro
Professional medicine
Clinical knowledge
Business ethics

Why it matters to a practising engineer

MMLU became the headline number quoted on every model card — if you compare base models, you are almost certainly comparing MMLU. But it is now partly saturated: frontier models score in the high 80s, compressing the signal and making small differences noisy. It is also sensitive to prompt format and answer-parsing, and has known label errors. MMLU-Pro (2024) responded with ten options, harder reasoning-heavy questions and reduced answer leakage. Treat MMLU as a coarse pre-training sanity check, not a fine-grained ranking tool.

Practitioner caution

The same model can move several points on MMLU purely from the harness — log-likelihood scoring of the four letters versus free-text generation, the exact few-shot template, and whitespace handling all matter. When you see two leaderboards disagree, suspect the harness before the model. Always note whether a quoted score is 0-shot or 5-shot.

02

HumanEval — Evaluating Large Language Models Trained on Code

Chen et al. (OpenAI) — 2021 arXiv:2107.03374   Codex

The problem

Code generation cannot be judged by surface text similarity to a reference solution — two correct programs can look nothing alike, and a near-identical program can be subtly broken. BLEU-style match metrics are actively misleading for code. The field needed a metric grounded in functional correctness: does the generated program actually run and produce the right answers?

The contribution

The paper introduced HumanEval: 164 hand-written Python problems, each a function signature plus docstring, accompanied by an average of ~7.7 hidden unit tests. A sample is correct only if it passes every test. To score stochastic sampling fairly, the paper popularised the pass@k metric: the probability that at least one of k sampled completions is correct. Naively estimating this by drawing exactly k samples is high-variance, so they generate n > k samples, count the c that pass, and use an unbiased estimator.

Unbiased pass@k estimator (Chen et al., 2021)
import numpy as np

def pass_at_k(n: int, c: int, k: int) -> float:
    # n = total samples generated, c = number correct, k = the k in pass@k
    # 1 - C(n-c, k) / C(n, k)  =  P(at least one of k drawn samples passes)
    if n - c < k:
        return 1.0
    return 1.0 - np.prod(1.0 - k / np.arange(n - c + 1, n + 1))

The product form avoids overflow from large binomial coefficients and is numerically stable. Codex (a GPT model fine-tuned on public code) reached 28.8% pass@1 and ~70% pass@100 on HumanEval — the gap between the two showing that the model often can solve a problem if allowed many attempts, which motivated later work on sampling and verification.

Why pass@1 vs pass@100 both matter

pass@1 reflects single-shot reliability — what a user feels in an IDE autocomplete. pass@100 reflects the ceiling reachable with reranking, test-time search or self-repair. A wide gap is an opportunity: it says correct solutions exist in the model's output distribution and the bottleneck is selection, not capability. This insight underpins best-of-n sampling, execution-guided reranking and agentic self-debugging.

03

BIG-bench — Beyond the Imitation Game

Srivastava et al. (450+ authors, 130+ institutions) — 2022 arXiv:2206.04615

The problem

Benchmarks were being saturated faster than they could be built, and each tested a narrow slice of capability. Worse, hand-curated tasks reflected the blind spots of a small group of researchers. The community needed a benchmark that was broad, diverse, and deliberately hard — designed to probe what current models cannot yet do, and to keep being informative as models scale.

The contribution

BIG-bench (Beyond the Imitation Game Benchmark) is a collaborative suite of 200+ tasks contributed by the community, spanning logic, mathematics, common-sense reasoning, linguistics, social bias, code, and many tasks invented specifically to be difficult for language models. It studies how performance scales with model size, and identifies emergent tasks where capability appears suddenly past a scale threshold and flat tasks where scale barely helps.

200+ community tasks
→
Select hardest /
most informative
→
BIG-Bench Hard
23 tasks (BBH)
→
+ Chain-of-Thought
→
Large gains

Its most enduring legacy is the BIG-Bench Hard (BBH) subset: 23 tasks on which models at the time of release scored below the average human rater. BBH became a standard reasoning benchmark precisely because it is where chain-of-thought prompting helps most — CoT flips several BBH tasks from below-random to strongly above-human, a result that helped cement step-by-step prompting as a default technique.

Contamination is the silent killer

Because BIG-bench is public and famous, much of it has leaked into pre-training corpora. A high BBH score on a model trained after 2022 may reflect memorisation, not reasoning. Mitigations include the canary string the authors embedded to let trainers exclude the data, held-out private variants, and date-stamped fresh tasks. When you report BBH, state the model's training cutoff and whether the canary was honoured.

04

HELM — Holistic Evaluation of Language Models

Liang et al. (Stanford CRFM) — 2022 arXiv:2211.09110

The problem

Most evaluation reported a single accuracy number on a single task for a single model. That hides everything a deployer actually cares about: is the model calibrated? Robust to typos and paraphrase? Fair across demographics? Does it emit toxic or biased text? How efficient is it? And no two papers evaluated the same models on the same conditions, so cross-model comparison was apples-to-oranges.

The contribution

HELM reframes evaluation as a scenarios × metrics matrix, evaluated densely and transparently. It defines a taxonomy of scenarios (task + domain + who-it-is-for) and measures seven metric categories on every scenario simultaneously, rather than reporting accuracy alone. It then ran the same standardised conditions across dozens of models, publishing every raw prediction for reproducibility — making it the first large-scale, like-for-like, multi-metric audit of the model landscape.

Accuracy

Task performance — exact match, F1, NDCG, etc., per scenario.

Calibration

Do predicted probabilities match observed correctness? ECE.

Robustness

Stability under typos, capitalisation, paraphrase perturbations.

Fairness

Performance parity across dialect and demographic group.

Bias & Toxicity

Stereotype associations and rate of harmful generations.

Efficiency

Inference time, energy and cost — treated as first-class.

Scenario \ MetricAccuracyCalibrationRobustnessToxicityEfficiency
Open QA (NaturalQuestions)✓✓✓✓✓
Summarisation (CNN/DM)✓✓✓✓✓
Sentiment (IMDB)✓✓✓—✓
Toxicity probe (RealToxicityPrompts)——✓✓✓

Why it matters to a practising engineer

HELM is the template for a real model selection process. A model that wins on accuracy may lose badly on calibration or cost — both decisive in production. The living leaderboard (and its later spin-offs HELM Lite, HEIM for images, and HELM Instruct) gives a reproducible, multi-axis comparison you can cite. The deeper lesson: pick the metrics that map to your deployment risks and measure all of them at once, not just the headline.

Transparency as a deliverable

HELM's most quietly radical choice was publishing every prompt and every raw completion. That lets you audit why a model scored as it did, re-grade with your own metric, and detect harness bugs. When you build an internal eval, copy this: store raw inputs and outputs, not just the aggregate score, so the evaluation itself is reproducible and debuggable months later.

05

LLM-as-a-Judge — MT-Bench & Chatbot Arena

Zheng et al. (LMSYS) — 2023 NeurIPS 2023 / arXiv:2306.05685

The problem

For open-ended chat, multiple-choice accuracy is meaningless — quality is about helpfulness, style, instruction-following and coherence over multiple turns. Human preference labelling is the gold standard but is slow and expensive, and it does not scale to the rapid cadence of model releases. Can a strong LLM stand in as an automatic judge, and if so, how trustworthy is it?

The contribution

The paper makes the case for LLM-as-a-judge — using a strong model (GPT-4) to grade answers — and shows it reaches ~80%+ agreement with human preferences, comparable to human–human agreement. Critically, it does not just advocate the method, it documents the judge's systematic biases and proposes mitigations. It introduces two complementary tools: MT-Bench, 80 curated multi-turn questions across eight categories scored by the judge, and Chatbot Arena, a crowdsourced platform where anonymous users chat with two models side-by-side, vote a winner, and the pairwise outcomes are aggregated into an Elo leaderboard.

User prompt
→
Model A vs Model B
anonymous, side-by-side
→
Human votes winner
→
Pairwise battle record
→
Elo / Bradley-Terry
ranking
Judge biasWhat happensMitigation
Position bias biasJudge favours whichever answer is shown first (or second)Swap order and average both orderings; require a tie when inconsistent
Verbosity bias biasLonger, more elaborate answers rated higher regardless of correctnessControl for length; penalise padding; check on length-matched pairs
Self-enhancement biasJudge prefers answers from its own model familyUse a different judge family; ensemble judges; calibrate vs humans
Limited reasoning warnJudge mis-grades hard math/logic it cannot itself solveProvide reference solutions; chain-of-thought grading

Why it matters to a practising engineer

LLM-as-a-judge is now the workhorse of internal evals, RLHF/RLAIF reward modelling, and CI gates for prompt and model changes — it is fast, cheap and scalable. But it is only trustworthy if you actively neutralise its biases: randomise position, control length, avoid same-family judging, and validate against a small human-labelled set. Chatbot Arena, meanwhile, remains the most-watched real-world preference signal — though its scores are confounded by traffic mix, style preferences and prompt distribution.

Build your own pairwise eval the right way

The default recipe: present (A, B) and (B, A), take the verdict only if consistent across both orders, otherwise score a tie. Aggregate many pairwise verdicts with Bradley-Terry / Elo rather than raw win-rate so you get a transparent, comparable rating with confidence intervals. Pin the judge model and prompt version — changing either silently shifts your entire leaderboard.

06

What to Take Away

Next in the series

Presentation 08 — Multimodal Models. We move beyond text to vision-language and beyond: CLIP-style contrastive pre-training, the architectures that fuse pixels and tokens, and how the evaluation philosophy from this deck (functional, holistic, preference-based) extends to images, audio and video.