Manuscript Offprint
arXiv:2610.18738Enabling Token-wise Importance Sampling in Off-Policy RLVR with Proximal KL Regularization
Abstract
In reinforcement learning with verifiable rewards (RLVR), asynchronous generation, differences between rollout and training policies, and response reuse across optimizer minibatch updates can all produce off-policy data. Token-wise importance weighting allows policy-gradient methods to reuse these responses without multiplying likelihood ratios across a long response, but it generally biases the gradient. We prove that, under coverage and local expressiveness conditions, adding full future KL credit makes the exact proximal optimizer the update's unique stationary policy. The result holds even when responses come from a mixture of older policies and requires neither full-response importance weights nor a fitted critic. We also prove convergence of continuous-time tabular population updates under persistent coverage and time-varying behavior policies, and give 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 ordinary PPO clipping with bounded future KL credit. Across all seven matched off-policy comparisons on Qwen3-1.7B and Qwen3-4B, Proximal KL achieves higher micro-averaged accuracy than GRPO over eight math benchmarks, spanning two learning rates, response reuse, and rollout staleness. The absolute improvement in micro-averaged accuracy reaches 2.58%. A separate on-policy comparison shows comparable aggregate accuracy for the two methods. These gains accompany stable optimization: in the periodic-refresh experiments, Proximal KL avoids the training collapses observed in PG and CISPO, attains higher training accuracy than GRPO, and reaches higher accuracy in fewer policy updates. To explain these gains, ablations first compare how off-policy sampling is corrected: token-wise weighting 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. The extent of this feedback matters as well: a finite future cost 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.
Project page: https://biechi.github.io/blog/offpolicy-proximal-kl/
1 Introduction
Reinforcement learning with verifiable rewards (RLVR) optimizes a policy from verifier-scored responses, often generated by a behavior policy that differs from the policy being optimized. This off-policy mismatch has several sources. Asynchronous systems overlap generation and optimization, so responses may come from earlier policy versions (Fu et al., 2025; Bai et al., 2026; Zhu et al., 2025; RadixArk, 2026). Reusing collected trajectories across optimizer minibatch updates introduces mismatch as the current policy changes, even when collection is synchronous. We study the common problem of learning from these off-policy responses.
Policy-gradient methods such as GRPO and DAPO use token-wise importance ratios (Shao et al., 2024; Yu et al., 2025). Exact importance correction of a response-level objective instead multiplies the ratios across the response, which can have high variance for long responses. Token-wise weighting avoids this product but generally biases the gradient. We ask when an update based on token-wise weights and sampled rewards, without a fitted value or Q function, still retains the proximal target. This target is the optimizer of a KL-regularized objective.
We study a proximal objective that penalizes the reverse KL divergence from the current policy to a reference policy held fixed during each optimization round (Geist et al., 2019; Tomar et al., 2022). The reference defines the improvement target, while the behavior policy determines the sampling distribution. Following batch-size-invariant policy optimization (Hilton et al., 2022), we separate these policies so the target remains fixed even when the data-generating distribution differs from the current policy. For autoregressive responses, the regularized policy gradient assigns each token the current and all future token log-ratio costs, as expressed by Future-KL credit (Yao et al., 2026). We combine this full credit with a single importance ratio for the current token.
Our main result shows that, under coverage and local expressiveness, the expected token-wise update with full future KL credit vanishes if and only if the learner equals the proximal optimizer. The result holds for any supported stale behavior policy or mixture of behavior-policy versions, although the expected update can differ from the exact proximal gradient away from the optimizer. The proof uses the soft path-consistency identity established by PCL and Trust-PCL (Nachum et al., 2017, 2018). With independent tabular logits and persistent coverage, we further prove convergence of continuous-time updates (Appendix E).
To study learning from sampled responses, we also give a finite-sample reward guarantee after repeated reference refreshes for a linear logistic model, whose token logits depend linearly on trainable parameters through fixed features (summarized in Theorem 2, with the precise statement in Appendix F). Under its assumptions, the final policy approaches the comparator's expected reward for a single response. Its mismatch condition bounds the sum of learner-weighted squared token log ratios along each response path, and the update never forms the response-level product of ratios. This analysis motivates a practical algorithm that can also be applied to nonlinear models such as Transformers.
Guided by these results, we develop Proximal KL Regularization (Proximal KL). The practical update records each token's behavior probability, periodically refreshes the proximal reference, and subtracts bounded future KL costs from a group-relative reward advantage before applying the token-wise importance weight. A bound on each log-ratio cost limits individual contributions, while a tunable horizon limits how many future costs are included. The update omits ordinary PPO clipping. Section 4 discusses the trade-off between bias and variance when bounding the costs, and Section 6.4 evaluates these choices empirically.
Contributions. To our knowledge, this is the first stationary-policy guarantee for critic-free token-wise importance weighting with full future KL credit under supported stale behavior mixtures. We also prove tabular convergence and, for a realizable linear logistic model, a finite-sample reward guarantee under correct-solution coverage using a full-credit group update with repeated reference refreshes (Theorem 2). Our empirical comparisons show that Proximal KL achieves higher micro-averaged held-out accuracy than GRPO in all seven matched off-policy settings in Section 6.3. These gains span eight math benchmarks, 1.7B and 4B models, and the tested learning rates and rollout staleness levels, including fresh rollouts reused across optimizer minibatches. In the separate on-policy comparison, Proximal KL attains aggregate accuracy comparable to GRPO. Complementary periodic-refresh experiments show that Proximal KL sustains training gains through the collapses observed in PG and CISPO and attains higher training accuracy than GRPO at compara-able optimizer-update counts (Section 6.2). The ablations connect these outcomes to update design: current-token importance correction outperforms Sequence-level IS and IS-free settings, and future KL feedback is less sensitive to the tested baseline perturbation than PPO clipping. The tightest tested future-cost bound combines strong accuracy with smaller gradient-norm excursions, while a finite horizon outperforms both strong local and full-tail corrections. Fixed-policy measurements confirm that truncation reduces correction variance over the tested horizons (Section 6.4).
PCL establishes soft path consistency and minimizes the corresponding errors on off-policy trajectories (Nachum et al., 2017). Trust-PCL extends this approach to relative-entropy regularization against an updated reference (Nachum et al., 2018). Soft Q-learning learns soft Bellman values and an associated sampling policy (Haarnoja et al., 2017); Unified PCL represents policy and value with one Q model (Nachum et al., 2017). Schulman et al. (2017a) derive regularized Monte Carlo policy gradients and relate them to soft Q-learning with value fitting. Our analysis concerns the stationary policy of an update that combines policy scores with token-wise importance weights, sampled rewards, and full future credit. The update requires no fitted values or optimization of a consistency residual (Section 5).
Policy-gradient methods. REINFORCE uses sampled policy scores (Williams, 1992), while PPO uses a clipped policy-gradient surrogate (Schulman et al., 2017b). For language-model reasoning, GRPO constructs group-relative advantages (Shao et al., 2024), and DAPO develops clipping and sampling choices (Yu et al., 2025). V-trace and Retrace correct bootstrapped value or Q targets for off-policy data using truncated importance traces (Espeholt et al., 2018; Munos et al., 2016). V-trace also weights its policy update by a current-action ratio. Their fixed-point guarantees concern corrected value learning. We establish the unique stationary policy of the actor update itself, using sampled rewards, full future KL credit, and current-token importance weighting without a fitted critic.
Compatible approximation and policy-improvement closure provide structural conditions for policy-gradient convergence (Agarwal et al., 2021; Yuan et al., 2023; Bhandari and Russo, 2024). Appendix F relates these conditions to our bounded Gibbs-target representation assumption and its concrete examples.
We also acknowledge related unpublished work by Audrey Huang and collaborators on coverage collapse and reference re-anchoring in policy optimization after pre-training (private communication with Nan Jiang).
3 Setup and Proximal Update
The proximal reference defines the optimization target, while the behavior policy generates training responses. Asynchronous RLVR systems such as AReaL, StreamRL, AsyncWebRL, Slime, and Miles overlap generation and policy updates to reduce bubble time (Fu et al., 2025; Zhong et al., 2025; Bai et al., 2026; Zhu et al., 2025; RadixArk, 2026). The behavior policy may therefore differ from both the current learner and the fixed proximal reference.
We regularize expected reward by the reverse KL divergence from the learner to the reference (Geist et al., 2019; Tomar et al., 2022), with the reference policy updated between optimization rounds. Let the prompt set and generation tree be finite. Write for a prompt, for its response, and for the verifier reward. The current policy is optimized relative to , fixed during round ; responses are sampled from :
Its maximizer over response policies is , where . The objective-gap identity in Equation (D.3) gives this standard Gibbs characterization; we include it for completeness. For binary rewards, the Gibbs step multiplies the reference probability of each correct response by before renormalizing. Thus the reference determines which responses are reweighted, and controls the strength of this reweighting.
Proximal regularization also has benefits in the on-policy setting (Schulman et al., 2015; Tomar et al., 2022). For binary rewards, its exact unrestricted optimizer improves every prompt whose success probability lies strictly between zero and one (Proposition D.1). Appendix D.1 illustrates the benefit of proximal regularization in a shared-parameter model; Section 6.3 reports an on-policy comparison.
Differentiating the response-level objective gives the Future-KL policy-gradient expression (Schulman et al., 2017a; Yao et al., 2026): each token's log-probability gradient is weighted by the reward advantage minus the current and future log-ratio costs. Penalizing only the current token generally omits part of the regularization gradient (Appendix D.2). Let T be the maximum response length, padding shorter responses with deterministic terminal actions. For and , define the learner-to-reference ratio and the learner-to-behavior importance weight as
Importance weighting and future KL credit serve different purposes: the weights correct the sampling distribution, while the KL costs define the regularized return. Exact response-level importance sampling uses the product of current-to-behavior ratios in Equation (2), whose variance can grow exponentially with response length. Starting from the policy-gradient expression for objective (1), we replace the response-wise importance weight by one ratio for each sampled token. For the current policy , the expected token-wise policy-gradient field is
(3)
The expectation also includes . The baseline depends only on the history, is held fixed during differentiation, and may be zero. We likewise treat the advantage as a fixed coefficient when computing an update, then recompute it after the policy changes. The resulting field uses observed rewards and policy log probabilities without a fitted value or Q function. We analyze its stationary points directly, allowing the field to depend on the behavior policy.
4 Algorithm
Proximal KL. Our update combines token-wise importance weighting with bounded future KL credit. The update uses verifier rewards, policy log probabilities, and statistics from groups of responses, without fitting a value or Q function.
Algorithm 1 specifies the token-wise proximal update for differentiable autoregressive policies, including Transformers. Each round holds the reference fixed for L optimizer updates. Updates may reuse sampled response groups, and the behavior policy follows its own refresh schedule. Each sampled token is paired with its probability under the behavior policy; the frozen reference defines the KL cost.
For a group of responses, let denote the reward advantage assigned to response , held fixed during differentiation. For response of length , write for the history before token . The two ratios in Equation (2) are
Here is the behavior policy that generated response . The KL correction uses the learner-to-reference log ratio ; the score loss uses the learner-to-behavior weight . Thus measures policy movement from the frozen reference, while corrects the sampled token's action distribution for the behavior policy that generated it. They coincide when ; using alone in the loss would otherwise omit the reference-to-behavior correction in Equation (4). Define the practical clipped correction by
Here is the window size for the future KL correction: at token , the window covers the current token and up to subsequent tokens. The full-tail choice to the end of the response; equivalently, the sum ends at without window truncation. Setting disables cost clipping. There is no window-length normalization, and for finite bounds. A tail-decay variant retains unit weight for the first positions and weights the remaining clipped costs with a linear decrease to zero at the response end.
For each optimizer minibatch, minimize the following loss, averaged over its nonpadding action tokens:
The sum is over sampled action tokens in the minibatch, is the number of nonpadding action tokens, and sg stops all gradients through its argument. Coefficients are recomputed at every learner update. Adam minimizes this loss without ordinary PPO clipping.
Cost clipping limits the sampled KL credit, and stop-gradient holds the resulting coefficient fixed when differentiating the loss. Even when a log-ratio cost reaches its bound, the token's score gradient remains active. Thus saturation of a cost does not suppress that token's entire update. Appendix A specifies the group-normalized reward advantage and relates this loss to the ascent surrogate.
Algorithm 1 Proximal KL with token-wise importance weighting
Require: Initial learner ; rounds ; optimizer updates per round ; group size ; KL coefficient ; window ; cost bound ; Adam settings.
Ensure: Final policy .
1: Initialize the behavior policy with ; retain its probability for each sampled token.
2: for do
3: Freeze and set .
4: for do
5: Set current learner .
6: Select new or reused response groups with behavior probabilities and verifier rewards.
7: Compute reward advantages for these groups.
8: Select optimizer minibatch from these groups.
9: Recompute and by Equation (4).
10: Form per token.
11: Form by Equation (5).
12: Form loss by Equation (6) on .
13: Update with Adam.
14: Refresh the behavior policy according to its update schedule.
15: end for
16: Set .
17: end for
18: return .
Appendix F specifies the changes to Algorithm 1 used for its finite-sample analysis, including projection of each group-gradient step onto a parameter ball around the reference. This projection is used only in the theoretical variant.

