arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.12929cs.CLcs.AIcs.LG
收藏

不要让低概率Token在大语言模型强化学习中过度主导

Do Not Let Low-Probability Tokens Over-Dominate in RL for LLMs

The Chinese University of Hong Kong(香港中文大学);Microsoft Research Asia(微软亚洲研究院)

Zhihe Yang, Xufang Luo, Zilong Wang, Dongqi Han, Zhiyuan He, Dongsheng Li, Yunjian Xu

AI总结:

本研究针对大语言模型强化学习中低概率token梯度过度主导、抑制高概率token学习的问题,提出优势重加权和低概率Token隔离两种方法,实现token均衡更新,显著提升GRPO训练模型的推理性能。

摘要:

强化学习(RL)已成为提升大语言模型(LLM)推理能力的核心技术,近期诸如Group Relative Policy Optimization(GRPO,组相对策略优化)之类的创新展现出了卓越效果。本研究发现了RL训练中一个关键但未被充分探究的问题:低概率token因其梯度幅值较大,会对模型更新产生不成比例的影响。这种主导性会阻碍高概率token的有效学习,而高概率token的梯度对LLM性能至关重要,却被大幅抑制。为缓解这种干扰,我们提出了两种新方法:优势重加权(Advantage Reweighting)和低概率Token隔离(Low-Probability Token Isolation, Lopti),二者均能有效衰减低概率token的梯度,同时强化高概率token驱动的参数更新。我们的方法推动了不同概率token间的均衡更新,从而提升了RL训练的效率。实验结果表明,这些方法大幅提升了经GRPO训练的LLM的性能,在K&K Logic Puzzle推理任务上最高实现了46.2%的提升。我们的实现可在https://github.com/zhyang2226/AR-Lopti获取。

英文摘要:

Reinforcement learning (RL) has become a cornerstone for enhancing the reasoning capabilities of large language models (LLMs), with recent innovations such as Group Relative Policy Optimization (GRPO) demonstrating exceptional effectiveness. In this study, we identify a critical yet underexplored issue in RL training: low-probability tokens disproportionately influence model updates due to their large gradient magnitudes. This dominance hinders the effective learning of high-probability tokens, whose gradients are essential for LLMs' performance but are substantially suppressed. To mitigate this interference, we propose two novel methods: Advantage Reweighting and Low-Probability Token Isolation (Lopti), both of which effectively attenuate gradients from low-probability tokens while emphasizing parameter updates driven by high-probability tokens. Our approaches promote balanced updates across tokens with varying probabilities, thereby enhancing the efficiency of RL training. Experimental results demonstrate that they substantially improve the performance of GRPO-trained LLMs, achieving up to a 46.2% improvement in K&K Logic Puzzle reasoning tasks. Our implementation is available at https://github.com/zhyang2226/AR-Lopti.

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

↑