arXiv:2502.01839cs.LGcs.AI2025-02ICML被引 49

通过扩大采样与自验证,显著提升大模型推理能力。

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

  • 随机采样多个答案,由模型自行验证并择优。
  • 采样越多,自验证准确率越高,推理能力超越o1-Preview。
  • 适合需要高可靠推理的场景,如复杂任务评估。

基于采样的搜索是一种利用测试时计算的简单方法:生成多个候选回答,通过模型自身验证正确性后选择最优解。本文研究了该方法的可扩展性规律。发现仅用随机采样和直接自验证的极简实现,就能有效提升推理性能——例如使Gemini v1.5 Pro在主流基准上表现超过o1-Preview。我们部分归因于隐式缩放现象:更大的响应池提升了自验证准确性。同时提出两个关键原则:跨响应比较有助于定位错误与幻觉;不同输出风格适用于不同场景(如思维链利于推理但难验证)。此外,尽管可诱导出高精度验证,前沿模型本身却表现出极弱的开箱即用验证能力,并为此建立评测基准以衡量改进进展。

原文摘要 · Abstract (English)

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.

推理增强自验证测试时计算

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。