Stabilizing Policy Gradients for Sample-Efficient Reinforcement Learning in LLM Reasoning
Luckeciano C. Melo, Alessandro Abate, Yarin Gal
TL;DR
The paper tackles instability and sample inefficiency in policy-gradient RL for LLM-based reasoning. It introduces CAPO, a curvature-aware data-selection method that relies on a tractable last-layer curvature model to anticipate unstable updates and enforce a local trust region. The authors provide monotonic-improvement guarantees under practical assumptions and demonstrate up to 30× improvements in sample efficiency on math-reasoning benchmarks with minimal token rejection and overhead. This approach offers a scalable path to more reliable, efficient RL fine-tuning of LLMs for complex reasoning tasks.
Abstract
Reinforcement Learning, particularly through policy gradient methods, has played a central role in enabling reasoning capabilities of Large Language Models. However, the optimization stability of policy gradients in this setting remains understudied. As a result, existing implementations often resort to conservative hyperparameter choices to ensure stability, which requires more training samples and increases computational costs. Hence, developing models for reliably tracking the underlying optimization dynamics and leveraging them into training enables more sample-efficient regimes and further unleashes scalable post-training. We address this gap by formalizing the stochastic optimization problem of policy gradients with explicit consideration of second-order geometry. We propose a tractable computational framework that tracks and leverages curvature information during policy updates. We further employ this framework to design interventions in the optimization process through data selection. The resultant algorithm, Curvature-Aware Policy Optimization (CAPO), identifies samples that contribute to unstable updates and masks them out. Theoretically, we establish monotonic improvement guarantees under realistic assumptions. On standard math reasoning benchmarks, we empirically show that CAPO ensures stable updates under aggressive learning regimes where baselines catastrophically fail. With minimal intervention (rejecting fewer than 8% of tokens), CAPO achieves up to 30x improvement in sample efficiency over standard GRPO for LLM reasoning.
