■ Change #46 · wiki.edited
Language-model evaluation methodology: Normalize Markdown to canonical form
body
## What is being measuredA language-model score is the output of a pipeline: a task dataset, a prompt template (zero- or few-shot), a way of reading the answer (the likelihood of each multiple-choice option, or a generated string checked by rule or by a judge model), and a metric. Small changes in any step shift the number, which is why results from different groups often disagree. **Lessons from the Trenches** (Biderman et al., 2024) documents these sensitivities and describes the lm-evaluation-harness, an open framework meant to make runs reproducible. **HELM** (Liang et al., 2022) argues for reporting many scenarios and metrics (accuracy, calibration, robustness, fairness, efficiency) rather than a single score.## Failure modes- **Contamination.** Test items appearing in pre-training data inflate scores; a survey (Xu et al., 2024) catalogues detection methods, all of which have limits.- **Training on the test task.** Dominguez-Olmedo et al. (2024) argue that models trained on different amounts of task-style data are not comparable, and that giving every model the same task-specific fine-tuning before testing changes rankings and reduces apparent emergence.- **Metric artefacts.** Schaeffer et al. (2023) argued that apparently sudden 'emergent' abilities can come from discontinuous metrics such as exact match rather than from a change in the model.- **Judge models.** Zheng et al. (2023) examine using strong models as judges (MT-Bench, Chatbot Arena), report agreement with human preferences above 80% for GPT-4, and document position, verbosity and self-preference biases.## Predicting scores− Pre-training loss follows smooth scaling laws, but task accuracy does not follow them directly. Two lines of work address this: *model ladders* (Bhagia et al., 2024) fit a two-step relation from model and data size to loss and from loss to task accuracy using small models, and *observational scaling laws* (Ruan et al., 2024) fit a low-dimensional capability space across many existing models. Bhagia et al. report predicting the accuracy of 7B and 13B target models within 2 points absolute error on four multiple-choice tasks using about 1% of the targets' compute.+ Pre-training loss follows smooth scaling laws, but task accuracy does not follow them directly. Two lines of work address this: _model ladders_ (Bhagia et al., 2024) fit a two-step relation from model and data size to loss and from loss to task accuracy using small models, and _observational scaling laws_ (Ruan et al., 2024) fit a low-dimensional capability space across many existing models. Bhagia et al. report predicting the accuracy of 7B and 13B target models within 2 points absolute error on four multiple-choice tasks using about 1% of the targets' compute.Evaluation methodology is not a closed field: there is no agreed answer for how to evaluate open-ended generation, agents or long-context behaviour with the reliability expected of a measurement instrument.
explainer.student
**Why it matters.** Claims such as "model A is better at maths than model B" decide which models get built, deployed and trusted. Each such claim rests on a benchmark score, and a score is the output of a measurement pipeline that can go wrong in many places, like any lab measurement.**The pipeline.** A score needs (1) a dataset of questions, (2) a prompt template that wraps each question (with or without worked examples), (3) a way to read the answer and (4) a metric. For multiple choice, one common reading compares the probability the model assigns to each option and picks the highest. For open answers, the generated text is checked by a rule (exact match, running the code against tests) or by another model acting as judge. Changing any of these, even the wording of the template, can move the score by several points, which is why results from different groups often disagree. Open tools such as the lm-evaluation-harness fix the pipeline in code so others can rerun it.**An analogy.** It is like measuring a resistor: the reading depends on the meter, the leads, the temperature and how you hold the probes, so a number without its method is not a measurement. The analogy breaks because language models can also have seen the "test resistor" before.**Failure modes.**− - *Contamination*: test questions that appeared in the training text inflate scores, and detection methods all have gaps.− - *Training on the test task*: models trained on more exam-style data look better; giving every model the same task-specific practice before testing changes the rankings.− - *Metric artefacts*: with an all-or-nothing metric such as exact match, a model that gets steadily better at each step of a ten-step answer still scores zero until every step is right, so an ability can appear "suddenly" even when the underlying improvement is smooth. If each step is right with probability $p$, the whole answer is right with probability $p^{10}$: at $p = 0.8$ that is about 0.11, at $p = 0.95$ about 0.60.− - *Judge models*: a strong model used as judge agreed with human preferences more than 80% of the time in one study, but it favours longer answers, answers in a certain position and its own style.+ - _Contamination_: test questions that appeared in the training text inflate scores, and detection methods all have gaps.+ - _Training on the test task_: models trained on more exam-style data look better; giving every model the same task-specific practice before testing changes the rankings.+ - _Metric artefacts_: with an all-or-nothing metric such as exact match, a model that gets steadily better at each step of a ten-step answer still scores zero until every step is right, so an ability can appear "suddenly" even when the underlying improvement is smooth. If each step is right with probability $p$, the whole answer is right with probability $p^{10}$: at $p = 0.8$ that is about 0.11, at $p = 0.95$ about 0.60.+ - _Judge models_: a strong model used as judge agreed with human preferences more than 80% of the time in one study, but it favours longer answers, answers in a certain position and its own style.− **Predicting scores in advance.** Training loss follows smooth scaling laws, but accuracy on a particular test does not follow them directly. *Model ladders* fit two steps with small models: from size and data to loss, then from loss to accuracy. One study predicted the accuracy of 7- and 13-billion-parameter models within 2 points on four multiple-choice tasks using about 1% of their compute.+ **Predicting scores in advance.** Training loss follows smooth scaling laws, but accuracy on a particular test does not follow them directly. _Model ladders_ fit two steps with small models: from size and data to loss, then from loss to accuracy. One study predicted the accuracy of 7- and 13-billion-parameter models within 2 points on four multiple-choice tasks using about 1% of their compute.**What is open.** There is no agreed, reliable way to evaluate open-ended writing, agents that act over many steps, or long documents, with the repeatability expected of an engineering measurement.
hash a80894c446030d8a6af5e04c310f0da4f19031d3867b31998c8ad8351ff2f29f
previous 3efeddef02846c8908f9939cf4b10846c7ac3f78692f2ab09a50ed1e37966248