Sam Babichenko

Reading notes / Running RL at scale

Weighting stale samples in off-policy RL

Huang et al., 2026; Shen et al., 2026

Sampling
xxquestion (the prompt)
yiy_iii-th answer sampled for xx, i=1,…,Gi=1,\dots,G
yi,ty_{i,t}tt-th token of yiy_i; yi,<ty_{i,\lt t} the tokens before it
GGanswers sampled per question
∣yi∣|y_i|length of yiy_i in tokens; ∣y∣|y| an episode's length in Siboni's rule
πθ\pi_\thetapolicy being trained
πold\pi_{\rm old}policy that sampled the answers
πθ(yi,t∣⋅)\pi_\theta(y_{i,t}\mid\cdot)probability of yi,ty_{i,t} given xx and yi,<ty_{i,\lt t}
μ\muoptimizer updates per batch of answers (VESPO, ReSPO)
BBa minibatch of answers, ∣B∣|B| its size
Rewards, ratios and weights
rir_ireward of yiy_i, 1 if correct, else 0
A^i\hat A_igroup-relative advantage of yiy_i
ρi,t\rho_{i,t}token ratio πθ(yi,t∣⋅)/πold(yi,t∣⋅)\pi_\theta(y_{i,t}\mid\cdot)/\pi_{\rm old}(y_{i,t}\mid\cdot)
WiW_isequence weight ∏tρi,t\prod_t\rho_{i,t}
ρi,<t\rho_{i,\lt t}prefix ratio ∏j<tρi,j\prod_{j\lt t}\rho_{i,j}
σ2\sigma^2variance of one token's log-ratio log⁡ρi,t\log\rho_{i,t}
ESS\mathrm{ESS}effective sample size (∑jwj)2/∑jwj2(\sum_jw_j)^2/\sum_jw_j^2 of nn weights
ν\nuESS ratio ESS/n\mathrm{ESS}/n, in (0,1](0,1]
gig_i∇θlog⁡πθ(yi∣x)\nabla_\theta\log\pi_\theta(y_i\mid x)
Methods
η,\eta, ηeff\eta_{\rm eff}VCPO's base learning rate and its scaled rate ην/νon\eta\sqrt{\nu/\nu_{\rm on}}
νon\nu_{\rm on}ESS ratio on one on-policy step (VCPO)
b⋆b^\starVCPO's variance-minimizing baseline
α\alphatempering exponent on WiW_i (TETPO) or on ρi,<t\rho_{i,\lt t} (Siboni)
α⋆\alpha^\starTETPO's chosen exponent, the largest meeting the ESS target
sg⁡\operatorname{sg}stop-gradient
φ\varphikernel that replaces WiW_i in the gradient
φ+,\varphi_+, φ−\varphi_-ReSPO's kernels for A^i>0\hat A_i\gt0 and A^i<0\hat A_i\lt0
k3(W)k_3(W)W−1−log⁡WW-1-\log W, one-sample KL estimate
T\mathcal Ttokens a clip could act on (M2PO)
M^2\hat M_2mean of (log⁡ρi,t)2(\log\rho_{i,t})^2 over T\mathcal T
Constants
c1,c_1, c2c_2VESPO's kernel constants: (2,3)(2,3) for A^i>0\hat A_i\gt0, (3,2)(3,2) for A^i<0\hat A_i\lt0
κ\kappaTETPO's target ESS fraction, 0.85
τ\tauM2PO's threshold on the mean squared log-ratio, 0.04
8VCPO's cap on WiW_i in the update
Paper symbols
W,W, w,w, ρ\rhowhat VESPO and ReSPO, VCPO, and TETPO write for WiW_i
μ,\mu, πb\pi_bwhat most of the papers write for πold\pi_{\rm old}
NNwhat VESPO and ReSPO write for μ\mu
ρess,\rho_{\rm ess}, eBe_Bwhat VCPO and P3O write for ν\nu
Rts,R^s_t, TTwhat Siboni writes for ρi,<t\rho_{i,\lt t} and ∣y∣|y|
β,\beta, λ\lambdawhat ReSPO writes for VESPO's c1, c2c_1,\ c_2

