arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.05395stat.MLcs.AIcs.LG
收藏

用于高效推断一致LLM答案的最优贝叶斯停止

Optimal Bayesian Stopping for Efficient Inference of Consistent LLM Answers

Stern School of Business, New York University, New York, USA(纽约大学 Stern 商学院);Graduate School of Business, Columbia University, New York, USA(哥伦比亚大学 商学院)

Jingkai Huang, Will Ma, Zhengyuan Zhou

AI总结:

利用贝叶斯先验信息,通过L-聚合停止策略在达到足够一致性时提前停止采样,以最小化采样成本并高效识别最一致的LLM答案。

摘要:

一种提高LLM准确性的简单策略,特别是在数学和推理问题中,是采样多个响应并提交最一致达成的答案。在本文中,我们利用贝叶斯先验信息来节省采样成本,一旦达到足够的一致性就停止。尽管精确后验在计算上难以处理,我们进一步引入了一种高效的“L-聚合”停止策略,该策略仅跟踪L-1个最频繁的答案计数。理论上,我们证明L=3就足够了:这种粗略近似足以实现渐近最优性,并且严格优于无先验基线,同时具有快速的后验计算。实验上,该方法使用更少的样本识别出最一致(即众数)的LLM答案,并且可以在减少LLM调用次数(即节省LLM推理成本)高达50%的同时实现相似的答案准确性。

英文摘要:

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%.

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

↑