CE-GPPO: Coordinating Entropy via Gradient-Preserving Clipping Policy Optimization in Reinforcement Learning
Zhenpeng Su, Leiyu Pan, Minxuan Lv, Yuntao Li, Wenping Hu, Fuzheng Zhang, Kun Gai, Guorui Zhou
TL;DR
The paper analyzes entropy dynamics in reinforcement learning for LLM fine-tuning and identifies gradients from clipped tokens as key regulators of exploration versus exploitation. It introduces CE-GPPO, a gradient-preserving clipping policy optimization algorithm that reintroduces and scales gradients from out-of-clip tokens using a stop-gradient design and two tunable factors, beta1 and beta2. The approach is theoretically justified and empirically validated on mathematical reasoning benchmarks, showing improved entropy stability and performance across model scales. CE-GPPO consistently outperforms strong baselines (GRPO, DAPO, CISPO, GSPO) and demonstrates robustness to hyperparameters, indicating practical impact for scalable, stable RL-based LLM fine-tuning.
Abstract
Reinforcement learning (RL) has become a powerful paradigm for optimizing large language models (LLMs) to handle complex reasoning tasks. A core challenge in this process lies in managing policy entropy, which reflects the balance between exploration and exploitation during training. Existing methods, such as proximal policy optimization (PPO) and its variants, discard valuable gradient signals from low-probability tokens due to the clipping mechanism. We systematically analyze the entropy dynamics and reveal that these clipped tokens play a critical yet overlooked role in regulating entropy evolution. We propose \textbf{C}oordinating \textbf{E}ntropy via \textbf{G}radient-\textbf{P}reserving \textbf{P}olicy \textbf{O}ptimization (CE-GPPO), a novel algorithm that reintroduces gradients from clipped tokens in native PPO in a gentle and bounded manner. By controlling the magnitude of gradients from tokens outside the clipping interval, CE-GPPO is able to achieve an exploration-exploitation trade-off. We provide theoretical justification and empirical evidence showing that CE-GPPO effectively mitigates entropy instability. Extensive experiments on mathematical reasoning benchmarks show that CE-GPPO consistently outperforms strong baselines across different model scales.