Context. In reinforcement learning in which a program checks each answer and returns the reward, here 1 for a correct final answer and 0 otherwise. Reading note: GRPO and DeepSeek-R1, the trainer usually updates on answers older than the current policy. Batches are split into minibatches and reused across several updates, and asynchronous pipelines keep generating while the trainer steps. Even with identical weights, the inference engine computes slightly different token probabilities from the trainer. Standard methods avoid weighting an answer by its full probability ratio. group relative policy optimization: PPO without a value model, in which every token of an answer gets the answer's reward minus its group's mean reward, divided by the group's standard deviation, as advantage, and each token's ratio is clipped to a band around 1. Reading note: GRPO and DeepSeek-R1 weights and clips each token by its own ratio, and group sequence policy optimization: one ratio per answer, the geometric mean of its token ratios, clipped to a band of order 10−410^{-4} around 1. Reading note: Group Sequence Policy Optimization uses the geometric mean of an answer's token ratios. GRPO run at about a thousand updates per batch of answers, with the clip band widened to [0,5][0,5] and with below-average answers dropped once one of their tokens has a ratio under 10−410^{-4}. Reading note: μ-GRPO drops below-average answers once any token's ratio falls near zero. Two companion notes examine per-token clipping in detail. The how the shape of a per-token clip bounds each update. Reading note: Trust regions in LLM reinforcement learning note examines how a per-token clip should be shaped, and the how often the sampler produces a token, and what that does to its clipped updates. Reading note: Popular and rare tokens note tracks which tokens a clip starves as data age.

Importance sampling corrects for stale answers exactly when each answer carries its full probability ratio between the current policy and the sampler. That full-answer weight is unbiased, but its variance breaks training. Because the weight multiplies ratios across an answer's tokens, often thousands of them, its spread grows with length until a few answers carry nearly all of the batch's weight. Huang et al. (2026) find that even with each weight capped, the batch's effective sample size collapses near zero before KL spikes and accuracy falls. Whatever off-policy rule a run uses, the ESS ratio of the sequence weights (the effective sample size as a fraction of the batch) is worth logging at every step. Computing it takes one reduction over ratios the loss already computes, and in every collapse Huang et al. report it fell before both KL divergence and reward.

The methods reported as stable keep the sequence or prefix weight, or in P3O and M2PO each token's own ratio, and budget its spread. They intervene in four places. Huang et al.'s VCPO keeps capped weights in the update and scales the learning rate by the square root of the ESS ratio, matching synchronous training on fresh data. Three methods reshape sequence weights directly. TETPO (Hamidi et al., 2026) tempers them to a target effective sample size, while VESPO (Shen et al., 2026) and ReSPO (Chen et al., 2026) pass them through bounded kernels. Siboni (2026) instead tempers the prefix weight that PPO-style losses omit. At the token level, P3O (Fakoor et al., 2026) caps each token's ratio at the token ESS ratio, and M2PO (Zheng et al., 2026) masks the most extreme tokens.

