arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04265cs.AIcs.CLmath.STstat.MLstat.TH
收藏

不要Pass@k:大规模语言模型评估的贝叶斯框架

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

Department of Computer and Data Sciences, Case Western Reserve University(计算机与数据科学系,凯斯西储大学);Department of Physics, Case Western Reserve University(物理系,凯斯西储大学)

Mohsen Hariri, Amirhossein Samandar, Michael Hinczewski, Vipin Chaudhary

AI总结:

本文提出基于贝叶斯的评估框架,用后验估计替代Pass@k和avg@N,提升排名稳定性与透明度,适用于二元和非二元评估。

摘要:

Pass$@k$常用于报告LLM推理性能,但其排名不稳定且易误导,尤其在样本有限时。本文提出一个原理性的贝叶斯评估框架,用模型底层成功概率的后验估计和可信区间替代Pass$@k$和avg$@N$,实现稳定排名和透明决策规则。评估结果建模为分类(非0/1)并采用Dirichlet先验,给出加权评分的后验均值和不确定性闭式表达式,允许适当使用先验证据。理论上,在均匀先验下,贝叶斯后验均值与平均准确率(Pass$@1$)阶等价,解释其经验稳健性并增加不确定性。经验上,在已知真实成功率的模拟和AIME'24/'25、HMMT'25、BrUMO'25上,后验方法在样本更少时收敛更快且排名更稳定。该框架澄清观测差距的统计意义(非重叠可信区间)与噪声,并自然扩展到分级评分。这些结果推荐用后验基于协议替代Pass$@k$,统一二元和非二元评估并明确不确定性。源代码见https://github.com/mohsenhariri/scorio

英文摘要:

Pass$@k$ is widely used to report the reasoning performance of LLMs, but it often produces unstable and potentially misleading rankings, especially when the number of trials (samples) is limited and computational resources are 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 posterior-based 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. Source code is available at https://github.com/mohsenhariri/scorio

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