arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.19862cs.CLcs.LG
收藏

REA-RL:面向高效推理的反思意识在线强化学习

REA-RL: Reflection-Aware Online Reinforcement Learning for Efficient Reasoning

Institute of Computing and Intelligence, Harbin Institute of Technology, Shenzhen, China(计算与智能学院,哈尔滨工业大学深圳学院);Zhongguancun Academy, Beijing, China(中关村学院,北京);Xiaohongshu Inc.(小红书公司)

Hexuan Deng, Wenxiang Jiao, Xuebo Liu, Jun Rao, Min Zhang

AI总结:

REA-RL通过引入反思模型和反思奖励,提升在线强化学习中推理效率和性能平衡。

摘要:

大型推理模型(LRMs)在复杂任务中表现出色,但常常面临过度思考的问题,导致推理成本显著提高。现有方法通过合成较短的推理响应来训练LRMs,但在线使用时由于数据生成和过滤过程耗时而效率低下。同时,在线强化学习主要采用长度奖励来鼓励短响应,但容易失去反思能力并损害性能。为了解决这些问题,我们提出了REA-RL,引入了一个小型反思模型以实现在线训练中的高效扩展,提供并行采样和顺序修订。此外,设计了一个反思奖励,以进一步防止LRMs倾向于选择短但非反思性的响应。实验表明,这两种方法在保持或提升性能的同时显著提高了推理效率。它们的结合在性能和效率之间达到了良好的平衡,将推理成本降低了36%,而不会影响性能。进一步分析表明,我们的方法通过在困难问题上维持反思频率,在较简单问题上适当降低反思频率而不失去反思能力而有效。代码可在https://github.com/hexuandeng/REA-RL上获得。

英文摘要:

Large Reasoning Models (LRMs) demonstrate strong performance in complex tasks but often face the challenge of overthinking, leading to substantially high inference costs. Existing approaches synthesize shorter reasoning responses for LRMs to learn, but are inefficient for online usage due to the time-consuming data generation and filtering processes. Meanwhile, online reinforcement learning mainly adopts a length reward to encourage short reasoning responses, but it tends to lose reflection ability and harm performance. To address these issues, we propose REA-RL, which introduces a small reflection model for efficient scaling in online training, offering both parallel sampling and sequential revision. Besides, a reflection reward is designed to further prevent LRMs from favoring short yet non-reflective responses. Experiments show that both methods maintain or enhance performance while significantly improving inference efficiency. Their combination achieves a good balance between performance and efficiency, reducing inference costs by 36% without compromising performance. Further analysis demonstrates that our methods are effective by maintaining reflection frequency for hard problems while appropriately reducing it for easier ones without losing reflection ability. Code is available at https://github.com/hexuandeng/REA-RL.

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

↑