Figure 1: Finite future-KL window. The policy conditions on the full prefix, while KL credit includes the current token and up to subsequent tokens.
Trade-off between bias and variance in Proximal KL future tail. In the on-policy population setting, full, unmodified future KL credit supplies the complete regularization gradient. Estimating the full tail, however, can produce substantial sampling fluctuations. Clipping the costs limits extreme contributions, while shortening the window limits their accumulation. Both choices can introduce approximation bias in exchange for controlling these fluctuations, serving a stabilizing role analogous to gradient clipping in SGD. Figure 1 shows how an intermediate window retains nearby future costs while limiting the number of terms in the correction. Token-wise off-policy weighting introduces a separate approximation, as discussed in Section 3. Section 6.4 evaluates these choices empirically.
Proximal KL uses the following ascent surrogate; training minimizes its negative:
Here m indexes the sampled response and i indexes its tokens; the policy ratios and are evaluated at token i of response m. The expectation includes prompts and sampled responses. We suppress the response index on token quantities in these comparison formulas.
When accumulated log-ratio costs are positive, they reduce the coefficient multiplying the policy score. This provides feedback on movement from the reference without a clipping gate that depends on the advantage sign. With raw verifier rewards and a history-only baseline, a full future window with no cost clipping supplies the regularization gradient on-policy and preserves the proximal stationary target under the population assumptions in Section 5. Group normalization can change this field, so the guarantee does not automatically extend to updates using normalized advantages. Horizon truncation controls the extent of the practical KL feedback.
To put this feedback in context, we compare it with updates that control policy movement through clipping and with an unclipped policy-gradient update. These comparisons distinguish the effect of future KL credit from the choice of importance weighting.
GRPO. Our baseline is a variant of the GRPO loss (Shao et al., 2024). The original objective also includes a sampled KL penalty to a separate reference model, typically the initial SFT policy . This term penalizes departure from that reference in addition to PPO clipping. Following DAPO (Yu et al., 2025), the surrogate below omits this initial-reference penalty: its objective is verifier reward, without a constraint that the final policy remain close to initialization. By contrast, the KL term in Proximal KL penalizes movement from the periodically refreshed during each improvement round. It controls updates while allowing cumulative movement away from ; it therefore has a different role from an initial-reference penalty.
Our GRPO variant uses symmetric PPO clipping and decouples the proximal reference from the behavior policy (Hilton et al., 2022; Fu et al., 2025), with the loss averaged over action tokens. Its ascent surrogate is:
Here is the PPO clipping width. The surrogate omits the future KL gradient, while token-wise importance weighting leaves prefixes and suffixes under the behavior distribution.
PPO clipping treats advantage noise differently according to the proximal ratio and advantage sign (Schulman et al., 2017b; Hilton et al., 2022). Above the upper ratio bound, it removes positive score-function contributions and can change the expected update. For the symmetric noise example in Figure 2, this reduces conditional coefficient variance but shifts the mean. In the ideal unclipped, token-weighted update, a detached history-only baseline cancels as long as the additive KL correction is unchanged (Appendix C.3).
CISPO. This update (MiniMax et al., 2025) clips the detached current-to-behavior importance weight without future KL correction. With lower and upper bounds and , its ascent surrogate is:
(a) Individual updates
Unclipped update

(b) Expected update

Figure 2: At fixed , the unperturbed advantage is zero and with equal probability. (a) PPO clipping removes positive update shifts. (b) The mean shift is with clipping and zero without it; clipping also reduces conditional coefficient variance. The common importance-weighted policy score is factored out.
Both bounds apply to the detached weight while retaining the score-function contribution.
PG. PG uses reward advantages with current-to-behavior importance weighting and no future KL regularization. Its surrogate is equivalent to the GRPO surrogate without PPO clipping:
Removing PPO clipping eliminates the bias introduced by its gate, but the reward-gradient estimator still omits the regularization term in (Appendix A). Under learner-policy sampling, future KL credit supplies that term when using raw rewards and a history-only baseline. Token-wise importance weighting introduces a separate off-policy approximation, and large weights can amplify stochastic gradient contributions. Adding future KL credit to this update gives the Proximal KL surrogate in Equation (7).
Alternative importance weights. We compare the token-wise ratio in Equation (7) with two alternatives that retain each token's corrected advantage. Section 6.4 evaluates how these choices affect training stability and held-out accuracy.
Sequence-level IS. This control replaces the token-wise ratio by its geometric mean over the response. Following the ascent-surrogate convention above, its update is
The power forms the geometric mean over response 's action tokens, following GSPO-token (Zheng et al., 2025).
IS-free. This control removes importance weighting, giving
As above, response indices on token quantities and the common sampled-action-token normalization are suppressed; training minimizes the negative surrogate. The detached coefficient multiplies each token's log probability, so each token retains its own future KL credit in both controls. Neither uses PPO clipping or a separate proximal-to-behavior factor. Appendix A discusses the corresponding token-averaged updates.
5 Theoretical Guarantees
Full future KL credit gives token-wise importance weighting a common proximal target, even when the responses come from stale policies. We first state this mechanism for population updates. We then summarize a finite-sample reward guarantee for a projected group-gradient variant; Appendix F gives its full specification and proof.
The key observation is that, at the proximal target, the reward minus the full future KL cost depends only on the current history. The sampled continuation no longer changes this coefficient. Current-token importance weighting then makes its expected score contribution zero, even when later tokens were generated by an older policy. The first result shows that, under the stated conditions, this cancellation also identifies the target uniquely.
Theorem 1 (Token-wise importance weighting preserves the proximal target). Fix and assume the finite-support, behavior-coverage, policy-expressiveness, and population-update conditions (A1) through (A4) in Appendix E.2. Let be the expected token-wise off-policy policy-gradient field in Equation (3). For any stale behavior policy, or mixture of behavior-policy versions with their logged probabilities,
Thus the token-wise update has the same unique stationary policy as the proximal objective, although its expected update can differ from at other policies.
Here local expressiveness means that parameter changes span every independent token log-odds direction. The proof and precise assumptions are in Appendix E. Local expressiveness lets us translate a zero parameter update into a condition at each history, while behavior coverage ensures that every relevant history contributes to that condition.
Different behavior policies can therefore change the update direction without changing its stationary policy. Convergence additionally requires progress toward that target. For independent tabular logits and history visit probabilities uniformly bounded away from zero, global trajectories of the continuous-time population update converge under time-varying behavior policies (Theorem E.2). This establishes convergence toward a fixed reference's target when the expected update is available exactly. To account for sampled responses and repeated reference refreshes, we next study a linear logistic model with bounded fixed features. A frozen-feature linear output head is one example; applying a linearized model to a nonlinear Transformer additionally requires control of approximation errors. In this setting, the finite-sample result below shows how repeatedly fitting and refreshing the reference can improve the final policy's reward.
Analyzed variant. Each round holds the reference fixed and uses fresh groups of responses to fit its proximal target. The update combines token-wise importance weights with full future KL credit, centers the reward-minus-KL residual within each group, and projects each step onto a parameter ball. A randomly selected iterate becomes the next reference. Appendix F specifies this analyzed variant. Table 3 summarizes how the population update underlying Theorem 1 is adapted in Algorithm 1.
Theorem 2 (Finite-sample reward guarantee, informal). Consider the analyzed variant in a linear logistic model with bounded fixed features, deterministic binary rewards, and responses of at most T tokens. At every reference, assume its Gibbs target is exactly represented by a parameter within Euclidean distance of the reference parameter, where is uniform across rounds. Assume uniformly controlled token ratios and a sufficiently small aggregate token-wise behavior mismatch throughout training, with precise conditions specified in Theorem F.10 in Appendix F. Let be a comparator whose correct-response probability at each prompt is at most times that of the initial policy. For any , suitable algorithm parameters and training budgets ensure that the policy obtained after K reference refreshes satisfies
For a fixed group size, the number of scored training responses is polynomial in T, the representation bound B, , and . The expectation includes training randomness and output selection.
Remark 3 (Aggregate token-wise log-ratio second moment). At history , let and be the learner and behavior token distributions, and write . Theorem F.10 controls the sum of learner-weighted second moments , taking a uniform bound on their sum along each response path and over training updates. It denotes this aggregate by . For example, if uniformly, for a fixed constant sufficiently small to meet the theorem's conditions, then independently of response length. In contrast, the sequence ratio can grow exponentially in : multiplying the tokenwise bounds gives . Higher moments of history likelihood ratios sharpen the dependence on accuracy. The argument applies to any real moment order at least two. For each fixed , under the theorem's -dependent token-ratio condition, the accuracy dependence is plus , apart from the problem and round-count factors displayed there, where . Smaller can require tighter token-ratio control and increase . On policy, and the direct history-transfer bound yields dependence, apart from the logarithmic round-count factors.
The guarantee shows that repeated proximal updates can turn initial correct-solution coverage into a policy whose single-response success probability approaches the comparator's. Each round approximately fits the current reference's proximal target; refreshing the reference then allows further reward improvement. Appendix G gives examples of the representation bound; Remark F.11 gives the uniform-coverage case.
Single-response reward compared with best-of-N. The comparator can also describe a procedure that samples several responses at inference time. This gives a concrete interpretation of the single-response guarantee. Let . Drawing N responses from the initial policy and selecting a correct one whenever available gives oracle success probability . Thus the guarantee applies with : one response from the trained policy approaches the reward of oracle best-of-N selection at initialization, under the theorem's conditions. The training budget and the oracle's inference budget are accounted for separately. These results explain the roles of the two policies in the practical algorithm. For implementation, the reference determines the improvement target, while the logged behavior policy determines the importance correction. Full future KL credit preserves the target in the analyzed population update. Our experiments examine the stability and performance trade-offs introduced by bounded costs and finite windows.
6 Empirical Experiments
We evaluate Proximal KL in two off-policy training settings. Periodic rollout-policy refresh tests stability across model sizes. Training with controlled rollout staleness combines asynchronous generation with response reuse across multiple optimizer minibatches. These settings test stable optimization and held-out reasoning accuracy when the behavior policy differs from the policy being optimized.
6.1 Setup
All compared methods omit the KL penalty to the initial model. The reward-advantage normalization follows the training setting below and is shared across methods within each setting.
Working Default. We recommend , and as a general starting configuration for Proximal KL. This choice is shared across all four model sizes in the periodic-refresh experiments. A shorter horizon provides a model-specific adjustment; for 4B, we suggest as a starting point with the same coefficient and cost bound. The ablations examine how horizon tuning can further improve accuracy. The actual configurations used for the reported results are listed in Appendices B.2 and C.2.
Training with Periodic Policy Refresh. At each training iteration, we collect a fresh batch of responses and use that batch once for a single optimizer update. The training-policy weights therefore change every iteration, whereas the rollout-policy weights are synchronized with the training policy only once every 64 optimizer updates and remain fixed between refreshes. Successive batches can thus be generated by the same older policy while training progresses. This provides a controlled simulation of delayed policy synchronization in asynchronous RL, where response generation uses earlier policy versions while optimization continues. We train Qwen3 models (Yang et al., 2025) on verifiable math tasks using Slime (Zhu et al., 2025), comparing PG, CISPO, GRPO, and Proximal KL across model sizes under this shared refresh schedule. Reward advantages subtract the mean reward within each prompt group, without standard-deviation normalization. Figure 3 reports training accuracy, defined in Appendix B.1; all configurations are in Appendix B.2.
Training with Controlled Rollout Staleness. Following AReaL (Fu et al., 2025), we combine asynchronous rollout generation with multiple optimizer minibatches per batch on filtered math prompts. We explicitly control the permitted rollout staleness and verify the realized policy-version gaps from training logs. Reward advantages standardize rewards within each prompt group, as defined in Equation (A.2). We compare GRPO and Proximal KL, adding PG for the stability test, and include a separate comparison with fresh rollouts and one optimizer minibatch. PPO clipping is disabled in that separate comparison because it is designed to discourage large policy changes when reusing rollout data, whereas this on-policy comparison has zero staleness and uses each batch for only one update. Held-out evaluation covers MATH500 (Lightman et al., 2024), OlympiadBench (He et al., 2024), MinervaMath (Lewkowycz et al., 2022), Gaokao2023MathEn, AIME24/25 (Mathematical Association of America, n.d.), and AMC23/24. MATH500, OlympiadBench, MinervaMath, and Gaokao2023MathEn use greedy pass@1. AIME24/25 and AMC23/24 use mean@16, the fraction of correct responses among 16 attempts per problem. The learning curves also report pass@16, the fraction of problems solved by at least one of those attempts. Appendix C.1 gives the reporting details; Appendix C.2 specifies the data, training configurations, and evaluation budgets.
6.2 Stability Test

