Don't Pass@k: A Bayesian Framework for Large Language Model Evaluation

Mohsen Hariri, Amirhossein Samandar, Michael Hinczewski, Vipin Chaudhary
10/5/2025
cs.AIcs.CLmath.ST

Official code: mohsenhariri/scorio (8 stars, last commit 2026-04-28).

Abstract

Pass$@k$ is widely used to report performance for LLM reasoning, but it often yields unstable, misleading rankings, especially when the number of trials (samples) is limited and compute is constrained. We present a principled Bayesian evaluation framework that replaces Pass$@k$ and average accuracy over $N$ trials (avg$@N$) with posterior estimates of a model's underlying success probability and credible intervals, yielding stable rankings and a transparent decision rule for differences. Evaluation outcomes are modeled as categorical (not just 0/1) with a Dirichlet prior, giving closed-form expressions for the posterior mean and uncertainty of any weighted rubric and enabling the use of prior evidence when appropriate. Theoretically, under a uniform prior, the Bayesian posterior mean is order-equivalent to average accuracy (Pass$@1$), explaining its empirical robustness while adding principled uncertainty. Empirically, in simulations with known ground-truth success rates and on AIME'24/'25, HMMT'25, and BrUMO'25, the Bayesian/avg procedure achieves faster convergence and greater rank stability than Pass$@k$ and recent variants, enabling reliable comparisons at far smaller sample counts. The framework clarifies when observed gaps are statistically meaningful (non-overlapping credible intervals) versus noise, and it naturally extends to graded, rubric-based evaluations. Together, these results recommend replacing Pass$@k$ for LLM evaluation and ranking with a posterior-based, compute-efficient protocol that unifies binary and non-binary evaluation while making uncertainty explicit. Code is available at https://github.com/mohsenhariri/scorio

View on arXivView PDF

Code Implementations(1)

Bayes@N [ICLR'26], Ranking LLMs [ACL'26 Main]: Statistical evaluation, comparison, and ranking of Large Language Models

85CSS, HTMLOct 1, 20255 months agoNOASSERTION
bayesianbayesian-inferenceevaluationlarge-language-modelsllm+2 more

Similar Papers

Cite this paper

@article{hariri2025dont,
  title  = {Don't Pass@k: A Bayesian Framework for Large Language Model Evaluation},
  author = {Mohsen Hariri and Amirhossein Samandar and Michael Hinczewski and Vipin Chaudhary},
  year   = {2025},
  eprint = {2510.04265},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.04265v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.04265.svg)](https://codeofpaper.com/paper/2510.04265)

Discussion