TL;DR

Score Centering Stabilizes Off-policy Reinforcement Learning (arXiv 2609.20807) explains score centering (SC) as canceling a "drift" term in the policy gradient under training-inference mismatch. We make the motivation explicit: canceling the drift makes the update valid, meaning a constant reward no longer moves the policy. SC achieves this in a specific way: under a softmax policy, the centered score is exactly the sampler's own score in logit space, so SC computes the sampler's on-policy update and maps it to parameters through the trainer's Jacobian. Relative to the trainer, the update is still biased. Off-policy correction removes the bias, and is valid as well, but at the cost of variance; SC with MIS combines the two, which is why it works best under staleness in the paper's experiments. With many inference engines, this is asynchronous SGD with stale workers, and its tools carry over.

// § 01

Work in logit space

Let xx be a prefix and yy the next token. The trainer computes logits z(x)z(x) and the policy p(y∣x)=softmax(z(x))yp(y \mid x) = \mathrm{softmax}(z(x))_y. The sampler computes logits z~(x)\tilde z(x) and the policy q(y∣x)=softmax(z~(x))yq(y \mid x) = \mathrm{softmax}(\tilde z(x))_y. Tokens are sampled from qq. We write p(⋅∣x)p(\cdot \mid x) and q(⋅∣x)q(\cdot \mid x) for the probability vectors and eye_y for the one-hot vector of yy.

Every gradient with respect to the parameters passes through the logits: ∇θ=(∂θz(x))⊤∇z(x)\nabla_\theta = (\partial_\theta z(x))^\top \nabla_{z(x)}. So we first look at SC in logit space, and bring in the Jacobian ∂θz(x)\partial_\theta z(x) at the end.

In logit space, the trainer's score is ∇zlog⁡p(y∣x)=ey−p(⋅∣x)\nabla_{z} \log p(y \mid x) = e_y - p(\cdot \mid x), due to the softmax parametrization. SC subtracts its expectation under the sampler:

Ey′∼q(⋅∣x)[ey′−p(⋅∣x)]=q(⋅∣x)−p(⋅∣x),(ey−p(⋅∣x))−(q(⋅∣x)−p(⋅∣x))=ey−q(⋅∣x)=∇z~log⁡q(y∣x).\begin{aligned} \mathbb{E}_{y' \sim q(\cdot \mid x)}\big[e_{y'} - p(\cdot \mid x)\big] &= q(\cdot \mid x) - p(\cdot \mid x), \\ \big(e_y - p(\cdot \mid x)\big) - \big(q(\cdot \mid x) - p(\cdot \mid x)\big) &= e_y - q(\cdot \mid x) = \nabla_{\tilde z} \log q(y \mid x). \end{aligned}

The trainer's distribution pp cancels. The centered score is the sampler's own score. Nan Jiang made the same point for linear softmax policies: there, the correction simply computes the gradient under the sampling distribution.

// § 02

What direction does SC compute?

A rollout τ\tau starts from a prompt x1∼Dx_1 \sim \mathcal{D}, samples yt∼q(⋅∣xt)y_t \sim q(\cdot \mid x_t), and extends the prefix xt+1=(xt,yt)x_{t+1} = (x_t, y_t) until it ends; it receives reward R(τ)R(\tau). The expected reward of the sampler is

J(q)=Ex1∼D,  yt∼q(⋅∣xt)[R(τ)].J(q) = \mathbb{E}_{x_1 \sim \mathcal{D},\; y_t \sim q(\cdot \mid x_t)}\big[R(\tau)\big].

The trainer's expected reward J(p)J(p) is defined the same way, with pp in place of qq. The value of token yy at prefix xx, the value of the prefix, and the advantage are

Q(x,y)=E[R(τ)∣xt=x, yt=y],V(x)=Ey∼q(⋅∣x)[Q(x,y)],A(x,y)=Q(x,y)−V(x),Q(x, y) = \mathbb{E}\big[R(\tau) \mid x_t = x,\ y_t = y\big], \qquad V(x) = \mathbb{E}_{y \sim q(\cdot \mid x)}\big[Q(x, y)\big], \qquad A(x, y) = Q(x, y) - V(x),

