Enabling Token-wise Importance Sampling in Off-Policy RLVR with Proximal KL Regularization
Organizations: University of Illinois Urbana-Champaign
Abstract
Off-policy data in reinforcement learning with verifiable rewards (RLVR) can arise from asynchronous generation, rollout-training mismatch, and response reuse. Token-wise importance weighting avoids multiplying likelihood ratios across a response but generally biases policy gradients. We prove that, under coverage and local expressiveness conditions, full future KL credit makes the exact proximal optimizer the update's unique stationary policy, even for mixtures of older policies, without full-response weights or a fitted critic. We further establish convergence of continuous-time tabular population updates under persistent coverage and time-varying behavior policies, and a finite-sample reward guarantee for linear logistic models under additional assumptions. These results motivate Proximal KL, a practical off-policy RLVR method that separates the proximal reference from the sampling policy and replaces PPO clipping with bounded future KL credit. Across all seven matched off-policy comparisons on Qwen3-1.7B and Qwen3-4B, spanning two learning rates, response reuse, and rollout staleness, Proximal KL outperforms GRPO in micro-averaged accuracy over eight math benchmarks by up to 2.58%. A separate on-policy comparison yields comparable aggregate accuracy. In periodic-refresh experiments, Proximal KL avoids the collapses observed in PG and CISPO, exceeds GRPO's training accuracy, and reaches higher accuracy in fewer policy updates. Ablations show that token-wise correction outperforms sequence-level and unweighted controls. With token-wise correction retained, future KL feedback reduces sensitivity to the tested baseline perturbation relative to PPO clipping. A finite future horizon improves AIME24 mean@16 and pass@16 over the full tail, while fixed-policy measurements show that truncation reduces correction variance over the tested horizons.
Figures & tables
| Setting | Stale- | LR | Method | MATH500 | Olympiad | Minerva | Gaokao | AIME24 | AIME25 | AMC23 | AMC24 | Average |
| ness | pass@1 | pass@1 | pass@1 | pass@1 | mean@16 | mean@16 | mean@16 | mean@16 | ||||
| Model: Qwen3-1.7B | ||||||||||||
| - | - | - | Base | 56.10 | 23.15 | 22.43 | 51.17 | 4.27 | 2.92 | 27.66 | 13.47 | 24.15 |
| On-policy | 0 | 5e-6 | GRPO | 68.93 1.03 | 32.84 1.28 | 28.92 0.77 | 59.53 0.45 | 8.89 0.96 | 5.97 0.94 | 46.30 2.17 | 26.53 0.24 | 34.50 |
| On-policy | 0 | 5e-6 | Proximal KL | 67.80 1.20 | 33.14 0.67 | 29.90 1.06 | 58.40 0.92 | 10.07 1.20 | 5.62 0.75 | 45.10 0.39 | 25.42 0.28 | 34.09 |
| Off-policy | 0 | 5e-6 | GRPO | 65.40 2.46 | 28.24 0.62 | 28.68 2.05 | 58.05 1.06 | 8.96 1.57 | 6.74 0.43 | 42.24 2.26 | 22.78 0.97 | 31.99 |
| Staleness | Method | MATH500 | Olympiad | Minerva | Gaokao | AIME24 | AIME25 | AMC23 | AMC24 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| pass@1 | pass@1 | pass@1 | pass@1 | mean@16 | mean@16 | mean@16 | mean@16 | |||
| GRPO | ||||||||||
| Proximal KL |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Ideal condition | Implemented choice | Effect on the sampled update |
|---|---|---|
| Full future KL tail | Horizon , including | Selects how far credit extends; a finite window omits later costs. |
| Unclipped future log ratio | Optional log-ratio clipping | Bounds each future cost and changes its expectation when active; the choice is independent of the sampling policy. |
| History-only baseline | Group-normalized reward advantage | Sets the reward scale from sampled responses; the resulting field can differ from the ideal one. |
| Population response average | Minibatch token average | Adds sampling noise; token normalization can change the relative weights of responses. |
| Method | Setting | Qwen3 | |||
| Model size | 1.7B | 4B | 8B | 32B | |
| Shared | Learning rate | ||||
| Rollout refresh interval | 64 | ||||
| Prompts responses per batch | |||||
| Optimizer updates per batch | 1 | ||||
| Prompt / response limits (tokens) | 1,024 / 16,384 | ||||
| Method | Setting | Off-policy | ||
|---|---|---|---|---|
| Model | Qwen3-1.7B | Qwen3-4B | ||
| Learning rate | ||||
| GRPO | PPO clip | Yes | ||
| Prompts per batch | 128 | |||
| Responses per prompt | 16 | |||
| Response limit (tokens) | 8,192 | |||
Off-Policy RL
Off-policy reinforcement learning studies how agents learn from data generated by other or earlier policies, improving sample efficiency while managing distribution shift.
See all 124 papers