Figure 3: Periodic-refresh training with FP8 rollouts and BF16 optimization at , with a rollout refresh interval of 64 optimizer updates. Panels (a) through (d): 1.7B, 4B, 8B, and 32B. All panels use BF16 KV. EMA . Configurations: Appendix B.2.
Proximal KL sustains training gains when PG and CISPO collapse. Figure 3 distinguishes early reward gains from stable optimization. At 1.7B, CISPO initially improves alongside the other methods before its training accuracy falls sharply. At 8B and 32B, both PG and CISPO undergo large accuracy declines, despite substantial accuracy earlier in training. Proximal KL retains its gains across all four displayed model sizes using the same working default. All four methods apply importance weights, so importance correction alone does not ensure stable optimization. The comparison instead supports combining token-wise weighting with proximal KL feedback as model scale increases.

Low off-policyness
High off-policyness
Figure 4: Stability across six settings. Top: AIME24 pass@16; bottom: policy entropy on logarithmic axes. The first four columns match Figure 5; the last two use 1.7B, , at staleness levels 4 and 16. EMA . Bottom groups distinguish the smaller-model/lower-rate settings from larger-model or higher-rate settings; each column specifies its rollout staleness. Display limits and configurations: Appendix C.2.
Training with controlled staleness reveals a similar limitation of PG: its competitive performance at 1.7B and the lower learning rate does not carry over reliably to larger models or larger learning rates. The 4B run with staleness 16 suffers a sharp AIME24 pass@16 decline with large entropy excursions (Figure 4(d,j)); the higher-learning-rate runs show limited sustained gains and a later decline at staleness 16 (panels e,f). In contrast, GRPO and Proximal KL avoid comparable collapses over their displayed trajectories in both settings. We also ablate GRPO's clipping width: increasing from 0.2 to 0.4 produces larger gradient excursions and a temporary decline in training accuracy (Appendix C.5).
Proximal KL improves training accuracy with fewer updates than GRPO. GRPO avoids the collapses of PG and CISPO, but its training accuracy rises more slowly than that of Proximal KL in Figure 3. The difference is visible across model sizes: Proximal KL moves ahead during training at 1.7B, 4B, and 8B, and reaches the high-accuracy region earlier at 32B. For example, the 8B EMA-smoothed training accuracy first reaches 50% after about 200 updates with Proximal KL, compared with about 640 for GRPO. Thus, proximal KL feedback improves update efficiency as well as stability compared with GRPO; removing ordinary PPO clipping need not sacrifice controlled progress. The higher mean training accuracy over the common final 100-update window at 1.7B, 4B, and 8B also shows that the advantage persists beyond the initial rise.
Under controlled rollout staleness, Proximal KL also achieves higher late AIME24 pass@16 in the four settings spanning both model sizes and staleness levels (Figure 4, panels (a) through (d)). At the larger learning rate , the checkpoint evaluations in Table 1 also favor Proximal KL in Average and on MATH500, OlympiadBench, MinervaMath, and Gaokao greedy pass@1 at both staleness levels. These results show higher training accuracy under periodic policy refresh and improved held-out accuracy in the comparisons with controlled staleness. Given the stability limitations of PG and CISPO and our computational budget, we concentrate the benchmark comparison in Section 6.3 on GRPO and Proximal KL.
6.3 Held-out Set Evaluation
Proximal KL improves overall reasoning accuracy in every matched off-policy comparison. Table 1 reports higher Average for Proximal KL than GRPO in all seven off-policy method pairs. Average pools correct responses across eight benchmarks, measuring response accuracy over the complete evaluation suite. The gain holds across both model sizes, both tested learning rates, and all tested rollout staleness levels, reaching an absolute improvement of 2.58%. Thus, the stable training gains translate into improved held-out accuracy across the tested off-policy settings.
The accuracy advantage also holds when response reuse is the source of off-policy updates: with fresh rollouts reused across four minibatches, Proximal KL achieves higher Average. In the separate on-policy comparison, which uses fresh rollouts and one optimizer minibatch, the two methods attain comparable aggregate accuracy. This control assesses the practical methods under fresh sampling; it is distinct from the idealized proximal improvement results in Section 3. We therefore characterize the empirical result as comparable on-policy performance, with consistently higher aggregate accuracy in the tested off-policy comparisons.
The AIME24 learning curves show that the gain extends to both response accuracy and prompt coverage. Proximal KL reaches higher later mean@16 and pass@16 across the four settings in Figure 5. These trajectories complement the raw checkpoint evaluations: the advantage is visible during training as well as in held-out checkpoint comparisons.
Proximal KL retains its advantage in the higher-staleness configuration. Using the checkpoint scores already reported in Table 1, we examine how Qwen3-4B accuracy changes between
Table 1: Raw checkpoint accuracy (%). 1.7B: mean ± sample SD over three seeds. Average pools 4,149 responses per seed across eight benchmarks and reports the mean across seeds; Bold: higher mean in each column within a matched comparison; both bold if the unrounded gap is below 0.50%. Protocols are in Appendix C.1.
| Setting | Stale-ness | LR | Method | MATH500 pass@1 | Olympiad pass@1 | Minerva pass@1 | Gaokao pass@1 | AIME24 mean@16 | AIME25 mean@16 | AMC23 mean@16 | AMC24 mean@16 | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 34.50 | |||||||||
| On-policy 0 | 5e-6 | Proximal KL | 34.09 | |||||||||
| Off-policy 0 | 5e-6 | GRPO | 31.99 | |||||||||
| Off-policy 0 | 5e-6 | Proximal KL | 33.13 | |||||||||
| Off-policy 4 | 5e-6 | GRPO | 32.14 | |||||||||
| Off-policy 4 | 5e-6 | Proximal KL | 33.00 | |||||||||
| Off-policy 16 | 5e-6 | GRPO | 32.41 | |||||||||
| Off-policy 16 | 5e-6 | Proximal KL | 33.18 | |||||||||
| Off-policy 4 | 1e-5 | GRPO | 30.39 | |||||||||
| Off-policy 4 | 1e-5 | Proximal KL | 32.97 | |||||||||
| Off-policy 16 | 1e-5 | GRPO | 30.93 | |||||||||
| Off-policy 16 | 1e-5 | Proximal KL | 30.98 | |||||||||
| Model: Qwen3-4B | ||||||||||||
| - | - | - | Base | 63.75 | 35.61 | 25.74 | 56.92 | 8.59 | 8.33 | 41.25 | 30.42 | 34.01 |
| Off-policy 4 | 5e-6 | GRPO | 81.20 | 43.92 | 39.71 | 71.54 | 15.83 | 10.21 | 79.22 | 33.47 | 47.17 | |
| Off-policy 4 | 5e-6 | Proximal KL | 82.40 | 44.66 | 40.44 | 71.28 | 18.33 | 10.63 | 74.84 | 39.31 | 48.13 | |
| Off-policy 16 | 5e-6 | GRPO | 79.60 | 43.32 | 39.34 | 69.45 | 15.42 | 11.04 | 70.63 | 37.78 | 46.13 | |
| Off-policy 16 | 5e-6 | Proximal KL | 81.00 | 45.99 | 40.44 | 72.32 | 21.04 | 10.21 | 70.31 | 42.22 | 48.35 | |
Table 2: Qwen3-4B accuracy changes (%) from staleness 4 to 16 at . Differences use unrounded Table 1 scores. : increase/decrease; : unchanged. Bold: larger signed change.
| Staleness | Method | MATH500 pass@1 | Olympiad pass@1 | Minerva pass@1 | Gaokao pass@1 | AIME24 mean@16 | AIME25 mean@16 | AMC23 mean@16 | AMC24 mean@16 | Average |
|---|---|---|---|---|---|---|---|---|---|---|
| 4 → 16 | GRPO | ↓ 1.60 | ↓ 0.59 | ↓ 0.37 | ↓ 2.09 | ↓ 0.42 | ↑ 0.83 | ↓ 8.59 | ↑ 4.31 | ↓ 1.04 |
| 4 → 16 | Proximal KL | ↓ 1.40 | ↑ 1.34 | → 0.00 | ↑ 1.04 | ↑ 2.71 | ↓ 0.42 | ↓ 4.53 | ↑ 2.92 | ↑ 0.22 |
rollout staleness levels 4 and 16. Both settings use learning rate and four optimizer minibatches per batch. Table 2 reports each method's score at staleness 16 minus its score at staleness 4; a larger change means better retention of accuracy. We compare the reported training configurations, which are specified in Appendix C.2.
Average rises for Proximal KL and falls for GRPO as rollout staleness increases. The benchmark-level changes support this distinction: Proximal KL improves OlympiadBench and Gaokao greedy pass@1 and AIME24 mean@16, while GRPO declines on these metrics. Across the eight benchmarks, Proximal KL has the more favorable change on six. These comparisons show that Proximal KL retains its accuracy advantage over GRPO in the tested higher-staleness configuration.
6.4 Ablations
To understand why the working default is effective and how tuning can improve it, we examine the update choices that sustain its gains. We first test the need for current-token importance correction and the sensitivity introduced by PPO clipping. We then examine the bound on individual future costs and the correction horizon. These ablations support bounded future KL feedback as a general

Figure 5: AIME24 at . Top: mean@16; bottom: pass@16. Columns: 1.7B staleness 4, 1.7B staleness 16, 4B staleness 4, and 4B staleness 16. Configurations are given in Appendix C.2. EMA ; shared Base within each model at step 0.
choice. A finite horizon can further improve accuracy, and separate fixed-policy measurements show that truncation reduces correction variance.
Token-wise IS
Sequence-level IS
IS-free
(a) Training

(b) MATH500

(c) AIME24

Figure 6: Importance-weighting comparison: 1.7B, , staleness 16, full tail, . Token-specific future KL credit is retained in all three updates. EMA ; shared evaluation step 0.
Token-wise correction achieves higher held-out accuracy than sequence-level IS and IS-free updates. Motivated by Theorem 1, we compare current-token weighting with sequence-level and unweighted alternatives while retaining future KL credit. Under the theorem's population assumptions, full future KL credit lets current-token weighting preserve the proximal stationary target without an exact response-level ratio product. Removing IS altogether leaves the expected score under the behavior policy, so the proximal optimizer need not remain stationary. Figure 6 tests token-wise weighting against Sequence-level IS and IS-free in Equations (11) and (12); all three retain token-specific future KL credit. The sequence-level control uses the geometric mean of token ratios.
Token-wise IS sustains training pass@16 and achieves stronger MATH500 greedy pass@1 and AIME24 mean@16 than both controls in the displayed evaluations. Both controls undergo substantial declines in held-out accuracy, despite retaining the same future KL credit. Thus, reducing correction to the current token is compatible with strong practical performance, whereas discarding correction loses that benefit. These results are consistent with the theoretical motivation for token-wise correction and support its practical use alongside future KL credit.
GRPO, clean GRPO, perturbed Proximal KL, clean Proximal KL, perturbed
(a) MATH500

(b) AIME24 mean@16

(c) AIME24 pass@16

Figure 7: Baseline perturbation at 1.7B, , staleness 4. Solid/dashed: unperturbed (clean)/perturbed. Shading shows the score difference between the two curves. EMA .
Proximal KL is less sensitive to the tested baseline perturbation than PPO clipping. To understand why Proximal KL achieves higher accuracy than the PPO-clipped baseline, we investigate whether the two updates respond differently to errors in the estimated reward baseline. The intervention shifts the common baseline within prompt groups with nonconstant rewards, preserving verifier rewards and within-group advantage differences (Appendix C.3). We compare each method's perturbed trajectory with its own unperturbed trajectory, using the configurations in Appendix C.3. The separation between each pair of curves measures the change under this intervention.
Proximal KL better preserves performance than GRPO on MATH500 greedy pass@1 and AIME24 mean@16 and pass@16 (Figure 7). Comparing each method with its own clean reference distinguishes sensitivity to the perturbation from the difference between their original scores. The smaller changes for Proximal KL support using additive future KL feedback in place of an advantage-dependent clipping gate. This experiment connects the clipping mechanism discussed in Section 4 to changes in held-out accuracy during practical training.
Proximal KL benefits from bounded future KL costs. Having replaced PPO clipping with future KL feedback, we ask whether the correction can be used without bounding its individual token costs. Figure 8 varies while retaining the full future horizon and the same KL coefficient. The unbounded setting retains regularization and removes only the bound on each future cost. We compare AIME24 mean@16 and pass@16 alongside gradient norms measured before optimizer clipping, so accuracy and large gradient excursions can be assessed together.
The default bound achieves good AIME24 mean@16 and pass@16, with smaller pre-clipping gradient-norm excursions than the loosest and unbounded settings. A moderately larger bound also retains good accuracy, showing that effective regularization does not require a single precise clipping threshold. These observations support bounding individual future costs before they accumulate in the correction. Removing PPO clipping therefore remains compatible with controlling correction magnitude through the future-cost bound.
(ref.)
(a) Gradient norm

(b) AIME24

(c) AIME24

Figure 8: Future-cost clipping: 1.7B, , staleness 4, full tail, ; EMA 0.20, shared evaluation step 0. Gradient norms precede optimizer clipping.
(a) AIME24 mean@16

