统计学 > 机器学习
[提交于 2026年2月5日 (v1),最后修订于 2026年5月31日 (此版本, v2)]
标题:Optimal Bayesian Stopping for Efficient Inference of Consistent LLM Answers
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:A simple strategy for improving LLM accuracy, especially in math and reasoning problems, is to sample multiple responses and submit the answer most consistently reached. In this paper we leverage Bayesian prior information to save on sampling costs, stopping once sufficient consistency is reached. Although the exact posterior is computationally intractable, we further introduce an efficient "L-aggregated" stopping policy that tracks only the L-1 most frequent answer counts. Theoretically, we prove that L=3 is all you need: this coarse approximation is sufficient to achieve asymptotic optimality, and strictly dominates prior-free baselines, while having a fast posterior computation. Empirically, this identifies the most consistent (i.e., mode) LLM answer using fewer samples, and can achieve similar answer accuracy while cutting the number of LLM calls (i.e., saving on LLM inference costs) by up to 50%.
提交历史
来自:Jingkai Huang[v1] 2026年2月5日 星期四 07:22:00 UTC (46 KB)
[v2] 2026年5月31日 星期日 20:25:40 UTC (69 KB)