Setting. For a question xx, the sampling policy the policy that generated the answers being trained on, or in an asynchronous pipeline the version that generated each answer (the papers write μ\mu, πb\pi_b or πold\pi_{\rm old}) draws the number of answers sampled per question, 8 in most of these papers answers y1,…,yGy_1,\dots,y_G, while πθ\pi_\theta is the policy being trained. Write yi,ty_{i,t} for token tt of yiy_i, ∣yi∣|y_i| for its length, rir_i for its reward, and the group-relative advantage of yiy_i: its reward minus the mean reward of the question's GG answers, divided by their standard deviation in ReSPO, M2PO and P3O (VESPO and TETPO only subtract the mean, VCPO subtracts its own baseline b⋆b^\star, and Siboni the mean over the batch) for its advantage. Let ρi,t\rho_{i,t}=πθ(yi,t∣⋅)/πold(yi,t∣⋅){}=\pi_\theta(y_{i,t}\mid\cdot)/\pi_{\rm old}(y_{i,t}\mid\cdot) be the probability ratio of token tt given xx and the preceding tokens yi,<ty_{i,\lt t}. The Wi=πθ(yi∣x)/πold(yi∣x)=∏tρi,tW_i=\pi_\theta(y_i\mid x)/\pi_{\rm old}(y_i\mid x)=\prod_t\rho_{i,t}, the importance weight of the whole answer yiy_i (VESPO and ReSPO write WW, VCPO ww, TETPO ρ\rho) of yiy_i is the product of its token ratios,Wi=πθ(yi∣x)πold(yi∣x)=∏t=1∣yi∣ρi,t.W_i=\frac{\pi_\theta(y_i\mid x)}{\pi_{\rm old}(y_i\mid x)}=\prod_{t=1}^{|y_i|}\rho_{i,t}.Because the reward belongs to the whole answer, weighting each answer's reward and log-probability gradient by WiW_i recovers the exact gradient of expected reward JJ under πθ\pi_\theta from stale samples:∇θJ=Eyi∼πold[Wi ri×∇θlog⁡πθ(yi∣x)].\begin{aligned}\nabla_\theta J&=\mathbb E_{y_i\sim\pi_{\rm old}}\big[W_i\,r_i\\&\qquad\times\nabla_\theta\log\pi_\theta(y_i\mid x)\big].\end{aligned}Because the score has zero expectation under πθ\pi_\theta, subtracting any baseline independent of yiy_i keeps the gradient exact, and the papers replace rir_i by A^i\hat A_i. VESPO and ReSPO reuse each batch for the number of optimizer updates made on one batch of sampled answers, one per minibatch; the last minibatch is μ−1\mu-1 updates stale (VESPO and ReSPO write NN). Reading note: μ-GRPO updates. VCPO and TETPO instead run asynchronous pipelines where each answer carries a the number of optimizer updates between the policy that sampled an answer and the policy being trained on it; pipelines bound it by a maximum, and an answer generated across a weight update can span several versions, the number of updates since it was generated.

Small drifts per token compound rapidly because log⁡Wi\log W_i sums ∣yi∣|y_i| token log-ratios. For nn weights w1,…,wnw_1,\dots,w_n, the for weights w1,…,wnw_1,\dots,w_n, ESS=(∑jwj)2/∑jwj2\mathrm{ESS}=\big(\sum_jw_j\big)^2/\sum_jw_j^2, between 1 and nn; it equals nn when all weights are equal and is near 1 when one weight dominates ESS=(∑jwj)2/∑jwj2\mathrm{ESS}=(\sum_jw_j)^2/\sum_jw_j^2 measures how strongly a few large weights dominate. Its normalized form, the ESS ratio ν\nu=ESS/n{}=\mathrm{ESS}/n, lies in (0,1](0,1]. VCPO notes that a weighted average gradient has roughly the variance of an unweighted average over ESS\mathrm{ESS} answers, so a batch with small ν\nu behaves like a far smaller batch. A short calculation (computed here) shows how fast ν\nu decays with length. Let the variance of a single token's log-ratio log⁡ρi,t\log\rho_{i,t} under πold\pi_{\rm old}, a measure of how far the two policies have drifted per token be the variance of one token's log-ratio and approximate log⁡Wi\log W_i as Gaussian with variance ∣yi∣σ2|y_i|\sigma^2. For a lognormal weight with EπoldWi=1\mathbb E_{\pi_{\rm old}}W_i=1,EπoldWi2=exp⁡(∣yi∣σ2),ν≈exp⁡(−∣yi∣σ2).\begin{aligned}\mathbb E_{\pi_{\rm old}}W_i^2&=\exp\big(|y_i|\sigma^2\big),\\\nu&\approx\exp\big(-|y_i|\sigma^2\big).\end{aligned}With σ2=10−3\sigma^2=10^{-3} over 4,000 tokens, ν≈0.02\nu\approx0.02, so a batch of 512 answers counts as about 9. Capping WiW_i or masking weights above a threshold bounds this spread at the cost of bias.

