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

放弃以获取更多:先验而非策略决定测试时的计算资源分配

Give Up to Get More: Priors, Not Policies, Govern Test-Time Compute Allocation

Hankuk University of Foreign Studies(韩国外国语大学)

Jinhyung Bae

AI总结:

该研究针对LLM测试时计算资源分配问题,发现最优分配由先验而非策略决定,提出结合先验与验证器的汤普森采样方法,可提升最难工作负载的已解决比例。

摘要:

当大量输入共享大语言模型(LLM)的重复尝试预算时,常见规则是为更难的输入分配更多尝试次数。在公开数学、代码和形式证明样本上,已发表的最佳难度比例规则在模型主要能解决的基准测试中可捕获一半或更多的神谕增益,但在困难工作负载上最多仅能达到13%,即便给定真实通过率也是如此。由于一次额外尝试的价值在中等难度时达到峰值,最优静态分配呈倒U型,对当前预算下无望解决的输入几乎不分配尝试次数。在对221篇LLM分配论文的严格调查中,至少有13篇为最难输入分配最多尝试次数;这些论文的较易设置处于该分配接近最优的预算区间,因此成本体现在更困难的工作负载上。要实现这一点需要知道哪些输入可被解决,因此是信息而非策略驱动了增益。借助验证器和相关模型对相同输入的过往运行产生的先验,汤普森采样将最难工作负载的已解决比例从14%提升至27%;若无此类先验,我们测试的任何策略都无法击败轮询策略。对于我们测试的策略,增益在约0.3至0.55的先验秩相关系数之间消失,而廉价的基于文本的先验仅在最弱模型上勉强达到该区间,且这需要一个错误接受率相对于通过率较低的验证器。在新的Qwen2.5样本上该模式依然成立,且对先验进行调整可避免在较易工作负载上的损失。我们将这些结果转化为一份决策指南。

英文摘要:

When many inputs share a budget of repeated attempts by a large language model (LLM), a common rule gives harder inputs more. On public math, code and formal-proof samples, the best published difficulty-proportional rule captures half or more of the oracle gain on benchmarks the model mostly solves, but at most 13% on hard workloads, even given true pass rates. Because the value of one more attempt peaks at intermediate difficulty, the optimal static allocation is inverted-U and gives little to inputs that are hopeless at the current budget. In a strict survey of 221 LLM allocation papers, at least 13 give the hardest inputs the most attempts; their easier settings sit at budgets where this is near-optimal, so the cost appears on harder workloads. Acting on it requires knowing which inputs are solvable, so information, not the policy, drives the gain. With a verifier and a prior from a related model's past runs on the same inputs, Thompson Sampling raises the solved share on the hardest workload from 14% to 27%; without such a prior, no policy we tested beats round-robin. For the policies we tested, the gain vanishes between prior rank correlations of about 0.3 and 0.55, which cheap text-based priors barely reach on the weakest models, and it requires a verifier whose false acceptances are rare relative to the pass rate. On new Qwen2.5 samples the pattern holds, and tempering the prior avoids losses on easy workloads. We turn these results into a decision guide.

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

↑