Preprint · 2024

Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations

Evan Miller

VenuearXiv
DOI10.48550/arXiv.2411.00640
URLhttp://arxiv.org/abs/2411.00640
TopicsReplicHAI / Agent Evals / 10 Harnesses, leaderboards & methodology
TagsComputer Science - Computation and Language, Statistics - Applications
archiveIDarXiv:2411.00640
extraarXiv:2411.00640 [stat.AP]
libraryCatalogarXiv.org
shortTitleAdding Error Bars to Evals

Abstract

Evaluations are critical for understanding the capabilities of large language models (LLMs). Fundamentally, evaluations are experiments; but the literature on evaluations has largely ignored the literature from other sciences on experiment analysis and planning. This article shows researchers with some training in statistics how to think about and analyze data from language model evaluations. Conceptualizing evaluation questions as having been drawn from an unseen super-population, we present formulas for analyzing evaluation data, measuring differences between two models, and planning an evaluation experiment. We make a number of specific recommendations for running language model evaluations and reporting experiment results in a way that minimizes statistical noise and maximizes informativeness.

BibTeX

@misc{miller_adding_2024,
	title = {Adding {Error} {Bars} to {Evals}: {A} {Statistical} {Approach} to {Language} {Model} {Evaluations}},
	shorttitle = {Adding {Error} {Bars} to {Evals}},
	url = {http://arxiv.org/abs/2411.00640},
	doi = {10.48550/arXiv.2411.00640},
	abstract = {Evaluations are critical for understanding the capabilities of large language models (LLMs). Fundamentally, evaluations are experiments; but the literature on evaluations has largely ignored the literature from other sciences on experiment analysis and planning. This article shows researchers with some training in statistics how to think about and analyze data from language model evaluations. Conceptualizing evaluation questions as having been drawn from an unseen super-population, we present formulas for analyzing evaluation data, measuring differences between two models, and planning an evaluation experiment. We make a number of specific recommendations for running language model evaluations and reporting experiment results in a way that minimizes statistical noise and maximizes informativeness.},
	urldate = {2026-11-06},
	publisher = {arXiv},
	author = {Miller, Evan},
	month = nov,
	year = {2024},
	note = {arXiv:2411.00640 [stat.AP]},
	keywords = {Computer Science - Computation and Language, Statistics - Applications},
}