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

Mohsen Hariri, Amirhossein Samandar, Michael Hinczewski, Vipin Chaudhary

Evaluating Large Language Models (LLMs) is notoriously difficult. As models move from research curiosities to critical infrastructure, the community has relied on metrics like Pass@k to rank their reasoning capabilities. However, a recent paper argues that these standard practices are fundamentally flawed—and offers a robust Bayesian alternative.

TL;DR

This paper introduces a Bayesian evaluation framework that replaces the unstable Pass@k metric with posterior estimates of success probability and principled credible intervals. By modeling outcomes as categorical rather than binary, the framework provides more stable rankings, faster convergence, and a unified way to handle complex, rubric-based evaluations.

The Problem with Pass@k

The current "gold standard" for evaluating LLM reasoning is Pass@k (the probability that at least one of $k$ samples is correct). While popular, it is mathematically fragile. On small or expensive benchmarks (like the AIME math competition), Pass@k often yields unstable rankings that are highly sensitive to random noise and decoding choices.

Furthermore, Pass@k is typically binary (correct/incorrect), ignoring valuable signals like partial credit, formatting errors, or model efficiency. Evaluators often lack a principled way to determine if a 1% lead on a leaderboard is a genuine breakthrough or just statistical noise.

A Bayesian Approach to Evaluation

The authors treat evaluation as a statistical inference problem. Instead of just counting successes, they model performance using a Dirichlet-multinomial framework:

  1. Categorical Outcomes: Every model attempt is mapped to a category (e.g., correct-and-boxed, correct-but-unboxed, wrong-but-confident, refusal).
  2. Bayesian Posterior: Using a Dirichlet prior, they derive closed-form expressions for the posterior mean and variance of a model's performance.
  3. Bayes@N: Under a uniform prior, the posterior mean is order-equivalent to average accuracy (avg@N), but it adds a crucial layer: Credible Intervals (CIs).
  4. Decision Rule: The framework introduces a simple, transparent rule: do not declare a winner if their credible intervals overlap.

This approach allows for "weighted rubrics," where different categories are assigned different values (e.g., 1.0 for a perfect answer, 0.5 for partial credit), providing a much more nuanced view of model behavior.

Datasets and Validation

The researchers validated their framework using both controlled simulations and real-world benchmarks:

  • Biased-Coin Simulations: Synthetic "LLM mimics" with known ground-truth success rates.
  • Math Reasoning Benchmarks: AIME’24, AIME’25, HMMT’25 (Harvard-MIT Math Tournament), and BrUMO’25 (Brown University Math Olympiad).
  • Models: 20 different LLMs, including variants of Qwen3, DeepSeek-R1, and gpt-oss.

Key Insights

  • The Stability Gap: Standard Pass@k methods often fail to converge to a stable ranking even after 80 trials per problem. In contrast, the Bayesian approach achieves stable rankings much faster.
  • Principled Uncertainty: By providing analytic credible intervals, the framework makes it clear when a leaderboard "flip" is actually meaningful. This prevents "leaderboard churn" caused by over-interpreting tiny, noisy gaps.
  • Rubric-Awareness: Evaluation doesn't have to be 0/1. The framework naturally supports complex rubrics that penalize "overthinking" (high token usage) or reward strict formatting compliance.
  • Prior Knowledge: Unlike frequentist methods, this framework can incorporate prior evidence (e.g., performance data from an older version of a model) to accelerate evaluation of a new version.

Key Results

The Bayesian framework significantly outperforms Pass@k in terms of convergence speed and rank stability.

Convergence comparison: Bayes@N vs. Pass@k family. On AIME'25, the Pass family frequently fails to converge within 80 trials, while the Bayesian method stabilizes much earlier.

As shown in the convergence distributions, the Bayesian procedure (Bayes@N) reaches a stable ranking with far fewer trials. On the HMMT and BrUMO datasets, Bayes@N required roughly 40% to 60% fewer trials than the best-performing Pass@k variants to achieve the same level of rank correlation with the "gold standard" (the ranking at $N=80$).

Kendall's tau rank correlation vs. number of trials. Bayes@N consistently shows faster convergence to the true ranking.

Furthermore, Bayes@N reaches a high rank correlation ($\tau > 0.90$) with as few as 10 trials, whereas Pass@k variants lag behind, especially in low-sample regimes.

Limitations and Future Work

The authors acknowledge that while their framework quantifies statistical uncertainty (noise from finite sampling), it does not solve for systematic biases like dataset contamination, prompt sensitivity, or rubric misspecification.

Future work includes exploring more sophisticated, non-uniform priors—such as using data from quantized or smaller "base" models to inform the evaluation of larger, more expensive ones. The researchers have released an open-source Python package, scorio, to help the community adopt these more robust evaluation practices.

Summary updated

BibTeX
@inproceedings{hariri2026dont,
  author = {Mohsen Hariri and Amirhossein Samandar and Michael Hinczewski and Vipin Chaudhary},
  title = {{Don’t Pass@k: A Bayesian Framework for Large Language Model Evaluation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=PTXi3Ef4sT},
}
Figure