Benchmark
Also known as: benchmark suite, benchmark dataset
A shared, public set of tasks with a fixed way of scoring, so that different models can be compared on the same terms.
Draft - this entry has not been reviewed yet.
Formal
A published collection of tasks with known correct answers and a fixed scoring method, used across labs to rank models; well-known ones test broad school knowledge or the fixing of real faults in code.
In plain English
Like a standard fitness course that every athlete runs, with the same hurdles and the same stopwatch, so their times can be put side by side.
In practice
An IT architect in a ministry compares five large language models by their published benchmark scores, picks two, and then tests both on 300 real questions from the ministry's own staff before choosing.
Why it matters
Benchmarks drive how models are sold and ranked, but a model can be tuned to the questions, or have seen them in its training data, so a high score does not prove it will do well on your work.
Technical deep dive
A benchmark fixes three things: a data set of task instances, a protocol for presenting them to a model (prompt template, number of few-shot examples, decoding settings, tools allowed) and a scoring function. Classic examples show the range: MMLU (Hendrycks et al., 2021) is multiple-choice across 57 subjects scored by accuracy; HumanEval (Chen et al., 2021) has 164 hand-written Python problems scored by pass@k against unit tests; SWE-bench (Jimenez et al., 2023) contains 2,294 real GitHub issues from 12 Python repositories, graded by whether the model's patch makes the repository's tests pass, and SWE-bench Verified is a 500-instance subset screened by human engineers because some originals were underspecified or had unfair tests. Chatbot Arena instead ranks models from crowdsourced pairwise votes fitted with a Bradley-Terry model.
The protocol matters as much as the data. Changing the prompt format, the number of shots, whether the answer is scored by generated letter or by the log-likelihood of each option, or the evaluation harness version can move a score by several points, so numbers from different model cards are often not comparable. HELM (Liang et al., 2022) was designed partly to address this by running many models under one standardised protocol and reporting several metrics per scenario (accuracy, calibration, robustness, fairness, efficiency) instead of a single number.
Benchmarks decay. Saturation happens when top models approach the ceiling, as GLUE did soon after its 2018 release, prompting SuperGLUE in 2019. Contamination happens because public test items get scraped into pretraining corpora; mitigations include n-gram overlap checks, unique canary strings embedded in benchmark files so their presence in a corpus can be detected and filtered, private held-out splits and continually refreshed item pools. Adaptive overfitting arises when a community repeatedly tunes against one public test set: Recht et al. (2019) rebuilt CIFAR-10 and ImageNet test sets following the original procedures and saw accuracy drops of 3% to 15% and 11% to 14% respectively, although model rankings largely held. Label noise adds another layer: Northcutt et al. (2021) estimated at least 3.3% label errors on average across ten widely used test sets.
In practice a benchmark score is a prior, not a verdict. It narrows the candidate list, after which a task-specific evaluation on in-domain data, with the organisation's own prompts, context and failure costs, decides. A benchmark differs from a private test set mainly in being public and shared, which gives comparability at the price of leakage, and from LLM-as-a-judge in having reference answers or executable checks rather than a model's opinion.
What to learn first
Everything this builds on, foundations first.
- Training data
- →Model training
- →Test set
- →Benchmark
Relationships
- Part of
- Model evaluation (evals)
- Requires
- Test set
- Don't confuse with
- LLM-as-a-judge
- Used with
- Model card
Sources & further reading
Standards & official texts
Reference works
- Hendrycks et al. (2021), Measuring Massive Multitask Language Understanding · ICLR 2021
- Liang et al. (2022), Holistic Evaluation of Language Models · Stanford CRFM
- Recht et al. (2019), Do ImageNet Classifiers Generalize to ImageNet? · ICML 2019 (PMLR 97)
- Northcutt, Athalye & Mueller (2021), Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarks · NeurIPS 2021 Datasets and Benchmarks
Where this data comes from
This entry was drafted by an AI from the sources above and has not yet been checked by a person. Treat it as a starting point, and check anything important against the sources.
See the review queueSuggest a correction on GitHubThis term as JSON
Check yourself
Loading…