where the expectations are over rollouts from qq. In practice A(x,y)A(x, y) is estimated by A^=R(τ)−b\hat A = R(\tau) - b, with bb a baseline, for example the mean reward of the rollouts for the same prompt (group centering), so all tokens of a rollout get the same estimate. We write AA where the distinction does not matter and A^\hat A where it does.

Let dq(x)=∑tPr⁡q(xt=x)d_q(x) = \sum_t \Pr_q(x_t = x) be the expected number of visits to prefix xx under qq. Treating each z~(x)\tilde z(x) as a free parameter, the policy gradient theorem gives

∇z~(x)J(q)=dq(x)∑yq(y∣x) Q(x,y) (ey−q(⋅∣x))=dq(x)  Ey∼q(⋅∣x)[A(x,y) (ey−q(⋅∣x))],\nabla_{\tilde z(x)} J(q) = d_q(x) \sum_y q(y \mid x)\, Q(x, y)\, \big(e_y - q(\cdot \mid x)\big) = d_q(x)\; \mathbb{E}_{y \sim q(\cdot \mid x)}\Big[A(x, y)\, \big(e_y - q(\cdot \mid x)\big)\Big],

where the baseline drops out because Ey∼q(⋅∣x)[ey−q(⋅∣x)]=0\mathbb{E}_{y \sim q(\cdot \mid x)}\big[e_y - q(\cdot \mid x)\big] = 0. Hence, for rollouts from qq,

Eτ∼q[∑t1{xt=x} A(xt,yt) (eyt−q(⋅∣xt))]=∇z~(x)J(q).\mathbb{E}_{\tau \sim q}\Big[\sum_t \mathbb{1}\{x_t = x\}\, A(x_t, y_t)\, \big(e_{y_t} - q(\cdot \mid x_t)\big)\Big] = \nabla_{\tilde z(x)} J(q).

So the centered score, weighted by the advantage, is the on-policy REINFORCE estimator of the sampler's logit-space policy gradient. The data come from qq, so nothing needs correcting.

The trainer only maps this back to parameters:

∑tA(xt,yt) (∂θz(xt))⊤(eyt−q(⋅∣xt)).\sum_t A(x_t, y_t)\,\htmlClass{emphasize}{\big(\partial_\theta z(x_t)\big)}^\top \big(e_{y_t} - q(\cdot \mid x_t)\big).

An equivalent loss is −A(x,y) log⁡softmax(z(x)+sg[z~(x)−z(x)])y-A(x, y)\,\log \mathrm{softmax}\big(z(x) + \mathrm{sg}[\tilde z(x) - z(x)]\big)_y: treat the logit gap between the two engines as a constant, take the forward pass from qq and the gradient from pp.

The exact policy gradient of the sampler would use the sampler's Jacobian ∂θz~(x)\partial_\theta \tilde z(x); SC uses the trainer's ∂θz(x)\partial_\theta z(x).

  • In expectation, SC moves along ∑x(∂θz(x))⊤∇z~(x)J(q)\sum_x (\partial_\theta z(x))^\top \nabla_{\tilde z(x)} J(q): the sampler's logit-space policy gradient, pulled back through the trainer's Jacobian. In general this is not the gradient of any objective.
  • It equals ∇θJ(q)=∑x(∂θz~(x))⊤∇z~(x)J(q)\nabla_\theta J(q) = \sum_x (\partial_\theta \tilde z(x))^\top \nabla_{\tilde z(x)} J(q) only when the two Jacobians agree. The gap is ∑x(∂θz(x)−∂θz~(x))⊤∇z~(x)J(q)\sum_x \big(\partial_\theta z(x) - \partial_\theta \tilde z(x)\big)^\top \nabla_{\tilde z(x)} J(q), and it comes only from the Jacobian swap.

So with a sampler synced every step, SC is one-step on-policy PG on the sampler.

// § 03

Validity vs. unbiasedness: SC and off-policy correction