Capping weights alone delays collapse without preventing it. Huang et al. train Qwen2.5-7B Base on MATH in an asynchronous training setup in which the sampler keeps generating while the trainer updates, with weights loaded into generations in flight, so one answer can span several policy versions; a maximum lag bounds how old the data may be (Piché et al., 2025) with policy lag up to 10 updates. They weight each answer by min⁡(Wi,8)\min(W_i,8), the weighting each answer by min⁡(Wi,c)\min(W_i,c), its sequence weight capped at a constant cc; the cap bounds the variance and biases the gradient against answers whose weight exceeds it rule that survived longest across the caps and masks they swept. Read off the paper's figure, the sequence-weight ESS ratio still drops from about 0.5 to near zero by step 100 and stays there. On the same curves, the sampler-learner KL divergence then spikes near step 160. Accuracy on 500 problems from the test split of the MATH dataset of competition mathematics, scored by exact match of the final answer hovers near 70% until then and falls to near zero by step 250.

VCPO treats a batch with concentrated weights as a smaller batch and shrinks its step accordingly. Replacing nominal batch size with effective sample size in the square-root scaling rule for Adam-style optimizers givesηeff=ην/νon.\eta_{\rm eff}=\eta\sqrt{\nu/\nu_{\rm on}}.Here the base learning rate, 10−610^{-6} with AdamW in VCPO's runs is the base learning rate, ν\nu comes from the minibatch's uncapped sequence weights, and the ESS ratio measured on one on-policy step, a constant per task: 1.0 on VCPO's math tasks and 0.55 on its tool-use task, where even fresh data have unequal weights from the sampler-trainer mismatch is the ESS ratio on an on-policy step. When inference and training engines mismatch, νon\nu_{\rm on} can lie below 1. The update itself keeps the capped weight min⁡(Wi,8)\min(W_i,8). To lower variance further, VCPO replaces the group mean with an optimal baseline. Write gig_i=∇θlog⁡πθ(yi∣x){}=\nabla_\theta\log\pi_\theta(y_i\mid x). The constant bb that minimizes the variance of 1∣B∣∑iWi(ri−b)gi\frac1{|B|}\sum_iW_i(r_i-b)g_i is E[Wi2∥gi∥2ri]/E[Wi2∥gi∥2]\mathbb E[W_i^2\|g_i\|^2r_i]/\mathbb E[W_i^2\|g_i\|^2]. VCPO's baseline b⋆b^\star estimates that ratio from minibatch sums over BB, so answers that are both upweighted and high-gradient dominate it. Computing per-answer gradient norms takes one backward pass with two gradient buffers, adding 19% to step time and 14% to memory on Qwen2.5-7B.

In the same setup where capped weights collapse, VCPO matches synchronous training on fresh data with less compute. On MATH it reaches 71.6% on MATH-500 against 72.0% for synchronous training, using 92.8 GPU hours against 134.4. On a multi-turn tool-use task with answers up to 12,288 tokens and lag up to 2, VCPO scores 27.8% on AIME 2025 against 26.7% for synchronous training. That gap is smaller than one problem of the 30-problem exam, and the run takes 168.9 GPU hours against 420.2 while the capped-weight run collapses again.

TETPO budgets spread within each question's group by raising every weight to the largest power that keeps the group's ESS above a target. It replaces WiW_i by WiαW_i^\alpha, divides by the group mean of WjαW_j^\alpha so the weights average to 1, and picksα⋆=max⁡{α∈[0,1]:ESS(α)≥κG}.\begin{aligned}\alpha^\star=\max\big\{&\alpha\in[0,1]:\\&\mathrm{ESS}(\alpha)\ge\kappa G\big\}.\end{aligned}Here ESS(α)\mathrm{ESS}(\alpha) is computed over the group's WjαW_j^\alpha, with κ\kappa=0.85{}=0.85. At α=1\alpha=1 these are the group's self-normalized importance weights. At α=0\alpha=0 every weight is 1, giving a GRPO-style update on stale answers. Because ESS(0)=G\mathrm{ESS}(0)=G and ESS(α)\mathrm{ESS}(\alpha) never increases with α\alpha, α⋆\alpha^\star sits where ESS(α)\mathrm{ESS}(\alpha) falls to κG\kappa G, and groups already meeting the target keep α⋆=1\alpha^\star=1. Raising WiW_i to α\alpha is exact importance sampling toward a the policy proportional to πθαπold1−α\pi_\theta^\alpha\pi_{\rm old}^{1-\alpha}, normalized per question; it is πold\pi_{\rm old} at α=0\alpha=0 and πθ\pi_\theta at α=1\alpha=1, and WαW^\alpha divided by its mean under πold\pi_{\rm old} is its exact importance weight proportional to πθαπold1−α\pi_\theta^\alpha\pi_{\rm old}^{1-\alpha}, trading bias toward πold\pi_{\rm old} for bounded spread. On Qwen3-1.7B-Base with each answer's lag drawn uniformly from 1 to 32 updates, TETPO averages 44.4% over five math benchmarks against 42.3% for M2PO, the best baseline. Across three seeds, their standard deviations are 0.4 and 0.5.

