TensorX
返回文献探索

Paper · arXiv 2505.12504

CPGD: Toward Stable Rule-based Reinforcement Learning for Language Models

Zongkai Liu, Fanqing Meng, Lingxiao Du, Zhixiang Zhou, Chao Yu, Wenqi Shao, Qiaosheng Zhang

24 upvotesMay 18, 2025arXiv 预印本
AI 摘要

A novel reinforcement learning algorithm, CPGD, stabilizes policy learning in language models by constraining policy drift and clipping updates, improving performance and stability.

rule-based reinforcement learningreinforcement learninglanguage modelsGRPOREINFORCE++RLOOClipped Policy Gradient Optimization with Policy DriftCPGDpolicy drift constraintKL divergencepolicy updatestraining instability

Abstract

Recent advances in rule-based reinforcement learning (RL) have significantly improved the reasoning capability of language models (LMs) with rule-based rewards. However, existing RL methods -- such as GRPO, REINFORCE++, and RLOO -- often suffer from training instability, where large policy updates and improper clipping can lead to training collapse. To address this issue, we propose Clipped Policy Gradient Optimization with Policy Drift (CPGD), a novel algorithm designed to stabilize policy learning in LMs. CPGD introduces a policy drift constraint based on KL divergence to dynamically regularize policy updates, and leverages a clip mechanism on the logarithm of the ratio to prevent excessive policy updates. We provide theoretical justification for CPGD and demonstrate through empirical analysis that it mitigates the instability observed in prior approaches. Furthermore, we show that CPGD significantly improves performance while maintaining training stability. Our implementation balances theoretical rigor with practical usability, offering a robust alternative for RL in the post-training of LMs. We release our code at https://github.com/ModalMinds/MM-EUREKA.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
CPGD: Toward Stable Rule-based Reinforcement Learning for Language Models | TensorX