§01–§02 showed what SC computes. This section explains why it works: SC makes the update valid. Validity is a different requirement from the one off-policy correction targets, which is unbiasedness toward the trainer. An unbiased update is automatically valid, but validity alone is already worth having, and it is cheaper. SC achieves validity with low variance and does not aim to cancel the bias toward the trainer; off-policy correction achieves unbiasedness, and with it validity, but its variance is large.

Fix a prefix xx and stay in logit space, as in §02. There, the sampler's expected update at xx is Ey∼q(⋅∣x)[A(x,y) (ey−q(⋅∣x))]\mathbb{E}_{y \sim q(\cdot \mid x)}\big[A(x, y)\,\big(e_y - q(\cdot \mid x)\big)\big]. The trainer wants the same quantity with pp in place of qq, Ey∼p(⋅∣x)[A(x,y) (ey−p(⋅∣x))]\mathbb{E}_{y \sim p(\cdot \mid x)}\big[A(x, y)\,\big(e_y - p(\cdot \mid x)\big)\big], but only has rollouts from the sampler.

1. Validity. Consider updates of the form A^ s(x,y)\hat A\, s(x, y), with y∼q(⋅∣x)y \sim q(\cdot \mid x) and s(x,y)s(x, y) a score in logit space. Call the update valid if a constant reward gives zero expected update at every prefix: for R(τ)≡cR(\tau) \equiv c and any baseline bb, so that A^≡c−b\hat A \equiv c - b,

Ey∼q(⋅∣x)[(c−b) s(x,y)]=0for all x, c, b,equivalentlyEy∼q(⋅∣x)[s(x,y)]=0for all x.\mathbb{E}_{y \sim q(\cdot \mid x)}\big[(c - b)\, s(x, y)\big] = 0 \quad \text{for all } x,\ c,\ b, \qquad \text{equivalently} \qquad \mathbb{E}_{y \sim q(\cdot \mid x)}\big[s(x, y)\big] = 0 \quad \text{for all } x.

A constant reward carries no information, so a valid update leaves the policy unchanged in expectation. The trainer's score on the sampler's data, sp(x,y)=ey−p(⋅∣x)s_p(x, y) = e_y - p(\cdot \mid x), fails this:

Ey∼q(⋅∣x)[sp(x,y)]=q(⋅∣x)−p(⋅∣x)≠0,\mathbb{E}_{y \sim q(\cdot \mid x)}\big[s_p(x, y)\big] = q(\cdot \mid x) - p(\cdot \mid x) \neq 0,

so a constant reward cc moves the logits by c (q(⋅∣x)−p(⋅∣x))c\,\big(q(\cdot \mid x) - p(\cdot \mid x)\big), pulling the trainer toward the sampler when c>0c > 0. This is the drift, and the update A^ sp(x,y)\hat A\, s_p(x, y) is not valid.

2. SC makes it valid. SC subtracts the score's mean under qq,

sq(x,y)=sp(x,y)−Ey′∼q(⋅∣x)[sp(x,y′)]=ey−q(⋅∣x),s_q(x, y) = s_p(x, y) - \mathbb{E}_{y' \sim q(\cdot \mid x)}\big[s_p(x, y')\big] = e_y - q(\cdot \mid x),

the sampler's own score (§01), which has zero mean under the sampler: Ey∼q(⋅∣x)[sq(x,y)]=0\mathbb{E}_{y \sim q(\cdot \mid x)}\big[s_q(x, y)\big] = 0. A constant reward, or any baseline bb, then gives zero expected update and no longer changes the policy. This is the orthogonal projection, in the Fisher–Rao metric, onto the scores with zero mean under the sampler (a Fisher–Rao view). The update becomes A^ sq(x,y)\hat A\, s_q(x, y), with expectation Ey∼q(⋅∣x)[A(x,y) sq(x,y)]\mathbb{E}_{y \sim q(\cdot \mid x)}\big[A(x, y)\, s_q(x, y)\big] for any baseline. This is the sampler's expected update, not the trainer's, so relative to the trainer it is still biased: canceling the bias is not what SC does. The bias is benign when the two policies are close, since it is the on-policy update of a nearby policy. SC is computable because the sampler's logprobs are logged and the sampler shares the trainer's parameters, so this logit-space update reaches θ\theta through ∂θz\partial_\theta z.

