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

先走再跑!通过强化学习实现简洁的LLM推理

Walk Before You Run! Concise LLM Reasoning via Reinforcement Learning

Tencent Hunyuan(腾讯文渊)

Mingyang Song, Mao Zheng

AI总结:

本文提出两阶段强化学习框架ConciseR,通过GRPO++提升推理能力,并用L-GRPO强制简洁性,仅在样本全对时优化长度,生成更简短CoT且在多项基准上优于零RL模型。

摘要:

随着测试时扩展成为大型语言模型(LLMs)发展的重要研究前沿,当代先进的后训练方法越来越关注延长长思维链(CoT)响应的生成长度,以增强推理能力,从而实现类似 DeepSeek R1 的性能。然而,最近的研究揭示了在先进的推理模型中普遍存在的过度思考现象,表现为在长 CoT 响应中出现过度冗余或重复的思考模式。为了解决这一问题,本文提出了一个简单而有效的两阶段强化学习框架,名为 ConciseR,以在 LLMs 中实现简洁推理。具体而言,第一阶段使用更多训练步骤,旨在通过结合 clip-higher 和动态采样组件的 Group Relative Policy Optimization (GRPO++) 激励模型的推理能力;第二阶段使用较少训练步骤,通过 Length-aware Group Relative Policy Optimization (L-GRPO) 明确强制简洁性并提高效率。值得注意的是,ConciseR 仅在样本的所有 rollout 均正确时才优化响应长度,遵循“先走再跑”的原则。大量实验结果表明,生成更简洁 CoT 推理响应的 ConciseR 模型,在 AIME 2024、MATH-500、AMC 2023、Minerva 和 Olympiad 基准测试中,优于近期采用零 RL 范式的先进推理模型。

英文摘要:

As test-time scaling becomes a pivotal research frontier in Large Language Models (LLMs) development, contemporary and advanced post-training methodologies increasingly focus on extending the generation length of long Chain-of-Thought (CoT) responses to enhance reasoning capabilities toward DeepSeek R1-like performance. However, recent studies reveal a persistent overthinking phenomenon in state-of-the-art reasoning models, manifesting as excessive redundancy or repetitive thinking patterns in long CoT responses. To address this issue, in this paper, we propose a simple yet effective two-stage reinforcement learning framework for achieving concise reasoning in LLMs, named ConciseR. Specifically, the first stage, using more training steps, aims to incentivize the model's reasoning capabilities via Group Relative Policy Optimization with clip-higher and dynamic sampling components (GRPO++), and the second stage, using fewer training steps, explicitly enforces conciseness and improves efficiency via Length-aware Group Relative Policy Optimization (L-GRPO). Significantly, ConciseR only optimizes response length once all rollouts of a sample are correct, following the "walk before you run" principle. Extensive experimental results demonstrate that our ConciseR model, which generates more concise CoT reasoning responses, outperforms recent state-of-the-art reasoning models with zero RL paradigm across AIME 2024, MATH-500, AMC 2023, Minerva, and Olympiad benchmarks.

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

↑