Enabling Token-wise Importance Sampling in Off-Policy RLVR with Proximal KL Regularization
Summary
In reinforcement learning with verifiable rewards (RLVR), off-policy data arises from asynchronous generation, rollout/training mismatch, and response reuse across minibatches. Exact sequence-level importance correction multiplies likelihood ratios across long responses (high variance), while token-wise weighting generally biases policy gradients. The paper proves (Theorem 1) that adding full future-KL credit makes the exact proximal optimizer the update's unique stationary policy even under supported stale-behavior-policy mixtures, without full-response weights or a fitted critic: each token is charged the current token's and all future tokens' KL log-ratio costs against a fixed proximal reference, combined with a single current-token importance ratio. At the target, reward minus full unclipped Future-KL is identical across all continuations of a given history (pathwise cancellation), so the token-wise update vanishes; tabular continuous-time updates converge and a finite-sample reward guarantee holds for linear logistic models. The practical algorithm, Proximal KL, records each token's behavior probability, periodically refreshes the proximal reference, and subtracts bounded future KL costs (working default β=0.30, per-token cost bound 0.05) from a group-relative reward advantage before applying the token-wise importance weight — PPO clipping is omitted. On Qwen3-1.7B/4B trained on verifiable math tasks, Proximal KL beats GRPO in all seven matched off-policy comparisons by response-weighted (micro) accuracy over eight math benchmarks (MATH500, OlympiadBench, MinervaMath, Gaokao2023MathEn greedy pass@1; AIME24/25, AMC23/24 mean@16), up to +2.58 pp (30.39→32.97). In periodic-refresh stability tests across 1.7B/4B/8B/32B, PG and CISPO collapse at larger sizes (1.7B CISPO improves then falls sharply; 8B/32B large declines), while Proximal KL sustains gains at all sizes — e.g. 8B reaches 50% EMA training accuracy in ~200 updates vs ~640 for GRPO. Ablations: token-wise correction outperforms sequence-level IS (geometric-mean ratio) and unweighted controls; future-KL feedback is less sensitive than PPO clipping to group-baseline perturbations; bounding each token's KL cost is required to avoid gradient excursions; a finite Future-KL horizon can beat the full tail (variance reduction, bias-variance tradeoff).
- Venue
- arXiv:2610.18738 (cs.LG)
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 14, 2026
- Verified
- Oct 14, 2026
- Found via
- #jackbot_cs
Research notes
- Discovery: @jackbot_cs 11-post X thread, 2026-10-14 ~3:13 AM ET (status 2110267831560655017); all thread figures verified against the paper's tables and figures (the +2.58 pp is the 1.7B/LR-1e-5/staleness-4 row of Table 1; 8B/32B PG/CISPO collapses are Figure 3 panels c/d). Author: Jack Bai (Hao Bai), CS PhD @UIUC, Research @NVIDIA, prev @Berkeley_ai/@MSFTResearch. Blog: https://biechi.github.io/blog/offpolicy-proximal-kl/ (marked by the author as undergoing final check, not yet final). Code: github.com/BiEchi/proximal-kl-core (Apache-2.0, created 2026-10-14, minimal controlled-rollout-staleness reproduction on the AReaL framework; configs frpo.yaml/grpo.yaml; uses public Qwen3-1.7B + GSM8K). Support: NSF 2416897/2505932/2601666, ONR N000142512318; NCSA Delta/DeltaAI, Illinois Computes, NAIRR. Acknowledgments note generative-AI tools were used for literature searches, coding, experiment analysis, proof derivation, and manuscript polishing. Relevance: (1) RL/agentic-RL post-training — a drop-in off-policy RL recipe targeting stale/async training, directly his RL interest; staleness tolerance is exactly what async rollout pipelines need (cf. his compute setups). (2) Off-policy correction line — pairs with queued #23 (Modal's masked IS + score centering + top-p mask replay on mixed-precision/mixed-accelerator samplers) and the AsyncWebRL/AReaL/Miles async-RL references the paper cites; Proximal KL is the algorithm-side contribution where Modal was the systems-side one. (3) GRPO stability — the baseline-perturbation/clipping-bias result explains a real GRPO failure mode (advantage noise hitting the clip threshold tanks training); removing clipping while keeping controlled progress is the actionable takeaway. (4) Theory-to-practice — full paper's proofs are for tabular/linear-logistic models; transformer experiments are empirical support, not covered by the guarantees. Caveats: LLM-focused (verifiable math, 1.7B/4B checkpoints; stability runs up to 32B but no held-out 32B comparisons reported); authors' own experiments, no independent reproduction; on-policy performance only comparable to GRPO (the win is off-policy); paper license unverified. Cluster: RL post-training recipes, off-policy/staleness correction, GRPO/algorithm design, verifier-based RL.
- License: arXiv default nonexclusive-distrib (paper; abs page shows no CC/custom marker, verified 2026-10-20); code repo Apache-2.0
Similar entries
- Paper Score Centering Stabilizes Off-policy Reinforcement Learning
- Paper Finetuning with Sampling: SFT Learns Better Than You Think
- Paper Bellman Policy Optimization
- Post Agentic RL: Token-In, Token-Out Done Right (TITO)
- Paper Multi-Token Prediction Done Right (Soft Multi-Token Prediction / Soft-MTP)
- Paper TokenGate: Adapting LLMs for Fast and Memory-Efficient Prefill with Learned Token Pruning