3. Off-policy correction makes it unbiased, and therefore valid, at the cost of variance. Weighting each token by r=p(y∣x)/q(y∣x)r = p(y \mid x) / q(y \mid x) gives r A^ sp(x,y)r\,\hat A\, s_p(x, y), with expectation Ey∼p(⋅∣x)[A(x,y) sp(x,y)]\mathbb{E}_{y \sim p(\cdot \mid x)}\big[A(x, y)\, s_p(x, y)\big], the trainer's expected update: it is unbiased for the trainer at each prefix. Validity follows, since the weighted score has zero mean under the sampler, Ey∼q(⋅∣x)[r sp(x,y)]=Ey∼p(⋅∣x)[sp(x,y)]=0\mathbb{E}_{y \sim q(\cdot \mid x)}\big[r\, s_p(x, y)\big] = \mathbb{E}_{y \sim p(\cdot \mid x)}\big[s_p(x, y)\big] = 0. The price is variance, Ey∼q(⋅∣x)[r2]=1+χ2(q∥p)\mathbb{E}_{y \sim q(\cdot \mid x)}[r^2] = 1 + \chi^2(q \Vert p), so in practice the ratio is clipped or masked. Clipping brings the drift back, and in PPO it also acts as an approximate KL trust region.

The two corrections are independent, so they compose: weight, then project,

A^ (ωy sp(x,y)−Ev∼q(⋅∣x)[ωv sp(x,v)]),\hat A\,\Big(\omega_y\, s_p(x, y) - \mathbb{E}_{v \sim q(\cdot \mid x)}\big[\omega_v\, s_p(x, v)\big]\Big),

with ω\omega a function of the token's ratio only. The projection makes the update valid for any ω\omega; ω\omega moves the target from the sampler toward the trainer and trades bias against variance. Each method is a choice on the two axes:

MethodWeight ω\omegaProjectedValidBias vs. trainerVariance
Uncorrected PG11nono (drift)yeslow
Per-token ISrrno (the mean is already 0)yesnone at each prefixhigh
TIS, MISclipped or masked rrnono (clipping brings the drift back)partialbounded
SC11yesyesyeslow
SC + TIS, SC + MISclipped or masked rryesyespartialbounded

Among the rows with bounded variance, SC + TIS and SC + MIS are the only ones that are valid and also reduce the bias. For SC + MIS, with ωy=r\omega_y = r on the kept tokens KK and 00 on the rest, the expected update is ∑v∈Kp(v∣x) A(x,v) sp(x,v)\sum_{v \in K} p(v \mid x)\, A(x, v)\, s_p(x, v), the trainer's expected update restricted to KK: the kept tokens carry no bias, and what is left comes from the masked tokens. This matches the paper's experiments. Under quantization and synthetic weight noise, where the sampler and the trainer stay close, SC alone and SC composed with TIS or MIS perform about the same: the bias is small, and validity alone is enough. Under staleness, with the sampler updated only every 64 steps, the trainer moves far from the sampler, the bias grows, and the composition performs best. Once the projection takes care of validity, choosing ω\omega is a per-token tradeoff between a bias term (how far ω\omega is from rr) and a variance term, weighted by λ\lambda and summed over tokens. Below, qq, pp, rr and ω\omega are short for q(y∣x)q(y \mid x), p(y∣x)p(y \mid x), rr and ωy\omega_y. The variance term is either the second moment of the weight, q ω2q\,\omega^2, or its deviation from SC's weight 11; under the first, a large λ\lambda drives ω\omega to 00, under the second, to SC. Existing weights, and some new ones, are its solutions under different measures:

