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

SPIRAL: 学习搜索与聚合

SPIRAL: Learning to Search and Aggregate

Stanford University(斯坦福大学)

Jubayer Ibn Hamid, Ifdita Hasan Orney, Michael Y. Li, Omar Shaikh, Yoonho Lee, Dorsa Sadigh, Chelsea Finn, Noah Goodman

AI总结:

提出SPIRAL框架,通过强化学习联合训练语言模型在推理时使用顺序推理、并行采样和聚合三种原语,实现端到端优化,显著提升推理计算扩展效率。

摘要:

语言模型推理可以通过在测试时利用扩展推理计算的支架得到显著改进,这些支架跨越不同的原语——轨迹内的顺序推理、独立采样的并行轨迹以及将多个推理轨迹聚合为最终响应。然而,在后训练期间,语言模型仅针对单个轨迹内的顺序推理进行优化。我们引入了顺序-并行-聚合强化学习(SPIRAL),这是一个框架,其中语言模型被训练使用所有三种原语,作为统一推理计算流水线的一部分。具体来说,语言模型首先并行采样一组独立轨迹,每个轨迹通过顺序思维链推理产生,然后基于这些轨迹生成最终的聚合轨迹;所有组件都针对最终聚合响应的奖励进行端到端优化。为了训练该系统,SPIRAL使用集合强化学习来教导模型产生一组对聚合器集体有用的轨迹,并使用标准强化学习来教导模型将该集合聚合为改进的最终响应。我们在推理任务上的实验表明,SPIRAL有效地随推理计算扩展,在所有三种计算原语都扩展时,性能比GRPO高出高达11倍的扩展效率和15%的性能提升。

英文摘要:

Language model reasoning can be substantially improved at test time via scaffolds that scale inference compute across different primitives -- sequential reasoning within a trace, independently sampled parallel traces, and aggregation of multiple reasoning traces into a final response. During post-training, however, language models are optimized only for sequential reasoning within a single trace. We introduce Sequential-Parallel-Aggregative Reinforcement Learning (SPIRAL), a framework in which a language model is trained to use all three primitives, as part of a unified inference compute pipeline. Concretely, the language model first samples a set of independent traces in parallel, each produced through sequential chain-of-thought reasoning, and then generates a final aggregation trace conditioned on those traces; all components are optimized end-to-end against the reward of the final aggregated response. To train this system, SPIRAL uses set reinforcement learning to teach models to produce a set of traces that are collectively useful for an aggregator and standard reinforcement learning to teach models to aggregate the set into improved final responses. Our experiments on reasoning tasks show that SPIRAL effectively scales with inference compute, outperforming GRPO by up to 11$\times$ scaling efficiency and 15% higher performance when all three compute primitives are scaled.

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

↑