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

通过强化学习实现简洁推理

Concise Reasoning via Reinforcement Learning

Wand AI

Mehdi Fatemi, Banafsheh Rafiee, Mingjie Tang, Kartik Talamadupula

AI总结:

本文通过强化学习提出两阶段方法,减少推理响应长度同时保持准确性,并揭示错误答案驱动冗长的优化副作用。

摘要:

推理模型的一个主要缺点是其过度的标记使用,这会增加计算成本、资源需求和延迟。我们证明这种冗长性并非源于更深层次的推理,而是源于当模型产生错误答案时强化学习损失最小化。由于不可解的问题主导训练,这种效应导致系统倾向于产生更长的输出。通过理论分析PPO和GRPO,我们证明错误答案本质上会驱动策略趋向冗长,即使γ=1,将响应延长重新定义为优化的副作用。我们进一步发现,在推理和非推理模型中,简洁性和正确性之间存在一致的相关性。基于这些见解,我们提出了一种两阶段的RL过程,其中第二阶段在少量可解问题上训练,显著减少响应长度,同时保持或提高准确性。最后,我们证明虽然GRPO与PPO有相似之处,但其表现出崩溃模式,限制了其在简洁推理中的可靠性。我们的主张通过广泛的实验得到支持。

英文摘要:

A major drawback of reasoning models is their excessive token usage, inflating computational cost, resource demand, and latency. We show this verbosity stems not from deeper reasoning but from reinforcement learning loss minimization when models produce incorrect answers. With unsolvable problems dominating training, this effect compounds into a systematic tendency toward longer outputs. Through theoretical analysis of PPO and GRPO, we prove that incorrect answers inherently drive policies toward verbosity \textit{even when} $γ=1$, reframing response lengthening as an optimization artifact. We further uncover a consistent correlation between conciseness and correctness across reasoning and non-reasoning models. Building on these insights, we propose a two-phase RL procedure where a brief secondary stage, trained on a small set of solvable problems, significantly reduces response length while preserving or improving accuracy. Finally, we show that while GRPO shares properties with PPO, it exhibits collapse modes, limiting its reliability for concise reasoning. Our claims are supported by extensive experiments.

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

↑