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

CAST:用于GRPO的非特权裁剪非对称自教学与优势翻转

CAST: Non-Privileged Clipped Asymmetric Self-Teaching with Advantage Flipping for GRPO

School of Software and Microelectronics, Peking University, Beijing(北京大学软件与微电子学院);School of Artificial Intelligence, Peking University, Beijing(北京大学人工智能学院);School of Computer Science, Peking University, Beijing(北京大学计算机科学学院);School of Future Technology, Peking University, Beijing(北京大学未来技术学院)

Yang Li, Gongle Xue, Yijia Guo, Yuheng Yuan, Liwen Hu, Lei Ma

AI总结:

提出CAST方法,通过无答案的自教师模型和双向局部优势符号翻转,解决GRPO中奖励稀疏和组相对优势消失的问题,提升数学推理性能。

摘要:

基于可验证奖励的强化学习(RLVR),特别是组相对策略优化(GRPO),已被广泛用于改进大型语言模型的推理能力。然而,结果级奖励仅提供稀疏监督,并且当某个提示的所有采样轨迹全部正确或全部错误时,组相对优势会消失。在线自蒸馏(OPSD)提供了密集的令牌级指导,但其令牌偏好不一定与轨迹正确性对齐;实证诊断表明,OPSD信号在正确和错误的轨迹上表现不同,教师正向和教师负向的差距信号表现出不同的噪声特征。这些诊断仅在OPSD风格的特权教师上下文中进行分析,而CAST训练使用无答案的自教师评分。受这些观察启发,本文提出了CAST,一种用于GRPO风格RLVR的无答案自蒸馏方法。CAST保留了基于验证器的GRPO目标,但使用停止梯度的自教师根据轨迹正确性塑造令牌级优势。与先前的自蒸馏RLVR方法不同,CAST不需要参考解条件的教师评分,在整个训练过程中保持自教师对数概率差距活跃,并应用双向局部优势符号翻转:正确轨迹中的教师负向令牌可以获得负的令牌级优势,而错误轨迹中的教师正向令牌可以获得有界的正向局部优势。对于零方差的全正确和全错误组,CAST分配有界的符号约束基础优势,使得这些原本零梯度的组能够贡献验证器签名的令牌反馈。数学推理实验表明,CAST在保持轻量级、基于验证器的轨迹级目标的同时,改进了RLVR训练。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR), especially Group Relative Policy Optimization (GRPO), has been widely used to improve reasoning in large language models. However, outcome-level rewards provide only sparse supervision, and group-relative advantages vanish when all sampled trajectories for a prompt are either correct or incorrect. On-Policy Self-Distillation (OPSD) offers dense token-level guidance, but its token preferences are not necessarily aligned with trajectory correctness; empirical diagnostics show that OPSD signals behave differently on correct and incorrect rollouts, with teacher-positive and teacher-negative gap signals exhibiting different noise profiles. These diagnostics are conducted under an OPSD-style privileged teacher context for analysis only, whereas CAST training uses answer-free self-teacher scoring.Motivated by these observations, this work proposes CAST, an answer-free self-distillation method for GRPO-style RLVR. CAST keeps the verifier-grounded GRPO objective, but uses a stop-gradient self-teacher to shape token-level advantages according to trajectory correctness. Unlike prior self-distilled RLVR methods, CAST does not require reference-solution-conditioned teacher scoring, keeps the self-teacher log-probability gap active throughout training, and applies bidirectional local advantage sign reversal: teacher-negative tokens in correct trajectories can receive negative token-level advantages, while teacher-positive tokens in incorrect trajectories can receive bounded positive local advantages. For zero-variance all-correct and all-wrong groups, CAST assigns bounded sign-constrained base advantages, so these otherwise zero-gradient groups can contribute verifier-signed token feedback. Experiments on mathematical reasoning show that CAST improves RLVR training while retaining a lightweight, verifier-grounded trajectory-level objective.

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

↑