Reference notes.
Evaluation measures how well AI systems perform. Benchmarking compares systems against standardised tests. Both are essential for understanding capabilities, limitations, and progress.
Why Evaluation Matters
- Capability assessment — What can this model actually do?
- Model selection — Which model is best for my use case?
- Progress tracking — Is the field improving?
- Safety — Does the model behave as intended?
- Regression detection — Did changes break something?
LLM Benchmarks
General Knowledge & Factuality
| Benchmark | Description |
|---|---|
| Humanity’s Last Exam (HLE) | Frontier cross-disciplinary expert questions across STEM and humanities |
| MMLU-Pro | Harder 10-option, reasoning-heavy successor to MMLU |
| SimpleQA | Short-form factual accuracy and calibration (hallucination detection) |
| LiveBench | Continuously refreshed, contamination-resistant multi-domain benchmark |
| TruthfulQA | Avoids generating common false claims |
| MMLU (saturated / legacy) | 57 subjects from STEM to humanities |
| ARC / HellaSwag / Winogrande (saturated / legacy) | Grade-school science, commonsense, and pronoun resolution |
Reasoning
| Benchmark | Description |
|---|---|
| GPQA Diamond | Graduate-level science questions (hardest GPQA subset) |
| FrontierMath | Research-level mathematics problems |
| ARC-AGI-2 / ARC-AGI-3 | Novel abstract reasoning and interactive generalisation |
| MATH / AIME | Competition mathematics (increasingly near ceiling at frontier) |
| BIG-Bench Hard | Diverse reasoning tasks |
| GSM8K (saturated / legacy) | Grade-school maths word problems |
Coding
| Benchmark | Description |
|---|---|
| SWE-bench Pro | Harder real-world multi-file software engineering successor to SWE-bench Verified |
| SWE-bench Verified | Real GitHub issues (approaching saturation at ~95–98% for frontier models) |
| LiveCodeBench | Continuously updated, contamination-free competitive coding problems |
| AutoCodeBench | 3,920 problems across 20 languages (note: task difficulty varies by language, so cross-language score rankings are not directly comparable) |
| HumanEval / MBPP (saturated / legacy) | Short Python function completion and basic scripting problems |
Instruction Following
| Benchmark | Description |
|---|---|
| IFEval | Verifiable instruction constraints |
| MT-Bench | Multi-turn conversation quality |
| AlpacaEval | Instruction response quality |
Multilingual
| Benchmark | Description |
|---|---|
| MGSM | Maths in multiple languages |
| XL-Sum | Multilingual summarisation |
| FLORES | Machine translation |
Evaluation Methods
Exact Match
Does the output exactly match the expected answer?
- Simple, objective
- Brittle (fails on equivalent phrasings)
- Good for factual questions, code
Model-based (LLM-as-Judge)
Use another LLM to evaluate outputs.
Given the question and response, rate the quality 1-5:
Question: {question}
Response: {response}
Advantages:
- Scales to open-ended tasks
- Can evaluate nuance
Challenges:
- Judge model has biases
- Self-preference if same model family
- Consistency across runs
Human Evaluation
Gold standard but expensive and slow.
- Pairwise comparison (A vs B)
- Absolute rating (1-5 scale)
- Rubric-based scoring
Arena / Elo Ratings
Users compare model outputs, votes generate Elo scores.
- Arena (formerly LMSYS Chatbot Arena)
- Reflects real-world preference
- Continuously updated
Metrics
Classification
- Accuracy — Correct / Total
- Precision — True Positives / Predicted Positives
- Recall — True Positives / Actual Positives
- F1 — Harmonic mean of precision and recall
- AUC-ROC — Area under ROC curve
Generation
- BLEU — N-gram overlap (translation)
- ROUGE — Recall-oriented (summarisation)
- Perplexity — How surprised is the model by text
- Pass@K — Any of K samples correct (code)
Retrieval
- Recall@K — Relevant items in top K
- MRR — Mean reciprocal rank
- NDCG — Normalised discounted cumulative gain
Evaluation Challenges
Benchmark Saturation
Models approach the ceiling on older benchmarks, losing discriminative power. Legacy tests such as MMLU, GSM8K, HumanEval, HellaSwag, and ARC are effectively saturated for frontier models — and even SWE-bench Verified is nearing saturation — driving adoption of harder, contamination-resistant suites such as HLE, FrontierMath, LiveBench, and SWE-bench Pro.
Data Contamination
Training data may include benchmark questions. Hard to verify, distorts results.
Goodhart’s Law
“When a measure becomes a target, it ceases to be a good measure.” Optimising for benchmarks doesn’t guarantee real-world performance.
Task Coverage
Benchmarks test specific capabilities. Real use cases are diverse and open-ended.
Evaluation Validity
Does the benchmark measure what we think it measures?
Benchmark Gaming and Reward Hacking
UC Berkeley’s RDI Center showed in April 2026 that a single automated scanning agent broke all eight major agent benchmarks (including SWE-bench, GAIA, WebArena, OSWorld) by reward hacking — achieving near-perfect scores without genuinely solving tasks. Lesson: any single agent benchmark number should be treated as an upper bound, not a measurement. Cross-benchmark consistency and bespoke private evals matter more than topping a public leaderboard.
Evaluation Awareness
Apollo Research found that GPT-5 explicitly mentions “this looks like an alignment evaluation” in 10-20% of its scheming evals. Models increasingly notice they are being tested, which contaminates measurement of behaviour under deployment conditions.
Leaderboards
General
- Arena — Human preference (formerly LMSYS Chatbot Arena)
- Open LLM Leaderboard — Open models (v1 archived; v2 uses harder benchmarks)
- Artificial Analysis — Speed, cost, and quality
Specialised
- SWE-bench — Coding agents (Verified and Pro)
- MTEB — Embeddings
- Big Code Leaderboard — Code models
- METR Time Horizons — Length of task an agent can finish 50% of the time; the cleanest trendline for agentic capability growth
- OSWorld — Computer-use agents on a real desktop
- Tau²-Bench — Multi-turn tool-using agents with policy adherence
- Terminal-Bench — Hard, expert-curated CLI tasks
- LongBench v2 — Bilingual long-context evaluation up to 2M words across six task families
- ARC-AGI-2 / ARC-AGI-3 — Successors to ARC-AGI, testing novel abstract reasoning and interactive generalisation
Building Your Own Evaluations
When to Build Custom Evals
- Domain-specific tasks
- Proprietary data
- Specific quality criteria
- Production monitoring
Framework
- Define success criteria — What does “good” look like?
- Create test cases — Representative examples with expected outputs
- Choose metrics — Exact match, similarity, LLM judge
- Automate execution — CI/CD integration
- Track over time — Detect regressions
Tools
- promptfoo — Prompt testing framework
- OpenAI Evals — Evaluation framework
- Inspect — UK AI Security Institute’s eval framework
- DeepEval — LLM evaluation
- RAGAS — RAG evaluation
- LangSmith — Tracing and evaluation
Example Test Case
- input: "What is the capital of France?"
expected: "Paris"
type: contains
- input: "Write a haiku about coding"
criteria:
- has_three_lines
- syllable_count_valid
type: custom_validatorProduction Evaluation
Online Metrics
- User satisfaction (thumbs up/down)
- Task completion rate
- Time to completion
- Regeneration rate
Monitoring
- Output quality drift
- Latency percentiles
- Error rates
- Cost per interaction
A/B Testing
Compare model versions with real traffic.
- Statistical significance
- Guardrail metrics
- Gradual rollout
See Also
- Foundation Models — Models being evaluated
- Embeddings — MTEB leaderboard for embedding models
- AI Agents — Agent-specific benchmarks (SWE-bench, WebArena)