Bias termVariance termOptimal ω\omegaWeight
∣qω−p∣\lvert q\omega - p \rvertq ω2q\,\omega^2min⁡(r,1/(2λ))\min\big(r, 1/(2\lambda)\big)TIS
q (ω−r)2/rq\,(\omega - r)^2 / rq ω2q\,\omega^2r/(1+λr)r / (1 + \lambda r)soft truncation
q (ω−r)2q\,(\omega - r)^2q (ω−1)2q\,(\omega - 1)^2(r+λ)/(1+λ)(r + \lambda) / (1 + \lambda)linear mix of SC and IS
D(ω∥r)D(\omega \Vert r)D(ω∥1)D(\omega \Vert 1)r1/(1+λ)r^{1/(1 + \lambda)}power family (r\sqrt r at λ=1\lambda = 1)

Here D(a∥b)=alog⁡(a/b)−a+bD(a \Vert b) = a \log(a/b) - a + b. The two ends are limits of these rows: λ=0\lambda = 0 gives ω=r\omega = r, per-token IS, in every row; λ→∞\lambda \to \infty gives ω=1\omega = 1, SC, in the last two rows, where the variance term measures the deviation from 11. MIS is not a row: restricting ω\omega to {0,r}\{0, r\} gives its upper cut, dropping a token when λr>1\lambda r > 1, but not its lower cut, since dropping a token with small rr saves little variance. All of these are per-token corrections at a prefix: none of them corrects the prefix distribution or the continuation, which only the sequence-level ratio does.

// § 04

Distributed training: merging many inference policies

In practice many inference engines sample in parallel, and they rarely run the same policy: new weights reach them at different times, and they may use different quantization or kernels. Write qiq_i for the policy of engine ii, with logits z~i(x)\tilde z_i(x) and score sqi(x,y)=ey−qi(⋅∣x)s_{q_i}(x, y) = e_y - q_i(\cdot \mid x).

The parameter-server picture. This is the setting of asynchronous parameter-server training (Downpour SGD, Parameter Server). The engines are the workers: each computes its part of the update with its own, possibly stale, parameters θi\theta_i. The trainer is the server: it applies the updates to a central model θc\theta_c, with policy pp. One difference: a worker here computes only the logit-space part, A^ sqi(x,y)\hat A\, s_{q_i}(x, y); the Jacobian ∂θz(x;θc)\partial_\theta z(x; \theta_c) is taken at the central model.

Each engine uses the update of §03, weight then project, with ω\omega a function of its own ratio ri=p(y∣x)/qi(y∣x)r_i = p(y \mid x) / q_i(y \mid x):

A^ (ωy sp(x,y)−Ev∼qi(⋅∣x)[ωv sp(x,v)]),y∼qi(⋅∣x).\hat A\,\Big(\omega_y\, s_p(x, y) - \mathbb{E}_{v \sim q_i(\cdot \mid x)}\big[\omega_v\, s_p(x, v)\big]\Big), \qquad y \sim q_i(\cdot \mid x).

Each engine's update is valid, so updates from different engines can be merged directly, with merge weights μi\mu_i, ∑iμi=1\sum_i \mu_i = 1. At a prefix xx, the merged update has expectation

∑iμi Ey∼qi(⋅∣x)[A(x,y) (ωy sp(x,y)−Ev∼qi(⋅∣x)[ωv sp(x,v)])],\sum_i \mu_i\, \mathbb{E}_{y \sim q_i(\cdot \mid x)}\Big[A(x, y)\,\Big(\omega_y\, s_p(x, y) - \mathbb{E}_{v \sim q_i(\cdot \mid x)}\big[\omega_v\, s_p(x, v)\big]\Big)\Big],

while the central model's own on-policy update has expectation Ey∼p(⋅∣x)[A(x,y) sp(x,y)]\mathbb{E}_{y \sim p(\cdot \mid x)}\big[A(x, y)\, s_p(x, y)\big]; the difference is the bias, mapped to parameters by the central model's Jacobian. With ω=1\omega = 1, SC, each engine's term is Ey∼qi(⋅∣x)[A(x,y) sqi(x,y)]\mathbb{E}_{y \sim q_i(\cdot \mid x)}\big[A(x, y)\, s_{q_i}(x, y)\big], and each engine carries the bias of §03. With ω=ri\omega = r_i, IS, each term equals the central model's, and the bias is zero; a clipped or masked ratio leaves part of it. For SC, this is the stale-gradient bias of asynchronous SGD (Agarwal and Duchi, Lian et al.), confined to logit space: the Jacobian is the central model's own, and to first order the bias is linear in the logit gaps z~i(x)−z(x;θc)\tilde z_i(x) - z(x; \theta_c), averaged under μi\mu_i.

