Public benchmarks & contamination

In one sentence

Public benchmarks measure generic capability on fixed test sets, and many are saturated or contaminated by training data. Use them to shortlist two to four models, then decide on your own eval set.

Analogy: An entrance-exam score gets a candidate an interview, not the job: leaked answers inflate it, and it says little about the work you actually need done.

Leaderboards narrow the field, and leakage may inflate them; your own eval set makes the decision.

How it works

  • Know what each measures: MMLU broad knowledge, SWE-bench Verified real GitHub fixes, LMArena human preference, MTEB embeddings.
  • Saturation: once top models cluster near the ceiling, the gaps between them are noise and label errors.
  • Contamination: test items leak into web-scale training data, so the score measures memory.
  • Defenses: questions published after the model's cutoff, private held-out sets and canary strings.
  • Vendors report under different harnesses (few-shot, chain-of-thought, majority voting), and your data and error costs differ.

Check yourself

Answer to mark it learned; your answers aren't scored.

Vendor A reports 2 points above Vendor B on MMLU: A used 5-shot chain-of-thought, B zero-shot. Your CTO wants A for a Spanish contract-extraction product. What do you recommend?

Go deeper

Full explanation

A public benchmark is a fixed, shared test set with a scoring rule, used to compare models on one capability. Know what each one measures:

  • MMLU: 57 subjects, multiple choice. Broad knowledge; saturated around 90%.
  • GPQA Diamond: 198 "Google-proof" graduate-level science questions.
  • AIME / MATH: competition math with exact, checkable answers.
  • HumanEval: 164 Python functions scored by unit tests; saturated. SWE-bench Verified: 500 real GitHub issues, solved when the repo's tests pass. OpenAI stopped reporting it in Feb 2026, citing contamination.
  • LMArena (ex Chatbot Arena): crowdsourced pairwise votes ranked with an Elo-style (Bradley–Terry) score. Human preference, biased toward length and formatting.
  • HELM: many scenarios × many metrics (accuracy, calibration, robustness, toxicity).
  • MTEB: embedding models on retrieval, clustering, classification and similarity.

Two forces erode them. Saturation: once top models cluster near the ceiling, gaps are noise and label errors. Contamination: test items leak into web-scale training data, so the score measures memory. Defenses: questions published after the model's cutoff (LiveCodeBench, each new AIME), private held-out sets, canary strings and n-gram overlap checks.

And benchmarks ≠ your task. Your data, prompts, tools and cost of errors differ, and vendors report numbers under different harnesses (few-shot, chain-of-thought, majority voting). Use leaderboards to shortlist 2–4 models, then decide on Golden datasets & test sets of your own.

Code Two cheap contamination probes
pythonTwo cheap contamination probes
import re
from difflib import SequenceMatcher
from openai import OpenAI

client = OpenAI()
MODEL = "gpt-4.1-mini"  # any chat model under suspicion

def ngrams(text: str, n: int = 13) -> set[tuple[str, ...]]:
    toks = re.findall(r"\w+", text.lower())
    return {tuple(toks[i:i + n]) for i in range(len(toks) - n + 1)}

def overlap_rate(eval_items: list[str], train_docs: list[str], n: int = 13) -> float:
    # Probe 1, data you control: did eval items leak into your fine-tuning set?
    seen = set().union(*(ngrams(d, n) for d in train_docs))
    return sum(bool(ngrams(x, n) & seen) for x in eval_items) / len(eval_items)

def completion_probe(item: str) -> float:
    # Probe 2, closed model: can it finish a test item it should never have seen?
    cut = len(item) // 2
    out = client.chat.completions.create(
        model=MODEL, temperature=0,
        messages=[{"role": "user", "content": f"Continue this text exactly:\n{item[:cut]}"}],
    ).choices[0].message.content or ""
    return SequenceMatcher(None, out[: len(item) - cut], item[cut:]).ratio()

leak = overlap_rate(golden_questions, finetune_corpus)  # want exactly 0.0
memo = [completion_probe(q) for q in benchmark_sample]  # heuristic: > ~0.8 looks memorized
Real example

You need a model to extract clauses from Spanish contracts. Leaderboards put Model A 4 points above Model B on MMLU-Pro and ~30 Elo higher on LMArena. You filter by price and data residency, shortlist A, B and a cheaper C, and run your 300-document golden set. B wins field-level F1 (0.91 vs 0.87 for A); C reaches 0.89 at a third of A's cost. A's lead came from general knowledge and chat style, and this task rewards neither. You ship C, with B as fallback on low-confidence extractions.

Trade-offs +3 · −3

+ You gain

  • Free and fast: narrow dozens of models to a shortlist in an hour.
  • Specialized ones (SWE-bench, MTEB retrieval) track some real workloads closely.
  • A shared yardstick to sanity-check vendor claims and capability trends.

− You pay

  • Saturation and contamination: top scores separate by noise and memory.
  • Harness differences (shots, CoT, voting) make vendor-reported numbers non-comparable.
  • They measure generic capability, not your data, prompts, tools or error costs.

Use it when

To shortlist candidates and rule out models clearly too weak for a capability (coding, math, multilingual, embeddings) before spending on your own evals.

Avoid it when

As the final model choice, as a release gate, or to claim your system is "X% accurate". Only your own eval set measures your task.

Numbers to know 5
  • Sizes: HumanEval 164 problems; GPQA Diamond 198; SWE-bench Verified 500; MMLU ~16k questions in 57 subjects.
  • SWE-bench (2023): the best model solved 1.96% of issues; by late 2025, top models reported ~80% on SWE-bench Verified (each vendor's own harness).
  • GPQA: experts with or pursuing PhDs score ~65% (~74% excluding clear mistakes); skilled non-experts with web access ~34%.
  • MMLU-Redux (2024): ~6.5% of MMLU questions contain errors, so gaps near 90% partly measure label noise.
  • GPT-3 paper (2020): contamination measured as 13-gram overlap between benchmark items and training data.
Common pitfalls 4
  • Choosing on a 1–2 point leaderboard gap: that is inside harness and noise differences.
  • Comparing vendor numbers run with different shots, CoT or majority voting.
  • Picking an embedding model by MTEB average instead of the retrieval tasks in your language and domain.
  • Fine-tuning on synthetic or scraped data that quietly contains your own eval items.
Interview questions 2

Answer out loud first, then reveal.

How do you pick a model for a new product?Show answer

In two steps. First a shortlist: I filter by hard constraints (price, latency, context window, license, data residency), then use capability-relevant benchmarks, say SWE-bench Pro or LiveCodeBench for coding, or MTEB retrieval for embeddings, to keep two to four candidates. Then the decision happens on my own eval set: real tasks with graders, several trials each, with cost and latency measured on our prompts. Public benchmarks don't know our data, our tools or the cost of our errors, and a couple of points on a saturated benchmark is noise.

What is benchmark contamination and how would you detect it?Show answer

It's when test items, or near copies, end up in training data, so the score measures recall instead of capability. Signals: the model does much better on items published before its cutoff than after, which is what LiveCodeBench checks; it can complete a test question verbatim from its first half; or it drops on fresh or paraphrased versions, as GSM1k showed for GSM8K. For our own data, I check 13-gram overlap between eval items and anything we fine-tune on, and I keep a private held-out set that never leaves our repo.