P3O works at the token level. It computes the ESS ratio ν\nu of a micro-batch's token ratios ρi,t\rho_{i,t} and uses that single number both to cap every token's ratio and to weight a KL penalty. With stop-gradient: sg⁡[u]\operatorname{sg}[u] has the value of uu and passes no gradient holding a factor fixed during differentiation, each token's loss is−sg⁡[min⁡(ρi,t,ν)] A^ilog⁡πθ(yi,t∣⋅)+(1−ν) KL(πθ ∥ πold).\begin{aligned}&-\operatorname{sg}[\min(\rho_{i,t},\nu)]\,\htmlData{gr=g9}{\hat A_i}\log\pi_\theta(y_{i,t}\mid\cdot)\\&\quad+(1-\nu)\,\mathrm{KL}\big(\pi_\theta\,\|\,\pi_{\rm old}\big).\end{aligned}The next-token KL at that position is estimated at the sampled token by log⁡ρi,t+1/ρi,t−1\log\rho_{i,t}+1/\rho_{i,t}-1. Because ν≤1\nu\le1, every token's weight is at most 1 and never zero. When all ratios equal 1, ν=1\nu=1, the KL penalty vanishes, and the gradient matches GRPO. As ratios spread, the cap and penalty tighten together. P3O's clearest test isolates engine mismatch with no staleness by training Qwen3-8B-Base in BF16 on answers generated by a copy of the model quantized to 8-bit floating point for speed, while the trainer computes in BF16, so every sampled token's probability differs between the two. At iteration 30, pass@1 on AMC 2024 reaches 0.529 for P3O against 0.029 for GRPO, which has dropped below the untrained model's 0.228.

VESPO passes the sequence weight through a smooth bounded kernel that fades answers the policy has moved far from. Shen et al. replace WiW_i in the gradient by the kernel φ\varphiφ(W)=Wc1ec2(1−W),\varphi(W)=W^{c_1}e^{c_2(1-W)},held fixed in the gradient, with no length normalization and no clip. At W=1W=1 the kernel equals 1. The power VESPO's exponent on WW, which fades answers whose probability has fallen (W<1W\lt1): 2 for A^i>0\hat A_i\gt0, 3 for A^i<0\hat A_i\lt0 fades answers whose probability has fallen (W<1W\lt1), while the exponential with rate VESPO's rate in ec2(1−W)e^{c_2(1-W)}, which fades answers whose probability has risen (W>1W\gt1): 3 for A^i>0\hat A_i\gt0, 2 for A^i<0\hat A_i\lt0 fades those whose probability has risen (W>1W\gt1). This shape solves a variational problem. Choosing a proposal QQ close to πold\pi_{\rm old} in KL divergence and tilted toward πθ\pi_\theta, subject to a bound on EQW\mathbb E_QW, gives Q∝πoldWc1e−c2WQ\propto\pi_{\rm old}W^{c_1}e^{-c_2W}. Its ratio to πold\pi_{\rm old} is φ(W)\varphi(W) up to a constant. The constants depend on advantage sign and are reused unchanged across three models and a code task. For A^i>0\hat A_i\gt0, (c1,c2)=(2,3)(c_1,c_2)=(2,3) peaks at 1.21 when W=2/3W=2/3, and for A^i<0\hat A_i\lt0, (3,2)(3,2) peaks at 1.24 when W=3/2W=3/2. On the a model whose layers send each token to a few of many expert subnetworks; Qwen3-30B-A3B has 30B parameters, about 3B active per token model Qwen3-30B-A3B-Base at μ=64\mu=64, VESPO averages 61.8% over four math benchmarks against 48.6% for GRPO, the better of its two baselines. Using (2,3)(2,3) for both signs fades below-average answers less as their probability drops and destabilizes training. Dividing log⁡Wi\log W_i by ∣yi∣|y_i|, as GSPO does, causes collapse near step 350.

