What Policy Gradient Can Reach

Why Post-Training Is Sparse · Part 3 of 3. Uses the covariance form of Part 1 and the Fisher of Part 2.

  • One update moves the log-odds of

$y$ against

$y’$ by at most

$\operatorname{std}_{\smu}(A)\sqrt{v^\top F^{\mu}v}$, where

$v$ is their score difference.

$v^\top F^{\mu}v$ is the mean squared similarity between

$v$ and the sampler’s own outputs: what the sampler never produces barely moves.

  • With one logit per response, growth is proportional to current probability. Reaching one half from

$\varepsilon$ takes time about

$1/\varepsilon$; a demonstration needs only about

$\log(1/\varepsilon)$.

  • The bound covers one step of one estimator. Shared structure, a changing Fisher, and samplers with centered estimators all widen what is reachable.

1. A question that can be answered

Ask how much one update moves a response’s log-odds against another.

$ \frac{d}{d\eta}\log\pi_{\theta+\eta G}(y\mid x)\Big|_{\eta=0}=\mathrm{score}(y)^\top G, $ $ \frac{d}{d\eta}\Big[\log\pi(y\mid x)-\log\pi(y'\mid x)\Big]_{\eta=0}=v^\top G,\quad v=\mathrm{score}(y)-\mathrm{score}(y'). $

“Can RL learn something new?” is too vague to prove anything about. A version that can be proved: for a response $y$ that the model rarely produces but the reward likes, how much can one update change its probability? The normalizer moves many responses at once, so the log-odds against a reference $y'$ isolates learning $y$ itself. Here $G=\mathbb{E}_{\smu}[A\cdot c]$ is the expected update of Part 1, and $\mathrm{score}(y)$ is the model’s score of the target. In the running example: after “She drank a cup of”, can matcha rise if the sampler never says it?

2. A response moves as far as it resembles the sampler’s outputs

One update moves a response only as far as its score resembles the scores of what the sampler draws.

$ \mathrm{score}(y)^\top G=\mathbb{E}_{y''\sim\smu}\big[A(y'')\,K(y,y'')\big],\qquad K(y,y'')=\mathrm{score}(y)^\top c(y''), $ $ \big|v^\top G\big|\le\operatorname{std}_{\smu}(A)\sqrt{v^\top F^{\mu}v},\qquad v^\top F^{\mu}v=\mathbb{E}_{y''\sim\smu}\Big[\big(v^\top c(y'')\big)^2\Big]. $

The similarity $K(y,y'')$ says how much raising a sampled $y''$ raises $y$ along the way. Matcha is never sampled, but if its score shares directions with tea’s, rewarding tea lifts matcha too. A response whose score is orthogonal to everything the sampler draws has $v^\top F^{\mu}v\approx0$ and does not move to first order, however high its reward. With $v$ a coordinate vector this is the bound of Part 1, now in any direction.

Proof, and the preconditioned version

By Part 1, $\mathbb{E}_{\smu}[c]=0$, so $\mathbb{E}_{\smu}[v^\top c]=0$ and the mean of $A$ can be subtracted:

$ v^\top G=\mathbb{E}_{\smu}\big[(A-\mathbb{E}_{\smu}A)\,v^\top c\big]\le\sqrt{\operatorname{Var}_{\smu}(A)}\,\sqrt{\mathbb{E}_{\smu}\big[(v^\top c)^2\big]}=\operatorname{std}_{\smu}(A)\sqrt{v^\top F^{\mu}v}. $

If the step is $\Delta\theta=\eta\,DG$ with a diagonal preconditioner $D$, as in one Adam step, replace $v$ with $Dv$: $|v^\top DG|\le\operatorname{std}_{\smu}(A)\sqrt{v^\top DF^{\mu}D\,v}$.

3. One logit per response: growth in proportion to probability

With one logit per response, a response grows at a rate proportional to its own probability.

$ \frac{\partial\,\mathbb{E}_\pi[r]}{\partial z_y}=\pi(y)\big(r(y)-\mathbb{E}_\pi[r]\big)=\pi(y)\,\Delta(y), $ $ \frac{d\log\pi(y)}{d\eta}=\pi(y)\,\Delta(y)-\sum_{y''}\pi(y'')^2\,\Delta(y''), $ $ \frac{d}{d\eta}\big[\log\pi(y)-\log\pi(y')\big]=\pi(y)\,\Delta(y)-\pi(y')\,\Delta(y'). $

The second term comes from the normalizer and is the same for every response: it raises or lowers the whole tail without changing ratios inside it. The log-odds keep only the first term, which is small for any response the model rarely produces. The kernel bound agrees: with $F=\operatorname{diag}(\pi)-\pi\pi^\top$ and $v=e_y-e_{y'}$, $v^\top Fv=\pi(y)+\pi(y')-(\pi(y)-\pi(y'))^2\le\pi(y)+\pi(y')$. Ignoring the normalizer, $d\pi/dt\approx\Delta\,\pi^2$, so $1/\pi$ falls at rate $\Delta$ and getting from $\varepsilon$ to one half takes about $(1/\varepsilon-2)/\Delta$. This matches the theory of softmax policy gradient, whose rate depends on how much probability the optimal action keeps (Mei et al., 2020), and which can take exponential time in the worst case (Li et al., 2021).

The two-response case, solved exactly

With two responses, rewards $\Delta$ and 0, and log-odds $\ell=\log\frac{\pi}{1-\pi}$ starting at $\ell_0=\log\frac{\varepsilon}{1-\varepsilon}$:

$ \text{policy gradient: }\ \frac{d\ell}{dt}=2\Delta\,\pi(1-\pi),\qquad t_{1/2}=\frac{e^{-\ell_0}-2\ell_0-e^{\ell_0}}{2\Delta}\approx\frac{1}{2\varepsilon\Delta}, $ $ \text{demonstration: }\ \frac{d\ell}{dt}=2(1-\pi),\qquad t_{1/2}=\frac{1-\ell_0-e^{\ell_0}}{2}\approx\tfrac12\log\frac1\varepsilon . $

From $\varepsilon=0.01$ with $\Delta=1$ these give 54.1 and 2.8; from $\varepsilon=0.001$, 506 and 4.0.

4. A demonstration injects probability directly

A demonstration pushes a response at a rate that does not shrink with its probability.

$ G=\mathrm{score}(y^\star)\ \Rightarrow\ \frac{d}{d\eta}\log\pi(y^\star)\Big|_{\eta=0}=\big\|\mathrm{score}(y^\star)\big\|^2, $ $ \big\|e_{y^\star}-\pi\big\|^2=\big(1-\pi(y^\star)\big)^2+\sum_{y\ne y^\star}\pi(y)^2 . $

No similarity to sampled outputs enters, and the push stays near one however unlikely $y^\star$ is. The tabular expression is the squared logit update of Logit Dynamics for a chosen action, $1-2P_c+C(P)$; in the output layer, row $y^\star$ receives $(1-\pmodel(y^\star))\,h$ (Part 2). SFT can inject mass into a response the sampler never produces. Policy gradient can only amplify what it already reaches through similarity: $1/\varepsilon$ against $\log(1/\varepsilon)$ in the figure.

5. What the bound does not say

The bound limits one first-order step of one estimator. It does not say RL can only sharpen.

  • Shared structure. In a network the similarity $K$ is not diagonal. A response never sampled is lifted if it shares structure with rewarded samples, so new solutions recombined from existing pieces are within reach.
  • Many steps. The Fisher moves. In Zhang, Mukherjee & Peng (2026), the initial high-Fisher set keeps only 70–78% of its coordinates through 1,000 steps, and the mean Fisher of the initial low-Fisher set rises by 15–17%. Directions that were invisible can open; a multi-step bound would need control over that drift, and none exists yet.
  • First order. Large steps and strong nonlinearity add higher-order terms.
  • Which estimator, and which sampler. With full importance weighting, the expected update is the on-policy gradient, bounded by the model’s own Fisher whatever the sampler, so exploring alone does not widen a single step. With the score centered under the sampler, the update is $\operatorname{Cov}_{\smu}(A,c)$, bounded by $F^{\mu}$: a different sampler (a higher temperature, an exploration bonus, or posterior sampling as in Exploration at Scale) changes which directions are visible. Value-based TD learning is not score-weighted at all, so the bound does not apply to it.
  • Sparse is not little. A new capability can live in a few parameters.

6. What to measure instead

Whether policy gradient can learn a behavior depends on score similarity, not on probability alone.

$ v^\top F^{\mu}v=\mathbb{E}_{y''\sim\smu}\Big[\big(v^\top c(y'')\big)^2\Big],\qquad v=\mathrm{score}(y)-\mathrm{score}(y'). $

The debate over whether RL extends a base model’s abilities usually looks at probability: at large k, the base model’s pass@k can be higher (Yue et al., 2025). The bound points to a different quantity, the overlap between the target behavior’s score and what the sampler produces. Among equally unlikely responses, those that share structure with high-reward samples can be amplified and isolated ones cannot. Policy gradient is similarity-driven amplification. Whether it yields new capabilities depends on how new behavior connects, through shared parameters, to what the sampler already generates, and on which sampler is used.

Back to the start. Part 1 showed that a score centered under the sampler makes the update a covariance; Part 2 showed what that covariance can touch. Choosing the sampler is the exploration problem, which Exploration at Scale treats on its own terms.

References

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论