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

在没有验证或强化学习的情况下扩展测试时计算是次优的

Scaling Test-Time Compute Without Verification or RL is Suboptimal

Carnegie Mellon University(卡内基梅隆大学);UC Berkeley(加州大学伯克利分校)

Amrith Setlur, Nived Rajaraman, Sergey Levine, Aviral Kumar

AI总结:

本文证明固定预算下基于验证器的RL或搜索微调优于无验证器的轨迹蒸馏,并通过反集中条件说明测试时计算扩展时二者差距增大,3/8/32B实验验证了结论。

摘要:

尽管在扩展测试时计算方面取得了重大进展,社区中仍存在一个持续争论:应如何扩展它,才能随着规模扩大实现持续且高效的改进。主要有两种方法:第一,蒸馏成功的搜索或思维轨迹;第二,使用验证(例如0/1结果奖励、奖励模型或验证器)来指导强化学习(RL)和搜索算法。在本文中,我们证明,在计算/数据预算固定的情况下,使用基于RL或搜索的基于验证器(VB)方法微调LLM,远优于基于蒸馏或克隆搜索轨迹的无验证器(VF)方法。此外,我们表明,当我们扩展测试时计算(以输出token长度衡量)和训练数据时,如果基础预训练LLM在正确解轨迹上呈现异质分布(例如不同长度、风格等),并且在从其采样的轨迹上的奖励分布具有非尖锐性,则VF方法的次优性与VB方法相比会随规模表现得更差。我们使用反集中[Erdős, 1945]将这一条件形式化。这意味着一个更强的结果:VB方法在渐近意义上具有更好的扩展性,并且随着测试时预算增长,VB与VF方法之间的性能差距会扩大。我们在教学问题和数学推理问题上,使用3/8/32B规模的预训练LLM从实证上印证了我们的理论,发现验证对于扩展测试时计算至关重要。

英文摘要:

Despite substantial advances in scaling test-time compute, an ongoing debate in the community is how it should be scaled up to enable continued and efficient improvements with scaling. There are largely two approaches: first, distilling successful search or thinking traces; and second, using verification (e.g., 0/1 outcome rewards, reward models, or verifiers) to guide reinforcement learning (RL) and search algorithms. In this paper, we prove that finetuning LLMs with verifier-based (VB) methods based on RL or search is far superior to verifier-free (VF) approaches based on distilling or cloning search traces, given a fixed amount of compute/data budget. Further, we show that as we scale test-time compute (measured as the output token length) and training data, suboptimality of VF methods scales poorly compared to VB when the base pre-trained LLM presents a heterogeneous distribution over correct solution traces (e.g., different lengths, styles, etc.) and admits a non-sharp distribution over rewards on traces sampled from it. We formalize this condition using anti-concentration [Erdős, 1945]. This implies a stronger result that VB methods scale better asymptotically, with the performance gap between VB and VF methods widening as test-time budget grows. We corroborate our theory empirically on both didactic and math reasoning problems with 3/8/32B-sized pre-trained LLMs, where we find verification is crucial for scaling test-time compute.

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

↑