Rewriting VESPO's kernels in terms of a one-sample KL estimate makes the sign-specific constants transparent (computed here, not in the papers). Define k3(W)k_3(W)=W−1−log⁡W{}=W-1-\log W, which is nonnegative and has mean KL(πold ∥ πθ)\mathrm{KL}(\pi_{\rm old}\,\|\,\pi_\theta) under πold\pi_{\rm old} because EπoldW=1\mathbb E_{\pi_{\rm old}}W=1. For any c>0c\gt0,e−c k3(W)=Wc ec(1−W),W2e3(1−W)=e−2k3(W) e1−W,W3e2(1−W)=e−2k3(W) W.\begin{aligned}e^{-c\,k_3(W)}&=W^c\,e^{c(1-W)},\\W^2e^{3(1-W)}&=e^{-2k_3(W)}\,e^{1-W},\\W^3e^{2(1-W)}&=e^{-2k_3(W)}\,W.\end{aligned}A symmetric kernel with c1=c2=cc_1=c_2=c therefore down-weights each answer exponentially in its KL estimate at rate cc. Both tuned kernels share e−2k3(W)e^{-2k_3(W)}. The positive-advantage kernel multiplies by e1−We^{1-W} to fade answers the policy has already raised, while the negative-advantage kernel multiplies by WW to fade answers the policy has already pushed down.

ReSPO keeps the fade for below-average answers and reverses it for above-average ones. Chen et al. argue that a correct answer whose probability has fallen (A^i>0\hat A_i\gt0, WiW_i near 0) is the one most worth pushing back up, and that VESPO's W2W^2 factor starves it. Solving a variant of VESPO's variational problem with a different divergence yieldsφ+(W)=12(1+W) e1−W,φ−(W)=W e2(1−W).\begin{aligned}\varphi_+(W)&=\tfrac12(1+W)\,e^{1-W},\\\varphi_-(W)&=\sqrt W\,e^{2(1-\sqrt W)}.\end{aligned}For A^i>0\hat A_i\gt0, φ+\varphi_+ peaks at W=0W=0 with value e/2≈1.36e/2\approx1.36 and decreases for W>0W\gt0. For A^i<0\hat A_i\lt0, φ−\varphi_- vanishes at both ends and peaks at W=1/4W=1/4 with the same value. Both equal 1 with slope −1/2-1/2 at W=1W=1. The two papers therefore agree on below-average answers, fading them at both ends. They disagree on correct answers the policy has moved away from. VESPO fades those answers like W2W^2, whereas ReSPO gives them its largest weight. On Qwen3-1.7B-Base and Qwen3-30B-A3B-Base with μ=8,16\mu=8,16, and 32, ReSPO beats VESPO in five of six settings on mean training score over the last 128 updates. On held-out benchmarks, however, every gap between them is smaller than twice the reported standard error.

