On Measuring Large Language Models Performance with Inferential Statistics
Measuring the reliability of performance evaluations is particularly important when we evaluate non-deterministic models. This is the case of using large language models (LLMs) in classification tasks, where different runs generate different outputs. This fact raises the question about how reliable the evaluation of a solution is. Previous work relies on executing several runs and then taking some kind of average together with confidence intervals. However, confidence intervals themselves may not be reliable if the number of executions is not large enough. Therefore, more effective and robust methods are needed for their estimation. In this work, we propose a methodology that estimates model performance while capturing the intra-run variability by leveraging instance-level predictions across multiple runs, enabling the computation of more reliable confidence intervals when the gold standard is available. Our method also offers greater computational efficiency by reducing the number of full model executions required to estimate performance variability. Compared against existing state-of-the-art evaluation methods, our approach achieves full empirical coverage (100%) of plausible performance outcomes using as few as three runs, whereas traditional methods reach at most 63% coverage, even with eight runs.
Authors
- Anselmo Peñas (ORCID: https://orcid.org/0000-0002-7867-0149)
- Jesús M. Fraile-Hernández
Institutions
- Universidad Nacional de Educación a Distancia (ES)
Publication Details
- Journal
- Information
- Published
- 2025-09-20
- DOI
- https://doi.org/10.3390/info16090817
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Agencia Estatal de Investigación
- CHIST-ERA