Preprint
Large Language Models

A Statistical Approach to LLM Evaluation

E. Miller
November 1, 2024arXiv.org97 citations

97

Citations

7

Influential Citations

arXiv.org

Venue

2024

Year

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.

Analysis

Why This Paper Matters

LLM evaluations are the backbone of model development and deployment decisions, yet the field has largely ignored decades of statistical methodology for designing and analyzing experiments. This paper directly addresses that gap by reframing evaluation questions as samples from a super-population, allowing researchers to apply well-established inferential statistics. For practitioners, this means moving beyond simple point estimates and toward confidence intervals, effect sizes, and power analyses—tools that can dramatically reduce the risk of overinterpreting noisy benchmark results.

The paper is particularly timely given the proliferation of leaderboards and the increasing stakes of model comparisons. By providing concrete formulas and planning guidelines, it lowers the barrier for researchers to adopt rigorous statistical practices without requiring deep expertise in experimental design.

Technical Contributions

  • Super-population framework: Treats evaluation items (e.g., prompts, tasks) as random draws from an infinite super-population, enabling standard error estimation and hypothesis testing.
  • Difference-in-means formulas: Derives closed-form expressions for comparing two models, including variance estimates that account for both item-level and model-level variability.
  • Experiment planning guidance: Recommends minimum sample sizes, stratification strategies, and reporting standards (e.g., always include confidence intervals) to maximize statistical power.
  • Noise reduction techniques: Suggests paired designs, blocking on difficulty, and use of control models to isolate treatment effects.

Results

The paper does not present new empirical results; its contribution is entirely methodological. However, it demonstrates through worked examples how applying its formulas changes conclusions from typical evaluation setups—for instance, showing that many reported performance gaps are not statistically significant when proper variance estimation is used.

Significance

This work has the potential to shift LLM evaluation from a culture of reporting raw scores to one of reporting statistically grounded comparisons. If adopted, it could reduce the prevalence of false claims about model superiority, improve reproducibility, and help practitioners allocate resources more effectively. The framework is general enough to apply across diverse evaluation settings, from multiple-choice benchmarks to open-ended generation tasks, making it a foundational reference for future evaluation standards.