剖析长链推理模型训练机制,发现负样本更关键
Dissecting Long-Chain-of-Thought Reasoning Models: An Empirical Study
- 用正负样本分离分析强化学习训练动态
- 负样本单独训练也能达强推理性能且泛化更好
- 适合研究大模型推理机制与训练优化的学者
尽管通过扩大强化学习(RL)训练长链推理模型取得进展,其底层训练动态仍不明确,且存在若干反直觉现象。本文聚焦三个核心方面:(1)系统分析正样本与负样本在规模化强化学习中的作用,发现正样本主要促进对训练数据的精确拟合,而负样本显著提升泛化能力与鲁棒性。有趣的是,在零强化学习设置下,正样本对收敛至关重要,但仅使用负样本训练即可实现强劲的推理表现,甚至在冷启动场景下具备更优泛化能力。(2)发现群体相对策略优化中超过一半样本优势为零,存在严重数据低效问题。为此探索了相对长度奖励与离线样本注入两种策略,以更好利用无效样本,提升推理效率与能力。(3)研究不同推理模型与基准测试间的表现不稳定性,归因于问题本身结果模糊,且贪心解码会扭曲评估,导致响应正确性被错误反转。代码已公开于:https://github.com/takagi97/Dissect-Long-Reason-Models。
原文摘要 · Abstract (English)
Despite recent progress in training long-chain-of-thought reasoning models via scaling reinforcement learning (RL), its underlying training dynamics remain poorly understood, and several counterintuitive behaviors persist. This work focuses on three key aspects: (1) We systematically analyze the roles of positive and negative samples in scaling RL, revealing that positive samples mainly facilitate precise fitting to the training data, whereas negative samples significantly enhance generalization and robustness. Interestingly, while positive samples are essential for convergence in the zero-RL setting, training on negative samples alone suffices to attain strong reasoning performance and even better generalization in cold-start scenarios. (2) We identify substantial data inefficiency in group relative policy optimization, where over half of the samples yield zero advantage. To address this, we explore two strategies, including relative length rewards and offline sample injection, to leverage these data better and enhance reasoning efficiency and capability. (3) We investigate unstable performance across various reasoning models and benchmarks, attributing instability to uncertain problems with ambiguous outcomes, and demonstrate that greedy decoding can distort evaluation by flipping the correctness of responses. Our code is available at: https://github.com/takagi97/Dissect-Long-Reason-Models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。