What to borrow. The correspondence suggests which tools carry over. Parameter-server training has three kinds of operations on the central model:

  1. The server's update rule. The server decides which updates to accept and how far to step. It can drop updates from engines more than a few versions behind, as in stale synchronous parallel, or scale their step down with staleness (Zhang et al.); both shrink the logit gaps that enter the bias. Delayed updates also act like extra momentum (Mitliagkas et al.), so with stale engines the trainer's own momentum should be lowered. Taylor-based delay compensation (DC-ASGD) is not recommended at scale: it needs second-order terms, which are noisy for large models.
  2. An outer optimizer. Adaptive federated optimization and DiLoCo treat the updates collected over a period as a pseudo-gradient and step the central model with an outer optimizer, such as Adam or Nesterov momentum. This needs the trainer to collect inner updates before each outer step, a heavier change than the others.
  3. Averaging: the weights pushed and the central model. In elastic averaging SGD, workers are pulled toward a center that averages them. Inference engines compute no gradients and make no updates of their own, so they cannot be pulled; the levers are which weights the trainer pushes to them and where it takes the Jacobian. The two should be the same slowly moving point, a smoothed copy of the trainer: pushing a smoothed copy while taking the Jacobian at the latest weights only widens the gap. The trainer's latest weights θtr\theta_{\mathrm{tr}} are the default, and what SC does. An exponential moving average of the trainer's iterates, pushed to the engines and used for the Jacobian, keeps the engines close to one another and to the center: the backward pass runs on the EMA copy, the update is applied to θtr\theta_{\mathrm{tr}}, and the EMA follows. For engines already running different versions, the weighted average θc=∑iμiθi\theta_c = \sum_i \mu_i \theta_i makes the first-order bias vanish, since z~i(x)−z(x;θc)≈∂θz(x;θc) (θi−θc)\tilde z_i(x) - z(x; \theta_c) \approx \partial_\theta z(x; \theta_c)\,(\theta_i - \theta_c) and the weighted logit gaps sum to zero. The extreme, weight stashing, takes the Jacobian at each engine's own θi\theta_i; it is not recommended at scale, since it needs a copy of every version still in use.

Whatever the choices above, the engines return, for each token, the top logprobs (for example the top 128) and the logprob of the sampled token, all of the distribution actually sampled from, after temperature and top-pp, together with their weight version. Inference engines such as vLLM and SGLang return top logprobs per token, but one should check that they are the processed ones. The trainer assembles the update from them, with the remaining mass as a tail term. For an engine sampling at temperature τ\tau, the trainer uses the same temperature, p=softmax(z/τ)p = \mathrm{softmax}(z / \tau), and the Jacobian of z/τz / \tau carries an extra factor 1/τ1/\tau.

// § 05

Bonus: adaptive exploration vs. exploitation tradeoff

So far we have read SC as one-step on-policy PG on the sampler. Read instead against uncorrected PG (§03), SC adds one term in logit space, and this term has an interpretation of its own:

A(x,y) (ey−q(⋅∣x))=A(x,y) (ey−p(⋅∣x))+A(x,y) (p(⋅∣x)−q(⋅∣x)).A(x, y)\,\big(e_y - q(\cdot \mid x)\big) = A(x, y)\,\big(e_y - p(\cdot \mid x)\big) + A(x, y)\,\big(p(\cdot \mid x) - q(\cdot \mid x)\big).