(b) AIME24 pass@16
(c) Correction variance
Figure 9: Future KL horizon ablation. (a,b) 1.7B, , staleness 4; EMA 0.20. and match . (c) Fixed-policy correction variance.
A finite horizon can outperform the full-tail working default. Starting from the full-tail working default, we ask whether truncating future credit can further improve accuracy. Figure 9 compares the full tail with intermediate windows and a one-token correction. The comparison includes both a fixed KL coefficient and a matched product , allowing us to examine whether increasing the local coefficient can compensate for removing future terms.
Both intermediate-window settings outperform the full tail in AIME24 mean@16 and pass@16 near the end of their shared observation range, including with the default KL coefficient held fixed. With matched, the one-token correction improves mean@16 more slowly than the intermediate window. Thus, shortening the tail can improve on the working default, while increasing the local coefficient does not replace future-token credit. This is the practical trade-off suggested by the theory: truncation omits part of the ideal future credit, but can reduce fluctuations in the correction. The fixed-policy diagnostic below measures this second effect independently of training.
Truncating the future sum reduces correction variance at fixed policies. To test the variance argument for horizon truncation in Section 4, we measure how extending the future sum changes correction variability at fixed policies. For each retained response, we accumulate the scalar correction at its first token, compute its sample variance across responses to the same prompt, and average these variances across prompts. Policies, responses, the correction coefficient, and the cost bound are held fixed across horizons. Appendix C.3 specifies the calculation; this paired comparison isolates the effect of extending the sum on the same data.
Figure 9(c) shows that, with policies and responses held fixed, the average variance of the accumulated correction increases over the tested horizons. Truncating the tail therefore reduces correction variability in this diagnostic. Longer sums fluctuate more across responses to the same prompt, on average, even without any change in the policies. This supports horizon truncation as a way to control fluctuations in future KL feedback. The measurement quantifies variation in the scalar correction; the training curves show how horizon choice affects held-out accuracy.
7 Conclusion
Proximal KL combines token-wise importance weighting with future KL credit for off-policy RLVR, where the behavior policy differs from the policy being optimized. Under the stated coverage and expressiveness conditions, we prove that the full-tail critic-free update has the exact proximal optimizer as its unique stationary policy and that tabular population flow converges to this target. Repeated reference refreshes allow further reward improvement: for linear logistic models, we give a finite-sample reward guarantee for a projected group update under the stated representation, sampling, and correct-solution coverage assumptions. The bound depends on an aggregate token-wise log-ratio second moment. The practical algorithm uses clipped costs and an optional finite window. The held-out evaluations in Section 6.3 show higher micro-averaged accuracy for Proximal KL than GRPO in all seven matched off-policy settings, while the separate on-policy comparison yields comparable aggregate accuracy. Periodic-refresh experiments complement these gains with stable training where PG and CISPO can collapse, and higher training accuracy than GRPO at comparable optimizer-update counts. The ablations favor retaining current-token correction and future credit together, while bounding individual costs and truncating the horizon control correction fluctuations. An adaptive choice of H could improve this balance by retaining useful future credit without accumulating unnecessary variability.
Acknowledgments
We thank Xuanchang Zhang for discussions on parts of the theoretical analysis and Chenlu Ye for discussions on the periodic policy-refresh experiments.
This work was supported in part by NSF grants 2416897, 2505932, and 2601666 and ONR grant N000142512318. Computing resources were provided by the National Center for Supercomputing Applications (NCSA) through Delta (NSF OAC-2005572) and DeltaAI (NSF OAC-2320345), as well as Illinois Computes and the NAIRR Pilot (NAIRR250157).
Generative AI tools were used under the authors' direction for assistance with literature searches, coding, conducting and analyzing experiments, deriving theoretical results and proofs, and polishing the manuscript.
References
Alekh Agarwal, Sham M. Kakade, Jason D. Lee, and Gaurav Mahajan. On the theory of policy gradient methods: Optimality, approximation, and distribution shift. Journal of Machine Learning Research, 22(98):1–76, 2021.
Hao Bai, Rui Yang, Chenlu Ye, Spencer Whitehead, Aviral Kumar, and Tong Zhang. AsyncWebRL: Efficient asynchronous reinforcement learning for multi-step visual web agents. arXiv preprint arXiv:2606.05597, 2026.
Jalaj Bhandari and Daniel Russo. Global optimality guarantees for policy gradient methods. Operations Research, 72(5):1906–1927, 2024. doi: 10.1287/opre.2021.0014.
Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Vlad Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, Shane Legg, and Koray Kavukcuoglu. IMPALA: Scalable distributed deep-RL with importance weighted actor-learner architectures. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 1407–1416, 2018.
Wei Fu, Jiaxuan Gao, Xujie Shen, Chen Zhu, Zhiyu Mei, Chuyi He, Shusheng Xu, Guo Wei, Jun Mei, Jiashu Wang, Tongkai Yang, Binhang Yuan, and Yi Wu. AReaL: A large-scale asynchronous reinforcement learning system for language reasoning. In Advances in Neural Information Processing Systems, volume 38, pages 40748–40774, 2025. doi: 10.52202/085713-1218.
Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. A theory of regularized markov decision processes. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 2160–2169, 2019.
Tuomas Haarnoja, Haoran Tang, Pieter Abbeel, and Sergey Levine. Reinforcement learning with deep energy-based policies. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 1352–1361, 2017.
Chaoqun He, Renjie Luo, Yuzhuo Bai, Shengding Hu, Zhen Leng Thai, Junhao Shen, Jinyi Hu, Xu Han, Yujie Huang, Yuxiang Zhang, Jie Liu, Lei Qi, Zhiyuan Liu, and Maosong Sun. Olympiad-Bench: A challenging benchmark for promoting AGI with olympiad-level bilingual multimodal scientific problems. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3828–3850. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.acl-long.211.
Jacob Hilton, Karl Cobbe, and John Schulman. Batch size-invariance for policy optimization. In Advances in Neural Information Processing Systems, volume 35, pages 17086–17098, 2022.
Chi Jin, Zhuoran Yang, Zhaoran Wang, and Michael I. Jordan. Provably efficient reinforcement learning with linear function approximation. In Proceedings of Thirty Third Conference on Learning Theory, volume 125 of Proceedings of Machine Learning Research, pages 2137–2143. PMLR, 2020.
Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, Yuhuai Wu, Behnam Neyshabur, Guy Gur-Ari, and Vedant Misra. Solving quantitative reasoning problems with language models. In Advances in Neural Information Processing Systems, volume 35, pages 3843–3857, 2022. doi: 10.52202/068431-0278.
Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let's verify step by step. In The Twelfth International Conference on Learning Representations, pages 16954–16977, 2024.
Mathematical Association of America. MAA invitational competitions. https://maa.org/maa-invitational-competitions/, n.d. American Invitational Mathematics Examination (AIME) overview. Accessed September 25, 2026.
MiniMax, Aili Chen, Aonian Li, Bangwei Gong, et al. MiniMax-M1: Scaling test-time compute efficiently with lightning attention. arXiv preprint arXiv:2506.13585, 2025.
Rémi Munos, Tom Stepleton, Anna Harutyunyan, and Marc G. Bellemare. Safe and efficient off-policy reinforcement learning. In Advances in Neural Information Processing Systems, volume 29, 2016.
Ofir Nachum, Mohammad Norouzi, Kelvin Xu, and Dale Schuurmans. Bridging the gap between value and policy based reinforcement learning. In Advances in Neural Information Processing Systems, volume 30, 2017.
Ofir Nachum, Mohammad Norouzi, Kelvin Xu, and Dale Schuurmans. Trust-PCL: An off-policy trust region method for continuous control. In International Conference on Learning Representations, 2018.
RadixArk. Miles v0.1: Production-level post-training. arXiv preprint arXiv:2609.08368, 2026.
John Schulman, Sergey Levine, Philipp Moritz, Michael Jordan, and Pieter Abbeel. Trust region policy optimization. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1889–1897, 2015.
John Schulman, Xi Chen, and Pieter Abbeel. Equivalence between policy gradients and soft q-learning. arXiv preprint arXiv:1704.06440, 2017a.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017b.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
Manan Tomar, Lior Shani, Yonathan Efroni, and Mohammad Ghavamzadeh. Mirror descent policy optimization. In International Conference on Learning Representations, 2022.
Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8:229–256, 1992. doi: 10.1007/BF00992696.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
Jiarui Yao, Ruida Wang, Hao Bai, and Tong Zhang. Future-KL regularized GRPO: Process-level credit assignment from f-divergence regularization. arXiv preprint arXiv:2601.10201, 2026.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Juncai Liu, Lingjun Liu, Xin Liu, Haibin Lin, Zhiqi Lin, Bole Ma, Guangming Sheng, Yuxuan Tong, Chi Zhang, Mofan Zhang, Ru Zhang, Wang Zhang, Hang Zhu, Jinhua Zhu, Jiaze Chen, Jiangjie Chen, Chengyi Wang, Hongli Yu, Yuxuan Song, Xiangpeng Wei, Hao Zhou, Jingjing Liu, Wei-Ying Ma, Ya-Qin Zhang, Lin Yan, Yonghui Wu, and Mingxuan Wang. DAPO: An open-source LLM reinforcement learning system at scale. In Advances in Neural Information Processing Systems, volume 38, pages 125532–125554, 2025. doi: 10.52202/085713-3775.
Rui Yuan, Simon S. Du, Robert M. Gower, Alessandro Lazaric, and Lin Xiao. Linear convergence of natural policy gradient methods with log-linear policies. In International Conference on Learning Representations, 2023.
Tong Zhang. Mathematical Analysis of Machine Learning Algorithms. Cambridge University Press, 2023. doi: 10.1017/9781009093057.
Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu, Rui Men, An Yang, Jingren Zhou, and Junyang Lin. Group sequence policy optimization. arXiv preprint arXiv:2507.18071, 2025.
Yinmin Zhong, Zili Zhang, Xiaoniu Song, Hanpeng Hu, Chao Jin, Bingyang Wu, Nuo Chen, Yukun Chen, Yu Zhou, Changyi Wan, Hongyu Zhou, Yimin Jiang, Yibo Zhu, and Daxin Jiang. StreamRL: Scalable, heterogeneous, and elastic RL for LLMs with disaggregated stream generation. arXiv preprint arXiv:2504.15930, 2025.
Zilin Zhu, Chengxing Xie, Xin Lv, and slime Contributors. slime: An LLM post-training framework for RL scaling. https://github.com/THUDM/slime, 2025. GitHub repository.
A Practical Update Design
Proximal and behavior policies. The reference is frozen between its scheduled refreshes, as specified in Appendix C.2. The stored rollout probabilities identify the behavior policy that generated each response. In GRPO, the ratio measures movement from the proximal policy for PPO clipping. Proximal KL instead uses the current-to-behavior weight directly in Equation (7). Its proximal reference enters the future KL correction; the importance weight need not be split into two ratios.
Bias relative to the proximal objective. Fix , the reference policy, and the sampling law. With exact response importance correction, raw rewards, and a detached history-only baseline, a reward-gradient estimator satisfies
The difference is exactly the omitted KL gradient, which vanishes at the reference policy. Full future KL credit supplies this term under exact sampling, and response-wide importance weighting preserves the equality off policy. Replacing response-wide weights with token-wise weights generally changes the gradient field. Group normalization and clipping the future log-ratio costs introduce additional approximations.
Group normalization and KL correction. For a group of G responses, define
For each token, subtract the KL correction from its reward advantage (Equation (5)). The correction includes the current token and stops at the response boundary, with no normalization by window length. The window determines which costs enter the sum, while sets their per-token strength.
Detached update coefficients. The loss in Equation (6) uses the group-normalized reward advantage and future KL correction defined above. Holding its coefficients fixed during differentiation gives the score-function ascent direction of Equation (7). The loss averages over sampled tokens; the population analysis averages token-score sums over responses.
The horizon controls how far sampled future credit extends, and the log-ratio bound limits each cost. Both choices can introduce approximation bias. Their effect on total update variance depends on the covariance between retained and omitted terms. Group normalization and token averaging can also change the expected update field and its stationary policy.
Scope of the implementation. The implementation uses shared Transformer parameters and Adam with the estimator choices listed in Table 3. Section 5 explains their relation to the stationary-policy guarantee, and Section 6.4 evaluates clipping and future-credit horizon. Appendix C.2 gives the settings.
Table 3: From the stationary-policy result to the implemented update.
| Ideal condition | Implemented choice | Effect on the sampled update |
|---|---|---|
| Full future KL tail | Horizon , including full | 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. |
Sequence-level IS and IS-free controls. Figure 6 compares the updates in Equations (11) and (12) with token-wise weighting. All three retain token-specific future KL credit and average the loss over nonpadding action tokens. Sequence-level IS uses the geometric mean of the current-to-behavior token ratios. Detaching this weight and multiplying each token's log probability by its corrected advantage gives the GSPO-token gradient (Zheng et al., 2025). The IS-free control sets the weight to one. The geometric mean differs from the full-response ratio product; both controls retain the cost bound and omit PPO clipping.
B Training with Periodic Policy Refresh
This appendix collects the training protocol, model and precision settings, and method-specific hyperparameters for the periodic-refresh experiments.
B.1 Training Protocol
Each iteration collects a fresh response batch and uses it for one optimizer update. Rollout weights are synchronized with the training policy every 64 optimizer updates and remain fixed between refreshes, so successive batches can come from the same older policy while the training policy changes. The key configurations are given in Appendix B.2. Correct boxed answers receive reward +1; incorrect or invalid answers receive -1. Training accuracy is the fraction of correct responses, computed as , where is the mean verifier reward before centering. For the comparison between Proximal KL and GRPO, we average raw training accuracy over the last 100 updates observed for both methods within each setting, restricting this summary to settings with at least 100 updates for each method.
B.2 Hyperparameters
We train Qwen3-1.7B-Base, 4B-Base, 8B-Base, and Qwen3-32B on DAPO-Math-17K (Yang et al., 2025; Yu et al., 2025) using Slime (Zhu et al., 2025). We use a post-trained checkpoint for 32B because a corresponding pre-trained checkpoint was unavailable to us. The smaller models use base checkpoints. Rollouts use FP8 W/A and BF16 KV, while optimization uses BF16. Table 4 summarizes the key choices for the training curves in Figure 3.
All methods use Adam, with gradient-norm clipping at 1. Advantages subtract the group mean without standard-deviation normalization, and losses average over response tokens. PG and Proxi-mal KL use current-token current-to-behavior importance weights; Section 4 defines all four update rules. The curves use EMA .
Table 4: Key hyperparameters for training with periodic policy refresh. Merged cells denote shared settings; refresh intervals count optimizer updates.
| Method | Setting Model size | Qwen3 | |||
|---|---|---|---|---|---|
| 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) | / | ||||
| Sampling temperature | 1.0 | ||||
| Displayed updates (maximum) | 1,500 | 1,000 | 400 | ||
| GRPO | PPO clip (proximal reference) | Yes () | |||
| Reference refresh interval | 32 | ||||
| Proximal KL | Future horizon | Full | |||
| Coefficient | 0.30 | ||||
| Future log-ratio bound | 0.05 | ||||
| Reference refresh interval | 16 | ||||
| PPO clip | No | ||||
| PG | PPO clip | No | |||
| CISPO | Importance-weight clipping | [0, 5] | |||
C Training with Controlled Rollout Staleness
This appendix collects the training and evaluation protocols, hyperparameters, and ablation diagnostics for the experiments with controlled staleness. Appendix A describes the practical updates, and Appendix E gives the theoretical target guarantee.
C.1 Training and Evaluation Protocols
Rollout generation overlaps with policy optimization, and collected batches are reused across successive optimizer minibatches. We control rollout staleness and verify the realized policy-version gaps from training logs. The model, data, optimization, reference-policy, and evaluation settings are given in Appendix C.2.
Figure 5 reports EMA-smoothed online evaluation curves, whereas Table 1 reports separate raw checkpoint evaluations. Checkpoint scores use neither smoothing nor performance-based checkpoint selection. The stability test reports held-out accuracy together with policy entropy; the gradient diagnostics measure norms before optimizer clipping. Appendix C.2 gives the shared settings and evaluation budgets.
Evaluation metrics. Mean@16 measures correctness per response, while pass@16 measures the fraction of prompts solved at least once. For independent attempts with per-prompt success prob-ability p, expected pass@16 is . Because this transformation is nonlinear, the two metrics describe different aspects of performance. The figures show both; Tables 1 and 2 report response accuracy only. MATH500, OlympiadBench, MinervaMath, and Gaokao2023MathEn use greedy pass@1 on 500, 674, 272, and 383 problems. AIME24, AIME25, AMC23, and AMC24 use mean@16 on 30, 30, 40, and 45 problems, respectively, with 16 responses per problem. Base rows report evaluations of the corresponding base models. Average in Table 1 is micro accuracy: the total number of correct generated responses across the eight benchmarks divided by 4,149 (500, 674, 272, 383, 480, 480, 640, and 720 responses, respectively). Each generated response contributes once, without counting pass@16 as an additional observation.
For three-seed rows, we compute this average within each seed and report only its mean across seeds.
C.2 Hyperparameters
Hyperparameter Selection. We selected the final configurations for Proximal KL through a small number of manual adjustments under a limited tuning budget. Starting from a working configuration, we inspected early learning curves and adjusted hyperparameters when the improvement was insufficient. Each final configuration was obtained after a few such adjustments and retained for stable training. The horizon and clipping ablations separately examine how these choices affect optimization.
We train Qwen3-1.7B-Base and Qwen3-4B-Base on 9,453 prompts derived from FRPO's filtered DAPO-Math data (Yao et al., 2026; Yu et al., 2025), using AReaL (Fu et al., 2025). Table 5 gives the shared batch, sampling, and optimizer settings. Adam uses , , a constant learning rate, and no weight decay. Off-policy batches use four optimizer minibatches. Reward advantages use the group normalization in Equation (A.2). The off-policy GRPO control uses symmetric PPO clipping with width . At nonzero staleness, the proximal reference is recomputed before each global batch and frozen for its minibatches.
To improve training efficiency, all 4B experiments in this controlled-staleness setting use dynamic sampling (Yu et al., 2025). We discard prompt groups with identical verifier rewards and collect replacement groups to fill the training batch, using the same filtering rule for all compared methods.
Staleness and reference settings. The asynchronous comparisons control rollout staleness at 4 or 16. For the 1.7B GRPO comparison at staleness 4, the recorded mean staleness is approximately 4. The separate comparisons with zero staleness use either one or four optimizer minibatches. Their Proximal KL runs use the full tail, , no future-cost clipping, and a reference refreshed every 50 updates. The one-minibatch controls omit PPO clipping.
Evaluation. Table 1 reports three-seed means for 1.7B at 2,000 updates and 4B scores at approximately 1,500 updates. The performance and stability curves use EMA .
Table 5: Hyperparameters for training with controlled staleness. Columns specify controlled rollout staleness 4; the comparison at staleness 16 uses the corresponding setting. At 1.7B, the Proximal KL run with staleness 16 uses , . At 4B, staleness 4 uses a 32-token unit-weight prefix and a linearly decayed remainder; staleness 16 uses , with in both cases. PG shares GRPO's batch, sampling, optimizer, reward-normalization, and staleness settings. Merged cells denote shared values.
| Method | Setting | Off-policy | ||
|---|---|---|---|---|
| Qwen3-1.7B | Qwen3-4B | |||
| GRPO | Model | |||
| Learning rate | ||||
| PPO clip | Yes | |||
| Prompts per batch | 128 | |||
| Responses per prompt | 16 | |||
| Response limit (tokens) | 8,192 | |||
| Sampling temperature | 1.0 | |||
| Optimizer | Adam | |||
| Gradient-norm limit | 1.0 | |||
| Minibatches per batch | 4 | |||
| Reward normalization | Within each prompt group | |||
| Rollout staleness | 4 | |||
| Evaluation budget (updates) | 2,000 | |||
| PG | PPO clip | No | ||
| Coefficient | 0 | |||
| Minibatches per batch | 4 | |||
| Batch, sampling, and optimizer | As GRPO above | |||
| Proximal KL | Future horizon | Full | ||
| Coefficient | 0.30 | 0.25 | ||
| PPO clip | No | |||
| Future log-ratio bound | 0.05 | |||
| Reference refresh (global batches) | 1 | |||
| Prompts per batch | 128 | |||
| Responses per prompt | 16 | |||
| Response limit (tokens) | 8,192 | |||
| Sampling temperature | 1.0 | |||
| Optimizer | Adam | |||
| Gradient-norm limit | 1.0 | |||
| Minibatches per batch | 4 | |||
| Reward normalization | Within each prompt group | |||
| Rollout staleness | 4 | |||
| Evaluation budget (updates) | 2,000 | |||
C.3 Ablation Configurations
This section gives the perturbation construction and variance estimator used in Section 6.4.
Baseline Perturbation. An underestimated baseline makes every response in a group appear better, without changing their relative ranking. We test how GRPO and Proximal KL respond by adding one to each normalized advantage in groups with nonconstant rewards:
Verifier rewards, reward normalization, and within-group advantage differences remain unchanged. For Proximal KL, future KL credit is computed as usual and subtracted after the shift.
Why clipping matters. PPO clipping reacts to the advantage sign: above the upper ratio bound, positive advantages contribute no gradient, while negative ones still do. A common upward shift can therefore switch some contributions off. For detached advantages and a frozen positive behavior correction, the score coefficient is , where, away from the clipping boundaries,
Above the upper bound, symmetric noise has zero mean before clipping. Removing its positive half gives mean and reduces its variance from to (Figure 2). These coefficient moments factor out the common importance-weighted policy score.
Without clipping, a history-only baseline expresses no preference among the possible actions and cancels in expectation: their probabilities sum to one, whose gradient is zero. For a detached shift and positive sampling support,
An additive future KL correction unchanged by the shift preserves this expected cancellation; the clipping gate need not.
This contrast motivates the experiment. The group-shared shift depends on sampled rewards through , so sensitivity is measured directly: each method's perturbed run is compared with its unperturbed run to assess how well it preserves held-out accuracy (Section 6.4).
Correction Variance at Fixed Policies. We measure how the total correction varies across responses to the same prompt as H increases. We reuse the same tokenized responses and two frozen Qwen3-1.7B checkpoints, which supply current and reference probabilities. This diagnostic pair differs from the original within-minibatch pair. We use 16 prompts with 16 responses each, , and .
Each response to prompt gives one scalar: its first-token correction, summing costs through H or its final token ,
where is the current-to-reference token-probability ratio. The sum is not divided by H or response length.
We compute the sample variance of these numbers within each prompt, then average equally across prompts. This excludes differences between prompt means. With P prompts and M responses per prompt,
(C.5)
Larger means correction sums are more spread out within prompts, on average. The measured quantity is the scalar correction sum defined above.
Figure 9(c) plots the measured in units of , without smoothing.
C.4 Learning-Rate Selection

