arXiv:2509.20357cs.CL2025-09被引 25

让大模型像人一样思考,用推理提升聊天能力

Language Models that Think, Chat Better

  • 引入模型自评推理机制,使模型在回答前生成长链思考
  • 在多个聊天评测中表现优于传统强化学习方法3-7分
  • 仅需7000个提示即可超越复杂多阶段训练的模型

基于可验证奖励的强化学习(RLVR)能训练语言模型在数学和编程等规则明确领域使用长链思维(CoT)推理,但该方法难以推广到写作提纲、制定餐食计划等开放性任务。本文证明长链思维对通用聊天有显著提升,并提出模型自评推理(RLMT)新方法,将强化学习扩展至非可验证领域。通过真实世界提示,要求模型先生成长链推理再作答,并用基于偏好评分的奖励模型进行在线强化学习优化。在Llama-3.1-8B与Qwen-2.5-7B(基础与指令微调版)上共40次实验中,无论采用DPO、PPO或GRPO算法,RLMT均稳定超越标准RLHF。在AlpacaEval2、WildBench和ArenaHardV2三个聊天基准上获得3-7点提升,创意写作与常识任务也有1-3点增益。该方法可直接应用于基础模型,无需监督微调阶段,仅用7000个提示训练的Llama-3.1-8B基础模型,性能已超过经2500万+样本多阶段微调的Llama-3.1-8B-Instruct。定性和定量分析揭示了模型如何规划响应。

原文摘要 · Abstract (English)

Reinforcement learning with verifiable rewards (RLVR) trains language models to use long chain-of-thought reasoning (CoT) in domains like mathematics and code with rule-based verifiers. However, long CoT learned through RLVR does not generalize well to open-ended tasks -- such as writing essay outlines or making meal plans -- where humans reason routinely. This paper establishes the benefits of long CoT for general-purpose chat capabilities and introduces RL with Model-rewarded Thinking (RLMT)1, which pushes RLVR beyond verifiable domains. Using diverse real-world prompts, RLMT requires LMs to generate long CoT reasoning before responding, and optimizes them with online RL against a preference-based reward model used in RLHF. Across 40 training runs on Llama-3.1-8B and Qwen-2.5-7B (both base and instruct) and multiple optimization algorithms (DPO, PPO, and GRPO), RLMT consistently outperforms standard RLHF pipelines. This includes substantial gains of 3-7 points on three chat benchmarks (AlpacaEval2, WildBench, and ArenaHardV2), along with 1-3 point improvements on other tasks like creative writing and general knowledge. RLMT can also be applied directly to base models without an SFT stage, akin to DeepSeek-R1-Zero. Remarkably, with only 7K prompts, Llama-3.1-8B base trained with our RLMT recipe outperforms Llama-3.1-8B-Instruct post-trained with a complex multi-staged pipeline with 25M+ examples. We close with qualitative and quantitative analyses of how trained models plan their responses. Our results rethink the post-training pipeline and call upon future work to understand and employ thinking more broadly.

大模型推理增强强化学习聊天优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。