WorksComputer Science
CreditFilter: Calibrated Token Weights over the Within-Response Entropy Rank for RLVR
Abstract
Critic-free reinforcement learning with verifiable rewards (RLVR) typically assigns a uniform advantage to every token. Token-reweighting heuristics like the 80/20 mask favor high-entropy tokens, but fail to measure a token's actual impact on the outcome. We formalize this impact as the forking value: the variance of the success probability over the policy's next-token choices. The expected forking values along a response sum exactly to the reward variance. Token credit is thus, in expectation over a prompt's responses, a fixed budget spent at the forks. This motivates weights that redistribute credit within a response. The forking value factorizes into a fork consequence, which requires costly continuations to estimate, and a fork probability, which the softmax provides. On Qwen3-8B-Base, this fork probability decays exponentially with a token's within-response entropy rank at class-specific rates, revealing that most tokens carry negligible forking value. CreditFilter weights each token by an exponential window over the same rank. The window is calibrated to this fork-probability envelope, under an approximately flat fork consequence. CreditFilter needs no extra forward passes and is stabilized by difficulty damping and an entropy-gated fallback. Averaged over three seeds, it outperforms DAPO by 7.7 points on MATH500 and by 10.5 and 9.1 points on AIME24 and AIME25. Its dynamically adaptive variant matches it. The ablations show that both parts matter: ranking tokens within each response rather than across the batch, and matching the window's decay rate to the envelope. Code is available at https://github.com/yoctta/CreditFilter.
Introduction
Credit assignment is the central open problem of reinforcement learning with verifiable rewards (RLVR) [13, 6]: a scalar reward per response has to be spread over thousands of tokens. Per-token advantages can come from a learned value function [21, 22], from rollouts or perturbations at every prefix [10, 14], or from a process reward model [15, 5]. However, each of these approaches costs a critic or extra generations. In practice, they have largely given way to the critic-free GRPO family [24, 30], which assigns a uniform advantage to every token in a response.
Token-importance weighting keeps this shared advantage and rescales it token by token: the 80/20 mask of Wang et al. [28], for example, keeps only the 20% highest-entropy tokens of a batch. The rescaling coefficient is non-negative, so every token preserves the sign of its response’s overall advantage. The underlying heuristic is that the tokens capable of changing the course of the reasoning, the forking tokens [2], deserve more weight, with entropy serving as a proxy for this forking potential. With the current rescaling approaches, two questions remain open. Which tokens are valuable forks, and how should they be weighted? Existing rules that avoid extra forward passes rely on proxies; none measures how much changing a token shifts the probability of a correct answer. So neither the shape of the weighting function nor its cutoff is grounded in measurement. Ranked against which tokens? Such masks rank tokens across the responses of a batch, so a long, uncertain and incorrect response keeps most of its tokens while a confident, correct response can lose all of them.
We answer the first question by measurement. For the second we choose the within-response rank: a theoretical identity motivates this choice, and an ablation supports it (§ 5.4). Our starting point is the forking value : the variance, over the policy’s next-token choices, of the probability of ending with a correct answer. Along a response, the expected forking values sum exactly to the reward variance , where is the prompt’s success probability. The identity fixes this total in expectation over a prompt’s responses, not for each response. We take it as the motivation for a token weight that redistributes credit within the response, whereas ranking tokens across a batch moves credit between responses.
To decide where the credit goes, we factorize the forking value as . The fork consequence needs expensive continuations to measure (§ 5.1). The fork probability , the chance that two independent draws of the next token differ, comes directly from the softmax. On Qwen3-8B-Base ([29]), this fork probability decays exponentially in the token’s entropy rank within its response, with separate widths for correct and wrong responses (Figure 1a). We call this profile the envelope.
Figure 1. The forking spectrum of Qwen3-8B-Base and the window built from it. (a) Fork probability in bands of the within-response entropy rank, with the exponential fits; their widths are 0.111 for correct and 0.155 for wrong responses. (b) Fork consequence in finer rank strata on a log rank axis, relative to its class’s level over ranks 2.5–20%; vertical lines: 95% intervals from a bootstrap over prompts; light bars: values pooled over four rank ranges. (c) The envelope on eight models, each normalized to its top band; the legend gives each model’s width fitted to both classes together, and for Qwen3-8B-Base the width of its correct class. (d) Uniform weights, the within-response top 20% window and the CreditFilter windows, with widths 0.10/0.14 and floor 0.1 on correct responses, against the fitted envelopes of (a), drawn dotted.
CreditFilter turns this envelope into a soft window (Figure 1d): it scales each token’s advantage by
Here is the token’s within-response entropy rank, and is the envelope width of its class , correct or wrong. A floor , applied to correct responses only, equalizes the mean weight of the two classes. The window suppresses the low-entropy tail, so tokens with a vanishing fork probability receive negligible credit. Our contributions are:
Measurement. We prove that the expected forking values along a response sum to the reward variance, factorize the forking value as , and introduce an unbiased branching estimator to measure it. On Qwen3-8B-Base we measure the forking spectrum, the forking value as a function of the within-response entropy rank: the fork probability follows an exponential envelope, and the fork consequence is flat apart from a peak at the head of the rank, about sixfold in the top 0.25% of tokens. The envelope recurs on seven other models.
Method. We prove that, under a rank look-ahead assumption, the mean-square-optimal sign-preserving token weight targets the expected forking value. CreditFilter approximates this target without extra forward passes: its window is calibrated to the exponential envelope of the fork probability, under an approximately flat fork consequence. Difficulty damping and an entropy-gated fallback to uniform credit stabilize training, and an adaptive variant, CreditFilter-D, tracks the envelope as it moves.
Results. On Qwen3-8B-Base, averaged over three data seeds, CreditFilter outperforms DAPO by 7.7 points on MATH500 and by 10.5 and 9.1 points on AIME24 and AIME25. On the first seed it leads GRPO by 4, 8 and 9 points, exceeds the 80/20 mask, trained with its released script, by 4–5 points and beats STARE and SC-GRPO on all three sets. Ablations show that both the rank within each response and the window’s width , taken from the measured envelope, matter. The windowed update moves the policy up to 2.3 times further in KL divergence than a uniform update, without moving the parameters further. At equal steps CreditFilter trains on 2.1 times DAPO’s tokens, and it still leads at equal training tokens (Appendix F.1).
Related work
Per-token credit in RLVR. Value functions with generalized advantage estimation [21, 22], Monte-Carlo values from extra rollouts (VinePPO [10]), counterfactual token perturbations (OAR-P [14]) and process reward models [15, 5] give each token its own advantage at the price of a critic, extra generations or extra forward passes. The critic-free GRPO family [24, 30, 6] keeps one scalar per response, and under shared prefixes the group advantage already acts as a Monte-Carlo process reward [25]. CreditFilter stays in this family and moves the scalar within the response.
Token reweighting and entropy control. A second line of work rescales the shared advantage token by token on a proxy for the fork (Appendix G): token entropy [28, 26], covariance [27], gradient saliency [14], mutual information [7] and a self-conditioned KL [23]. CreditFilter adopts the entropy ordering of the 80/20 mask [28], but ranks tokens within each response rather than across the batch, calibrates its window on measured fork probabilities and needs no extra forward pass. Other methods control entropy through asymmetric clipping [30, 20], covariance targeting [4] or target-entropy loops [31, 17]; CreditFilter instead falls back toward uniform credit when the batch entropy is high.
Measuring forking tokens. Bigelow et al. [2] identify forking tokens, and Lin et al. [16] locate critical tokens within incorrect solutions, by resampling continuations for individual responses. A rank-based weight instead needs the forking value as a function of the token’s rank. We estimate it as the variance over the policy’s next-token alternatives, averaged within rank bands (Section 5.1).
Method
Setting. We use DAPO as the base training recipe (Appendix B). For each prompt, the policy samples responses. The response receives one group-normalized advantage from its final reward: +1 for a correct and −1 for a wrong answer, less an overlong penalty. We write for the verifier outcome. The policy maximizes the batch token mean of the clipped surrogate , with the importance ratio. GRPO and DAPO use . The position of the response has prefix , the next-token law and entropy in nats. Its within-response entropy rank is
where is the descending rank of among the tokens of the same response, so marks the most uncertain positions of the response. The class of a response is its verifier outcome, correct or wrong, and it selects the width of the window. The floor and the damping follow the sign of the advantage instead. The sign agrees with the outcome except when the overlong penalty moves a response across the mean of its group.
Formulation of the window
CreditFilter rescales the advantage of every token by a non-negative coefficient,
The kernel decays exponentially with the rank and is bounded below by a floor. Its width is the rank interval over which the weight halves. For a response whose advantage has the sign of its outcome, the kernel is the class kernel . The factor damps the prompts that the policy mostly solves, and is an entropy-gated fallback to uniform credit (§ 3.2); with the window is unmodified. Figure 1d shows this window over the fitted envelope, and Algorithm 1 in Appendix § 8 gives the computation for one batch.
Shape and width from the envelope. Let be the fork probability of a position. The envelope of a class is the mean of at each rank, . We fit it with a single exponential in the rank and take the width of the class from this fit:
where the fit is log-linear over ten rank bands covering (Appendix § 11.7). CreditFilter uses and $\lambda_-=0.14, the envelope widths measured on a subset of the base-policy responses and rounded. The full measurement of § 5.1 gives 0.111 and 0.155 (Table 11). The fork probability is the factor of the forking value that the softmax provides. The forking value is
| correct | wrong | |
| responses / positions | 294 / 7056 | 672 / 16128 |
| envelope width | 0.111 [0.099, 0.123] | 0.155 [0.146, 0.165] |
| forking-value width | 0.125 [0.063, 0.207] | 0.146 [0.086, 0.332] |
| top-band forking value | 3.93 [2.64, 5.24] | 1.07 [0.55, 1.52] |
| consequence (bands 2–10) | 2.12 [1.21, 3.13] | 0.70 [0.43, 0.98] |
| relative slope of (bands 2–10) | [, 1.1] | 0.3 [, 4.6] |
| top-band gain | 2.9 [1.7, 5.6] | 2.4 [1.3, 3.9] |
Table 11. The forking spectrum of Qwen3-8B-Base by response class (Figure 1a and Figure 3; the numbers behind Section 5.1): widths of the fork-probability envelope and of the forking value; the fork consequence pooled over bands 2–10, its relative slope (count-weighted least-squares slope of over the band centres of bands 2–10, divided by ) and the top-band gain; 95% rollout-bootstrap intervals. and in units of .
the variance of the success probability over the next token. It factors as (Proposition 4), where the fork consequence needs continuations to evaluate. § 4 shows that the forking spectrum is, up to a value factor, the target of a non-negative coefficient (Proposition 3).
Class mass and the floor. Adam removes a constant scale of the gradient (Lemma 8). While the window is fully on and gradient clipping is inactive, only the shape of the window within a class and the ratio of the two class masses therefore reach the update. The mass has a closed form in terms of (Proposition 7). CreditFilter equalizes the class masses by introducing a positive-class floor:
which has a unique solution when . Given the widths 0.10/0.14, setting the floor to (the solution 0.106, rounded) brings the class masses to 0.196 and 0.200. The floor keeps a small positive update on the low-entropy tokens of correct responses. The wrong class has no floor, so its negative gradient concentrates on the forking positions.
Why the within-response rank. Appendix § 11.§ 5 gives the three reasons: every response of a given length receives the same mean coefficient, so credit is redistributed within each response rather than between responses; the rank is invariant to monotone transforms of the uncertainty measure; and on the rank the exponential is the memoryless kernel, so a single width sets the concentration.
Damping and fallback
Difficulty damping scales the responses with a positive advantage by , where and is the pass rate of the response’s group, and leaves the other responses undamped. For uniform token weights and in expectation over a prompt’s responses, the damped update preserves the direction of the undamped one and shrinks it by a factor between and (Proposition 9). Because shrinks as grows, the update on prompts the policy mostly solves rests mainly on the wrong responses. With the window, removing the damping costs 3–8 points (§ 5.4). As a safeguard, an entropy-gated fallback reverts the update toward uniform credit as the batch mean entropy rises,
Above the window is replaced by uniform token weights, while damping and clipping stay. Over the CreditFilter training run of § 5, the window is fully active in 64% of the steps and fully replaced by uniform credit in 8% (Appendix § 10).
Re-measuring the width online (CreditFilter-D)
The calibration of equation (3) is a property of the current policy. The envelope moves during training (§ 5.1), so widths fixed at the base policy’s values become mismatched later in training. Since comes from the same softmax as the entropies, every batch gives an estimate of each class width at no extra cost. CreditFilter-D tracks it with an exponential moving average:
where the batch estimate and the average are clamped to a class-specific range, with the average initialized at the measured base widths 0.111/0.155 (Appendix § 11.7). With moving widths, a fixed floor can no longer equalize the classes, so CreditFilter-D drops the floor and, at every step, rescales the window of the class with the smaller natural mass up to match the larger mass. This equalizes the masses and keeps the shape of each window.
Theory: the target of a sign-preserving token weight
Three results identify the target of a sign-preserving token weight and explain why the window approximates it. Proposition 1 gives the expected total of the forking value along a response. Proposition 3 shows that the conditional expectation of the forking value, given an observable of the token, is the target of a non-negative token weight. Proposition 4 factors the forking value into the fork probability, which the softmax provides and which bounds the forking value, and the fork consequence, which needs continuations to estimate. The proofs are in Appendix § 11. The results describe the 0–1 verifier outcome under the sampling policy and rest on one assumption about the rank; the section closes with how far both hold.
Setting. Consider on-policy rollouts for a fixed prompt, with reward the verifier outcome. At position with prefix , the value, the action value of a next token and the credit increment of the sampled token are
The conditional variance of this increment is the forking value of equation (4). The rescaling gives token of response the advantage , where the coefficient depends on an observable of the token. Expectations over positions use position weights, which are uniform over all tokens under a token-mean loss. We write
Proposition 1 (credit decomposition). With increments padded by zero after termination,
and . Thus the reward variance equals the expected sum of the forking values along a response.
The identity is the orthogonal-increment decomposition of the bounded martingale , and it motivates ranking tokens within each response (§ 3.1). It fixes the mean of this sum over a prompt’s responses, not the sum of each response (Appendix § 11.§ 5).
Assumption 2 (rank look-ahead). Let , with ties broken by position (earlier first) and the number of ranked tokens, so that the within-response rank is a function of . For every position ,
Given the prefix and the outcome, the number of later tokens more uncertain than the current one and the response length carry no further information about the current increment.
The assumption is needed because the weight is a function of the rank, and the rank looks ahead: it counts later tokens and is fixed only when the response ends. Under it, the expected increment given the prefix and the outcome is not changed by also conditioning on the rank, which is the step Proposition 3 uses.
Proposition 3 (positive-part MMSE coefficient and its target). Among , the mean-square error is minimized on by
Let be the verifier outcome, the class it defines, with a constant of the prompt, and let the position weights be functions of (token-mean weights and weights that count every rollout equally both qualify). Under Assumption 2, for a fixed prompt and ,
and is constant within each class. Hence is proportional to this value-weighted forking spectrum within each class. It is proportional to the forking spectrum when the -weighted mean of (correct) or (wrong) at rank does not depend on . For the group advantage of rollouts the identities hold with the prompt-level scales in place of and (Appendix § 11.§ 2).
Proof sketch. The positive part minimizes the quadratic over . Since is determined by and ,
With this gives
Assumption 2 extends both to conditioning on , of which and the position weights are functions, so the weights leave the conditional law of unchanged. On a correct response is fixed by the prompt, which gives the first identity; on a wrong one and the two signs cancel. equals or on the two classes. The group-advantage case and the strata with are treated in Appendix § 11.§ 2.
The target of the window is therefore the forking spectrum up to the value factor, the weight or on in equation 9. Our window follows the spectrum over the rank and leaves out the value factor. The criterion also determines the class masses. For a fixed prompt with equal position weights and , the per-token class mean of is , so classes of equal mean length receive equal masses. The class-mass equalization of § 3.1 imposes equal masses in all cases.
Proposition 4 (factorization and envelope). At a position with next-token distribution and action values ,
with independent, and where . With the entropy in nats,
The consequence is half the mean squared value gap between two independent draws from . The upper bound suppresses the low- tail of the forking spectrum: a position with a vanishing fork probability has a vanishing forking value, whatever its consequence. The value-weighted target inherits the bound, scaled by the value factor. Over the rest of the rank, weighting by the envelope is a modeling choice. Suppose the mean fork consequence, given the rank and the fork probability, is constant within a class (condition K). Then the forking spectrum is proportional to the class envelope , and under the same condition on the value-weighted consequence so is the target (Corollary 6). Section 5.1 measures how far condition K holds and how closely the envelope matches the forking spectrum.
How far the results hold. The propositions describe the 0–1 outcome under the policy that sampled the rollouts. Training also subtracts the overlong penalty, which lowers the reward only of responses longer than 16,384 tokens (Appendix B); it is outside the propositions. Assumption 2 is an approximation. In a regression on the base policy (Appendix E.5), the part of the increment that the assumption rules out is within sampling error when pooled over the top 2.5% of the rank. In finer bands it shows only in the top 0.25% of correct responses, where it has the sign of the advantage. Counting it, the top 2.5% of the rank holds 28% of the correct-class target instead of 25%: the approximation puts slightly too little weight at the head, where the window is already largest.
Experiments
Setup. All runs train Qwen3-8B-Base on the DAPO-17k prompts [3] for 400 steps with 128 prompts and 16 responses per step, mini-batch 32 and learning rate . Responses run up to 20,480 tokens, with dynamic sampling, the overlong penalty and clip ratios 0.2 below and 0.27 above (0.28 above for DAPO, symmetric 0.2 for GRPO; every setting in Appendix B). We train the 80/20 mask of Wang et al. (2025) with its released training script on our training set and schedule, and STARE [17] and SC-GRPO [23] with their published settings (Appendix C). By default a run uses the data seed 201, which sets the order of the training prompts, and methods are compared between runs with the same seed. We report mean@32 (temperature 1.0, top-p 0.7) on MATH500 [8, 9] (), AIME24 and AIME25 (Mathematical Association of America, 2024; 2025) ( each) averaged over checkpoints 350/375/400 (the late average) and at step 400.
The forking spectrum of Qwen3-8B-Base
At a sampled position of a base-policy response, an instrument branches on several next tokens, continues each branch using the training sampler, and evaluates the continuations. It estimates as the variance of the branch success probabilities under the policy, unbiased over the next tokens it branches on; Appendix E gives the two instruments, the protocol and the full tables.
The fork probability decays exponentially in the rank; the consequence peaks in the top 0.25% (Figure 1a, Figure 1b). A single exponential fits the band means of with widths 0.111 (correct) and 0.155 (wrong). On the four-branch instrument (Table 13), half of the correct class’s forking value is concentrated in the top 10% of ranks, with the top 20% capturing 68% of it (63% for wrong responses). The fork consequence is flat over most of the rank and rises only at the head (Table 15). Compared with its mean over ranks 2.5–20%, it is about six times larger in the top 0.25% of the rank, which is about two tokens per response, and about twice as large over ranks 0.5–2.5%; beyond 20% the estimates are too noisy to show a trend. Condition K holds approximately: the consequence is flat over the rank apart from a spike in the top 2.5%, the most uncertain tokens of a response. There the envelope already gives those tokens their largest weight. Relative to the ranks just below, the spike would add a further factor of about three on a handful of tokens (the next paragraph quantifies it). We therefore approximate the consequence as uniform over the rank. The exponential envelope of the fork probability recurs across seven other models, with widths from 0.071–0.108 on the Qwen models to 0.267 on Llama-3.1-8B-Instruct, so the width is calibrated per model (Figure 1c, Table 14).
| band | |||||
| correct responses | |||||
| 0–0.025 | 904 | 3.93 [2.64, 5.24] | 0.637 [0.630, 0.643] | 2.49 [2.35, 2.62] | 6.17 [4.14, 8.12] |
| 0.025–0.05 | 886 | 0.96 [−0.08, 1.96] | 0.579 [0.570, 0.589] | 1.81 [1.70, 1.92] | 1.66 [−0.18, 3.58] |
| 0.05–0.075 | 875 | 0.93 [0.00, 1.81] | 0.530 [0.517, 0.542] | 1.51 [1.40, 1.62] | 1.75 [−0.01, 3.49] |
| 0.075–0.1 | 580 | 1.39 [0.09, 2.68] | 0.469 [0.452, 0.488] | 1.28 [1.18, 1.38] | 2.96 [0.60, 5.39] |
| 0.1–0.15 | 582 | 0.88 [−0.03, 2.05] | 0.398 [0.376, 0.419] | 1.05 [0.95, 1.15] | 2.21 [−0.36, 4.98] |
| 0.15–0.2 | 587 | 0.52 [−0.58, 1.85] | 0.306 [0.285, 0.328] | 0.76 [0.69, 0.83] | 1.69 [−2.06, 6.08] |
| 0.2–0.3 | 880 | 0.70 [0.04, 1.50] | 0.206 [0.185, 0.231] | 0.50 [0.44, 0.58] | 3.40 [0.09, 6.94] |
| 0.3–0.4 | 586 | 0.21 [−0.16, 0.61] | 0.107 [0.091, 0.125] | 0.28 [0.23, 0.34] | 1.99 [−1.18, 5.44] |
| 0.4–0.6 | 589 | 0.14 [−0.04, 0.31] | 0.039 [0.028, 0.050] | 0.11 [0.08, 0.14] | 3.53 [−0.65, 7.69] |
| 0.6–0.8 | 587 | −0.03 [−0.08, 0.01] | 0.008 [0.005, 0.012] | 0.02 [0.02, 0.03] | −3.15 [−7.65, 1.68] |
| wrong responses | |||||
| 0–0.025 | 2071 | 1.07 [0.55, 1.52] | 0.647 [0.644, 0.651] | 3.65 [3.55, 3.77] | 1.65 [0.90, 2.37] |
| 0.025–0.05 | 2011 | 0.31 [−0.02, 0.62] | 0.628 [0.623, 0.633] | 2.81 [2.71, 2.91] | 0.49 [−0.02, 1.08] |
| 0.05–0.075 | 2005 | 0.38 [−0.01, 0.79] | 0.602 [0.594, 0.608] | 2.41 [2.32, 2.50] | 0.63 [0.05, 1.27] |
| 0.075–0.1 | 1323 | 0.47 [0.11, 0.86] | 0.572 [0.564, 0.581] | 2.12 [2.03, 2.22] | 0.83 [0.14, 1.55] |
| 0.1–0.15 | 1347 | 0.75 [0.25, 1.22] | 0.527 [0.517, 0.537] | 1.77 [1.69, 1.85] | 1.42 [0.51, 2.40] |
| 0.15–0.2 | 1335 | 0.22 [−0.12, 0.58] | 0.468 [0.457, 0.481] | 1.45 [1.38, 1.53] | 0.46 [−0.33, 1.16] |
| 0.2–0.3 | 2015 | 0.14 [−0.13, 0.44] | 0.377 [0.364, 0.391] | 1.06 [1.00, 1.13] | 0.37 [−0.37, 1.16] |
| 0.3–0.4 | 1342 | 0.33 [0.06, 0.63] | 0.255 [0.241, 0.270] | 0.70 [0.64, 0.76] | 1.29 [0.19, 2.40] |
| 0.4–0.6 | 1337 | 0.05 [−0.04, 0.14] | 0.115 [0.105, 0.128] | 0.34 [0.30, 0.39] | 0.40 [−0.41, 1.45] |
| 0.6–0.8 | 1342 | 0.02 [−0.03, 0.09] | 0.025 [0.020, 0.031] | 0.09 [0.07, 0.12] | 0.95 [−1.29, 3.22] |
Table 13. Ten-band measurement on Qwen3-8B-Base (top: 294 correct responses, 7056 positions; bottom: 672 wrong responses, 16128 positions). : positions per band. Band means with 95% rollout-bootstrap intervals of the forking value , the fork probability , the entropy (nats) and the fork consequence ; and in units of .
| model | [95% CI] | (): | ||
| Qwen3-1.7B | 120 | 0.119 [0.047, 1.057] | 0.071 | 0.65 / 0.44 / |
| Qwen3-4B | 120 | – [0.062, ] | 0.086 | 0.37 / 0.26 / |
| Qwen3-14B-Base | 120 | 0.255 [0.072, 0.913] | 0.108 | 0.79 / 0.04 / 0.16 |
| Qwen3-32B | 60 | 0.307 [0.059, ] | 0.091 | 0.25 / 0.17 / 0.03 |
| Qwen3-8B (post-trained) | 120 | 0.218 [0.043, 1.499] | 0.084 | 0.31 / 0.34 / |
| Qwen2.5-7B-Instruct | 120 | 0.130 [0.048, 1.225] | 0.081 | 0.41 / 0.12 / |
| Llama-3.1-8B-Instruct | 120 | 0.306 [0.094, 1.592] | 0.267 | 0.68 / 0.25 / 0.20 |
Table 14. Forking spectrum on further models with the same instrument (120 responses 24 positions, 60 for Qwen3-32B, four branches, , top- 1.0; classes pooled): per model, the number of responses, the ten-band forking-value width with its interval, the envelope width at the same positions, and the coarse-group means of (: , : , : ). With 60–120 responses the forking-value width intervals are wide, whereas is resolved on every model. A width point estimate is undefined when the ten-band fit does not decay; its interval is then over the replicates whose fit does.
| class | rank | cover | [95%] | [95%] | |||
| correct | 0–0.0025 | 460 | 0.64 | 0.869 | 8.21 [6.04, 10.86] | 9.45 [6.90, 12.61] | 11.45 |
| correct | 0.0025–0.005 | 392 | 0.72 | 0.832 | 3.05 [2.15, 4.15] | 3.67 [2.58, 4.99] | 4.15 |
| correct | 0.005–0.01 | 408 | 0.76 | 0.796 | 2.55 [1.73, 3.48] | 3.20 [2.17, 4.38] | 3.12 |
| correct | 0.01–0.015 | 408 | 0.80 | 0.763 | 1.68 [0.98, 2.49] | 2.20 [1.27, 3.28] | 2.40 |
| correct | 0.015–0.025 | 407 | 0.83 | 0.720 | 2.82 [1.26, 5.04] | 3.92 [1.78, 6.95] | 3.87 |
| correct | 0.025–0.0375 | 401 | 0.87 | 0.671 | 0.62 [0.26, 1.03] | 0.93 [0.38, 1.53] | 0.78 |
| correct | 0.0375–0.05 | 405 | 0.89 | 0.626 | 0.80 [0.43, 1.21] | 1.28 [0.68, 1.96] | 1.27 |
| correct | 0.05–0.075 | 405 | 0.91 | 0.563 | 1.44 [0.82, 2.23] | 2.56 [1.45, 3.99] | 2.53 |
| correct | 0.075–0.1 | 401 | 0.93 | 0.485 | 0.52 [0.13, 1.08] | 1.07 [0.27, 2.24] | 0.93 |
| correct | 0.1–0.15 | 401 | 0.95 | 0.384 | 0.62 [0.19, 1.22] | 1.60 [0.48, 3.20] | 1.38 |
| correct | 0.15–0.2 | 401 | 0.96 | 0.279 | 0.41 [0.17, 0.71] | 1.47 [0.61, 2.56] | 1.43 |
| correct | 0.2–0.3 | 400 | 0.98 | 0.169 | 0.40 [0.18, 0.67] | 2.36 [1.11, 3.96] | 2.05 |
| correct | 0.3–0.4 | 400 | 0.99 | 0.082 | 0.65 [0.10, 1.63] | 7.91 [1.26, 19.31] | 8.55 |
| correct | 0.4–0.6 | 400 | 1.00 | 0.027 | 0.07 [0.00, 0.15] | 2.44 [−0.01, 5.31] | 2.37 |
| correct | 0.6–0.8 | 400 | 1.00 | 0.004 | 0.00 [0.00, 0.00] | 0.36 [−0.73, 1.26] | 0.30 |
| correct | 0.8–1 | 400 | 1.00 | 0.000 | 0.00 [0.00, 0.00] | 1.93 [0.07, 5.20] | 3.01 |
| wrong | 0–0.0025 | 534 | 0.41 | 0.943 | 1.84 [1.17, 2.73] | 1.95 [1.24, 2.91] | 2.23 |
| wrong | 0.0025–0.005 | 411 | 0.48 | 0.921 | 0.76 [0.30, 1.38] | 0.82 [0.33, 1.50] | 0.81 |
| wrong | 0.005–0.01 | 422 | 0.56 | 0.897 | 0.55 [0.30, 0.88] | 0.62 [0.33, 0.98] | 0.60 |
| wrong | 0.01–0.015 | 410 | 0.60 | 0.872 | 0.86 [0.34, 1.74] | 0.99 [0.38, 1.99] | 0.91 |
| wrong | 0.015–0.025 | 417 | 0.66 | 0.843 | 0.55 [0.27, 0.87] | 0.65 [0.32, 1.04] | 0.53 |
| wrong | 0.025–0.0375 | 417 | 0.70 | 0.805 | 0.05 [−0.08, 0.19] | 0.07 [−0.10, 0.24] | 0.10 |
| wrong | 0.0375–0.05 | 406 | 0.75 | 0.771 | 0.14 [−0.02, 0.34] | 0.18 [−0.03, 0.43] | −0.03 |
| wrong | 0.05–0.075 | 407 | 0.80 | 0.724 | 0.42 [0.09, 0.88] | 0.58 [0.13, 1.21] | 0.59 |
| wrong | 0.075–0.1 | 403 | 0.83 | 0.668 | 0.29 [0.05, 0.65] | 0.43 [0.07, 0.98] | 0.41 |
| wrong | 0.1–0.15 | 406 | 0.87 | 0.594 | 0.14 [0.04, 0.25] | 0.23 [0.07, 0.42] | 0.29 |
| wrong | 0.15–0.2 | 402 | 0.90 | 0.505 | 0.14 [0.01, 0.32] | 0.27 [0.02, 0.63] | 0.28 |
| wrong | 0.2–0.3 | 404 | 0.93 | 0.389 | 0.05 [−0.04, 0.20] | 0.14 [−0.11, 0.50] | 0.18 |
| wrong | 0.3–0.4 | 400 | 0.95 | 0.254 | 0.07 [0.02, 0.14] | 0.27 [0.07, 0.56] | 0.23 |
| wrong | 0.4–0.6 | 401 | 0.98 | 0.111 | −0.01 [−0.02, 0.01] | −0.07 [−0.24, 0.11] | −0.08 |
| wrong | 0.6–0.8 | 400 | 1.00 | 0.022 | 0.01 [0.00, 0.02] | 0.23 [−0.08, 0.89] | 0.32 |
| wrong | 0.8–1 | 400 | 1.00 | 0.002 | 0.00 [0.00, 0.01] | 1.20 [0.01, 5.42] | 2.73 |
Table 15. The full-support instrument on the base policy, training-population weights: per class and rank stratum, sampled positions, cover of the head branches, fork probability over all positions of the stratum, forking value and consequence under the full law (in units of , 95% prompt bootstrap) and the consequence under the head-restricted law.
What the window retains. We score a weight profile by the share of the matched-filter gain that it retains. This share is its squared cosine with the measured forking spectrum over the rank, and it is 1 for the spectrum itself. The CreditFilter window retains 0.61 (correct) and 0.64 (wrong), against 0.40 and 0.51 for the within-response top 20% window and 0.21 and 0.16 for uniform weights (Figure 1d, Table 16). Applying a threefold weight explicitly to the top 0.25% would raise both shares to 0.79, a gain the window leaves out (Appendix § 12.§ 4).
| weight profile | correct | wrong |
| uniform weights | 0.21 [0.12, 0.28] | 0.16 [0.10, 0.23] |
| top 20% window | 0.40 [0.23, 0.53] | 0.51 [0.31, 0.61] |
| top 0.25% of the rank only | 0.35 [0.17, 0.52] | 0.31 [0.13, 0.48] |
| CreditFilter window (exponential with its floor) | 0.61 [0.44, 0.69] | 0.64 [0.44, 0.70] |
| wide window (0.20/0.28 with its floor) | 0.57 [0.41, 0.65] | 0.48 [0.31, 0.58] |
| reversed rank (exponential in ) | 0.04 [0.02, 0.05] | 0.00 [0.00, 0.00] |
| exponential fitted to the forking value | 0.66 [0.45, 0.74] | 0.67 [0.47, 0.73] |
| CreditFilter window with a threefold top-0.25% gain | 0.79 [0.57, 0.84] | 0.79 [0.57, 0.83] |
| piecewise (fitted on the same estimates) | 0.93 [0.69, 0.95] | 0.91 [0.66, 0.92] |
Table 16. Matched-filter gain retained by weight profiles against the forking-value profile of the full-support instrument (16 strata, width-weighted; the exact profile retains 1). Brackets: 95% question-cluster bootstrap intervals (2,000 replicates).
The envelope moves during training. On rollouts of the CreditFilter checkpoints sampled at the training length, the wrong-class width doubles to approximately 0.34 from step 250 onward (with the exception of 350). Conversely, the correct-class width halves to about 0.05 from step 300 onward (Table 10). Despite this shifting envelope, the fixed window maintains a squared cosine of at least 0.83 with the moving envelope (Appendix § 11.7).
| step | correct | correct | wrong | wrong | capped (%) |
| 50 | 431 | 0.060 [0.057, 0.065] | 440 | 0.126 [0.112, 0.142] | 3 |
| 100 | 302 | 0.100 [0.090, 0.108] | 578 | 0.218 [0.208, 0.229] | 2 |
| 150 | 388 | 0.104 [0.091, 0.114] | 473 | 0.243 [0.230, 0.256] | 4 |
| 200 | 391 | 0.099 [0.087, 0.112] | 498 | 0.223 [0.210, 0.236] | 1 |
| 250 | 400 | 0.076 [0.059, 0.088] | 493 | 0.346 [0.320, 0.372] | 0 |
| 300 | 483 | 0.053 [0.051, 0.055] | 294 | 0.327 [0.284, 0.369] | 13 |
| 350† | 471 | 0.058 [0.054, 0.061] | 173 | 0.082 [0.076, 0.087] | 28 |
| 400 | 424 | 0.054 [0.052, 0.056] | 447 | 0.341 [0.317, 0.365] | 3 |
Table 10. Envelope widths along the CreditFilter run on training-length rollouts of its checkpoints (224 questions 4 rollouts, 20,480-token cap; the tracker’s estimator with 95% rollout-bootstrap intervals over 300 replicates). : rollouts per class among those that finished under the cap; capped: share of the 896 rollouts cut at the cap and excluded (†: more than a fifth). Base-policy widths for reference: 0.111 (correct) and 0.155 (wrong), Table 11.
Main results
CreditFilter leads DAPO on average over three seeds, and every baseline on the first seed. Table 2 gives the late averages over three data seeds (Appendix § 13.§ 2). The mean difference is 7.7, 10.5 and 9.1 points, and on both AIME sets CreditFilter’s lowest seed is above DAPO’s highest. Table 1 gives the first seed, on which every method was trained. There CreditFilter leads DAPO by 5, 9 and 10 points and GRPO by 4, 8 and 9 points; on every set the first seed’s margin over DAPO is the median of the three seeds. It leads the 80/20 mask by 4–5 points, and exceeds STARE and SC-GRPO by 4–15 points. CreditFilter-D, which tracks the widths during training, scores higher than CreditFilter on MATH500 and is comparable on the AIME sets. At equal steps CreditFilter trains on 2.1 times as many tokens as DAPO, because its responses are longer; Appendix § 13.§ 1 gives the training cost and the comparisons at equal training tokens and at equal decoding budgets.
| Run | MATH500 | AIME24 | AIME25 | unanswered (%) | |||||
| late | 400 | late | 400 | late | 400 | M500 | A24 | A25 | |
| CreditFilter | 0.876 | 0.882 | 0.338 | 0.352 | 0.277 | 0.283 | 0.3 | 4.0 | 0.8 |
| CreditFilter-D | 0.887 | 0.889 | 0.367 | 0.372 | 0.268 | 0.276 | 0.7 | 5.0 | 1.9 |
| GRPO | 0.833 | 0.848 | 0.263 | 0.281 | 0.184 | 0.173 | 1.0 | 2.4 | 4.5 |
| DAPO | 0.830 | 0.837 | 0.244 | 0.259 | 0.177 | 0.195 | 0.9 | 4.6 | 1.5 |
| 80/20 mask | 0.827 | 0.817 | 0.302 | 0.294 | 0.236 | 0.227 | 3.4 | 10.9 | 7.3 |
| SC-GRPO | 0.838 | 0.836 | 0.269 | 0.283 | 0.168 | 0.156 | 1.3 | 1.1 | 4.8 |
| STARE | 0.824 | 0.819 | 0.189 | 0.183 | 0.156 | 0.155 | 0.4 | 1.3 | 1.1 |
| base model | 0.507 | 0.055 | 0.047 | 10.6 | 22.5 | 14.8 |
Table 1. mean@32 after training Qwen3-8B-Base with data seed 201, on MATH500 (), AIME24 and AIME25 ( each): the average over checkpoints 350/375/400 (late), the value at step 400, and the share of step-400 samples left unanswered at the 20,480-token cap. Bold: best accuracy in each column; the base-model row is step 0.
| Run | MATH500 | AIME24 | AIME25 |
| CreditFilter | |||
| DAPO |
Table 2. Late averages over three data seeds, mean ± standard deviation. Table 24 lists the runs of each seed.
Entropy dynamics and local displacement
The windowed update moves the policy further without moving the parameters further. The batch entropy of the nine runs plotted in Figure 4 (Appendix § 13) collapses to about 0.1 nats within 25 steps. CreditFilter’s batch entropy then stays between 0.7 and 2.2 nats for two hundred steps and has one brief spike to 4.4 nats around step 290, which resolves by step 307. To measure how far a few updates move the model, its local displacement, we take three checkpoints of the CreditFilter run: step 250 (inside the fallback band), step 275 (at the onset of the entropy spike), and step 300 (during its descent). From each checkpoint we run two five-step continuations: one keeps the CreditFilter window with the fallback switched off, the other uses uniform weights with damping and clipping kept. For each we measure the token-level KL from the starting policy, evaluated on the starting policy’s own rollouts, and the parameter displacement (Appendix § 15). At every checkpoint the windowed update, with a fifth of the weight mass, moves the parameters no further than the uniform one. Yet it shifts the policy 1.4–2.3 times further in KL (Figure 2b,Figure 2c; Table 26). By contrast, at the step-300 checkpoint of the DAPO control run, the window/uniform KL ratio is 0.86 (Appendix § 15).
Figure 2. Training dynamics and local displacement. (a) Batch entropy as a five-step moving average, with the fallback band of 1.5–3 nats shaded: GRPO collapses and DAPO stays above 3 nats after step 263. (b, c) Five-step continuations from three checkpoints of the CreditFilter run, each labeled with its step and batch entropy. Keeping the window moves the policy 1.4–2.3 times further in KL than uniform weights in (b), and moves the parameters, , no further in (c). Numbers: window/uniform ratio; error bars: 95% prompt-bootstrap intervals, all listed in Table 26; open circle: a third continuation at step 275, with the fallback half on, .
Figure 4. Training dynamics of CreditFilter against the baselines. Top: batch entropy as a five-step moving average on a log axis, with the fallback band shaded. Bottom: mean response length as a five-step moving average. (a) CreditFilter and CreditFilter-D against the uniform-weight recipes DAPO and GRPO; (b) the top 20% window, the 80/20 rule on the settings of the DAPO row, with the cut taken over the rollout batch or within each response, and the reproduced methods STARE and SC-GRPO.
| State | continuation | KL [95%] | KL correct / wrong | ||||
| step 250 (in band) | 1.90 | window kept | 0.284 | 22.1 [20.2, 24.0] | 22.5 | +0.017 | 5.4 / 28.4 |
| step 250 (in band) | 1.90 | uniform | 0.535 | 11.7 [10.7, 12.6] | 12.4 | +0.077 | 3.3 / 14.8 |
| step 275 (excursion onset) | 3.24 | window kept | 0.264 | 23.1 [21.3, 24.8] | 23.3 | −0.085 | 4.9 / 29.4 |
| step 275 (excursion onset) | 3.24 | uniform | 0.383 | 16.1 [14.8, 17.3] | 16.8 | −0.016 | 3.5 / 20.4 |
| step 275 (excursion onset) | 3.24 | fallback | 0.316 | 20.4 [18.7, 21.9] | 20.7 | +0.023 | 4.2 / 25.8 |
| step 300 (late excursion) | 3.25 | window kept | 0.232 | 152.9 [137.6, 167.9] | 148.2 | −0.102 | 22.5 / 188.7 |
| step 300 (late excursion) | 3.25 | uniform | 0.234 | 67.1 [60.9, 73.2] | 63.9 | −0.232 | 10.6 / 82.6 |
| DAPO step 300 (control) | 4.10 | window kept | 0.198 | 56.7 [53.9, 59.2] | 55.3 | −0.219 | 36.4 / 64.4 |
| DAPO step 300 (control) | 4.10 | uniform | 0.250 | 65.9 [62.7, 68.7] | 64.5 | −0.248 | 42.2 / 74.9 |
Table 26. Every continuation of the displacement measurement: parameter displacement , KL per token from the starting policy (in units of ; with its 95% prompt bootstrap, ), change of the conditional entropy on the starting contexts (nats per token) and the KL split by the rollout’s class (correct / wrong, same units); : token-mean entropy of the starting batch (nats).
Ablations
Window and damping are complementary. Against DAPO, the window alone (the run without damping) loses 4 points on MATH500 and gains 6 on AIME24 (Table 3). Damping alone loses 4–12 points, and the two together gain 5–10. We read the window as moving a correct response’s update onto its forking tokens and off its execution tokens. Execution tokens are the low-entropy tokens that carry out steps already decided, including those that close the reasoning and box the answer. The pressure to terminate then weakens: reasoning grows longer, which pays off on AIME, and 11–16% of step-400 samples reach the 20,480-token cap unanswered. Damping shrinks the correct-class update on training prompts the policy mostly solves, so the few wrong responses carry the update on those prompts; we expect most MATH500 problems to be of this kind. Their negative credit at the forks plausibly curbs digressions: the unanswered share falls to 0–4%, and the AIME gains remain.
| Run | MATH500 late | MATH500 400 | AIME24 late | AIME24 400 | AIME25 late | AIME25 400 | unanswered M500 | unanswered A24 | unanswered A25 |
| CreditFilter | 0.876 | 0.882 | 0.338 | 0.352 | 0.277 | 0.283 | 0.3 | 4.0 | 0.8 |
| DAPO | 0.830 | 0.837 | 0.244 | 0.259 | 0.177 | 0.195 | 0.9 | 4.6 | 1.5 |
| 80/20 rule, batch cut | 0.741 | 0.731 | 0.193 | 0.177 | 0.149 | 0.144 | 5.8 | 6.6 | 5.6 |
| Window shape | |||||||||
| top 20% window | 0.854 −2.2 | 0.858 | 0.380 +4.2 | 0.400 | 0.280 +0.3 | 0.274 | 3.3 | 10.2 | 13.4 |
| wide window (0.20/0.28) | 0.722 −15.4 | 0.750 | 0.218 −12.0 | 0.235 | 0.190 −8.7 | 0.197 | 8.8 | 9.5 | 8.6 |
| Coordinate | |||||||||
| random rank | 0.849 −2.7 | 0.849 | 0.255 −8.3 | 0.248 | 0.217 −6.0 | 0.220 | 0.9 | 5.2 | 2.6 |
| reversed rank | 0.694 −18.2 | 0.703 | 0.176 −16.2 | 0.171 | 0.119 −15.8 | 0.119 | 5.4 | 11.1 | 5.7 |
| batch-level rank | 0.826 −5.0 | 0.833 | 0.264 −7.4 | 0.294 | 0.194 −8.3 | 0.211 | 3.1 | 6.4 | 2.6 |
| 80/20 rule, per-response cut | 0.825 +8.4 | 0.834 | 0.322 +12.9 | 0.314 | 0.263 +11.4 | 0.241 | 5.7 | 25.5 | 20.8 |
| Class mass | |||||||||
| no floor | 0.862 −1.4 | 0.863 | 0.338 +0.0 | 0.333 | 0.254 −2.3 | 0.256 | 1.1 | 4.0 | 4.2 |
| rescaled masses | 0.840 −3.6 | 0.844 | 0.331 −0.7 | 0.328 | 0.243 −3.4 | 0.260 | 2.1 | 5.6 | 2.6 |
| Stabilizers | |||||||||
| no fallback | 0.842 −3.4 | 0.852 | 0.327 −1.1 | 0.315 | 0.233 −4.4 | 0.233 | 2.6 | 4.7 | 3.8 |
| no damping | 0.792 −8.4 | 0.765 | 0.304 −3.4 | 0.278 | 0.228 −4.9 | 0.220 | 11.4 | 15.8 | 13.6 |
| damping only | 0.713 −11.7 | 0.741 | 0.168 −7.9 | 0.190 | 0.138 −3.9 | 0.136 | 3.2 | 3.2 | 2.0 |
Table 3. Ablations: each row changes one component of CreditFilter; the DAPO row repeats Table 1, and the two 80/20-rule rows apply the mask’s selection rule on the settings of the DAPO row, with the cut taken over the rollout batch or within each response. Columns as in Table 1; the late columns add the difference in points from the row’s reference, marked by the row shading (reference rows darker).
The gain needs the entropy order and the within-response rank. Reversing the rank collapses the entropy to 0.01 nats, and a random within-response rank lands only 1–4 points above DAPO. Ranking across the batch stays within 2 points of DAPO, and on MATH500 it is 2 points below even the random rank. We read the reversed rank as reinforcing the most confident tokens until the policy stops exploring. A random rank still redistributes credit within each response but reaches the forks only by chance, so the entropy order supplies most of the gain. A batch-level rank moves credit between responses: long uncertain responses, mostly wrong, keep most of their tokens, and concise correct ones lose theirs. On the settings of the DAPO row, the 80/20 selection rule gains 8–13 points when its cut is taken within each response instead of over the batch.
The exact shape matters less than the width. The window retains 0.61/0.64 of the matched-filter gain and the top 20% window 0.40/0.51 (Table 16), yet over three seeds their accuracies are close (Table 24). The exponential window finishes more of its responses, with fewer tokens and at a lower training cost (Table 22). Doubling the widths to 0.20/0.28 from the first step retains 0.57/0.48 and costs 9–15 points. Training thus seems to respond mainly to where the mass sits, and both shapes put it at the head of the rank. The top 20% window’s zero tail drops the small update on the closing tokens of correct responses, so 3–13% of its samples reach the cap unanswered. Early on, doubled widths spread credit into middle ranks outside the base policy’s envelope (0.11/0.16), onto execution tokens and noise.
| Window | MATH500 | AIME24 | AIME25 | |
| accuracy | exponential | 0.860 ± 0.025 | 0.326 ± 0.042 | 0.258 ± 0.035 |
| top 20% | 0.817 ± 0.084 | 0.347 ± 0.050 | 0.261 ± 0.026 | |
| mean generated tokens | exponential | 6,541 ± 281 | 8,611 ± 979 | 7,491 ± 1,201 |
| top 20% | 7,894 ± 677 | 11,730 ± 841 | 10,428 ± 951 | |
| unanswered at the cap (%) | exponential | 1.2 ± 0.6 | 4.6 ± 0.8 | 1.7 ± 0.4 |
| top 20% | 6.4 ± 7.0 | 12.1 ± 1.6 | 9.9 ± 1.9 | |
| training tokens () | exponential | 5.57 ± 0.58 | ||
| top 20% | 6.58 ± 0.34 |
Table 22. Exponential window (CreditFilter) against the within-response top 20% window, mean ± standard deviation over the three data seeds of Table 24: late averages under the mean@32 protocol, and training tokens over 400 steps.
Table 24: Three data seeds: late averages (mean@32), the differences between runs of the same seed, and the mean standard deviation of each row over the seeds. Differences, means and standard deviations are computed before rounding.
| Set | Run | seed 201 | seed 300 | seed 400 | mean s.d. |
| MATH500 | CreditFilter | 0.876 | 0.831 | 0.872 | 0.860 0.025 |
| DAPO | 0.830 | 0.858 | 0.660 | 0.783 0.107 | |
| top 20% window | 0.854 | 0.722 | 0.877 | 0.817 0.084 | |
| CreditFilter − DAPO | +0.046 | −0.027 | +0.212 | +0.077 0.122 | |
| CreditFilter − top 20% window | +0.022 | +0.110 | −0.004 | +0.043 0.059 | |
| AIME24 | CreditFilter | 0.338 | 0.278 | 0.360 | 0.326 0.042 |
| DAPO | 0.244 | 0.256 | 0.163 | 0.221 0.050 | |
| top 20% window | 0.380 | 0.290 | 0.372 | 0.347 0.050 | |
| CreditFilter − DAPO | +0.094 | +0.023 | +0.197 | +0.105 0.088 | |
| CreditFilter − top 20% window | −0.041 | −0.011 | −0.011 | −0.021 0.017 | |
| AIME25 | CreditFilter | 0.277 | 0.217 | 0.279 | 0.258 0.035 |
| DAPO | 0.177 | 0.192 | 0.131 | 0.167 0.032 | |
| top 20% window | 0.280 | 0.232 | 0.272 | 0.261 0.026 | |
| CreditFilter − DAPO | +0.100 | +0.026 | +0.148 | +0.091 0.062 | |
| CreditFilter − top 20% window | −0.003 | −0.014 | +0.007 | −0.003 0.011 |
Table 24.
The floor, width tracking and the fallback each add a small gain. Dropping the floor costs 1 and 2 points on MATH500 and AIME25; rescaling the class masses at fixed widths costs 4 on MATH500. The floor and the rescaling both equalize the class masses. The floor adds a small update in the tail of correct responses. The rescaling raises their head weights about 1.4-fold; like removing the damping, this enlarges the correct-class update. Adding the tracking to the rescaled run gives CreditFilter-D, 5 and 4 points higher on MATH500 and AIME24, plausibly by following the moving envelope. Without the fallback, the late accuracy is 3 and 4 points lower on MATH500 and AIME25. We hypothesize that at high batch entropy many high-entropy tokens are interchangeable wording, so the rank stops finding forks. The fallback then moves the update toward uniform credit, and the run without it keeps crediting noise.
Conclusion
In critic-free RLVR the expected forking values along a response sum to the reward variance, which motivates allocating each response’s credit at its own forks. The fork probability, which bounds the forking value and comes directly from the softmax, decays exponentially in a token’s within-response entropy rank at a class-specific rate. CreditFilter turns this envelope into a token weight with no extra forward passes. Averaged over three seeds, it gains 7.7 points on MATH500 and 10.5 and 9.1 points on AIME24 and AIME25 over DAPO, at about twice DAPO’s training tokens. On fixed training settings both the rank within each response and the window’s width matter: ranking across the batch instead of within each response loses 5–8 points, and doubling the window’s widths loses 9–15.
Limitations. All training results are on one base model and one prompt set, with 30-problem AIME sets and a 20,480-token cap. The ablations and the reproduced baselines are single runs. CreditFilter’s responses are longer than the baselines’, and at equal steps it trains on about twice DAPO’s tokens (Appendix § 13.§ 1). The theory is tested on the base policy only: Assumption 2 and the flat fork consequence hold approximately, the window leaves out the value factor, and the propositions do not cover the overlap penalty (§ 4).
AI Use Statement
Large language model assistants (Claude Fable 5, 5.1 and 5.2) were used throughout this work: to write and debug the experiment, analysis and plotting code, to draft and edit the text under the authors’ direction, and to produce simulated reviews of the draft. The authors designed the experiments, verified every number against the recorded per-sample outputs, and take full responsibility for the content.
The CreditFilter coefficient step by step
Algorithm 1 lists the per-batch computation of the coefficient of equation (2); the lines marked are the CreditFilter-D additions (tracked widths and the class-mass equalization by rescaling, which replaces the floor). Every quantity it uses is already computed by the trainer: the entropies come from the actor’s forward pass over the rollouts before the update, the per-token fork probabilities come from the same softmax, the advantages and group pass rates come from the reward, and the rank is a sort within each response.
Notation and terms. Table 4 collects the symbols and coined terms of the main text; a few symbols that a reproduced method or an appendix derivation reuses with a local meaning are flagged where they occur.
| symbol or term | meaning |
| , , | verifier outcome of response , its group-normalized advantage, and the advantage rescaled by the coefficient |
| , | class of a response, its verifier outcome (correct or wrong), which selects the width; sign of its advantage, which selects the floor and the damping |
| entropy and fork probability of token , from the same softmax | |
| (midpoint rank) | entropy rank of a token within its response, (near 0) at the highest entropy; the window uses , the width fits use the midpoint rank (Appendix § 11) |
| , | the kernel of a token, with the width (rank interval over which the weight halves) and the floor; is the kernel of a class |
| class mass, the mean of the kernel over the rank (Proposition 7) | |
| , | difficulty damping of the responses with a positive advantage; the pass rate of the response’s group |
| fallback mixing weight (1: window on, 0: uniform credit), batch entropy, and the entropy band that drives it (1.5/3.0 nats) | |
| forking value, fork probability and fork consequence of a position (§ 4) | |
| action value and value, the probability of ending correct | |
| envelope, | the profile and the width of its exponential fit; the width fitted to the forking-value profile |
| condition K | the mean fork consequence given the rank and is constant within a class, so the forking spectrum is proportional to the class envelope (Corollary 6) |
| continuations per branch (8 four-branch, 48 full-support) | |
| forking spectrum , the mean-square target for prefix-measurable with constant (Appendix § 11) | |
| ; , , | credit increment of the sampled token; , and the mean-square coefficient (Proposition 3) |
| value-weighted spectrum, value factor | (correct) and (wrong), times the numerator of the target for the rank and the class under Assumption 2 (Proposition 5); the weight on is the value factor, which the window ignores |
| four-branch, full-support instrument | the sampled token and its three most probable alternatives; the head branches up to mass 0.9 (at most six) plus two tail draws (Appendix § 12) |
| matched-filter gain retained | squared cosine between a weight profile and the measured forking-value profile over the rank strata (Table 16) |
| format tokens | the end-of-text, end-of-turn and thinking-tag tokens; the measured responses have at least 200 other tokens (Appendix § 12) |
Table 4. Notation and terms.
Algorithm 1 CreditFilter coefficient for one training batch, computed from the rollout entropies without gradient (CreditFilter-D lines marked )
Require: responses with tokens , entropies and fork probabilities from the same softmax, verifier outcomes , advantages , group pass rates ; widths and floors (: initial widths , clamps , floors ); fallback band ; damping exponent
; ; , ties broken deterministically;
for each class with at least 64 responses: average per response in the ten -bands of Appendix D.7 (), then over responses; if every band mean is present and positive and the least-squares slope of their logarithms on the band centres is negative: , equation 7
kernel of equation 2
with the natural mass and : for all
token-mean entropy of the retained batch (after dynamic sampling);
if else
coefficient of equation 2
maximize the batch token mean of , with the dual clip of Table 5 for $A_i<0
Training and evaluation protocol
This appendix gives the training recipe shared by all runs (Table 5), the choice of the fallback band, the evaluation protocol and the statistics.
| Model | Qwen3-8B-Base with its official tokenizer and ChatML chat template |
| Prompts | DAPO-17k [3], boxed-answer variant (17,917 problems); prompts of at most 1,024 tokens; data seed 201 (300 and 400 in Appendix F.2) |
| Batch | 128 prompts 16 rollouts per step; mini-batch 32 prompts, i.e. four optimizer updates per step |
| Schedule | 400 steps; checkpoint every 25 steps |
| Optimizer | AdamW, learning rate constant (no warm-up), , weight decay 0.01, gradient clipping at norm 1, one optimizer pass per mini-batch; no KL loss and no entropy bonus; token-mean loss aggregation |
| Coefficient | the window coefficient is computed under no gradient from the rollout entropies, the verifier outcomes, the sign of each response’s advantage and the pass rate of its group; it multiplies the advantage, which is itself a constant of the update |
| Rollouts | vLLM, temperature 1.0, top- 1.0, no top-; at most 20,480 response tokens |
| Reward | training grader (boxed answer, exact match after normalization): +1 for a correct and −1 for a wrong answer, plus the DAPO soft overlong penalty: with and buffer , a response of tokens receives 0 for , inside the buffer and −1 at the cap (factor 1.0) |
| Sampling | DAPO dynamic sampling: generation chunks of 128 prompts, only prompt groups in which some but not all responses have a positive reward are kept, at most 8 chunks per step |
| Advantage | group mean/standard-deviation normalization (DAPO); PPO ratio clipped to for the CreditFilter recipe; dual clip: for the per-token objective is |
| Hardware | three GPU types (H100, H200 and B200); the runs differ only in rollout throughput settings and micro-batching, every other parameter being identical, so we treat them as one training configuration |
Table 5. Settings shared by all runs; the runs differ only in the entries of Tables 6 and 7.
Choice of the fallback band. The upper bound of the fallback band, 3.0 nats, was set from pilot runs: runs whose batch entropy stayed above 3 nats for long stretches ended with lower accuracy.
Evaluation protocol. Every checkpoint is exported to HF format and sampled with vLLM 0.18.0 (bfloat16, tensor parallel 1, one replica per GPU, seed 0 plus the GPU index, context 21,504 tokens) with samples per problem at temperature 1.0, top- 0.7 and at most 20,480 new tokens, on MATH500 (), AIME24 () and AIME25 (). The last boxed expression is extracted, normalized as in DAPO and graded with Math-Verify (Kydliček, [12]) against the reference (the training reward applies exact match to the same normalized string). A sample is complete once it has produced a boxed answer; a sample that reaches the 20,480-token cap without one is unanswered and counts as wrong, and the tables report the share of such samples. The rule grades the last expression the model boxed, so generation that continues after an answer is not penalized unless it boxes another expression; the overlong penalty of Table 5 shapes training and is not part of the evaluation. All checkpoints are evaluated with this protocol on the same problem sets, and contrasts between two runs are paired by problem.
Statistics. The per-problem accuracy of a checkpoint is the mean over its 32 samples; the late average of a run is the mean over checkpoints 350, 375 and 400 of that per-problem accuracy. Intervals are 95% percentile bootstrap intervals over problems with 3,000 resamples; a contrast between two runs resamples problems and takes the mean of the per-problem difference.
Run definitions
All runs share the recipe of Table 5 and differ only in the entries of Table 6; Table 7 gives the settings of the reproduced baselines, Table 8 how often the fallback engaged, and the fidelity notes at the end how each reproduction departs from its publication. The masses in Table 6 follow from the closed form of Proposition 7 (Appendix § 11.§ 4).
Table 6: Run definitions: CreditFilter, CreditFilter-D and the uniform-weight recipes (upper block) and the ablations of Table 3 (lower block); the reproduced baselines are in Table 7. Kernel: exp ; hard ; dyn. = tracked widths, the tracker fitting the fork-probability profile every step; none = uniform weights. Rank: within-response (resp.), batch-level (batch), random within-response (random) or reversed within-response (reversed) entropy rank. Fallback: band in nats of the entropy-gated fallback (“off”: ); Damp.: ; Clip: upper clip ratio. : expected class masses from the closed form on the trainer’s rank grid (“”: natural mass, then rescaled).
| Run | Kernel | Rank | Fallback | Damp. | Clip | |||
| CreditFilter | exp | resp. | 0.10/0.14 | 0.1/0 | 1.5/3.0 | 1/0 | 0.27 | 0.196/0.200 |
| CreditFilter-D | exp, dyn. | resp. | 0.111/0.155 | 0/0 | 1.5/3.0 | 1/0 | 0.27 | rescaled each step |
| DAPO | none | — | — | — | off | 0/0 | 0.28 | 1/1 |
| GRPO | none | — | — | — | off | 0/0 | 0.20 | 1/1 |
| top 20% window | hard | resp. | — | 0/0 | 1.5/3.0 | 1/0 | 0.27 | 0.200/0.200 |
| wide window | exp | resp. | 0.20/0.28 | 0.1/0 | 1.5/3.0 | 1/0 | 0.27 | 0.293 0.196 / 0.370 0.200 |
| random rank | exp | random | 0.10/0.14 | 0.1/0 | 1.5/3.0 | 1/0 | 0.27 | 0.196/0.200 |
| reversed rank | exp | reversed | 0.10/0.14 | 0.1/0 | 1.5/3.0 | 1/0 | 0.27 | 0.196/0.200 |
| batch-level rank | exp | batch | 0.10/0.14 | 0.1/0 | 1.5/3.0 | 1/0 | 0.27 | 0.196/0.200 under a uniform rank |
| 80/20 rule, batch cut | hard | batch | — | 0/0 | off | 0/0 | 0.28 | 0.200/0.200 in expectation |
| 80/20 rule, per-response cut | hard | resp. | — | 0/0 | off | 0/0 | 0.28 | 0.200/0.200 |
| no floor | exp | resp. | 0.10/0.14 | 0/0 | 1.5/3.0 | 1/0 | 0.27 | 0.144/0.200 |
| rescaled masses | exp | resp. | 0.10/0.14 | 0/0 | 1.5/3.0 | 1/0 | 0.27 | 0.144 0.200 / 0.200 |
| no fallback | exp | resp. | 0.10/0.14 | 0.1/0 | off | 1/0 | 0.27 | 0.196/0.200 |
| no damping | exp | resp. | 0.10/0.14 | 0.1/0 | 1.5/3.0 | 0/0 | 0.27 | 0.196/0.200 |
| damping only (window removed) | none | — | — | — | 1.5/3.0 | 1/0 | 0.27 | 1/1 |
Table 6.
Table 7: Reproduced baselines: the 80/20 mask, STARE and SC-GRPO of Table 1. Token weight and rank as in Table 6; host recipe with its upper clip ratio (Clip); none of these runs carries the fallback or the damping (fallback off, damping 0/0). Fidelity notes at the end of this appendix.
| Method | Token weight | Rank | Host | Clip | Settings |
| 80/20 mask | hard | batch | DAPO | 0.28 | released training script: top-20% of each micro-batch of 32 responses at every update, by the entropy under the current policy; loss averaged over the kept tokens; 10 warm-up steps, weight decay 0.1, dual-clip constant 10; training grader also accepts mathematically equivalent answers |
| STARE | surprisal quantiles | batch | DAPO | 0.28 | O1 variant, , , , (STARE’s symbols) |
| SC-GRPO | self-conditioned KL | — | GRPO | 0.20 | , , |
| Run | mean | fully on (%) | uniform (%) | ||
| CreditFilter | 0.84 | 64 | 8 | ||
| CreditFilter-D | 0.69 | 30 | 10 | ||
| top 20% window | 0.84 | 57 | 0 | ||
| wide window (0.20/0.28) | 0.65 | 37 | 9 | ||
| random rank | 0.60 | 42 | 8 | ||
| reversed rank | 1.00 | 100 | 0 | ||
| batch-level rank | 0.66 | 38 | 16 | ||
| no floor | 0.86 | 41 | 0 | ||
| rescaled masses | 0.83 | 64 | 3 | ||
| no fallback | off | — | — | ||
| no damping | 0.97 | 77 | 0 |
Table 7. Fallback engagement per run, reconstructed from the batch entropy with the band 1.5/3.0: mean and the shares of steps (%) with the window fully on () and fully replaced by uniform credit (). Damping only (uniform weights) is omitted; for the wide-window, batch-level-rank and no-floor runs the available entropy logs cover 352, 371 and 384 of the 400 steps.
Reproduced baselines: fidelity notes. 80/20 mask. The 80/20 mask of Table 1 is trained with its authors’ released training script on our training set, prompt and schedule (128 prompts per step, 400 steps; Table 7). The two 80/20-rule rows of Table 3 instead apply the mask’s selection rule on the settings of the DAPO row, with the cut taken over the rollout batch or within each response; these two runs normalize the loss over all response tokens instead of over the kept ones (a constant factor 0.2 that Adam removes); the gradient norm never reached the clipping threshold. Absolute levels. Our GRPO run’s late MATH500 / AIME24 / AIME25 (0.833 / 0.263 / 0.184) are close to the 83.0 / 28.3 / 20.0 reported for GRPO on Qwen3-8B-Base by Le et al. (2026), who sample at the same temperature and top- but score the best checkpoint with 8 samples per problem under an 8,192-token cap and clip ratios 0.20/0.28. The DAPO baseline of Wang et al. [28] on the same model and prompts, trained with 512 prompts per step for about 40 steps (640 gradient steps) and evaluated at its best checkpoint with 16 samples at temperature 1.0 (response cap and top- not stated), reaches
89.2 / 33.3 / 25.4; CreditFilter-D reaches 0.887 / 0.367 / 0.268 with 128 prompts per step over 400 steps under our protocol (top- 0.7, 20,480-token cap), and our DAPO run at that budget stays at 0.830 / 0.244 / 0.177. The published 80/20 mask matches its host there (+0.5 / +1.3 / +0.8); trained here with its released script it reaches 0.827 / 0.302 / 0.236. STARE. The O1 variant with the paper’s defaults on the DAPO recipe; surprisals are taken from the rollout log-probabilities shared by the four mini-batches of a step, and the top- quantile is computed over the batch. Its entropy gate opens only while the batch entropy is below the target 0.3 nats, which in our run is the collapsed stretch between steps 10 and 39 (Figure 4); elsewhere the run reduces to its DAPO host. SC-GRPO. The self-conditioned teacher (the same weights, with a correct rollout of the group in the system prompt) and the full-vocabulary forward KL follow the paper; the “solve-none” branch does not exist under dynamic sampling (all-wrong groups are removed upstream), the math guide template is ours (the paper’s is not released), responses beyond 8,192 (teacher) or 12,288 (KL) tokens fall back to unit weight, and the model is the base model rather than the paper’s post-trained one, so the conditioning signal is weaker than in the paper (75th percentile of the KL about 0.007 in a short test run).
Proofs and computations for Section 4
This appendix proves the propositions of Section 4 and the further results stated here (Proposition 5, Corollary 6, Proposition 7, Lemma 8, Proposition 9); Appendix D.5 gives the rationale for the coordinate and the kernel, and Appendix D.7 the width tracker and the envelope along training.
Setting, sampling law and notation
(S1) A fixed prompt and policy ; is the on-policy rollout law; the prefix contains all generated tokens and everything the policy conditions on. (S2) ; termination is observable from the prefix, almost surely, and is a deterministic function of the completed response. Let , , , , ; after termination and . Two advantage conventions: (I) the ideal with and fixed ; (II) the group form , , the mean of the other rewards, with on homogeneous groups. A sampling law over rollout–position pairs is with , zero after termination, ; it is predictable (P) when each is -measurable (pooled active-token sampling is); drawing a rollout and then a uniform position is predictable only when the length is fixed, since its position weight is . With : , , , the selection correction , the cross-position term and the peer term . Two rank coordinates are used: the rank (window and masses), with the descending entropy rank within the response and deterministic tie-breaking (Assumption 2), and the midpoint rank , on which the instrument and the width tracker of CreditFilter-D bin their profiles; both use all response entropies and are retrospective (prefix-measurable only in degenerate cases such as ), whereas absolute entropy and a causal rank among positions are prefix-measurable; the outcome class is retrospective as well (prefix-measurable only when ).
Credit decomposition, MMSE and identification (Propositions 1, 3 and 5)
Decomposition and orthogonality. is a bounded Doob martingale: , so ; given the next token follows and , so . For , is -measurable and . Telescoping, , equal to for ; squaring and using orthogonality, for the fixed prompt. With almost-surely finite but unbounded , for , and bounded convergence gives , so the sums converge in . These statements are about at fixed indices; retrospective selection can change the expectation measure.
Non-negative coefficient MMSE. For the conditional risk is , minimized on by (unique a.s.); on , a.s. conditionally and every finite weight is equivalent. Conditional Cauchy–Schwarz gives , so has finite second moment. Expanding around , , which reduces to when . This is coefficient-prediction optimality under the chosen sampling law; the gradient-error bound below relates it to the update.
Clean identification. Under (I), (P) and -measurable: ; for , is -measurable and ; for , . Multiplying each identity by (an -measurable multiplier for bounded ), summing and dividing by transfers them to : and , hence ; , so the positive part is inactive. Proportionality of to across observables additionally needs constant over the compared observables; with a binary reward depends on through the outcome class and the pass rate, so the comparison is made within a class (the class masses are set separately, Proposition 7). The within-response rank and the outcome class are retrospective; Proposition 5 extends the identification to them under Assumption 2.
Finite group and random scale. Under (G), , so for any sampling law. If rollouts are i.i.d. given the prompt and both and depend only on the focal rollout , then and even for retrospective ; including or peer information in can make . Under the same hypotheses (i.i.d. rollouts, and depending only on the focal rollout), for a common positive symmetric scale of the group reward vector (e.g. the group standard deviation, with on homogeneous groups; deleting such groups instead changes the sampling law) with and , symmetry and give with a prompt-dependent (independence is needed for even if every reward equals one shared Bernoulli variable the group is exchangeable but every advantage vanishes), so for focal-only observables; must be retained when prompts are pooled.
Assumption 2 (rank look-ahead) is stated in § 4; the proposition below is the general form of the identification in Proposition 3, with the advantage (I) or (G).
Proposition 5 (identification for the rank and the class, general form). Let be the binary verifier outcome, the class it defines and the advantage (I) or (G) of , and let the sampling weights be functions of (pooled active tokens and rollout-equal both qualify). Under Assumption 2, for a fixed prompt and , under (I)
and under (G) the same identities hold with the absolute values of the prompt-level scales in place of and . In both cases is constant within each class. Hence
is proportional to the value-weighted forking spectrum, and to when the -weighted mean of (correct) or (wrong) over the positions at rank does not depend on .
Proof of Proposition 5. Since is -measurable, ; with this gives and on conditioning events of positive probability, and by Assumption 2 the same values for . On a correct response is fixed by the prompt; and the sampling weights are functions of , so the tilt by the weights leaves the conditional law of given unchanged, and . With the same steps give the wrong-class identity, the negative advantage and the negative conditional increment cancelling. equals or on the two classes. For the group advantage the rewards of the other rollouts are independent of the trajectory given the prompt, so the identities hold with the prompt-level scales in place of and . Strata with have conditionally, hence -a.s. and . The overlong penalty of the training reward (Appendix § 9), under which depends on the length and can differ from , lies outside the proposition.
Gradient-error bound. With , , , positions padded after termination and the maximum response length:
pathwise, so , and by Jensen the squared norm of the expected discrepancy obeys the same bound. Under differentiability, a valid score identity and policy-independent reward, because and . Under pooled active-token sampling . The exact discrepancy contains ; coefficient MMSE ignores score magnitudes, directions and cross-position cancellation, minimizes only this upper bound, and does not preserve unbiasedness.
Factorization and envelope (Proposition 4, Corollary 6)
Factorization. Fix a position, write and , and let be independent draws from . The variance of a random variable is half the mean squared difference of two independent copies, so . Diagonal terms vanish, hence with , and when (a deterministic policy has ). Since , . In words, is the probability that two independent draws of the policy differ (the fork probability) and is half the mean squared change in expected correctness caused by such a fork (the fork consequence).
Envelope chain. . From , . Also , so . For the entropy, is convex, so Jensen gives , using on ; the intermediate quantity is the collision entropy. Equality holds iff is uniform on its support, and only for a deterministic law. Two further bounds: because has mean (Hoeffding–Davis), and (Proposition 1), so the total forking value of a prompt vanishes as its pass rate approaches 0 or 1. All quantities in each identity refer to one and the same action law; a restricted-law cannot replace the full-policy in the martingale budget.
Corollary 6 (condition : the envelope window). If within a class depends neither on the rank nor on (condition ), then . If, within a class, (correct) and (wrong) depend neither on the rank nor on (condition for the value-weighted consequence), then under Assumption 2
the window is the class envelope profile.
Condition K and the envelope window. Within a class, . Under condition K, (it need only be imposed where ), so ; a decay scale is identified only when , the envelope profile is not identically zero and at least two ranks occur (constant action values give despite ). Under the clean identification of Appendix D.2 (prefix-measurable observable, predictable sampling, constant ), ; for the rank and the outcome class, Proposition 5 gives the value-weighted numerators and with constant within a class, and conditioning on as above turns them into multiples of if condition K also holds for the value-weighted consequence; condition K alone does not imply this. In both cases the shape within a class is the envelope profile; the criterion fixes the class amplitudes (Section 4) and the class mass rule sets the implementation amplitudes equal. Wherever , the proportionality holds exactly when the -weighted band mean is rank-independent, and condition K is sufficient for it; this ratio is what the instrument estimates as , and it differs from the unweighted mean of when and are correlated within a band. Condition K is substantive: for two independent fair tokens with reward equal to the second token, both positions have and while and , so identical envelopes can carry different forking value and an envelope alone cannot identify it. If , at least two ranks occur and exactly, the window is the exponential family with and no floor; with a fitted exponential, is the decay scale of the ten-band fit (Appendix D.7). Section 5.1 and Appendix E assess condition K; Appendix E.6 measures how much the value weighting changes the spectrum.
Window mass and the positive-class floor (Proposition 7)
Proposition 7 (window mass and the positive-class floor). Conditional on the length , the class and the window parameters, a response’s mean kernel value does not depend on its entropy values and lies within of a continuum mass with a closed form (below); for the equal-mass condition of equation 5 has a unique solution on the active-floor interval.
Per-response mass. With ranks the ranks of a response of length are a permutation of , so conditional on , the class and the window parameters the response’s mean kernel value is independent of its entropy values. depends on and converges to the continuum mass with , because the right-endpoint sum of a non-increasing integrand lies below its integral by at most one cell of height . The ratio of normalized class mean weights therefore approaches when both classes are present with sufficiently long responses; total class masses also scale with the class token counts and are not equalized. A batch-wide rank does not have the per-response property (the batch-level rank ablation of Table 3).
Closed form. For , and uniform on , let and (the point where the exponential meets the floor; when ). If the floor is inactive and ; if , , using ; the two branches agree at , and the floored expression is not valid outside . Values: (), , , so the floor 0.1 of the CreditFilter configuration adds 0.0525 of continuum mass, all of it on .
Positive-class floor. For fixed , is continuous, constant on and strictly increasing on (, zero at and positive for ) up to , and is strictly increasing. Hence for the equation has exactly one solution on the active-floor interval (for every solves it, so uniqueness comes only from selecting the active-floor interval), and by implicit differentiation the solution increases when narrows or $\lambda_- widens. Bisection gives for (target mass 0.201): the floor 0.10 of the CreditFilter widths equalizes only approximately (continuum mass ratio 0.1966/0.2005 = 0.98). Within the clamps of CreditFilter-D a floor equalizes the classes only by flattening the window: with needs mass 0.475, and even a floor of 0.3 gives only ; CreditFilter-D therefore drops the floor and equalizes the classes by rescaling (§ 3.3).
Why the within-response rank and the exponential kernel
The window’s coordinate and kernel follow from three requirements on a per-token coefficient, none of which uses the measurement.
A rank weight redistributes credit within a response. By Proposition 1 the expected forking value of a prompt’s rollouts, summed over positions, is . The identity fixes this mean over rollouts, not the value of a single response, and a rank weight redistributes it within each response. A coefficient that is a function of the entropy values gives two responses of the same length and outcome different totals: for the total is the length times the response’s mean fork probability, which moves by an order of magnitude along training, so the size of a response’s update would follow its uncertainty. A function of the within-response ranks leaves the total a function of the length alone (Proposition 7), so the window’s shape is one object across responses, training regimes and models.
The rank is invariant and bounded. The rank of a token within its response is the same under any monotone transform of the uncertainty measure (the entropy, its exponential the perplexity, any power of either), whereas a value-based coefficient commits to one scale of the softmax. A kernel on the rank lies in by construction, which keeps the coefficient sign-preserving, the premise of Proposition 3, and bounded by one, so no token receives more than the shared advantage (the class-mass rescaling of CreditFilter-D raises the head weights of one class above one); a -score of the entropy within the response is signed, and a ratio to the response mean is unbounded.
The exponential is the memoryless kernel. Among kernels on the rank, the exponential is the one whose weight ratio between two positions depends only on their rank difference, (Cauchy’s equation for a monotone kernel): it prefers no scale along the rank, and one number, the width, sets the concentration. This is what makes the width a per-model calibration that a tracker can re-measure in the loop and that Table 14 compares across models, and it gives the mass its closed form (Appendix § 11.§ 4). The measured envelope has this form ( 0.99 and 0.95 over the ten bands, the same form on eight models), so the fitted width is the calibration.
Derived, measured, chosen and approximated parts. Table 9 lists the parts of CreditFilter by their source.
| Source | Part | Where |
| Derived | The target of a sign-preserving token weight is the value-weighted forking spectrum; it reduces to the forking spectrum, and to the fork-probability envelope, under the stated conditions | Propositions 3 and 4, Corollary 6 |
| Measured | The fork-probability envelope over the within-response rank: exponential, with widths 0.111 and 0.155 on the base model (the runs use 0.10 and 0.14, the rounded widths of a subset of the responses; Section 3.1); the fork consequence over the rank | Section 5.1, Tables 11 and 15 |
| Chosen | The within-response rank and the exponential form of the window, from three requirements that do not use the measurement; the class-mass floor, the damping and the fallback | This subsection; ablated in Table 3 |
| Approximated | Assumption 2; the fork consequence taken as flat over the rank (condition K); the value factor left out of the window | Appendices E.5, E.4 and E.6 |
Table 9. The parts of CreditFilter by their source, and where each is stated, ablated or tested.
Lemma on Adam and gradient scale
Lemma 8 (Adam and gradient scale). With gradient clipping inactive and zero initial moments, on coordinates with nonzero second moment (a zero coordinate steps by zero under the convention ), multiplying the entire gradient history by a constant leaves the bias-corrected Adam update [11] unchanged at (and replaces by *otherwise). For a constant signed coordinate gradient multiplied by after baseline updates, at the update steps later relative to the unchanged reference is , .
Adam keeps its moment estimates (a local use of and ) , and steps by with the usual bias corrections; replacing by throughout gives and , hence the first claim (decoupled weight decay is unaffected). For the step change, and , giving ; with the general ratio is , still at most . For , , , and : at , peak 1.93 near ; with equilibrated moments the peak is 3.23. Consequence for the design. A common amplitude fixed for the whole run is therefore immaterial under these assumptions but not outside them (a factor introduced mid-run, a non-negligible , active clipping), whereas changing the ratio of the class mean weights can change the aggregate gradient direction and Adam’s moments. CreditFilter equalizes the class mean weights with the floor, which places the equalizing mass on the tail. The rescaled-mass ablation of Table 3 places it on the head, and the no-floor ablation leaves the masses unequal.
Tracking the envelope
Estimator and update. At every step, for each class with at least 64 responses in the batch, the tokens of each response are binned by their midpoint rank into the ten bands with edges , the band mean of the fork probability (per token, from the same softmax pass as the entropies) is taken per response, the response means are averaged over the responses that have the band (rollout-equal), and from an ordinary least-squares fit of the log band means on the band centers; the width is updated only when every band mean is present and positive and the fitted slope is finite and negative; otherwise, including for a flat profile, the previous width is retained. The tracked width is the exponential moving average with , the target and the average both clamped to (correct) and (wrong) in the CreditFilter-D run, whose initial widths are 0.111/0.155; the state is persisted so that a restart resumes the average.
Envelope along training. Table 10 applies this estimator to training-length rollouts of the CreditFilter checkpoints every 50 steps. At step 350, in the aftermath of the entropy excursion, 28% of the rollouts hit the cap and are excluded, and the width of the remaining, shorter wrong responses (0.08) is not comparable with the other rows. CreditFilter-D’s tracker, which follows the envelope of its own batches, has widened the wrong-class width to its clamp of 0.40 by step 290 and ends training at 0.28–0.37 over its last 75 updates; its correct-class width is 0.16 at step 290 and 0.13–0.18 at the end. The widths that fail when fixed from the first step, 0.20/0.28 (Table 3), are close to those the tracker reaches after step 290. The fixed CreditFilter window stays close to the moving envelope: its squared cosine with the exponential of the tracked width is 0.84–0.95 for the correct class and 0.83–1.00 for the wrong class across the checkpoints of this table, against 0.65–0.91 and 0.86–1.00 for the wide window and 0.66–0.81 and 0.55–0.81 for the top 20% window.
Damping multiplier (Proposition 9)
Proposition 9 (damping multiplier). For binary with pass probability , and an unclipped full-trajectory score , under a valid score identity with a policy-independent reward and with , the normalization and the damping coefficients held fixed, scaling correct responses by gives *.
Damping. With true pass probability , , , the unclipped full-trajectory score , a valid score identity with a policy-independent reward, and , and the damping coefficients treated as fixed: , ; and, since , ; on , and on , , so . For the multiplier lies in ; the population ascent direction is preserved. The identity does not cover estimated group pass rates, random normalization, windowing, clipping or Adam.
The forking-value instrument
This appendix describes the two instruments of Section 5.1: the four-branch instrument, whose measurement on Qwen3-8B-Base is summarized in Table 11 and drawn band by band in Figure 3, and the full-support instrument of Appendix E.4.
Figure 3. The factorization on Qwen3-8B-Base. Left: correct responses; right: wrong responses; vertical lines: 95% rollout-bootstrap intervals. (a, b) Fork probability : gray dots, 6000 positions per class, with values below drawn at ; markers, band means; line, the exponential fit, with , for correct and , for wrong responses. (c, d) Fork consequence per band; line, the pooled value over bands 2–10 with the top-band gain on band 1; the values are in Table 11. (e, f) Forking value per band, hollow at the floor for a band mean ; solid line, the reconstruction with the top-band gain; dashed line, the direct exponential fit, with , for correct and , for wrong responses.
Estimator
Setting. At a position with prefix and next-token law , the branch set is the sampled token together with the three most probable alternatives under (four branches). With cover the weights are . Each branch is continued times, independently, with the training sampler (temperature 1, top- 1.0, a budget of the instrument’s 4608-token context (less the prefix), and every continuation is graded by the training grader (strict boxed-answer match against the reference); a length-truncated continuation is graded 0. Let be the action value of branch under that sampler, , and $U_k=S_k(S_k. The estimate is
signed, and exactly zero when all continuations agree.
Unbiasedness. is the fraction of ordered pairs of distinct continuations of branch that both succeed, a U-statistic of order two, so ; independence across branches gives for . Hence the estimate of equation 14 has expectation
the variance of under on the branch support: the quantity of § 4 restricted to the retained support, with the matching fork probability (the identity of Proposition 4 holds on any finite support). The instrument therefore measures , and under the renormalized four-branch law; the omitted mass can carry forking value that the retained support does not show, and the full-support instrument of Appendix § 12.§ 4 includes it. The band estimator inherits the sign of and can be negative (Table 13), although .
Cover and truncation
Cover, the probability mass retained by the four branches, has mean 0.902 (correct) and 0.795 (wrong) and rises with the rank, from 0.69/0.48 in the top band to at least 0.96 beyond : the low-cover positions are those of the head, where the policy spreads mass beyond four tokens, and the top-band gain of Table 11 is a statement about 0.69/0.48 of the mass at those positions. Summed over positions, is 2.4 (correct) and 3.0 (wrong) times the budget of Proposition 1; the window uses only the shape of each class profile, which a class-wide factor leaves unchanged. Of the continuations per position, 2.1%/3.7% are length-truncated and graded 0, 35%/48% of positions have at least one truncated continuation, and 89.7%/73.3% of continuations end with a boxed answer.
Continuation horizon. The base-policy continuations run inside the 4,608-token context and a continuation that reaches its end is graded 0, whereas training generates under a 20,480-token budget. Table 12 repeats the spectrum statistics under two alternative treatments of the stored records: only the positions none of whose 32 continuations was truncated (65% of the correct-class and 52% of the wrong-class positions), and every truncated continuation graded 1 instead of 0. The envelope width does not move (it depends on the softmax only); the forking-value width stays inside its interval, and its interval contains the envelope width; the pooled consequence moves within a factor of 1.5 with overlapping intervals; the top-band gain stays above one in every treatment; the head-to-tail ratio of resolves no trend in any; and the class ratio ranges from 3.0 to 4.8.
| class | treatment | positions | top-band gain | head-to-tail | |||
| correct | all positions (paper) | 7056 | 0.111 [0.098, 0.124] | 0.125 [0.069, 0.221] | 2.12 [1.21, 3.13] | 2.9 [1.7, 5.6] | 0.67 [0.24, 3.55] |
| correct | no truncated continuation | 4577 | 0.109 [0.095, 0.121] | 0.087 [0.061, 0.240] | 3.15 [1.91, 4.49] | 2.1 [1.2, 3.6] | 0.69 [0.29, 2.81] |
| correct | truncated graded 1 | 7056 | 0.111 [0.098, 0.124] | 0.136 [0.080, 0.226] | 2.21 [1.27, 3.21] | 2.8 [1.6, 5.0] | 0.70 [0.29, 3.53] |
| wrong | all positions (paper) | 16128 | 0.155 [0.146, 0.165] | 0.146 [0.093, 0.344] | 0.70 [0.46, 0.96] | 2.4 [1.3, 3.9] | 1.15 [0.42, 6.63] |
| wrong | no truncated continuation | 8443 | 0.150 [0.141, 0.161] | 0.110 [0.074, 0.823] | 0.66 [0.29, 1.08] | 3.4 [1.5, 7.7] | 1.05 [0.28, 10.84] |
| wrong | truncated graded 1 | 16128 | 0.155 [0.146, 0.165] | 0.164 [0.089, 0.665] | 0.51 [0.22, 0.79] | 3.0 [1.3, 6.8] | 1.20 [0.26, 12.70] |
Table 12.
Protocol
Corpus. 288 training prompts with 8 responses each at temperature 1, top- 1.0 (13.7% of responses correct); 640 responses were selected with at least 200 non-format tokens and prompt plus response within 4160 tokens (294 correct, 346 wrong). The wrong class is the union of the wrong responses from mixed-outcome prompts of this draw and of a second draw of the same prompts, 672 responses. Format tokens are excluded from the rank; positions carry the midpoint rank of Appendix § 11.§ 1, with the 1-based descending entropy rank, the number of ranked tokens and ties broken by position.
Positions. Per response, 3, 3, 3, 2, 2, 2, 3, 2, 2, 2 positions are drawn uniformly at random from the ten bands , , , , 24 in total, so every response has the same design in
Table 12: Continuation-horizon check on the base policy: the spectrum statistics under three treatments of the length-truncated continuations (positions kept; envelope and forking-value widths over the ten bands; fork consequence pooled over bands 2–10, in units of ; top-band gain ; head-to-tail ratio of , against within bands 2–10; 95% rollout bootstrap, replicated independently of Table 11).
every band, and a band mean over responses (: the sum of the estimates at the positions of response in band ; : their number) weights responses equally (the per-band counts of Table 13 differ from this design because positions are re-binned by the midpoint rank , which shifts some positions across band edges); the tail is not sampled. Table 13 lists the ten-band measurement for both classes.
Widths. of an ordinary least-squares fit of on the band centers over the bands with positive mean, ten bands unless stated (for every band mean is positive; for a negative tail band is dropped, which can lengthen , whereas , the quantity the window uses, is unaffected). The log band means of are concave: the local half-width falls from 0.18–0.20 over the first bands to 0.09 in the last for correct responses and from 0.58 to 0.09 for wrong ones, and a fit restricted to gives widths 0.15/0.34 against the global widths of Table 11; the single exponentiation is a global summary, narrower than the head and wider than the tail.
Summary. The width of an exponential fitted to the forking value itself lies within 20% of the envelope’s, though its intervals span a factor of three to four (Table 11). Under the full-support instrument, the top 20% of the rank captures 62% (correct) and 82% (wrong) of the forking value (Table 15).
A full-support instrument at higher resolution
Design. The full-support instrument is run once on the base policy. Responses: 16 rollouts of 512 training prompts at the training sampler with a 5,800-token cap; from the mixed-outcome prompts, 400 responses per class (at most two per prompt and class, at least 200 ranked tokens; 296/297 prompts). Positions: one uniform draw from each of 16 rank strata per response (edges 0, 0.0025, 0.005, 0.01, 0.015, 0.025, 0.0375, 0.05, 0.075, 0.1, 0.15, 0.2, 0.3, 0.4, 0.6, 0.8, 1) plus one draw from each of the top global-entropy strata, with recorded inclusion probabilities; every bin is a Horvitz–Thompson mean, so the estimates are consistent in any coordinate. Branch law: the most probable tokens in descending order until their mass reaches 0.9, with at least two and at most six branches (so the head covers less than 0.9 at the highest-entropy positions, column cover of Table 15), plus two independent draws from the remaining mass ; with the estimate is unbiased for the full-policy (checked on random laws), and the head-restricted pair is kept for comparison with the four-branch instrument. Each branch is continued times under the training sampler with a budget of 5,800 tokens minus the position index; , and come from a forward pass over every token. Responses are weighted so that a class- response of a prompt stands for all eligible class- rollouts of that prompt, the population a training batch sees; intervals are 95% cluster bootstraps over prompts (2,000 replicates). The run took 3.58 million continuations and 2.97 billion generated tokens on 16 GPUs in 6.2 hours; 1.7%/2.7% of the continuations hit the budget.
Where the consequence concentrates (Table 15). The fork consequence is concentrated in the top 0.25% of the rank, about two tokens per response. Pooled over ranks 0.5–2.5% it is 3.29 [2.17, 4.81] against 1.56 [1.12, 2.08] over ranks 2.5–20%, a ratio of 2.10 [1.29, 3.45]; for wrong responses 0.73 [0.44, 1.13] against 0.31 [0.18, 0.47], ratio 2.36 [1.27, 4.62]. Beyond the fork probability is below 0.17 for correct and 0.39 for wrong responses, and the estimates of widen: 3.79 [1.56, 7.33] for correct responses (the 2.5–20% value is 0.41 [0.19, 1.05] of it; the estimate is carried by the strata 0.3–0.6 whose is 0.03–0.08) and 0.13 [0.01, 0.31] for wrong ones (the 2.5–20% value is 2.4 [0.9, 15] times it). Under question-balanced weights the head ratios are 1.53 [0.99, 2.36] and 2.26 [1.20, 4.40]. In the top stratum the full-law consequence lies below the head-law one (9.45 against 11.45 for correct and 1.95 against 2.23 for wrong responses), so the probability mass beyond the head dilutes the fork there; below it the two laws are close. Aggregated to the ten bands of the four-branch instrument, the top band gives 4.05 [3.04, 5.31] against 6.17 [4.14, 8.12] there, overlapping. On this corpus the envelope widths over the ten bands are 0.092 (correct) and 0.138 (wrong) and the forking-value widths 0.080 and 0.113: the forking value decays somewhat faster than the fork probability, and the envelope width is a property of the corpus and sampler on which it is measured (the four-branch corpus gives 0.111 [0.099, 0.123]), which is why the width is calibrated per model and the adaptive variant re-measures it.
What the envelope window retains (Table 16). With the forking-value profile of the 16 strata as the target and the strata widths as position weights, a weight profile retains the fraction of the matched-filter gain of itself (the mean-square criterion of Proposition 3 with constant, ignoring the value factor). An exponential refit to the forking value gains little over the window, so the width is not the limiting factor, whereas a threefold gain on the top 0.25% gains more; the piecewise profile with the measured consequence per region is fitted on the same estimates it is scored against, so its value is an in-sample reference. Question-bootstrap intervals (Table 16) are wide, and resampling adds noise to the target, so they lie below the point values; the paired differences are better resolved: the window retains 0.21 [0.13, 0.25]
(correct) and 0.13 [0.02, 0.23] (wrong) more than the top 20% window, 0.40 [0.20, 0.50] and 0.48 [0.33, 0.51] more than uniform weights, and 0.04 [−0.05, 0.11] and 0.16 [0.09, 0.18] more than the wide window. The top-rank gain is not part of CreditFilter: the top stratum is where the four-branch cover is lowest and it holds two tokens per response.
A test of Assumption 2
Assumption 2 states that, given the prefix and the outcome, the rank carries no further information about the increment . We test it on the instrument of Appendix E.4 (800 base-policy responses, 13,129 positions), at the 10,925 positions whose sampled token is one of the branched tokens, where the realized increment is measured. Within each outcome class we regress the realized increment on indicators of rank bands, controlling for the token entropy. Under the assumption the conditional mean of the increment is in correct and in wrong responses (Appendix D.2). Least squares is linear in the dependent variable, so each coefficient splits exactly into the coefficient of this implied increment and a remainder that the assumption sets to zero. Table 17 gives both, with 95% intervals from a bootstrap over prompts.
| Rank band | Coefficient | Implied part | Remainder | |
| Correct responses | ||||
| top 2.5%* | 1,512 | +0.0091 [0.0041, 0.0140] | +0.0061 [0.0037, 0.0088] | +0.0030 [−0.0014, 0.0072] |
| top 0.25% | 275 | +0.0398 [0.0259, 0.0534] | +0.0267 [0.0191, 0.0350] | +0.0131 [0.0029, 0.0231] |
| 0.25–2.5% | 1,237 | +0.0058 [−0.0004, 0.0122] | +0.0035 [0.0001, 0.0073] | +0.0022 [−0.0033, 0.0075] |
| 2.5–10% | 1,426 | +0.0006 [−0.0037, 0.0054] | +0.0000 [−0.0025, 0.0027] | +0.0006 [−0.0028, 0.0040] |
| 10–30% | 1,162 | −0.0005 [−0.0029, 0.0021] | −0.0004 [−0.0016, 0.0008] | −0.0001 [−0.0023, 0.0022] |
| Wrong responses | ||||
| top 2.5%* | 1,293 | −0.0035 [−0.0071, 0.0000] | −0.0019 [−0.0030, −0.0009] | −0.0016 [−0.0049, 0.0015] |
| top 0.25% | 253 | −0.0045 [−0.0141, 0.0050] | −0.0048 [−0.0083, −0.0012] | +0.0003 [−0.0082, 0.0094] |
| 0.25–2.5% | 1,040 | −0.0051 [−0.0100, −0.0008] | −0.0022 [−0.0038, −0.0006] | −0.0029 [−0.0073, 0.0011] |
| 2.5–10% | 1,276 | −0.0024 [−0.0057, 0.0010] | −0.0006 [−0.0019, 0.0006] | −0.0018 [−0.0046, 0.0010] |
| 10–30% | 1,093 | +0.0005 [−0.0016, 0.0025] | −0.0005 [−0.0011, 0.0001] | +0.0010 [−0.0010, 0.0029] |
Table 17. Test of Assumption 2 on the base policy: the coefficient of each rank band, the part the assumption implies and the remainder (95% intervals in brackets). *: one indicator for the top 2.5% of the rank; other rows: four bands, against the remaining 70%. : positions in the band.
At equal entropy the top-ranked tokens carry larger increments, and most of this association is what the assumption itself implies. Over the top 2.5% of the rank the remainder is within sampling error in both classes. By finer band it shows only in the top 0.25% of correct responses, with the sign of the advantage: the realized increment there is about 1.5 times the implied one. Counting the remainder, the top 2.5% of the rank holds 28% of the correct-class target instead of 25% (the strata’s mean increments, realized against implied, summed over the rank with the strata’s widths as weights), so the approximation puts slightly too little weight at the head, where the window already puts its largest weight.
The omitted value factor
The target of Proposition 3 weights the forking value by in correct and by in wrong responses, a factor the window leaves out. On the same instrument both spectra are stratum means over the 16 rank strata of Table 15 with the weights of Table 16; in the value-weighted one each position’s forking value is divided by or , estimated from the position’s continuations and floored at 0.05. Weighting each stratum by its width over the rank, the two spectra have a squared cosine of 0.969 [0.898, 0.985] in correct and 0.981 [0.933, 0.992] in wrong responses (95% intervals from a bootstrap over prompts): the factor barely changes the shape of the target over the rank.
Bootstrap
All intervals of the four-branch instrument (Table 11–Table 14) are 95% percentile intervals of a bootstrap over responses (the 24 positions of a response are resampled together): 400 replicates for band means, 600 for the statistics and 300 for widths, where replicates whose fit does not decay are excluded (none for the base spectra and envelopes).
Additional training results
This appendix gives the training curves of nine runs (Figure 4), the lengths and unanswered shares of the step-400 checkpoints (Table 18), the training cost with the comparisons at matched budgets (Appendix F.1) and the runs with further data seeds (Appendix F.2).
| Run | MATH500 | AIME24 | AIME25 | ||||||
| tokens | unans. | at cap | tokens | unans. | at cap | tokens | unans. | at cap | |
| CreditFilter | 6,346 | 0.3 | 3.6 | 9,797 | 4.0 | 3.5 | 9,188 | 0.8 | 3.3 |
| top 20% window | 8,467 | 3.3 | 15.4 | 12,109 | 10.2 | 4.0 | 11,250 | 13.4 | 3.5 |
| 80/20 rule, per-response cut | 6,228 | 5.7 | 13.3 | 10,972 | 25.5 | 4.8 | 9,699 | 20.8 | 4.6 |
| 80/20 rule, batch cut | 2,446 | 5.8 | 0.9 | 3,961 | 6.6 | 0.6 | 3,112 | 5.6 | 0.3 |
| 80/20 mask | 3,989 | 3.4 | 3.7 | 8,866 | 10.9 | 5.5 | 7,720 | 7.3 | 6.0 |
| SC-GRPO | 2,430 | 1.3 | 0.4 | 5,215 | 1.1 | 0.4 | 4,954 | 4.8 | 0.1 |
| STARE | 867 | 0.4 | 0.7 | 1,480 | 1.3 | 0.5 | 1,169 | 1.1 | 0.3 |
| DAPO | 2,848 | 0.9 | 7.5 | 5,361 | 4.6 | 11.6 | 3,667 | 1.5 | 7.8 |
| GRPO | 2,020 | 1.0 | 0.1 | 4,553 | 2.4 | 0.0 | 4,266 | 4.5 | 0.3 |
| base model (step 0) | 3,347 | 10.6 | 3.8 | 6,225 | 22.5 | 5.0 | 4,581 | 14.8 | 4.4 |
Table 18. Step-400 checkpoints under the mean@32 protocol: mean generated tokens and share of samples (%) that reach the 20,480-token cap without a boxed answer (unans.) or after having boxed one (at cap), per set (MATH500 , AIME24 , AIME25 ; 32 samples per problem). The base model is given at step 0.
Length and unanswered samples. The share of samples that reach the cap (Table 18) is larger than the unanswered share: at the late checkpoints CreditFilter reaches the cap in 3.8–20.6% of its MATH500 samples and leaves 0.3–1.8% unanswered, and its checkpoint at step 350, taken shortly after the entropy excursion of Figure 4, has the largest cap share and 1.8 / 5.4 / 3.0% unanswered. The base model already reaches the cap after having boxed an answer in 3.8–5.0% of its samples, and the trained runs inherit the habit: at step 400, 3.3–3.6% of CreditFilter’s samples and 7.5–11.6% of DAPO’s reach the cap after their answer, while GRPO, whose entropy has collapsed (Figure 4), stops at the answer (0.0–0.3%). Generated length therefore mixes reasoning length with continuation after the answer.
Training cost and matched budgets
Training cost. Every step trains on the same number of prompts and responses, in the same number of updates, so a run’s training tokens follow the length of its responses. Table 19 gives each run’s tokens through the optimizer over the 400 steps. CreditFilter, GRPO and DAPO were trained on the same 16 H100 GPUs, where these steps took about 145, 80 and 70 hours: CreditFilter trains on 2.1 times DAPO’s tokens in 2.1 times its time, at about the same time per token. At CreditFilter’s time per token, the 6.88 billion tokens of the top 20% window correspond to about 165 hours. The tokens alone do not carry the accuracy: the random-rank run of Table 3, on CreditFilter’s settings, trains on about 5.0 billion tokens and scores 0.849 / 0.255 / 0.217.
| Run | tokens () | Run | tokens () |
| CreditFilter | 6.04 | 80/20 mask | 5.21 |
| CreditFilter-D | 5.06 | SC-GRPO | 4.19 |
| GRPO | 3.90 | STARE | 1.72 |
| DAPO | 2.87 | top 20% window | 6.88 |
Table 19. Training tokens over 400 steps: tokens through the optimizer, in billions.
Equal decoding budgets. Table 20 samples the responses of the late checkpoints anew, cuts each response at a token budget and grades it as in the main protocol; its full-length row differs from Table 1 by at most one point. CreditFilter leads from a budget of 8k tokens upward and trails at 4k, where about 70% of its AIME responses have not yet written an answer. At equal tokens spent the lead remains: a majority vote over three DAPO samples (the most frequent answer among three of the 32 samples of Table 1’s evaluation, ties broken at random) spends 7.3k / 13.7k / 9.6k tokens per problem, more than one CreditFilter response (6.4k / 9.1k / 8.4k), and reaches 0.858 / 0.264 / 0.190; a vote over eight samples reaches 0.874 / 0.303 / 0.212. A single CreditFilter sample scores 0.876 / 0.338 / 0.277 (Table 1).
| Budget | CreditFilter | DAPO | GRPO |
| 4k | 0.779 / 0.168 / 0.176 | 0.827 / 0.242 / 0.179 | 0.806 / 0.208 / 0.168 |
| 8k | 0.867 / 0.286 / 0.258 | 0.828 / 0.243 / 0.179 | 0.832 / 0.253 / 0.193 |
| 12k | 0.875 / 0.326 / 0.274 | 0.828 / 0.243 / 0.179 | 0.832 / 0.255 / 0.194 |
| 20,480 | 0.876 / 0.334 / 0.277 | 0.828 / 0.243 / 0.179 | 0.832 / 0.255 / 0.194 |
Table 20. Accuracy at equal decoding budgets (mean@32, late average): each response cut at the budget. MATH500 / AIME24 / AIME25.
Equal training tokens. We continued the DAPO run from its step-400 checkpoint with unchanged settings (Table 21). More training does not raise DAPO’s accuracy: up to step 600, at 1.56 times its training tokens at step 400, it stays near its step-400 level. At equal training cost CreditFilter leads: at 4.2 billion tokens its step-300 checkpoint scores 0.850 / 0.299 / 0.250 against 0.829 / 0.256 / 0.204 for DAPO’s step 575.
| Run | Step | tokens () | MATH500 | AIME24 | AIME25 |
| DAPO | 400 | 2.87 | 0.837 | 0.259 | 0.195 |
| DAPO | 500 | 3.65 | 0.838 | 0.266 | 0.188 |
| DAPO | 525 | 3.82 | 0.840 | 0.259 | 0.201 |
| DAPO | 550 | 3.99 | 0.837 | 0.275 | 0.210 |
| DAPO | 575 | 4.18 | 0.829 | 0.256 | 0.204 |
| DAPO | 600 | 4.48 | 0.832 | 0.256 | 0.206 |
| CreditFilter | 300 | 4.25 | 0.850 | 0.299 | 0.250 |
Table 21. The DAPO run continued from step 400, and CreditFilter’s checkpoint at equal training tokens: cumulative training tokens and mean@32.
Exponential window against the top 20% window. Table 22 compares the two windows under the same damping, fallback, clip and class masses, over the three data seeds of Appendix § 13.§ 2. In every seed and on every set the exponential window generates fewer tokens at evaluation (17–28% fewer on average) and leaves fewer responses unanswered at the cap, and in every seed it trains on fewer tokens (15% fewer on average). On the AIME sets, counting only the responses that end within 8k tokens, the exponential window gives more correct answers in every seed (0.277 / 0.223 against 0.229 / 0.195 on AIME24 / AIME25, means over the seeds); within 12k tokens the two windows are level (0.305 / 0.241 against 0.293 / 0.240).
Length up to the answer. The generated lengths of Table 18 include text written after the answer. Table 23 counts each response only up to where it first states its final answer: CreditFilter’s reasoning up to the answer is 2.8–4.3 times DAPO’s and 1.5–2.0 times GRPO’s.
| Run | MATH500 | AIME24 | AIME25 |
| CreditFilter | 2,556 | 7,028 | 6,607 |
| DAPO | 905 | 1,969 | 1,549 |
| GRPO | 1,696 | 4,080 | 3,300 |
Table 23. Mean number of tokens up to the first statement of the final answer, over the responses that state one (late average, mean@32 protocol).
Independent training runs
Table 24 repeats the comparison of CreditFilter, DAPO and the within-response top 20% window with two more data seeds each; the data seed sets the order in which the training prompts are drawn. On both AIME sets each of the six runs with a within-response window is above each of the three DAPO runs, and on every set the margin between CreditFilter and DAPO in Table 1 is the median of the three seeds. Paired by seed, the difference between CreditFilter and DAPO is +0.077 ± 0.122 / +0.105 ± 0.088 / +0.091 ± 0.062 on MATH500 / AIME24 / AIME25 (mean ± standard deviation over the three seeds); between CreditFilter and the top 20% window it is +0.043 ± 0.059 / −0.021 ± 0.017 / −0.003 ± 0.011. Table 22 compares the completion, length and training tokens of the two windows over the same seeds.
Related-work comparison
Table 25 places CreditFilter among the token-level methods of § 2.
| Method | Forking proxy | Hard/soft | Fixed/adaptive | Fork measured? | Entropy control |
| Token reweighting | |||||
| 80/20 mask† (Wang et al., [28]) | token entropy, batch top 20% | hard | fixed fraction | no | none |
| GTPO / GRPO-S (Tan et al., [26]) | entropy share | soft | fixed rule | no | none |
| Cov.-aware GRPO (Wang et al., [27]) | probability–advantage covariance | soft | data-dependent kernel | no | stable entropy (stated aim) |
| OAR-P (Li et al., [14]) | counterfactual perturbation | soft | fixed rule | yes, per token (one forward pass per token) | none |
| OAR-G (Li et al., [14]) | input-gradient saliency | soft | fixed rule | no | none |
| IAPO (He et al., [7]) | conditional MI with the answer | soft | fixed rule | no | none |
| SC-GRPO† (Shan et al., [23]) | self-conditioned per-token KL | soft | fixed rule | no | none |
| Entropy control | |||||
| Clip-higher / clip-low (Yu et al., [30]; Park et al., [20]) | none | — | — | no | asymmetric trust region |
| Clip-Cov / KL-Cov (Cui et al., [4]) | covariance (control only) | hard / soft | fixed fraction | no | clip / penalize high-covariance tokens |
| ERPO (Yu et al., [31]) | entropy (decision pivots) | soft | adaptive gate | no | entropy-aware gating |
| STARE† (Luo et al., [17]) | batch surprisal quantiles | piecewise | adaptive, closed loop | no | target-entropy loop |
| CreditFilter (ours) | fork-probability envelope over the within-response entropy rank | soft | fixed widths; class masses equalized by the floor | offline: base policy, aggregated over the rank | entropy-gated fallback to uniform credit |
| CreditFilter-D (ours) | same | soft | widths tracked per batch; class masses equalized by rescaling | same | same |
Table 25. Token reweighting and entropy control in critic-free RLVR, as each paper describes its method. Among prior methods only OAR-P measures the fork (how much replacing the token shifts the final-answer distribution), per token and with one extra forward pass per token; CreditFilter measures it offline, on the base policy and aggregated over the entropy rank, and builds its weight on the fork probability alone, with no extra pass. Entropy control: what a method adds to its host recipe; every run keeps its host’s upper clip ratio (Table 6 and Table 7). Extra cost per response: OAR-P adds a forward pass per token, SC-GRPO a teacher forward pass and OAR-G a saliency pass. †Reproduced and compared in Table 1.
Local displacement of the policy
This appendix gives the protocol and every measurement (Table 26) behind the local displacement of § 5.3 (Figure 2).
Protocol. The states are three checkpoints of the CreditFilter run, steps 250, 275 and 300 (batch entropies 1.90, 3.24 and 3.25 nats), and, as a control, the step-300 checkpoint of the DAPO run (4.10 nats). From each checkpoint two continuations of five steps are trained with the checkpoint’s optimizer state and data order: one keeps the window with the fallback switched off (), the other uses uniform credit (, the damping kept); damping, clipping, dynamic sampling and every other setting are those of training. At step 275 a third continuation freezes the fallback near (band 1.24/5.24 nats, realized –0.57 over the five steps). For the measurement, 128 training prompts 16 rollouts are sampled from the starting policy with the training sampler (temperature 1.0, top- 1.0, 20,480-token cap), and a teacher-forced pass under the starting policy and under each continued policy records the sampled token’s log-probability and the conditional entropy at every response position. The displacement is the per-token mean of , the estimator , which is unbiased for on the starting policy’s samples; with is reported as a second estimator. Intervals are a bootstrap over prompts (2,000 draws); the class split uses the verifier outcome of the rollout; is the per-token mean change of the conditional entropy on the same contexts. The parameter displacement is the Euclidean norm of over all 8.9B actor parameters. The uniform continuation at step 275 was trained twice; the two runs agree within 1% in KL and 2% in parameter displacement.
Results. At step 300 the gradient norm of the uniform continuation exceeds the clipping norm at every step and that of the windowed continuation in four of the five, which equalizes their parameter steps (ratio 0.99, Figure 2c). Per unit of squared parameter displacement the windowed update moves the policy 2–7 times further at the three CreditFilter states and 1.4 times further at the DAPO-trained control. There the KL ratio itself is 0.86, because the windowed continuation takes the smaller parameter step. At step 275 the frozen-fallback continuation lies between the two in both quantities, 3% from the linear interpolation in . At step 250 the batch entropy of the continuations separates within five steps (window kept 2.08 → 3.27 nats, uniform 2.07 → 2.58) while the conditional entropy on the fixed starting contexts rises slightly under both (+0.017 nats per token under the window and +0.077 under uniform credit): the rise under the window comes from the change of the generated contexts. The excess displacement of the windowed update is spread over the whole response: its share in the top 20% of the entropy rank is 0.24–0.36 against 0.29–0.37 for the uniform update, and its ratio to the uniform update is largest in the lower half of the rank at steps 250 and 300.
References
- [2]Eric Bigelow, Ari Holtzman, Hidenori Tanaka, and Tomer Ullman. Forking paths in neural text generation. In International Conference on Learning Representations (ICLR), 2025. arXiv:2412.07961.arxiv.org/abs/2412.07961
- [3]BytedTsinghua-SIA. DAPO-Math-17k. Hugging Face dataset https://huggingface.co/datasets/BytedTsinghua-SIA/DAPO-Math-17k, 2025. Training prompts released with the DAPO paper (Yu et al., 2025).
- [4]Ganq u Cui, Yuchen Zhang, Jiacheng Chen, Lifan Yuan, Zhi Wang, Yuxin Zuo, Haozhan Li, Yuchen Fan, Huayu Chen, Weize Chen, Zhiyuan Liu, Hao Peng, Lei Bai, Wanli Ouyang, Yu Cheng, Bowen Zhou, and Ning Ding. The entropy mechanism of reinforcement learning for reasoning language models. arXiv preprint arXiv:2505.22617, 2025.
- [5]Ganq u Cui, Lifan Yuan, Zefan Wang, Hanbin Wang, Yuchen Zhang, Jiacheng Chen, Wendi Li, Bingxiang He, Yuchen Fan, Tianyu Yu, Oixin Xu, Weize Chen, Jiarui Yuan, Huayu Chen, Kaiyan Zhang, Xingtai Lv, Shuo Wang, Yuan Yao, Xu Han, Hao Peng, et al. Process reinforcement through implicit rewards. Transactions on Machine Learning Research, 2026. arXiv:2502.01456.arxiv.org/abs/2502.01456
- [6]Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, et al. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645:633–638, 2025. arXiv:2501.12948.
- [7]Yinhan He, Yaochen Zhu, Mingjia Shi, Wendy Zheng, Lin Su, Xiaoqing Wang, Qi Guo, and Jundong Li. IAPO: Information-aware policy optimization for token-efficient reasoning. In Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026. arXiv:2602.19049.
- [8]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2021. arXiv:2103.03874.
- [9]HuggingFaceH4. MATH-500. Hugging Face dataset https://huggingface.co/datasets/HuggingFaceH4/MATH-500, 2024. The 500-problem subset of the MATH test set (Hendrycks et al., 2021) selected by Lightman et al. (2024).
- [10]Amirhossein Kazemnejad, Milad Aghajohari, Eva Portelance, Alessandro Sordoni, Siva Reddy, Aaron Courville, and Nicolas Le Roux. VinePPO: Refining credit assignment in RL training of LLMs. In International Conference on Machine Learning (ICML), 2025. arXiv:2410.01679.
- [11]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015. arXiv:1412.6980.arxiv.org/abs/1412.6980
- [12]Hynek Kydlíček. Math-Verify: Math verification library. https://github.com/huggingface/Math-Verify, 2025.
- [13]Nathan Lambert, Jacob Morrison, Valentina Pyatkin, Shengyi Huang, Hamish Ivison, Faeze Brahman, Lester James Miranda, Alisa Liu, Nouha Dziri, Shane Lyu, Yuling Gu, Saumya Malik, Victoria Graf, Jena D. Hwang, Jiangjiang Yang, Ronan Le Bras, Oyvind Tafjord, Chris Wilhelm, Luca Soldaini, Noah A. Smith, Yizhong Wang, Pradeep Dasigi, and Hannaneh Hajishirzi. Tülu 3: Pushing frontiers in open language model post-training. In Conference on Language Modeling (COLM), 2025. arXiv:2411.15124. Preprint. Under review. Thanh-Long V. Le, Myeongho Jeon, Kim Yu, Viet Lai, and Eunho Yang. No prompt left behind: Exploiting zero-variance prompts in LLM reinforcement learning via entropy-guided advantage shaping. In International Conference on Learning Representations (ICLR), 2026. arXiv:2509.21880.
- [14]Ziheng Li, Liu Kang, Feng Xiao, Luxi Xing, Qingyi Si, Zhuoran Li, Weikang Gong, Deqing Yang, Yanghua Xiao, and Hongcheng Guo. Outcome-grounded advantage reshaping for fine-grained credit assignment in mathematical reasoning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 24681–24693, 2026. ACL Anthology 2026.acl-long.1132; arXiv:2601.07408.arxiv.org/abs/2601.07408
- [15]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 International Conference on Learning Representations (ICLR), 2024. arXiv:2305.20050.arxiv.org/abs/2305.20050
- [16]Zicheng Lin, Tian Liang, Jiahao Xu, Quihzhi Liu, Xing Wang, Ruilin Luo, Chufan Shi, Siheng Li, Yujiu Yang, and Zhaopeng Tu. Critical tokens matter: Token-level contrastive estimation enhances LLM’s reasoning capability. In International Conference on Machine Learning (ICML), volume 267 of Proceedings of Machine Learning Research, pp. 37906–37918, 2025. arXiv:2411.19943.arxiv.org/abs/2411.19943
- [17]Haipeng Luo, Qingfeng Sun, Songli Wu, Can Xu, Wenfeng Deng, Han Hu, and Yansong Tang. STARE: Surprisal-guided token-level advantage reweighting for policy entropy stability. arXiv preprint arXiv:2606.19236, 2026.arxiv.org/abs/2606.19236
- [20]Jaesung R. Park, Junsu Kim, Gyeongman Kim, Jinyoung Jo, Sean Choi, Jaewoong Cho, and Ernest K. Ryu. Clip-low increases entropy and clip-high decreases entropy in reinforcement learning of large language models. arXiv preprint arXiv:2509.26114, 2025.arxiv.org/abs/2509.26114
- [21]John Schulman, Philipp Moritz, Sergey Levine, Michael I. Jordan, and Pieter Abbeel. High-dimensional continuous control using generalized advantage estimation. In International Conference on Learning Representations (ICLR), 2016. arXiv:1506.02438.arxiv.org/abs/1506.02438
- [22]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.arxiv.org/abs/1707.06347
- [23]Yingyu Shan, Yuhang Guo, Zihao Cheng, Zeming Liu, Xiangrong Zhu, Xinyi Wang, Jiashu Yao, Wei Lin, Hongru Wang, and Heyan Huang. Learning from own solutions: Self-conditioned credit assignment for reinforcement learning with verifiable rewards. In Findings of the Association for Computational Linguistics: EMNLP, 2026. arXiv:2606.18810.arxiv.org/abs/2606.18810
- [24]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.arxiv.org/abs/2402.03300
- [25]Michael Sullivan and Alexander Koller. GRPO is secretly a process reward model. In International Conference on Machine Learning (ICML), 2026. arXiv:2509.21154.arxiv.org/abs/2509.21154
- [26]Hongze Tan, Zihan Wang, Jianfei Pan, Jinghao Lin, Hao Wang, Yifan Wu, Tao Chen, Zhihang Zheng, Zihaio Tang, and Hahiua Yang. GTPO and GRPO-S: Token and sequence-level reward shaping with policy entropy. In International Conference on Machine Learning (ICML), 2026. arXiv:2508.04349.arxiv.org/abs/2508.04349
- [27]Cheng Wang, Qin Liu, Wenxuan Zhou, and Muhao Chen. Taming extreme tokens: Covariance-aware GRPO with Gaussian-kernel advantage reweighting. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 540–546, 2026. ACL Anthology 2026.acl-short.45; arXiv:2605.11538. Preprint. Under review.arxiv.org/abs/2605.11538
- [28]Shenzhi Wang, Le Yu, Chang Gao, Chujie Zheng, Shixuan Liu, Rui Lu, Kai Dang, Xionghui Chen, Jianxin Yang, Zhenru Zhang, Yuqiong Liu, An Yang, Andrew Zhao, Yang Yue, Shiji Song, Bowen Yu, Gao Huang, and Junyang Lin. Beyond the 80/20 rule: High-entropy minority tokens drive effective reinforcement learning for LLM reasoning. In Advances in Neural Information Processing Systems (NeurIPS), 2025. arXiv:2506.01939.arxiv.org/abs/2506.01939
- [29]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengchen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.arxiv.org/abs/2505.09388
- [30]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 Zhou, et al. DAPO: An open-source LLM reinforcement learning system at scale. In Advances in Neural Information Processing Systems (NeurIPS), volume 38, 2025. arXiv:2503.14476.arxiv.org/abs/2503.14476
- [31]Song Yu, Li Li, Wenwen Zhao, and Zhisheng Yang. ERPO: Token-level entropy-regulated policy optimization for large reasoning models. arXiv preprint arXiv:2603.28204, 2026.arxiv.org/abs/2603.28204