(a) Training reward

(b) Training coverage

(c) Policy entropy

(d) MATH500
(e) AIME24 mean@16

(f) AIME24 pass@16


Figure 10: Qwen3-1.7B GRPO learning-rate sweep, staleness 4. Dotted line: 1,000 updates; EMA .
The aggregate accuracy advantage of Proximal KL over GRPO holds at both learning rates: its micro-averaged accuracy is higher in every matched off-policy and comparison in Table 1. We choose for the main comparison because both methods achieve higher greedy pass@1 on all four greedy-evaluated benchmarks at staleness levels 4 and 16 (Table 1). The Qwen3-1.7B rows at in Table 1 are discussed in the stability test (Section 6.2). The 1.7B GRPO sweep provides further context (Figure 10): averaging the displayed EMA-smoothed observations at steps 650 to 999, gives the highest MATH500 greedy pass@1 and AIME24 pass@16, while AIME24 mean@16 favors .
C.5 GRPO Clipping Width
We ablate GRPO's PPO clipping width to assess the training stability of the baseline. Increasing from 0.2 to 0.4 expands the interval from [0.8, 1.2] to [0.6, 1.4], allowing larger changes in the policy ratio before clipping. Both configurations use four optimizer minibatches and the same reward normalization.
GRPO ( )
GRPO ( )
(a) Training accuracy

(b) Training coverage

(c) Gradient norm

