Do Not Let Low-Probability Tokens Over-Dominate in RL for LLMs
Zhihe Yang, Xufang Luo, Zilong Wang, Dongqi Han, Zhiyuan He, Dongsheng Li, Yunjian Xu
TL;DR
The paper identifies a gradient-dominance bias in RL training for LLMs where low-probability tokens disproportionately drive updates, hindering learning for high-probability tokens. It provides a theoretical bound showing token-gradient magnitudes scale with $(1-\pi_\theta(o))$ and introduces two practical mitigations: Advantage Reweighting and Lopti, which suppress low-prob gradients and re-order updates to favor high-prob tokens. Empirical results across K&K Logic Puzzles and math datasets demonstrate substantial performance gains (up to $46.2\%$ on challenging tasks) when combined, with ablations highlighting the importance of high-prob tokens, update order, and careful hyperparameter tuning. The work advances RL for LLMs by addressing gradient interference directly, enabling more balanced and efficient learning and broader applicability to policy-gradient methods.
Abstract
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.
