关于代理搜索中群体相对策略优化崩溃:懒惰似然位移
On Group Relative Policy Optimization Collapse in Agent Search: The Lazy Likelihood-Displacement
AI总结:
本文提出LLDS正则化方法,解决GRPO在代理搜索中因LLD导致的训练崩溃问题,提升模型性能达45.2%。
摘要:
工具集成(TI)强化学习(RL)通过与搜索引擎和检索器等外部工具交互,使大型语言模型(LLMs)能够执行多步推理。群体相对策略优化(GRPO),以最近的Search-R1为例,提供了快速收敛和无价值的公式化,使其在该设置中具有吸引力,但始终遭受训练崩溃。我们识别出懒惰似然位移(LLD),即正确和错误响应的似然系统性减少或停滞,是导致这一失败的核心机制。LLD早期出现,并触发自我强化的LLD死亡螺旋,其中下降的似然导致低置信度响应,放大梯度,最终导致崩溃。我们通过在Search-R1风格的搜索集成问答任务上跨模型经验性地刻画这一过程,揭示出一致的三阶段轨迹:早期停滞、稳定衰减和加速崩溃。为了解决这一问题,我们提出了一种保留似然的正则化LLDS,仅在响应动作的似然下降时激活,并仅正则化负责的token。这种细粒度的结构以最小的干扰缓解LLD。我们的方法稳定了训练,防止梯度爆炸,并在七个基准上实现了显著的性能提升,包括在Qwen2.5-3B上相对于普通GRPO训练的+45.2%的相对改进,以及在Qwen2.5-7B上的+37.1%的相对改进。我们的结果确立了LLD作为GRPO基于TIRL中之前被忽视的瓶颈,并提供了一条通往稳定、可扩展的工具集成RL的实用路径。
英文摘要:
Tool-integrated (TI) reinforcement learning (RL) enables large language models (LLMs) to perform multi-step reasoning by interacting with external tools such as search engines and retrievers. Group Relative Policy Optimization (GRPO), exemplified by the recent Search-R1, offers fast convergence and a value-free formulation that makes it appealing for this setting, yet consistently suffers from training collapse. We identify Lazy Likelihood Displacement (LLD), a systematic reduction or stagnation in the likelihood of both correct and incorrect responses, as the core mechanism driving this failure. LLD emerges early and triggers a self-reinforcing LLD Death Spiral, where declining likelihood leads to low-confidence responses, inflating gradients, and ultimately causing collapse. We empirically characterize this process across models on a Search-R1-style, search-integrated question answering task, revealing a consistent three-phase trajectory: early stagnation, steady decay, and accelerated collapse. To address this, we propose a likelihood-preserving regularization LLDS that activates only when a response action's likelihood decreases, and regularizes only the tokens responsible. This fine-grained structure mitigates LLD with minimal interference. Our method stabilizes training, prevents gradient explosion, and yields substantial performance improvements across seven benchmarks, including relative improvements of +45.2% on Qwen2.5-3B and +37.1% on Qwen2.5-7B over vanilla GRPO training. Our results establish LLD as a previously overlooked bottleneck in GRPO-based TIRL and provide a practical path toward stable, scalable training of tool-integrated RL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。