Figure 11: GRPO clipping-width comparison: Qwen3-1.7B, , staleness setting 4. Accuracy uses EMA ; gradient norms are raw and shown on a logarithmic axis.
Wider clipping leads to less stable training in this comparison (Figure 11). With , larger gradient-norm excursions accompany a temporary decline in training mean@16 and pass@16. The narrower interval maintains a steadier increase in training mean@16 with smaller gradient excursions. These observations support retaining for the reported GRPO baseline.
D Proximal target and future KL gradient
For a fixed full-support reference and , the proximal objective has an explicit response-level maximizer. We recall it and its objective-gap identity for completeness.
Proposition D.1 (Exact proximal improvement). For and a full-support reference , the unrestricted proximal maximizer is
For binary rewards, let and . For every prompt with ,
The probability formula extends to and by continuity. For positive initial success probability, repeated exact updates with fixed make the success probability converge to one.
We write for the proximal objective evaluated at a policy, so . At the Gibbs target its value is . For any response policy , the corresponding objective-gap identity is
Proof of Proposition D.1. Substituting the Gibbs form into the KL divergence gives the objective-gap identity. Its right-hand side is nonnegative and vanishes only at , proving maximality. For binary rewards, conditioning the Gibbs form on success gives Equation (D.2). Each exact reference refresh adds to the success log-odds, so repeated exact updates send the success probability to one.
D.1 Illustration of proximal feedback with shared parameters
Proximal and trust-region methods are established tools for controlling policy changes (Schulman et al., 2015; Tomar et al., 2022). The following example illustrates how proximal feedback can limit interference between prompts that share parameters. It compares ordinary Euclidean reward-gradient flow with repeated exact proximal solves in the same policy class, providing context for the on-policy experiment.
Construction. Take two equally likely prompts, a single action , and reward . Let , where is the logistic function, and set
Initially . The shared head can solve both prompts: along , both success probabilities approach one as .
Proposition D.2 (Reward-gradient flow versus exact proximal updates). From this initialization, Euclidean gradient flow for converges in policy space to and never achieves . Repeated exact proximal updates with any fixed are representable by the same head and converge to .
Proof. Write and . Reward-gradient flow satisfies
In the region , , we have and , hence . Thus and . These strict inequalities hold on the boundary as well, so the flow points into the region, which contains the initialization. Invariance of this region implies and . If the increasing were bounded, and consequently would be bounded below by positive constants, a contradiction. Therefore and .
By Proposition D.1, an exact proximal update adds to each success logit. The parameter increment realizes both changes simultaneously and has norm . Thus this model satisfies the local target representation condition of Theorem F.10 at every reference when . Repeating these exact solves K times, with denoting the success probability on prompt , gives
Proximal feedback. For a fixed reference with logits , differentiation gives
Because is negative, improving one prompt can interfere with the other. The factor in braces vanishes when a prompt's logit increment reaches . At the exact proximal solution, both prompts have this increment, realized simultaneously by the parameter change . Repeated exact solves therefore improve both prompts, whereas the reward-gradient flow drives the second prompt's success probability to zero.
D.2 The Gradient of Proximal Improvement
FRPO identifies the regularization credit assigned to each generated token. Because an earlier token affects later prefixes, its policy-gradient coefficient includes the subsequent regularization costs. We apply this identity with a linear reward utility and a reference held fixed throughout one proximal round.
For , define , , and . These are the reference ratio, its log cost, and the token score, respectively. The following derivation gives the future-KL identity directly; it is also the linear-reward specialization of the Future-KL identity in FRPO (Yao et al., 2026, Theorem 4.1, Equations (4.2) through (4.5)). The trajectory score is . Differentiating the proximal objective in Equation (1) therefore gives
The last term has expectation zero because . For , the earlier cost is fixed given , so for the same reason. A history-only baseline also cancels against the conditional score. Removing these terms leaves the current and future costs:
We hold the sampled coefficient fixed when differentiating the loss. Its cost sum includes the current token and all later tokens, so omitting future costs generally changes the gradient. FRPO distinguishes assigning these regularization costs from correcting for stale sampling. We address the sampling correction in Appendix E.
E Asynchronous updates with token-wise importance weighting
Asynchronous learning reuses responses from older policies. We study a policy-gradient (PG) update that uses sampled rewards, full future KL credit, and one importance weight per sampled token, without fitting a value function. We first characterize its stationary policy, then prove convergence under stronger assumptions on the population dynamics.
E.1 Exact Response Correction
We first state the exact importance correction for a complete response, then study the stationary target of current-token weighting.
Proposition E.1 (Exact response-level importance correction). Fix the learner, reference, and behavior policies on the finite generation tree, with the same prompt distribution and positive token probabilities. Let , and use the full future KL advantage from Equation (3) with a history-only baseline. Then
(E.1)
Proof. The autoregressive factorization gives the response likelihood ratio. Changing measure from the behavior policy to the learner policy then recovers the full future KL gradient in Equation (D.5).
E.2 Token-Wise Importance Weighting and Its Stationary Target
The proof uses the soft-consistency mechanism of PCL and Trust-PCL (Nachum et al., 2017, 2018). Steps 1 and 2 show that the future-KL advantage cancels pathwise at the proximal target. Step 4 converts a zero expected score update into conditions at each action and uses backward induction to identify the unique stationary policy, even with stale continuations. The soft values are analytical quantities used only in the proof; the learner needs terminal rewards and full future credit. Here “synchronous” means at every update, a stronger condition than collecting synchronously and then reusing rollouts. In Step 4, abbreviates the conditional coefficient defined there.
Algorithm 1 specifies how responses are collected, behavior probabilities are logged, and the reference is refreshed in the practical update. The stationary-policy theorem analyzes the full, unmodified population field in Equation (3), with a detached history-only baseline. Its assumptions are separate from those of the finite-sample theorem for the linear logistic model.
Assumptions for Theorem 1
(A1) Finite supported model. The prompt distribution has finite support with positive probability on every included prompt. Each prompt has a finite token-generation tree and a fixed terminal reward. Let T be the maximum response length. After termination, pad to depth T with deterministic absorbing actions, whose scores and KL costs are zero. The reference is fixed during the round, and both and every learner policy under consideration assign positive probability to every allowed token.
(A2) Covered behavior sampling. Responses come from a fixed behavior policy or a mixture of behavior-policy versions. For each response, select one version before generation and hold it fixed throughout that response. Retain the actual version-specific token probabilities used to sample it. Every nonterminal history in the generation tree has positive behavior occupancy; all such histories are relevant because the reference has full support. Every contributing version assigns positive probability to each allowed next token at that history.
(A3) Representability and local expressiveness. The learner class contains . Collect all relevant independent next-token log odds into . Its Jacobian has full row rank at every parameter considered, so local parameter changes span every such log-odds direction. Independent tabular logits satisfy this condition.
(A4) Ideal population update. The field is the exact expectation of Equation (E.2) under the behavior sampling law, held fixed during differentiation; the conditional continuation expectations are exact population quantities. The field uses the full, unmodified future KL sum and an action-independent, history-only baseline held fixed during differentiation. No finite-horizon truncation, group normalization, or finite-batch approximation enters this field.
We index context depth by the next token position, so depth( ) = i.
The token-wise expected update is
Proof of Theorem 1. For a history , define the soft partition function, value, and action value as follows. The expectation in averages over the entire continuation from under the reference:
(E.3)
At a terminal history , .
Step 1: obtain the token-level proximal policy. The partition function at context h averages the partition functions of its children:
Conditioning the response-level Gibbs law (D.1) on context h therefore gives
Taking logs and using gives the regularized Q-function identity
Step 2: telescope along a sampled suffix. With , define the future-only target and rewrite the algorithm's advantage as
Apply (E.6) to every token after i:
(E.8)
All intermediate values cancel. Since , the remaining value is . Substitution into (E.7) proves the pathwise identities
They hold for every supported suffix, before taking any expectation.
Step 3: measure the error away from the solution. To measure the error for an arbitrary learner , subtract the telescoping identity for from the learner's future-KL return. This gives
The target error at token i is exactly the sum of the downstream log-policy errors, scaled by . This identity also controls the perturbation term in the convergence proof below.
Step 4: identify the zero of the expected update. Let include both prompt probability and behavior prefix occupancy. Write . To include mixed behavior-policy versions, let denote the version that generated a response and let be its conditional probability given the observed context, before sampling the next action. For , define
The coefficient averages over versions conditional on h, fixes the current action to a, and samples the remaining tokens from that version. Current-action importance weighting cancels the version's action probability. The resulting mixture weights are therefore , rather than weights conditional on both the history and action. A single behavior policy is the special case with one version. Taking the expectation of (E.2) with each response's logged version-specific probabilities gives
(E.12)
In synchronous training, this field equals . With stale responses, it remains the expected update in (E.2) but generally differs from the gradient of . The ratio corrects the current action's distribution, while the history and later tokens still follow the behavior policy. The sequence-wise correction in Equation (E.1) recovers the exact gradient.
For tabular logits at , define . Write . The softmax score gives the expected logit block . For positive , the quadratic form of the matrix is ; hence its kernel consists exactly of constant vectors. Positive behavior occupancy therefore makes the block zero exactly when is constant over actions. A softmax has a redundant common-shift direction; passing from its full logit vector to independent log-odds removes only that direction and leaves this zero condition unchanged.
At the last token, , so this condition is equivalent to (E.6); hence the last-token policy must be . If all later-token policies equal , Step 2 makes at the current history, and the same argument forces its policy to equal . Backward induction proves that the token-wise field vanishes at every history exactly at the proximal policy.
Conversely, at , Equation (E.9) gives on every response. Conditional on each history and behavior version , let . Then
Thus the Gibbs policy also makes the expected field zero.
For a shared-parameter model, collect the independent log odds into a vector and let be this same field in those coordinates. The chain rule gives . Full row rank of makes its transpose injective, so the parameter-space field is zero exactly when . This proves Theorem 1 under the stated local controllability assumption.
E.3 Population Convergence and Outer Improvement
We next connect the stationary target to improvement across reference refreshes. First, we prove convergence of the tabular population flow to the frozen-reference target. We then show that stopping each inner solve at a sufficiently small success-log-odds error still yields improvement after every refresh.
For the convergence result, we specialize Theorem 1 to independent softmax logits at every history, continuous-time population updates, and behavior occupancy uniformly bounded away from zero. These conditions yield a direct Lyapunov analysis of the update dynamics.
Fix and follow this ordinary population PG field. Let denote time, let be the behavior occupancy of history , and define, for ,
Theorem E.2 (Convergence of the asynchronous population flow). Assume (A1) through (A4) at every time , with independent softmax logits at every nonterminal history and a fixed reference . Allow the behavior policy or mixture of behavior-policy versions to vary with time. Require its mixture weights and conditional continuation probabilities to be measurable in time, and hold the sampling law fixed when forming each update. Consider a global absolutely continuous solution of the population logit flow from finite initial logits. Suppose for every nonterminal history and all . As a visit probability, . Fix a history with allowed actions. Let be its learner logit vector, so . Choose target logits with ; these logits are determined up to an additive common shift. Write , , and
The logarithm and division are componentwise. Write and . Then the ordinary expected PG logit flow at is
Consequently, for ,
(E.15)
The policies satisfy at every history, including under arbitrary time-varying supported behavior mixtures satisfying the occupancy bound.
Proof. For a prescribed measurable behavior law, interpret the flow as an absolutely continuous solution satisfying the differential equation almost everywhere in time (a Carathéodory solution). On the finite response trees, the vector field is measurable in time and locally Lipschitz in the logits, uniformly over behavior laws. Log-softmax terms grow at most linearly in the logits, and probabilities and scores are bounded. Thus the vector field has at most linear growth, which ensures global existence from finite initial logits. The derivative identities and inequalities below hold almost everywhere; their integrated forms follow from absolute continuity. For a behavior law chosen from past learner policies, the convergence assertion applies to any global absolutely continuous solution satisfying the assumptions, conditional on existence of such a solution.
Let be the one-hot vector for action . The softmax identity and (E.12) give the ordinary PG logit block
the action-independent baseline vanishes because . The proximal identity (E.6) implies
Subtracting this identity inside the PG block and again removing constants with proves (E.14). Finally, and the right-hand side of (E.14) sums to zero, so . Taking the inner product with proves (E.15).
Backward convergence of ordinary PG. At the last token position the future cost sum is empty, so for every learner policy. Thus . Equation (E.15) therefore makes nonincreasing. The centered log ratios remain bounded, so normalization and the positive support of keep every component of uniformly away from zero. Consequently, . For centered , the weighted-variance identity gives
Thus , and the last-token policies converge exponentially to . Proceed backward by induction. Define
Here is the range across allowed actions. Because both policies are normalized, their log probability ratio either vanishes for every action or takes both nonpositive and nonnegative values. Its absolute value is therefore bounded by its oscillation . If all depths after converge exponentially, the tail identity (E.10) gives, uniformly over histories at depth ,
for some . To handle without a separate case, fix . The flow equation and the negative semidefiniteness of its first term imply
The right-hand side is integrable. Integrating and then letting shows that remains bounded, so again remains uniformly in the interior. Applying Young's inequality to (E.15) then gives constants such that
The forcing term decays exponentially, so Gronwall's inequality yields exponentially. Backward induction proves convergence to at every history.
Corollary E.3 (Reference refresh with approximate inner solves). Assume a finite prompt set, binary reward, and a full-support initial reference with for every prompt, where . Fix and . At round , let maximize the proximal objective with reference , write , and refresh the reference to a full-support approximation satisfying, for every prompt,
Then, with and ,
Under the assumptions of Theorem E.2 in each round, its inner flow reaches the required tolerance in finite time.
Proof. By Proposition D.1,
Hence each approximate round increases every success log-odds by at least . Summing these increments and applying proves the bound and convergence. Theorem E.2 gives convergence to in each inner flow. The finite prompt set and continuity of success log-odds then give a finite stopping time satisfying Equation (E.16) for all prompts.
The stopping condition measures each inner solve by its success-log-odds error relative to the proximal target. Proposition D.1 gives the exact step's improvement, and any fixed tolerance below leaves a positive increment at every outer round. Appendix F gives a finite-sample reward guarantee using expected trajectory-KL gaps to measure inner accuracy.
F Finite-sample convergence with a linear logistic model
This appendix gives the precise version of Theorem 2. We first specify the model, sampling rules, and projected group update. Lemmas F.1 through F.6 establish inner accuracy, and Lemmas F.7 through F.9 propagate proximal errors across reference refreshes. Theorem F.10 then gives the complete reward guarantee and budgets.
Token ratios and their second-moment budget. Let bound the response length and be the history before token . At each training update, write for the learner token distribution, for the behavior distribution, and . Throughout this appendix, denotes a deterministic upper bound satisfying
Here ranges over supported responses and follows that same response path. The essential supremum includes training randomness. For a fixed pair of policies and prompt, it is only over response paths. Thus the bound controls the sum of predictable second moments along a path, rather than summing separate worst-case histories.
Linear logistic model and training rounds. For the finite-sample analysis, we use a linear logistic model on finite prompt and response trees, with deterministic binary rewards. Let bound response length and denote the entire prefix before token . Short responses can be padded with a deterministic absorbing action whose score and KL cost are zero. The response horizon is distinct from the practical credit window . Let denote the parameter dimension and let be a fixed feature vector describing candidate token at prefix , with . In the linear logistic model, the token logit is , and softmax converts these logits into probabilities:
The same vector controls all histories and positions. Features may depend on the full prefix, but remain fixed throughout training. One example is fine-tuning a Transformer's linear output layer while freezing its hidden representations. The analysis also applies to a first-order approximation of full-layer fine-tuning around a fixed parameter vector: the features are the logit gradients at that vector, and the logits may include a fixed baseline term. This gives a neural tangent kernel interpretation of the linearized policy. Applying the result to the nonlinear Transformer requires additional control of the approximation error.
Each round holds the reference fixed while updating the learner toward its Gibbs target. The behavior policy supplies the responses used for these inner updates.
Group update for the convergence analysis. The analyzed variant of Algorithm 1 uses full KL credit and projected gradient steps. Each inner update uses a fresh group of responses under the sampling rules below. This replaces batch collection and minibatch selection in lines 6 and 8. With the full future window, we also replace the normalized advantages and loss in lines 7, 11, and 12 by the full residual and centered group estimator below. Let be the representation bound in the target representation condition below, and set and . Use step size . Let be Euclidean projection onto the parameter ball , centered at the frozen reference. Projection leaves a proposed step unchanged inside the ball and rescales its displacement from to length otherwise:
(F.3)
Here indexes responses and indexes tokens, with . The reward of response is , and is the learner parameter after inner updates, starting from . At the current learner , the token weight and reference log ratio are
The denominator of is the logged probability under the single behavior policy selected for the entire group; this policy generates all G responses.
Sampling for the analyzed update. Before each inner update, select a supported behavior policy using only information available before drawing the group. Independently of the past, draw a fresh prompt . Conditional on this prompt and the selected behavior policy, draw independent responses and log their actual token probabilities. Group admission is independent of realized actions, rewards, and lengths; consumed responses are not reused.
The normalization by G - 1 corrects the finite-group scaling; using 1/G instead gives the same parameter update after multiplying the step size by . At line 13, replace Adam by the projected gradient step in Equation (F.3). Algorithm 1 as implemented does not perform this projection; the finite-sample theorem concerns the projected group variant specified here.
At line 16, select an independent uniform pre-update output , , where is the number of inner updates in round . The coefficients are detached as in Algorithm 1. Earlier costs in the full residual cancel against each weighted token score in expectation, giving the full-tail population field.
Target representation and bounded iterates. Assume some with exactly represents the Gibbs policy at every legal history. Choose as the exact representing parameter closest to . For fixed features on the finite trees, exact representation imposes linear constraints on token log odds, so the set of representers is a nonempty closed affine set with a fixed constraint matrix. The target log odds depend continuously on , so the closest representer is unique and depends continuously, and hence measurably, on . The assumed existence of a representer in the ball ensures that this choice also lies in the ball. Starting at , projection ensures that every inner iterate satisfies
Thus projection enforces the iterate bound, and bounded features turn it into the uniform token bound . The estimator retains the full, unmodified KL costs. For binary rewards, the Gibbs target also stays near the reference: .
With the choice in Theorem F.10, the radius in Equation (F.4) is . If exact Gibbs targets admit parameter representations whose displacement from the reference tends uniformly to zero as increases, a sufficiently large places them inside this ball. Appendix G gives tabular and shared-feature examples and the corresponding condition for fixed Transformer tangent features. Approximate representation introduces additional error terms (Remark F.13); application to a nonlinear Transformer also requires control of linearization and gradient errors.
Relation to representation assumptions in prior work. Compatible function approximation links log-linear policy updates to value-function approximation in natural policy-gradient analyses (Agarwal et al., 2021) and to inexact policy mirror descent (Yuan et al., 2023). Closure of the policy class under policy improvement is another related structural condition (Bhandari and Russo, 2024). Our assumption requires exact representation of each reference-relative Gibbs target with parameter displacement at most . Let be the reference's soft action value in Equation (E.3). A sufficient condition is that some history-dependent offset and vector with satisfy at every legal history and action; then represents the target. Agarwal et al. (2021, Remark 24) identify zero transfer bias in linear MDPs; Appendix G verifies this representation condition for tabular policies and a deterministic linear-MDP subclass.
Outer rounds and the final reward guarantee. Over outer rounds , each inner solve produces an independently selected output that becomes the reference for the following round. Theorem F.10 specifies how many inner updates and outer rounds are sufficient to obtain a reward guarantee for one response from the final policy.
For a comparator policy , write and . Assume initial correct-solution coverage
The coverage condition compares total probability mass on correct responses, so it can hold without bounded likelihood ratios for individual trajectories. Let .
Best-of-N specialization. Let be the oracle distribution obtained by drawing N independent responses from for each prompt and selecting a correct one when any exists. Its success probability satisfies
Thus the theorem applies with and . The resulting guarantee compares the reward of one response from the trained policy with that of oracle best-of-N selection at initialization. The theorem accounts separately for the training budget and the oracle's N draws per prompt.
Uniform behavior mismatch. For the supporting lemmas below, assume the token ratios satisfy at every allowed action and history at every actual iterate, almost surely, and assume , with as in Equation (F.1). The parameter , local target representation, and these mismatch conditions are required at every encountered reference. The full reward theorem is stated after the inner and outer lemmas, as Theorem F.10.
At the represented target, every response to a prompt has full residual . Group centering therefore makes every sampled update zero at the target, a property that controls its sampling second moment.
F.1 Accuracy of one proximal round
We establish Lemma F.6 using log-moment and history-transfer bounds, a drift estimate, and a group-estimator noise bound.
Log-moment bounds and history transfer
We introduce the token errors, then use one conditional log-moment bound for likelihood-ratio moments and the conditional means needed in the drift analysis. A single transfer lemma converts these moments into learner-history expectations.
Policies, expectations, and token errors. Fix a reference , its Gibbs target from Equation (E.5), and one current learner . At token position , the history is . Write
The expectation averages only the next action at the fixed history ; does the same under the behavior policy. By contrast, averages a whole behavior response for a fixed prompt, including its random histories; averages a learner response. All policies have the same finite support, and responses have at most tokens. Absorbing padding tokens have probability and importance ratio one and log error zero.
The error relative to the Gibbs target and the cost relative to the reference are
These two log ratios serve different purposes: measures error to the target, whereas is the KL cost used by the algorithm. The mean is a function of the history. The centered error has . Measure its squared size first at one history and then over behavior histories:
Thus is not a new type of error: it averages the same conditional variance over the histories visited at position i.
Centered log error as a directional score. For the linear logistic model in Equation (F.2), suppose the target is represented exactly by , so . Define the parameter error and the token score . At a fixed history let be the softmax normalizer. Taking the log ratio of the two softmax policies gives
The last two terms do not depend on the sampled action. Subtracting the -mean therefore removes them, while differentiating the log softmax gives
Consequently the centered log error is exactly the score in the parameter-error direction. Summing the importance-weighted token scores defines the response score:
Finally, normalization of gives , hence
The following scalar bounds use only these centering and normalization identities; the linear model is needed when connecting them to parameter updates.
Lemma F.1 (Conditional log moments and sequential composition). For a centered random variable with , the Bernstein log-MGF bound is
where the first inequality holds for every . Now let be a prefix likelihood ratio and assume . Use the pathwise budget from Equation (F.1), and let uniformly bound from above. For every ,
For , the right side is at most . In particular, for , if ,
These bounds hold for every prefix and the full-response ratio .
Proof. Equation (F.12) is the conditional log-MGF estimate of Zhang (2023, Lemma 2.20 and Equation (2.13)). At a fixed history, write , , and . Normalization gives . Since , for , and hence
Let . Equation (F.12) gives . The sequential exponential identity (Zhang, 2023, Lemma 13.1), applied under the learner policy, yields
The pathwise budget implies . Since , this proves Equation (F.13). The rational bound follows from Equation (F.12). Taking and proves Equation (F.14), because .
Lemma F.2 (Moment bounds and history transfer). Let for distributions on the same finite support, let , and write . For every real ,
If almost surely, then . For prefix histories with and pathwise budget , the second-moment specialization gives
for any and .
Proof. For and , ; differentiation on either side of verifies this inequality. Since , . Hölder applied to , together with , proves Equation (F.15). The bounded-ratio case follows from . For the prefix specialization, apply the rational bound in Lemma F.1 with and :
Normalization gives . For , convexity yields . Taking and proves the transfer bound.
Lemma F.3 (Martingale continuation bounds). Let be a filtration, with representing the history before step . Let be square-integrable -measurable variables, for . Suppose , and write . For nonnegative -measurable with and constants , assume
Then
The same statements hold conditionally on initial information when all hypotheses hold under that conditioning.
Proof. Set and . Conditional centering and martingale orthogonality give and
Indeed, replace each later by its conditional mean; terms with in MA vanish by conditioning on . Cauchy-Schwarz proves the first bound. The increments are martingale differences, so . Writing and using proves the second bound.
Progress toward the proximal target
The next lemma combines the exact soft-Q identity with control of the error introduced by behavior-sampled continuation values. Its conditional mean estimate uses the same Bernstein bound as the history-transfer argument.
Lemma F.4 (Progress and continuation error). Use the token errors and scores in Equations (F.8) through (F.10). Suppose that, for some , the span of is at most , , and , and use the pathwise budget in Equation (F.1). Set
Then , , and
For the full residual U in Equation (F.3),
The continuation error satisfies
All expectations condition on the reference, learner, behavior policy, and prompt.
Proof. The span condition gives and . By normalization, . Apply Equation (F.12) to with and to obtain
For , . Since , Cauchy-Schwarz therefore gives
Write . Then and, along every response path, . Pathwise Cauchy-Schwarz gives ; taking expectations proves Equation (F.18).
Apply Lemma F.3 with , predictable variance bound , and . Indeed, and , while . Equation (F.18) supplies its conditional-mean hypothesis. Its first conclusion, multiplied by , proves Equation (F.20).
Finally, let and be the reference's soft value and action value in Equation (E.3). The soft-policy identity in Equation (E.6) telescopes along the deterministic response tree to give
Hence . The history-dependent terms cancel against because , while . Summing proves the first identity in Equation (F.19). The group-mean identity follows from Lemma F.5 and .
Group-estimator mean and noise
Lemma F.5 (Group covariance moments). Let , , be independent copies of a random pair with , , and . Assume , , and are finite. Define and
Then . If and almost surely, then
Both conclusions also hold conditionally when the pairs are independent copies given the conditioning information.
Proof. Write , , and , where
Centering and independence give , , and
Only identical and reversed ordered index pairs survive in the second moment of ; all other terms contain an independent centered factor. Put . Cauchy-Schwarz gives , while . The coefficient of is therefore at most
For this is at most . For it is . This proves Equation (F.21), including groups of size two.
Inner accuracy guarantee
Coverage moments. At each actual inner iterate, let and be the learner and behavior distributions of the history before token , conditional on the prompt and the training information before the fresh group is drawn. Write . For , define
The suprema include all encountered reference rounds, inner iterates, positive-probability prompts, token positions, and selected behavior policies; they also include training randomness. Assume the coefficient used below is finite. These coefficients serve exclusively as auxiliary quantities in the proof.
Lemma F.6 (Accuracy of one proximal round). Assume the linear logistic model in Equation (F.2) and the local target representation condition stated above. For and , set and . Use the projected group update in Equation (F.3) under the sampling conditions stated with that update. Assume for every allowed action and history at every actual iterate, almost surely. Assume , with the uniform second-moment budget in Equation (F.1). For one outer round , freeze and start at . Run inner updates of Equation (F.3) with . Set , with drawn independently. Write , , and . For every finite , the coverage coefficient in Equation (F.22) gives
If , the same gap is at most . Trajectory KL is averaged over prompts. The outer expectation is over sampled groups and the output index.
Proof of Lemma F.6. Steps 1 through 4 control the update using histories sampled from the behavior policy. Step 5 then converts the resulting energy bound into a bound on learner trajectory KL. Current-token weights suffice to control the update; prefix weights enter only when changing the history distribution in Step 5.
Let contain the reference, past updates, current learner, and selected behavior policy before the fresh prompt group at update is drawn. Fix one reference. Write , and retain for the inner iterates. All expectations within an update condition on the reference, learner, and selected behavior policy before drawing the fresh prompt group. The behavior policy may depend on past updates. For a fixed prompt, write , , and for the behavior, learner, and represented Gibbs conditional distributions at prefix . Let and .
Step 1: projection and uniform token bounds. Projection in Equation (F.3) ensures that every iterate satisfies . Bounded features give
Indeed, has span at most , and the log ratio is . The log moment lies between the minimum and maximum of . These bounds hold at every legal history, including histories absent from the sampled group.
Let . The learner's pairwise log-odds change from the reference is at most . The represented Gibbs target's change is at most by Equation (E.6), since binary-reward soft values lie in . Subtracting these changes shows that the span of is at most . Consequently its variance is at most . The quantity bounds the conditional token error from Equation (F.9). Lemma F.4 combines this local bound with the token-mismatch budget from Equation (F.1). Its aggregate relative error bound is
Because , , and ,
These are deterministic bounds valid at every iterate.
Step 2: exact-Q progress dominates the aggregate Q-estimation error. Fix the current iterate . Recall that is the average squared centered token log error at position . With exact soft Q-values, the expected update would make progress toward . Future KL credit replaces each exact Q-value by an estimate with error . Lemma F.4 separates these two contributions to the actual update.
Step 1 supplies the span bound required by Lemma F.4. The assumed token-mismatch budget supplies its other hypothesis. Lemma F.4 therefore bounds the aggregate Q-estimation error by a fraction of the exact-Q progress. Its decomposition therefore yields
The key point is that both terms scale with the same squared token-score errors; as the learner approaches the target, the Q-estimation error shrinks along with the progress term. Step 1 ensures , so the update retains a positive direction toward the target even with behavior-sampled suffixes.
Finally, average over prompts and define
The group-mean identity in Lemma F.4 converts the response-level bound directly into the drift needed for the parameter update:
Step 3: the full group second moment. Recall the trajectory Gibbs formula in Section 3: . Here is the reference normalizer. Summing the token errors gives . Substituting into gives . For a fixed prompt, has conditional mean zero. Its conditional variance equals that of , since and is fixed by the history. It is at most , where the inequality uses . Equation (F.18) supplies the conditional-mean bound. The variance conclusion of Lemma F.3, with , therefore gives
Bounded features and give
The second-moment bound follows from martingale orthogonality and . Apply Lemma F.5 conditionally on the prompt with , , and . It gives
This bound includes the cross-response contribution for G = 2. Averaging over prompts proves
Because , we have . Since , and .
Step 4: gradient recursion and accumulated energy. By the definition of , the quantities , , and are fixed when conditioning on . The fresh group supplies the conditional drift and second-moment bounds in Equations (F.26) and (F.27). The representation assumption puts in the projection ball. Nonexpansiveness of projection, the drift bound, and give the conditional recursion
Taking expectations and telescoping gives
The equality uses , , and . Projection bounds every iterate; the residuals and token weights are also bounded. All conditional expectations in the recursion are therefore finite, and the argument requires no stopping-time event or failure probability.
Step 5: moment transfer and random output. The energy averages conditional token variances over behavior histories. Apply Lemma F.2 with to transfer these averages to learner histories. Hölder across token positions and Jensen across prompts give
The conditional KL is by Lemma F.4. The trajectory KL chain rule therefore gives
where trajectory KL includes the prompt average. Average over the independent uniform output index and training randomness. Jensen's inequality and Equation (F.29), , prove Equation (F.23). For bounded prefix ratios, Lemma F.2 instead gives , yielding .
Every step conditions on the starting reference, so these bounds also hold conditionally at each random reference encountered during training.
The moment order changes only the history-transfer step of the analysis. The update uses current-token ratios throughout, and every displayed inner-error bound tends to zero as L grows.
F.2 Reward improvement across reference refreshes
The inner result bounds the error of one solve with a frozen reference. To connect successive solves, let be the single-response success probability of reference , and let be that of its exact Gibbs target . These satisfy by Proposition D.1. We now track how expected proximal gaps, averaged over prompts, affect this improvement across reference refreshes. This allows us to use the inner error bound without assuming a uniform success-logit stopping tolerance.
Theorem F.10 states the initial coverage requirement, outer-round count, inner sampling budget, and final reward guarantee. We state and prove it after the propagation lemmas below.
Propagation of proximal errors. We express binary success probabilities in angular coordinates and track the error relative to the ideal Gibbs trajectory. The resulting bound depends only on proximal gaps, so it applies to any inner optimizer.
Lemma F.7 (Accumulation of errors in a concave recursion). Let be increasing and concave, with and . Consider an ideal sequence satisfying and an approximate sequence , both starting at the same positive value . Define the one-step error and the accumulated relative deficit by
Then
Thus the relative deficit is bounded by the sum of one-step errors, each scaled by the corresponding ideal value.
Proof. The definition of gives and . Concavity and imply . Combining this with monotonicity and the one-step error bound gives
Divide by , rearrange, and take the positive part:
Starting from , sum over to obtain the first bound in Equation (F.30). The ideal values are nondecreasing because , so . Replacing each denominator by proves the second bound.
The recursion lemma controls a relative deficit. The following elementary bound converts that deficit into a reward gap, using initialization coverage and the number of exact Gibbs rounds.
Lemma F.8 (From relative angular deficit to reward gap). Let be the initial success probability and a comparator success probability with , where . For a tolerance and , suppose . Iterating the success-odds identity in Equation (D.2) of Proposition D.1 multiplies the initial odds by . Thus the ideal success probability after exact Gibbs rounds is
For any actual final success probability , define , , and as in Lemma F.7. Then
Proof. Equation (F.31) is immediate if . Otherwise and give , hence . If and , then , so and ; the case is immediate. For and , the Lipschitz property of cosine gives
The convex function is at most on , as verified at both endpoints. Therefore
The last inequality uses and , which imply . If , the same endpoint bound gives .
Lemma F.9 (Relative angular transfer). Assume binary rewards, KL coefficient from (1), and a comparator satisfying (F.5) with . Let be a finite-round reward tolerance and let the number of reference refreshes satisfy . Any sequence of positive policies starting at the covered initialization satisfies
where is the unrestricted proximal gap. In particular, for an expected inner-gap tolerance , at every round implies
The bound separates the finite-round tolerance from the accumulated errors of the inner solves.
Proof of Lemma F.9. Fix a prompt . If , coverage forces , so the reward-gap bound is immediate. Assume henceforth . We compare the actual sequence of trained policies with an ideal sequence in which every proximal problem is solved exactly. Let be the actual policy's success probability after rounds. Let be the success probability along the ideal sequence, starting from the same initialization, so . For binary rewards, an exact Gibbs update multiplies the success odds by (Proposition D.1). Hence
The actual inner solves approximate their Gibbs targets. Our goal is to control how far the actual success probabilities fall behind the ideal probabilities as these approximation errors accumulate. The comparator success probability is ; the theorem's initialization coverage condition gives .
To relate success probabilities to the KL errors of the inner solves, express each binary success distribution as a point on the unit circle:
The angle describes the actual policy, and describes the ideal sequence. Distances between these unit-circle points are Hellinger distances, which we will bound using trajectory KL at the end of the proof. The Gibbs map in angular coordinates is
Thus is increasing and concave on , with and . In particular, ; is the success probability after the exact Gibbs step from the actual reference . We can therefore apply Lemma F.7 to these two angle sequences. Its one-step error measures how accurately round solves the proximal problem for its actual reference. Its relative deficit measures how far training has fallen behind the ideal sequence. The lemma gives Equation (F.30), which we now convert into a reward bound.
Lemma F.8 now converts the relative deficit into . Combine this with the accumulated-deficit estimate in Equation (F.30). Since and , we obtain
Use the unnormalized squared Hellinger distance . For Bernoulli distributions at angular distance , , and . For a fixed prompt , compare the next actual response policy with the exact Gibbs target of the current reference. Mapping a response to its binary reward turns these response distributions into Bernoulli distributions. Their success probabilities are and , respectively, so their angular distance is precisely .
The data-processing inequality says that applying this reward map cannot increase KL divergence. Let denote the binary distribution with success probability . Combining data processing with the preceding Hellinger bound gives, for each prompt,
Averaging over prompts and recalling the proximal-gap definition yields
Finally, average the reward-gap bound above over prompts. The triangle inequality then gives
Substituting the angular-error bound proves the first inequality in Equation (F.32). Cauchy-Schwarz gives the second, and expectation over training proves (F.33).
F.3 Complete finite-sample reward guarantee
Theorem F.10 (Single-response reward from covered initialization). Assume the linear logistic model with bounded features and deterministic binary rewards. For and , set , , and . At every actual reference , assume there exists with such that, for every prompt and legal response , , where is the Gibbs target defined in Section 3. Since softmax assigns positive probability to every legal history, this equality of response distributions also gives equality of their conditional token distributions. Start each inner solve at and run Equation (F.3) under the sampling conditions stated with that update. Fix and use and from Equation (F.1). Assume the token condition
holds uniformly over allowed actions, histories, rounds, and updates, almost surely. Write .
For and a comparator satisfying Equation (F.5), choose , write and , and run inner group updates at each reference. After each solve, set , where is drawn independently. Then , using at most
scored responses. All displayed numerical constants are absolute.
Proof of Theorem F.10. Set and . Lemma F.1 gives . Substituting the stated into Lemma F.6 bounds each of its two terms by : use , , , and . Applying the lemma conditionally at each reference gives , where . Lemma F.9, with tolerance and the stated , then yields
Multiplying L by GK gives the response bound, including the GK ceiling contribution.
Remark F.11 (Uniform history coverage). For the coefficient defined in Equation (F.22), the bounded-coverage case of Lemma F.6 gives the same reward guarantee with , under the remaining assumptions of Theorem F.10 with its token condition replaced by and . A uniform full-response ratio bound also bounds , since for each fixed prompt and policy pair. The coefficient can grow exponentially with response length, whereas aggregates tokenwise log-ratio second moments additively.
Remark F.12 (Practical cost clipping). Projection gives at every legal token by Equation (F.4). Thus cost clipping with leaves the analyzed update unchanged. Section 4 discusses the bias and variance trade-off when clipping is active.
Remark F.13 (Approximate target representation). For a parameter approximating the Gibbs target, define . At this parameter, the full residual satisfies
Hence implies . The residual can therefore vary among responses within a prompt group.
G Examples of local target representation
The local target representation condition of Theorem F.10 requires the model to represent each Gibbs target with a parameter change of norm at most . The examples below meet this requirement at every reference, including those produced by projected inner solves. In the tabular, deterministic linear-MDP, and explicit shared-feature examples, the same constant works for every , so choosing before is valid.
Independent tabular logits. Use one coordinate for each legal history-action pair, with one-hot features in . Each conditional distribution then has its own trainable logits. Equation (E.6) implies that adding to the reference logits gives the Gibbs policy. A common shift of the logits at a history leaves its probabilities unchanged, so we can choose
For binary rewards, , and thus . Thus ensures local representation at every reference. In a fully branching response tree, however, can grow exponentially with . This choice of therefore does not generally yield a sampling budget polynomial in the response horizon.
The two-prompt shared-head example in Appendix D.1 also satisfies the condition at every reference, with .
Deterministic linear MDPs. Consider a finite-horizon linear MDP (Jin et al., 2020) with deterministic transitions, zero rewards before the final position, and a deterministic binary terminal reward. At position i, let the normalized features be , with . For , assume the transition kernel has the linear representation
for every bounded , where is a vector of signed measures and is fixed. At the final position, assume with . Use one parameter block per stage and the corresponding block feature at each history, with the state determined by its prompt and action prefix. Every reference in this log-linear family is a Markov policy on these states.
For a fixed reference , define backward soft values by
Here is the deterministic next state. These are the conditional log normalizers of the trajectory Gibbs target, so its token policy is . Backward induction gives for every reference and every . The transition representation implies
Thus , and adding to each reference parameter block represents the Gibbs policy. The combined change has norm at most . Choosing therefore verifies the local representation condition uniformly over references and temperatures. This permits choosing before . The transition-operator and terminal-reward coefficient bounds are explicit parts of this example; deterministic dynamics by themselves do not imply them.
A shared-feature family with . For any , take one prompt, actions , and
where is the ith coordinate vector and the empty product is one. The feature has norm one and ties the same parameter coordinate across all histories at a given position. Each token’s normalizer is , independent of the prefix. Multiplying the response probability by changes only the final coordinate, so the Gibbs policy is represented exactly by
The representation holds at every reference and horizon, and adding zero feature coordinates leaves the bound unchanged. In the transformed coordinates , reward depends only on the final coordinate. Thus the example gives uniform local representation in a shared-feature model whose reward structure is simple.
Fixed tangent features. For the linearized model described after Equation (F.2), a sufficient condition is that, at every reference, for some history-dependent offset and coefficient vector with . Then represents the Gibbs target, also when the logits include a fixed offset. Minimizing over valid coefficients and history offsets gives the required representation norm; for fixed history offsets, the minimum coefficient norm is the corresponding reproducing-kernel Hilbert-space norm in the feature kernel. Because the soft values depend on , the norm bound must hold at . One sufficient way to choose first is to verify the same bound for every and every reference in the model family. Approximate representation contributes the residual described in Remark F.13; application to a nonlinear Transformer additionally requires control of logit linearization and gradient errors along training.