Beginner5 min read48 of 52

Benchmarks

Standardized tests used to compare model capabilities across tasks and providers.

SPEC: Benchmarks

Definition

[Definition] Benchmarks are standardized test datasets and evaluation protocols used to measure, compare, and track the capabilities of LLMs across specific tasks or dimensions. They provide a consistent, reproducible way to assess model quality — enabling fair comparisons between models from different organizations.

Why Benchmarks Matter

[Key Insight] - Objective comparison: apples-to-apples comparison across models - Progress tracking: measuring improvement over time - Capability profiling: understand what a model is good and bad at - Model selection: practitioners use benchmarks to choose the right model for their task - Research signal: benchmarks drive the field by defining what to improve

Benchmark Categories

Reasoning and Knowledge

BenchmarkMeasuresKey Details
MMLUBroad knowledge across 57 subjects14K+ multiple-choice questions
MMLU-ProHarder MMLU with more optionsFewer guessable answers
ARC (Easy/Challenge)Elementary/high-school scienceGrade-school reasoning
HellaSwagCommonsense reasoning (story completion)70K+ examples
WinoGrandeCommonsense (pronoun resolution)44K problems
BIG-Bench HardChallenging reasoning tasksModels that GPT-3 failed on

Math and Quantitative

BenchmarkMeasuresKey Details
GSM8KGrade school math word problems8.5K problems, requires multi-step
MATHCompetition math (AMC/AIME level)12.5K problems, very hard
MATH-500Subset of MATH, standardizedWidely used subset
MathBenchBroad math across K-12 to competitionMulti-level coverage

Coding

BenchmarkMeasuresKey Details
HumanEvalPython function synthesis164 hand-crafted problems
MBPPPython programming from docstrings374 problems
SWE-benchReal GitHub issues → patchesHarder, real-world relevance
LiveCodeBenchCoding with contamination preventionRolling new problems

Instruction Following and Alignment

BenchmarkMeasuresKey Details
MT-BenchMulti-turn instruction followingGPT-4 as judge
Alpaca Eval 2.0Overall instruction following qualityHuman/LLM preference
IFEvalVerifiable instruction constraints"Use exactly N words" etc.
Arena (Chatbot Arena)Human preference (ELO ranking)Live human judgments

Factuality and Safety

BenchmarkMeasuresKey Details
TruthfulQAAvoidance of false beliefs817 adversarial questions
HarmBenchResistance to harmful prompts400 behaviors, 7 categories
BBQBias in social-group QASocial stereotype detection
BOLDBias in open-ended generationToxicity + sentiment

Long Context

BenchmarkMeasuresKey Details
RULERLong context retrieval and reasoningMultiple long-context tasks
HELMETHolistic long context eval7 task categories
Needle-in-a-HaystackInformation retrieval in long contextFind a specific fact
LongBenchDiverse long-document tasksMulti-lingual

Multimodal

BenchmarkMeasuresKey Details
MMMUCollege-level multimodal understanding11.5K expert-annotated questions
DocVQADocument visual QAIndustrial/business documents
ChartQAChart comprehension9.6K question-answer pairs
ScienceQAMultimodal science QAK-12 science

Benchmark Interpretation Caveats

Contamination

  • Training data may include benchmark test sets
  • Model "memorizes" answers rather than reasoning
  • Mitigation: hold-out evaluation sets, LM contamination checks, rolling benchmarks

Overfitting to Benchmarks

  • "Goodhart's Law": when a measure becomes a target, it ceases to be a good measure
  • Models can be fine-tuned specifically to score well on benchmarks
  • High benchmark score ≠ good in production

Single-Number Fallacy

  • A single benchmark score hides capability trade-offs
  • A model can be #1 on math but terrible at instruction following
  • Always look at multi-dimensional profiles

Human Performance Reference

BenchmarkHuman Performance
MMLU~89%
GSM8K~100% (trivial for humans)
MATH~90% (expert mathematicians)
HumanEval~67% (average programmer)

Leaderboards

ResourceFocus
Chatbot Arena (LMSYS)Human preference ELO rankings
HuggingFace Open LLM LeaderboardOpen-source model rankings
Scale HELMHolistic evaluation framework
LiveBenchContamination-resistant leaderboard

How to Use Benchmarks as a Practitioner

  1. Don't rely on a single benchmark — look at profiles
  2. Match benchmark to your use case — coding benchmark for coding apps
  3. Run your own eval — synthetic benchmarks may not reflect your data distribution
  4. Use human evaluation for subjective tasks
  5. Track regression — monitor benchmark scores as you fine-tune
  6. Beware of contamination — prefer newer benchmarks, check test set age

Related Concepts

  • Evaluation, Fine-Tuning, Alignment, Hallucination, Grounding, LLM, RLHF