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

ResRL: 通过负样本投影残差强化学习提升大语言模型推理能力

ResRL: Boosting LLM Reasoning via Negative Sample Projection Residual Reinforcement Learning

MAIS\&NLPR, Institute of Automation, Chinese Academy of Sciences, Beijing, China(MAIS与NLPR,自动化研究所,中国科学院,北京,中国);School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences, Beijing, China(先进交叉学科学院,中国科学院大学,北京,中国)

Zihan Lin, Xiaohan Wang, Jie Cao, Jiajun Chai, Li Wang, Xiaodong Lu, Wei Lin, Ran He, Guojun Yin

AI总结:

本文提出ResRL,通过解耦正负响应的语义分布,提升LLM推理能力同时保持生成多样性,在十二个基准测试中超越强基线,尤其在数学推理上表现更优。

摘要:

可验证奖励的强化学习(RLVR)增强了大语言模型(LLM)的推理能力,但通常由于正奖励过度激励导致生成多样性有限。尽管负样本强化(NSR)通过加重负样本惩罚缓解了这一问题,但可能抑制正负响应间共享的语义分布。为提升推理能力而不损失多样性,本文提出负样本投影残差强化学习(ResRL),通过解耦正负响应间的相似语义分布。我们理论上将懒惰似然位移(LLD)与负-正头梯度干扰联系起来,并推导出一个单向代理,该代理上界表示对齐以指导保守优势重加权。ResRL随后将负token隐藏表示投影到基于SVD的低维正子空间,并使用投影残差来调节负梯度,从而在提升推理能力的同时保持多样性,并在十二个涵盖数学、代码、代理任务和函数调用的基准测试中平均超越强基线。值得注意的是,ResRL在数学推理上超越NSR,Avg@16提升9.4%,Pass@128提升7.0%。代码可在https://github.com/1229095296/ResRL.git获取。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) enhances reasoning of Large Language Models (LLMs) but usually exhibits limited generation diversity due to the over-incentivization of positive rewards. Although methods like Negative Sample Reinforcement (NSR) mitigate this issue by upweighting penalty from negative samples, they may suppress the semantic distributions shared between positive and negative responses. To boost reasoning ability without losing diversity, this paper proposes negative sample projection Residual Reinforcement Learning (ResRL) that decouples similar semantic distributions among positive and negative responses. We theoretically link Lazy Likelihood Displacement (LLD) to negative-positive head-gradient interference and derive a single-forward proxy that upper-bounds representation alignment to guide conservative advantage reweighting. ResRL then projects negative-token hidden representations onto an SVD-based low-rank positive subspace and uses projection residuals to modulate negative gradients, improving reasoning while preserving diversity and outperforming strong baselines on average across twelve benchmarks spanning Mathematics, Code, Agent Tasks, and Function Calling. Notably, ResRL surpasses NSR on mathematical reasoning by 9.4\% in Avg@16 and 7.0\% in Pass@128. Code is available at https://github.com/1229095296/ResRL.git.

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

↑