Since ∇z(x)KL(q(⋅∣x) ∥ p(⋅∣x))=p(⋅∣x)−q(⋅∣x)\nabla_{z(x)} \mathrm{KL}\big(q(\cdot \mid x) \,\Vert\, p(\cdot \mid x)\big) = p(\cdot \mid x) - q(\cdot \mid x), the extra term is A(x,y) ∇z(x)KL(q(⋅∣x) ∥ p(⋅∣x))A(x, y)\, \nabla_{z(x)} \mathrm{KL}\big(q(\cdot \mid x) \,\Vert\, p(\cdot \mid x)\big). A usual KL regularizer ascends −β KL(q ∥ p)-\beta\, \mathrm{KL}(q \,\Vert\, p) with β>0\beta > 0 and always pulls pp toward qq. In SC the coefficient is the advantage: tokens with A>0A > 0 push pp away from qq, and tokens with A<0A < 0 pull it toward qq.

Averaged over y∼q(⋅∣x)y \sim q(\cdot \mid x), the extra term is Ey∼q(⋅∣x)[A(x,y)] (p(⋅∣x)−q(⋅∣x))\mathbb{E}_{y \sim q(\cdot \mid x)}[A(x, y)]\,\big(p(\cdot \mid x) - q(\cdot \mid x)\big). With the exact advantage of §02, Ey∼q(⋅∣x)[A(x,y)]=0\mathbb{E}_{y \sim q(\cdot \mid x)}[A(x, y)] = 0, so the term vanishes and SC matches uncorrected PG at every prefix in expectation. In practice the update uses A^=R(τ)−b\hat A = R(\tau) - b (§02). At an intermediate prefix xx, E[A^∣xt=x]=V(x)−b\mathbb{E}[\hat A \mid x_t = x] = V(x) - b, and the extra term becomes

(V(x)−b) ∇z(x)KL(q(⋅∣x) ∥ p(⋅∣x)).\big(V(x) - b\big)\, \nabla_{z(x)} \mathrm{KL}\big(q(\cdot \mid x) \,\Vert\, p(\cdot \mid x)\big).

Prefixes better than the baseline push pp away from qq; prefixes worse than the baseline pull pp toward qq. The expected difference between SC and uncorrected PG therefore comes entirely from the advantage estimate not being centered at intermediate prefixes.

Pushing pp away from qq explores beyond the current sampler; pulling pp toward qq stays close to it. The tradeoff adapts per prefix through the sign of V(x)−bV(x) - b.

The same structure appears in value-incentivized preference optimization (VPO). VPO adds sign⋅αβ  Ey∼πcal(⋅∣x)[log⁡π(y∣x)]\mathrm{sign} \cdot \alpha\beta\; \mathbb{E}_{y \sim \pi_{\mathrm{cal}}(\cdot \mid x)}\big[\log \pi(y \mid x)\big] to the DPO loss, which equals −sign⋅αβ  KL(πcal(⋅∣x) ∥ π(⋅∣x))-\mathrm{sign} \cdot \alpha\beta\; \mathrm{KL}\big(\pi_{\mathrm{cal}}(\cdot \mid x) \,\Vert\, \pi(\cdot \mid x)\big) up to a constant. A positive coefficient (online) is optimism: it pushes π\pi away from πcal\pi_{\mathrm{cal}}. A negative coefficient (offline) is pessimism: it pulls π\pi toward πcal\pi_{\mathrm{cal}}. SC has the same term with πcal=q\pi_{\mathrm{cal}} = q and sign⋅αβ\mathrm{sign} \cdot \alpha\beta replaced by V(x)−bV(x) - b, so the choice between optimism and pessimism is made per prefix instead of per setting.

// § 06

Takeaway

The method works and is cheap. Canceling the drift makes the update valid, and it does so by switching the target from the trainer to the sampler: with a synced sampler, SC is one-step on-policy PG on the sampler. Relative to the trainer it still has a bias, which only off-policy correction removes, at the cost of variance (§03). SC with MIS combines the two: it is valid, and it removes the bias on the tokens it keeps, so it helps most when the trainer moves far from the sampler, as in the paper's staleness experiments.

With many inference engines, each engine's SC update is valid and can be merged without ratios; relative to the central model it carries the same bias. This is asynchronous parameter-server training confined to logit space, so its tools carry over: the server's update rule, an averaged central model that is both pushed to the engines and used for the Jacobian, and IS correction (§04).