On KL-Regularized Policy Optimization
Yifan Zhang
Key points
From the paper's conclusion- We propose KL-Regularized Policy Optimization (KLPO), a framework that anchors the KL regularizer at the sampler.
Abstract
Asynchronous reinforcement learning (RL) for large language model (LLM) agents trains one policy on trajectories generated by another: rollouts come from stale checkpoints, and the inference engine's probabilities differ from the trainer's even at identical parameters. Standard remedies either clip importance ratios, which biases the update, or, as in GRPO, sample a group of responses per prompt, which is costly when episodes are long. We propose KL-Regularized Policy Optimization (KLPO), a framework that anchors the KL regularizer at the sampler. The regularized improvement step then has a closed-form Gibbs solution, and KLPO fits its log-ratio optimality condition by least squares on the sampler's own trajectories, so the sampler probability enters through a log-ratio and no importance weights are needed. Profiling out the regression intercept replaces the intractable log-partition function with the signal's sampler mean plus a sampler-to-trainer KL divergence. For token-level policy mirror descent targets, we show that the resulting gradient can be computed from terminal returns without a critic, via sampler-centered scores or a single trajectory residual, even under stochastic tool outputs. We further prove that independent Monte Carlo estimates of the KL term keep these gradients unbiased, derive the exact KL gap of cheaper top-$K$ and binary approximations, and show that SPPO, GPO, REBEL, and BPO arise as special cases of KLPO. The result is a critic-free update that uses one rollout per prompt and requires neither a learned normalizer nor a group of responses.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Is the Importance Ratio Necessary for Stable Reinforcement Learning in LLMs?arXiv · 2026
- Anatomy of Off-Policy Policy Gradient: Importance Sampling, KL Regularization, and BaselinesarXiv · 2026
- FlashREINFORCE: Critic-Free Single-Rollout Asynchronous RL for Agentic Language ModelsarXiv · 2026
- Gibbs-Gap Policy Optimization for Off-Policy RL with Verifiable RewardsarXiv · 2026
- EPIC: Rethinking Trust Regions for Autoregressive LLM Policies via Exact-KL Prefix Importance-Ratio ClippingarXiv · 2026
- Generalized Proximal Policy Optimization: Unifying LLM RL Algorithms from the Perspective of DivergencearXiv · 2026