M2PO drops clipping and masks only the most extreme token ratios. On answers at least 256 updates stale, Zheng et al. find that GRPO's clip slows learning as more tokens drift outside the band. Removing the clip speeds up early learning, but training then collapses. M2PO tracks the policy gap with the mean squared token log-ratio over the clip-eligible set the tokens a PPO clip could act on: those with A^i>0\hat A_i\gt0 and ρi,t>1\rho_{i,t}\gt1, or A^i<0\hat A_i\lt0 and ρi,t<1\rho_{i,t}\lt1; masking removes tokens from this set, holding tokens with A^i>0\hat A_i\gt0 and ρi,t>1\rho_{i,t}\gt1, or A^i<0\hat A_i\lt0 and ρi,t<1\rho_{i,t}\lt1:M^2=1∣T∣∑(i,t)∈T(log⁡ρi,t)2.\hat M_2=\frac1{|\mathcal T|}\sum_{(i,t)\in\mathcal T}\big(\log\rho_{i,t}\big)^2.Because every term is nonnegative, ratios above and below 1 both contribute. By contrast, the mean of −log⁡ρi,t-\log\rho_{i,t}, a one-sample KL estimate, lets opposite moves cancel. M2PO greedily removes the token with the largest (log⁡ρi,t)2(\log\rho_{i,t})^2 from T\mathcal T until the mean over the remaining tokens is at most M2PO's threshold on the mean squared log-ratio of the remaining tokens, the same value in every experiment of the paper, and weights surviving tokens by their plain ratio ρi,t\rho_{i,t}. At that fixed lag, M2PO comes within half a point of on-policy GRPO on Qwen2.5-Math-7B and beats it on the other five models (1.7B to 32B), masking just 0.06% of tokens on Qwen2.5-32B. Later papers found that M2PO fails under mixed lag. In VCPO's GSM8K runs the masked fraction turned erratic and could reach nearly all tokens, and in TETPO's runs accuracy peaked and then declined.

PPO and GRPO weight token tt by ρi,t\rho_{i,t} alone, leaving out how much the policy shift changed the probability of reaching the prefix yi,<ty_{i,\lt t}. Siboni shows that when every state has a unique history, as in autoregressive generation, that omitted state-visitation ratio equals the ρi,<t=∏j<tρi,j=πθ(yi,<t∣x)/πold(yi,<t∣x)\rho_{i,\lt t}=\prod_{j\lt t}\rho_{i,j}=\pi_\theta(y_{i,\lt t}\mid x)/\pi_{\rm old}(y_{i,\lt t}\mid x), how much more or less likely the current policy is to produce the first t−1t-1 tokens of yiy_i (Siboni writes RtsR^s_t) ρi,<t=∏j<tρi,j\rho_{i,\lt t}=\prod_{j\lt t}\rho_{i,j} exactly on every sampled answer. In a general process, that product is only an unbiased estimator. Because Var(log⁡ρi,<t)≈(t−1)σ2\mathrm{Var}(\log\rho_{i,\lt t})\approx(t-1)\htmlData{gr=g16}{\sigma^2}, the exact per-token weight ρi,<t ρi,t\rho_{i,\lt t}\,\rho_{i,t} inherits the sequence weight's spread. Siboni therefore tempers it toρi,<t α ρi,t,\rho_{i,\lt t}^{\,\alpha}\,\rho_{i,t},recovering PPO at α=0\alpha=0 and the exact correction at α=1\alpha=1. The exponent follows the heuristic rule α=min⁡(1,1/(∣y∣σ2))\alpha=\min\big(1,1/(|y|\sigma^2)\big), where ∣y∣|y| is the episode length and σ2\sigma^2 is measured after one full round of updates on a batch. Siboni fine-tunes Qwen2.5-0.5B on a six-slot structured-record task whose reward depends on the first and last slots. There α=0.1\alpha=0.1, near the rule's 0.08, beats PPO by 6.7 points of mean return over iterations 2 to 8 on all 16 paired seeds, while the exact correction at α=1\alpha=1 gains 0.1 points.

The central claims rest on controlled comparisons. VCPO benchmarks every run against synchronous training on fresh data, the target asynchrony aims to reproduce, and matches or exceeds it on MATH, Countdown, and the tool-use task. The collapse sequence VCPO prevents repeats on MATH, GSM8K, and Countdown. In VCPO's MATH ablation, either the ESS-scaled learning rate or the optimal baseline alone keeps training stable. Siboni pre-registers the comparison, the endpoint, and a control reward that removes dependence on the first slot. On that control, the gain of α=0.1\alpha=0.1 drops to 1.9 points with seeds split 8 to 8. ReSPO's rerun of VESPO with VESPO's published constants matches or beats GRPO and GSPO on late training score in all six settings.

