Manuscript Offprint
arXiv:2608.22467The Variance of Thought: Policy Variance, Critical Forks, and Local Credit Assignment
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Long-horizon language-model tasks — multi-step reasoning and tool-using agents alike — are limited by credit assignment. We analyze it through the policy variance , which in a deterministic MDP is the sole source of return variance and is injected in discrete pulses at states we call critical forks. Three results follow. (i) Policy variance is a discovery budget: observing an action of advantage requires draws, a bound that is exact on the canonical two-point fork. (ii) Policy variance is bounded by the policy’s Gini dispersion, , a rollout-free necessary condition for criticality computable from logits alone. (iii) The remaining horizon sets the estimation cost: at a fork whose downstream success probability is , the Monte Carlo advantage estimate has signal-to-noise ratio of order , so its sample cost scales as — a cost that branched sampling shares. Bootstrapping removes it by converting a product of survival probabilities into a sum, provided the value representation is multiplicatively accurate, which argues for log-value parameterization.
1 Introduction
When a reasoning or agent trajectory of length T receives a single terminal reward [8], no token-level signal is directly observed. The standard framing treats the resulting gradient variance as noise to be suppressed [9, 7]. We adopt the complementary framing: in a deterministic environment, all return variance originates in the policy's own choices, so the variance one wishes to suppress is exactly the statistic that measures how much any given choice matters. Suppressing it uniformly destroys the learning signal along with the noise.
Making this precise requires separating two questions:
(Q1) Local discovery. At a fixed state s, how many action samples are needed to observe an action whose advantage exceeds c?
(Q2) Long-horizon estimation. Once observed, how many trajectory samples are needed before its advantage is estimated accurately enough to act on?
After the setup of Section 2, the two answers turn out to have different characters: (Q1) is governed by and is polynomial: at least samples, with the bound attained on the canonical fork (Section 3), while (Q2) is governed by the remaining horizon and is exponential (Section 4). The case for local credit assignment rests on (Q2). Section 5 develops the algorithmic consequences: a fork taxonomy, a detection procedure whose first stage is free, and the extension to stochastic environments.
Email: szrlee@gmail.com
Definition 1 (Policy variance).
the equalities holding because is constant at fixed s and is centered.
Proposition 2 (Variance recursion). Let . Then with
hence . Under deterministic transitions the environmental term vanishes identically, so with , .
Proof. Appendix A.
In deterministic reasoning, return variance is therefore not a diffuse background but a sum of state-local pulses — which motivates:
Definition 3 (Critical fork). Fix . A state is a -critical fork if .
3 Local Discovery Is Polynomially Gated
3.1 Advantage Is Gated by Action Probability
Lemma 4 (Advantage–probability bound). For any and any with ,
so in particular .
Proof. Appendix B.
By (2), high-advantage actions live in the tail of : the search for improvement is a search over low-probability tokens. Combining the lemma with Definition 1 yields a bound on policy variance requiring no rollouts at all.
Corollary 5 (Dispersion bound). Let denote the Gini–Simpson dispersion of the policy at . Then
so if then is not a -critical fork (Definition 3).
Any bounded normalizes to affinely; policy gradients are invariant under affine reward transformations. All constants below are stated for the normalized scale.
Proof. by Lemma 4, and on .
Condition (3) costs time on the next-token distribution and no generation. On the two-point policy with value gap , and , so the gap is a factor — within two of tight at maximal value gap, loose when values barely diverge. The condition is necessary but not sufficient: a policy dispersed over value-equivalent actions (paraphrases, formatting tokens) has large and . Dispersion screens; only rollouts or a critic confirm.
3.2 Policy Variance Is a Discovery Budget
We now answer (Q1) by bounding the tail of the single centered draw , which has variance and range in .
Theorem 6 (Advantage sampling bound). Fix and let , . For every :
(one-sided)
(two-sided)
(success-rate)
Proof. Appendix C: (4) is Cantelli's inequality, (5) Chebyshev's, and (6) follows from with Markov's inequality.
Proposition 7 (Exactness on the canonical fork). Let , with , , so , , . At , bound (4) holds with equality: .
Proof. Direct computation; Appendix C gives the general equality condition of Cantelli's inequality, of which this is an instance.
The second-moment bounds are the sharp ones for a single draw; exponential-tail inequalities require a sample count to exponentiate, and Appendix D quantifies their behavior in this setting. Restated as a sample requirement, Theorem 6 becomes a budget:
Corollary 8 (Discovery budget). Let and draw . Then and
so discovery probability requires .
Policy variance is thus the reciprocal per-sample discovery rate: it is the sampling budget, in rollouts — tight by Proposition 7 and directly actionable as a branch count. On hard tasks the success-rate bound (6) binds instead: with , the Bhatia–Davis inequality [1] gives , so (5) yields while (6) yields the sharper for . On a problem the policy rarely solves, positive-advantage discoveries are rare in proportion to the success rate — the formal version of the observation that RL from verifiable rewards [3] produces almost no gradient signal at near-zero pass rate.
4 Long-Horizon Estimation Is Exponentially Costly
Section 3 assumed exact . In practice it is estimated from rollouts; this is (Q2), and it is where horizon enters. Consider the canonical structure: states , a binary choice at each , the wrong branch absorbing with reward 0, and reward 1 at . With and ( ), Appendix E gives
Note from (8) that , consistent with Lemma 4, with equality iff the suffix is deterministic; and that Corollary 8 at evaluates to exactly draws — the budget bound is attained on the chain as well.
Proposition 9 (Monte Carlo estimation cost). Condition on visiting and taking the correct action, and let with be the single-rollout advantage estimate with exact baseline. Then is unbiased with
so unit SNR requires averaging
rollouts — exponential in the remaining horizon whenever the are bounded away from 1. The wrong branch, by contrast, yields deterministically: the failure signal is noiseless, and the statistical cost falls entirely on estimating the successful branch.
Proof. Appendix E.
The advantage and the value are of the same order ; the difficulty is that unbiased Bernoulli estimation of an exponentially small quantity costs its reciprocal. The cost is shared by every sampling scheme: branching at the fork estimates by rollout from at the same , so tree search [10] inherits it, and a whole-trajectory method faces the joint event that all m forks resolve correctly, of probability . A local estimator, by contrast, needs each fork resolved only marginally, conditional on reaching it.
Proposition 10 (Log-space additivity). On the chain, , hence
so each bootstrapped log-space regression target is a single increment and the log-value is a sum of of them. A critic fit in value space must instead resolve absolute differences of order ; uniform absolute accuracy carries no information once .
Proof. Appendix E.
Together, Propositions 9 and 10 identify what long horizons require: a local credit resolver at forks — a learned critic [4, 5], a value-equipped tree search [6], or any bootstrapped estimator — and one that is multiplicatively calibrated (Proposition 10). A log-value critic meets both requirements; that it should dominate at long horizons is the framework’s main empirical prediction.
5 Algorithmic Implications
Fork taxonomy. For binary forks with minority mass and value gap , , and the pair of variance and policy entropy identifies uniquely (Appendix F); neither statistic alone suffices. Two regimes result. At a Type I (uncertainty) fork, : variance is maximal and a value-divergent action is drawn within samples, so the difficulty is decision — the appropriate intervention is a wider trust region permitting a decisive update. At a Type II (exploration) fork, : discovery requires samples — the lower bound is Corollary 8 at , and each draw hits the minority branch with probability , matching it — and the difficulty is retention of the rare positive update against the policy's confident default. The same sample count reappears at the gradient level: the single-sample REINFORCE gradient at such a fork has SNR (Appendix F), so governs the gradient estimator as well as the return.
Amortized versus non-amortized resolution. The two implementations of a local credit resolver trade compute against bias:
| Learned critic (amortized) | Branching rollouts (non-amortized) | |
| Per-fork cost | forward pass | rollouts (Cor. 8) |
| Horizon cost | via bootstrapping | (Prop. 9) |
| Error source | approximation bias | sampling variance |
| Requirement | multiplicative accuracy (Prop. 10) | none |
The columns are complementary: branching rollouts supply the targets from which the critic is amortized, provided they are spent where the budget analysis says they are affordable.
Fork detection with a free first stage. (1) Screen: compute from the next-token distribution; if , skip — is not a -critical fork by Corollary 5. (2) Budget: for survivors, allocate rollouts at detection scale , guided by Corollary 8, over candidate tokens drawn from both the top- head and the tail (covering both fork types), sharing the prefix KV cache. (3) Allocate and estimate: distribute rollouts by maximum standard error (round-robin until ; Welford updates), then form and subtract its upward bias — with small the uncorrected estimator over-reports criticality exactly on the high-noise states where rollouts were scarce. (4) Detect and classify: flag as an outlier against an EWMA baseline, then classify by entropy: high Type I, low Type II.
Stochastic environments. For agents, the discovery-budget results of Section 3 apply unchanged, and the estimation cost of Proposition 9 only grows, since environmental variance adds to the estimator's noise. What changes is that the environmental term in (1) no longer vanishes, with three consequences. The dispersion screen bounds only the policy component, so it screens for policy-criticality alone. The TD advantage acquires residual variance even under an exact critic — a floor no critic accuracy removes. And attribution becomes ambiguous: an observed return deviation mixes the two terms of (1), so the detector must separate them, requiring repeated rollouts from the same rather than from alone. This last point — fork detection as a variance-decomposition problem with uncharacterized sample cost — is the open problem we consider most substantive.
6 Conclusion
Credit assignment in long-horizon reasoning is governed by two quantities of different character. Policy variance sets the local discovery budget — samples, attained exactly on the two-point fork and bounded for free by the policy's Gini dispersion — while the remaining horizon sets an exponential estimation cost shared by every sampling scheme, branched search included. Bootstrapping converts the underlying product of survival probabilities into a sum, and does so usefully under a multiplicatively accurate value representation. The framework yields a falsifiable prediction (log-value critics should dominate at long horizons), a free screening rule for fork detection, and a principled rollout budget in place of a hyperparameter.
References
[1] Bhatia, R., & Davis, C. (2000). A better bound on the variance. American Mathematical Monthly, 107(4), 353–357.
[2] Boucheron, S., Lugosi, G., & Massart, P. (2013). Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press.
[3] Ouyang, L., Wu, J., Jiang, X., et al. (2022). Training language models to follow instructions with human feedback. NeurIPS, 35, 27730–27744.
[4] Schulman, J., Moritz, P., Levine, S., Jordan, M., & Abbeel, P. (2015). High-dimensional continuous control using generalized advantage estimation. arXiv:1506.02438.
[5] Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. (2017). Proximal policy optimization algorithms. arXiv:1707.06347.
[6] Silver, D., Huang, A., Maddison, C. J., et al. (2016). Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 484–489.
[7] Sutton, R. S., & Barto, A. G. (2018). Reinforcement Learning: An Introduction (2nd ed.). MIT Press.
[8] Wei, J., Wang, X., Schuurmans, D., et al. (2022). Chain-of-thought prompting elicits reasoning in large language models. NeurIPS, 35, 24824–24837.
[9] Williams, R. J. (1992). Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3–4), 229–256.
[10] Yao, S., Yu, D., Zhao, J., et al. (2024). Tree of Thoughts: Deliberate problem solving with large language models. NeurIPS, 36.
A Proof of Proposition 2
Proof. Apply the law of total variance twice.
Step 1: condition on .
Since , the second term is by Definition 1.
Step 2: condition on .
With and determined by ,
Step 3: combine.
Taking and using gives ; unrolling from yields the sum. Under deterministic transitions is a point mass given , so identically.
B Proof of Lemma 4
Proof. Write and separate the term:
For the upper bound use , dropping the sum:
For the lower bound use and :
Both bounds have magnitude at most since .
C Proof of Theorem 6
Proof. Let with ; then , , .
(i) One-sided (Cantelli). For any , since ,
using Markov's inequality. Minimizing over gives , at which the right side equals .
Equality condition. The bound is attained by the two-point law with mass at and mass at (mean 0, variance by direct verification). Setting , recovers exactly the configuration of Proposition 7: atoms at and with masses and .
(ii) Two-sided (Chebyshev). . (Summing (4) over both tails gives , weaker than whenever .)
(iii) Success-rate. Since , . From : ; from : . Hence , and Markov's inequality on gives .
D Why Bernstein's Inequality Is Vacuous Here
Applied to the single draw , Bernstein's inequality reads
The in the numerator suggests exponential decay in ; this appendix records why no such decay is available on the admissible domain. Write , so that (11) is .
Domain. the event is empty for , so only is meaningful. By Bhatia–Davis applied to with mean , .
Maximum of the exponent. is increasing in and decreasing in , so , whence uniformly.
Vacuity threshold. The bound exceeds 1 iff . At : . At : solving gives .
Limit at low variance. : the bound does not vanish as , so it cannot certify that discovery is rare at a non-critical fork.
Comparison on the canonical fork. On the configuration of Proposition 7 with and , the true probability is . Equation (4) returns exactly; (11) returns a quantity bounded below by 0.446, an overstatement by a factor .
Diagnosis. The failure is structural rather than a matter of constants. Bernstein's exponential regime is driven by the sample count in ; the useful exponent scales as . Here and , so one is permanently pre-asymptotic and the term dominates the term over most of the domain — which is exactly why the dependence, the object of interest, is washed out. Recovering an exponential requires reintroducing a count: over i.i.d. draws, , exponential in at rate . This is the statement Corollary 8 makes, with appearing where it belongs.
E The Chain of Forks: Derivations
E.1 Value and advantage identities
By backward induction from : the wrong branch is absorbing with reward 0, so , giving . Then , , and
For the policy variance, and , hence .
Budget consistency. With ,
exactly the number of draws needed to sample the correct action once: Corollary 8 is attained.
E.2 Proof of Proposition 9
Proof. Conditioned on , correct) the trajectory succeeds iff the entire suffix succeeds, so . With the exact baseline ,
giving the stated SNR. Averaging i.i.d. rollouts scales the standard error by ; setting gives , and . For the wrong branch, almost surely, so deterministically.
E.3 Proof of Proposition 10
Proof. ; take logarithms. Each log-space regression target is a single bounded increment, so the target is -conditioned at every horizon; how per-step errors propagate is then the standard TD contraction question, not a conditioning problem. In value space, an estimator with uniform absolute error yields a TD advantage whose bias is up to against a true signal of magnitude ; the estimate carries information only if , i.e. only under absolute accuracy exponentially small in .
F Fork Taxonomy: Identifiability and Gradient SNR
F.1 Identifiability of from
For a binary fork with minority mass and value gap ,
The map is a bijection on is strictly increasing in on , so , and then . Measuring the pair — and only the pair — identifies the fork type; neither statistic alone suffices.
F.2 Gradient SNR at a Type II fork
Let the fork of Proposition 7 be softmax-parameterized with logits , so , , and
(The -component of the gradient is the negation of the -component, so the SNR below is unaffected by working with one coordinate.) With , , the single-sample REINFORCE gradient takes value w.p. and w.p. . Hence
so and samples give unit gradient SNR. This matches Corollary 8 with , — budget — exactly, not merely in order. The agreement holds because score and advantage are perfectly aligned at a two-point fork, and it confirms that is the operative statistic for the gradient estimator, not merely for the return.