$V_1$: 为并行推理器统一生成与自我验证
$V_1$: Unifying Generation and Self-Verification for Parallel Reasoners
AI总结:
$V_1$通过高效成对排名统一生成与自我验证,提升代码生成和数学推理任务的性能和效率。
摘要:
复杂推理任务的测试时扩展表明,通过在推理时利用计算资源,如独立采样和聚合多个解决方案,可以显著提高任务结果。然而,一个关键瓶颈是验证:采样只有在候选方案中能够可靠地识别正确方案时才有效。尽管现有方法通常通过标量评分独立评估候选方案,我们证明模型在成对自我验证方面表现显著更强。基于这一见解,我们引入$V_1$,一个通过高效成对排名统一生成与验证的框架。$V_1$包含两个组成部分:$V_1$-Infer,一种使用基于锦标赛的排名的不确定性引导算法,动态分配自我验证计算给相对正确性最不确定的候选方案对;以及$V_1$-PairRL,一种联合训练单个模型作为生成器和成对自我验证器的强化学习框架,确保验证器适应生成器不断变化的分布。在代码生成(LiveCodeBench、CodeContests、SWE-Bench)和数学推理(AIME、HMMT)基准上,$V_1$-Infer在点验证基础上将Pass@1提升高达10%,并且在效率方面显著优于最近的测试时扩展方法。此外,$V_1$-PairRL在标准强化学习和点验证联合训练基础上实现了7-9%的测试时扩展增益,并在代码生成设置中将基础Pass@1提升高达8.7%。
英文摘要:
Test-time scaling for complex reasoning tasks shows that leveraging inference-time compute, by methods such as independently sampling and aggregating multiple solutions, results in significantly better task outcomes. However, a critical bottleneck is verification: sampling is only effective if correct solutions can be reliably identified among candidates. While existing approaches typically evaluate candidates independently via scalar scoring, we demonstrate that models are substantially stronger at pairwise self-verification. Leveraging this insight, we introduce $V_1$, a framework that unifies generation and verification through efficient pairwise ranking. $V_1$ comprises two components: $V_1$-Infer, an uncertainty-guided algorithm using a tournament-based ranking that dynamically allocates self-verification compute to candidate pairs whose relative correctness is most uncertain; and $V_1$-PairRL, an RL framework that jointly trains a single model as both generator and pairwise self-verifier, ensuring the verifier adapts to the generator's evolving distribution. On code generation (LiveCodeBench, CodeContests, SWE-Bench) and math reasoning (AIME, HMMT) benchmarks, $V_1$-Infer improves Pass@1 by up to $10%$ over pointwise verification and outperforms recent test-time scaling methods while being significantly more efficient. Furthermore, $V_1$-PairRL achieves $7$--$9%$ test-time scaling gains over standard RL and pointwise joint training, and improves base Pass@1 by up to 8.7% over standard RL in a code-generation setting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。