Other parts of the evidence are thinner. VESPO, M2PO, and VCPO report no seeds, and P3O runs each configuration once. VESPO and M2PO also report each method's best checkpoint on the test benchmarks. VCPO's fixed-rate control runs ten times below its base rate. Read off the paper's figure, VCPO's own ESS ratio on MATH stays mostly between 0.4 and 0.7 with νon=1\nu_{\rm on}=1, giving effective steps of 0.6η0.6\htmlData{gr=g20}{\eta} to 0.8η0.8\eta. Because no constant rate in that range was tested, the runs do not prove that adaptive scaling beats a well-chosen constant. P3O leads on stale data only late in asynchronous GSM8K runs and collapses alongside GRPO at sampling temperature 0.6. Apart from ReSPO testing VESPO, and VCPO and TETPO testing M2PO, the papers rarely compare methods directly, so the evidence does not rank them. All language-model experiments use rule-based checkers, mostly on math, at up to 32B parameters.

Terms

Sequence weight
Wi=∏tρi,tW_i=\prod_t\rho_{i,t}: exact for stale answers; its log sums ∣yi∣|y_i| token log-ratios, so its spread grows with length
ESS ratio
ν=(∑w)2/(n∑w2)\nu=(\sum w)^2/(n\sum w^2); with Gaussian log⁡W\log W, ν≈e−∣y∣σ2\nu\approx e^{-|y|\sigma^2} (computed here)
Collapse order
ESS ratio falls first, then KL spikes and accuracy falls (VCPO, capped sequence weight, lag 10)
VCPO
learning rate ην/νon\eta\sqrt{\nu/\nu_{\rm on}}, cap 8, baseline ∑W2∥g∥2r/∑W2∥g∥2\sum W^2\|g\|^2r/\sum W^2\|g\|^2
TETPO
Wiα⋆W_i^{\alpha^\star}, the largest α\alpha whose group ESS is at least 0.85G0.85G
P3O
token weight min⁡(ρi,t,ν)\min(\rho_{i,t},\nu), KL penalty weighted 1−ν1-\nu
VESPO kernel
Wc1ec2(1−W)W^{c_1}e^{c_2(1-W)}: (2,3)(2,3) for A^>0\hat A\gt0, (3,2)(3,2) for A^<0\hat A\lt0; at most 1.21 and 1.24
KL reading (computed here)
e−c k3(W)=Wcec(1−W)e^{-c\,k_3(W)}=W^ce^{c(1-W)}; VESPO's kernels are e−2k3e^{-2k_3} times e1−We^{1-W} or WW
ReSPO kernels
12(1+W)e1−W\tfrac12(1+W)e^{1-W} for A^>0\hat A\gt0, largest at W=0W=0; We2(1−W)\sqrt We^{2(1-\sqrt W)} for A^<0\hat A\lt0
M2PO
mask the largest (log⁡ρ)2(\log\rho)^2 among clip-eligible tokens until their mean is at most 0.04
Prefix ratio
ρi,<t\rho_{i,\lt t}: exact state-visitation ratio for token sequences; temper by α≈1/(∣y∣σ2)\alpha\approx1/(|y|\sigma^2) (Siboni)

Sources

Connected notes

  • SGD's expected loss is the gradient-descent loss plus a term from noise injected while the loss is still of order one, so SGD noise matters only when the kernel decays more slowly than the gradient-descent loss.

  • In a PAC-Bayes bound the KL from posterior to prior is the complexity term, and a Gaussian prior centered at the initialization makes it grow with how precisely the weights are specified and how far they move in training.

  • Under covariate shift each calibration point is weighted by w(xi)=dP~X/dPXw(x_i)=d\tilde P_X/dP_X, and the test point's own weight sits on +∞+\infty, so a test point far from the training data gets an infinite band, which correctly signals that the method cannot extrapolate to it.

  • In the variance of the doubly robust estimate the inverse-propensity factor (1−p)/p(1-p)/p multiplies Δ2\Delta^2, the squared error of the reward model, where inverse propensity scoring has ϱπ(x)2\varrho^2_{\pi(x)}, so any reward model closer to the truth than zero helps, and the reward-noise term is the same for both.

Threads