基于采样的搜索是一种利用测试时计算的简单范式,它涉及生成多个候选响应并选出最佳响应——通常通过让模型自我验证每个响应的正确性来实现。在本文中,我们研究了支配基于采样的搜索的扩展趋势。我们的发现之一是,简单地扩展基于采样的搜索的极简实现(仅使用随机采样和直接自我验证),就能提供一种实用的推理方法;例如,该方法将 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.
Beyond Model Collapse: Scaling Up with Synthesized Data Requires Verification
Meta FAIR;Center for Data Science, New York University(纽约大学数据科学中心);Courant Institue of Mathematical Sciences, New York University(纽约大学柯朗数学科学研究所);School of Mathematical Sciences, Peking University(北京大学数学科学学院)