arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01839cs.LGcs.AI
收藏

采样、审查与扩展:通过扩展验证实现高效的推理时搜索

Sample, Scrutinize and Scale: Effective Inference-Time Search by Scaling Verification

Google Research(谷歌研究院);UC Berkeley(加州大学伯克利分校)

Eric Zhao, Pranjal Awasthi, Sreenivas Gollapudi

AI总结:

本文研究基于采样的推理时搜索的扩展规律,证明随机采样加直接自验证的极简方案可显著提升推理性能,并总结隐式扩展与两项验证改进原则,同时提出评测前沿模型自验证能力的基准。

摘要:

基于采样的搜索是一种利用测试时计算的简单范式,它涉及生成多个候选响应并选出最佳响应——通常通过让模型自我验证每个响应的正确性来实现。在本文中,我们研究了支配基于采样的搜索的扩展趋势。我们的发现之一是,简单地扩展基于采样的搜索的极简实现(仅使用随机采样和直接自我验证),就能提供一种实用的推理方法;例如,该方法将 Gemini v1.5 Pro 的推理能力提升到在流行基准上高于 o1-Preview 的水平。我们将基于采样的搜索的可扩展性部分归因于一种隐式扩展现象,即采样更大的响应池反过来会提高自我验证的准确性。我们进一步确定了利用测试时计算提升自我验证能力的两条有用原则:(1)跨响应进行比较可提供有关错误和幻觉位置的有用信号;(2)不同的模型输出风格适用于不同情境——思维链有助于推理,但更难验证。我们还发现,尽管可以引导出准确的验证能力,但前沿模型的开箱即用验证能力非常弱;为此,我们引入了一个基准来衡量这些缺陷方面的进展。

英文摘要:

Sampling-based search, a simple paradigm for utilizing test-time compute, involves generating multiple candidate responses and selecting the best one -- typically by having models self-verify each response for correctness. In this paper, we study the scaling trends governing sampling-based search. Among our findings is that simply scaling up a minimalist implementation of sampling-based search, using only random sampling and direct self-verification, provides a practical inference method that, for example, elevates the reasoning capabilities of Gemini v1.5 Pro above that of o1-Preview on popular benchmarks. We partially attribute the scalability of sampling-based search to a phenomenon of implicit scaling, where sampling a larger pool of responses in turn improves self-verification accuracy. We further identify two useful principles for improving self-verification capabilities with test-time compute: (1) comparing across responses provides helpful signals about the locations of errors and hallucinations, and (2) different model output styles are useful for different contexts -- chains of thought are useful for reasoning but harder to verify. We also find that, though accurate verification can be elicited, frontier models demonstrate remarkably weak out-of-box verification capabilities and introduce a benchmark to measure progress on these deficiencies.

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

↑