Skip to content
ImagineWorld

Learning with a Single Rollout via Monte Carlo Pass@k Critic

node_idnode-paper_arxiv-2606.25451_learning-with-a-single-rollout-via-monte-carlo-pass-k-critic
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2606.25451
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the value-estimation field, the work learns from a single rollout via a Monte Carlo pass-k critic — extracting a value signal from one sample by estimating the pass rate it implies — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleLearning with a Single Rollout via Monte Carlo Pass@k Critic
paper_authorsFengdi Che, Yang Liu, Lei Yu, Meng Cao, Tong Che, Rupam Mahmood, Dale Schuurmans
arxiv_id2606.25451
arxiv_urlhttps://arxiv.org/abs/2606.25451
arxiv_categories{"primary":"cs.LG","secondary":["cs.AI"]}
arxiv_v1
arxiv_submitted_at2026-06-24
arxiv_updated_at2026-06-24
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:10:36Z
local graph

Learning with a Single Rollout via Monte Carlo Pass@k Critic

Section titled “Learning with a Single Rollout via Monte Carlo Pass@k Critic”

Authors: Fengdi Che, Yang Liu, Lei Yu, Meng Cao, Tong Che, Rupam Mahmood, Dale Schuurmans

arxiv: 2606.25451

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Estimating token-level advantages in reinforcement learning (RL) for language models remains challenging because scaling up episodic experience collection is expensive. The difficulty intensifies for baseline advantage estimation methods, where repeated sampling causes trajectories to diverge into substantially different reasoning prefixes. In this context, RL algorithms such as GRPO prove limited: an outcome reward is too sparse to be attributed to specific actions like intermediate steps, and comparisons across sampled traces are non-trivial because they are heterogeneous. To mitigate both the computational cost of repeated sampling and the difficulty of credit assignment, we study single-rollout proximal policy optimization (SR-PPO) featuring token-level credit assignment in RL for language models. Instead of estimating advantages by normalizing episodic returns within the candidate group, we train a calibrated token-level credit critic using Monte Carlo outcomes from one rollout per prompt. Specifically, we use the critic to predict the Pass@k success probability at the prompt prefix, which is derived from a Pass@1 attempt. This choice yields a more selective learning signal than Pass@1: it discounts easily solved prefixes while prioritizing hard ones whose success probability remains marginal. We show that as kk increases, Pass@k converges to a reachability indicator, reflecting whether a prefix can lead to at least one successful continuation. In an explicit state graph, the limit (k→∞k\rightarrow\infty) can be computed in O(∣V∣+∣E∣)O(|V|+|E|) time, offering a promising surrogate for direct credit assignment without the need to sample contrastive traces. As an initial validation, SR-PPO exhibits stable learning dynamics, along with consistent gains in Pass@128 success rates on mathematical reasoning benchmarks such as HMMT26 and AIME24.

Language models (LMs) have made rapid progress in complex reasoning, especially when post-trained with reinforcement learning (RL) from verifiable rewards. In domains such as competition mathematics, theorem-style reasoning, and code generation, the predicted answer can be easily verified, making outcome reward-based RL a natural training paradigm (Cobbe et al., 2021; Hendrycks et al., 2021; Lewkowycz et al., 2022; Shao et al., 2024; Guo et al., 2025). However, a final correctness signal provides only coarse supervision. A reasoning trace usually contains intermediate steps (Wei et al., 2022) consisting of misleading detours and recoveries, thereby giving rise to the “prefix trap” problem (Wu et al., 2025). However, outcome-based rewards only indicate the correctness of the proposed solution. This poses a credit-assignment challenge: the training algorithm must discern which tokens, segments, and reasoning steps should be reinforced.

These problems intensify within the landscape of contemporary agentic systems. Modern reasoning agents frequently involve spawning sub-agents (Wang et al., 2025b), executing tool calls (Wu et al., 2026), performing memory retrieval (Jia et al., 2025), and handling realistic workloads (Yang et al., 2026). In such systems, generation is expensive, and independently sampled rollouts for the same prompt may follow substantially different paths of rationale. One rollout may call a verifier early, another may attempt symbolic manipulation, and another may explore a different decomposition of the problem. As a result, group-based policy optimization methods such as GRPO can become both computationally expensive and statistically noisy (Shao et al., 2024). A single final outcome reward is too sparse to identify the contribution of each local decision, while cross-rollout comparisons can be unreliable when the rollouts differ in their internal procedures.

Figure 1: Method overview and rollout-normalized performance for SR-PPO. (a) Prefix-level Pass@ k k credit assignment: a

Figure 1: Method overview and rollout-normalized performance for SR-PPO. (a) Prefix-level Pass@ k k credit assignment: a single-rollout prefix is evaluated by a learned Pass@ k k credit critic, where local value shifts provide token-level policy-gradient credit. (b) Validation Pass@8 success rates of SR-PPO and GRPO versus total training rollouts. To isolate sample efficiency from gradient update frequencies, the x-axis normalizes the rollout budget: each GRPO step consumes 128 × 8 = 1024 128\times 8=1024 rollouts, while each SR-PPO step consumes only 256 256 . (c) Validation Pass@1 stability across SR-PPO variants under the identical rollout budget, with g g denoting gradient accumulation steps.

These challenges motivate single-rollout (SR) learning. In this setting, the learner receives only one sampled trajectory for each prompt and must still extract a useful token-level training signal. This regime is important when additional rollouts are expensive, heterogeneous, or difficult to compare. It is also directly relevant to long-horizon agent training, where the cost of collecting multiple independent trajectories may scale with tool latency, environment interaction, or multi-agent coordination. Instead of relying on group-level normalization across several completions, single-rollout learning must assign credit within the realized trajectory itself.

This report studies single-rollout proximal policy optimization for token-level credit assignment in mathematical reasoning. Standard PPO is usually paired with generalized advantage estimation (GAE), which computes advantages from temporal-difference (TD) errors using a learned value function and bootstrapping from future value predictions (Schulman et al., 2015; Schulman et al., 2017). This design is effective when the value function provides reliable dense estimates along a trajectory, but it can be less suitable when the only supervision is a delayed binary outcome reward. In long-horizon tasks, value bootstrapping may accumulate errors along many intermediate steps. This motivates replacing conventional TD-bootstrapped advantage estimation with a Monte Carlo labeled credit model whose predictions are directly tied to eventual success, leading to our SR-PPO.

The main idea is to train a calibrated prefix-level credit model from Monte Carlo outcome labels as shown in Figure 1 Panel (a). For each partial solution, the credit model predicts how likely the current reasoning state is to eventually lead to a correct final answer in kk passes. This prediction is then used as a value estimate for policy optimization. By comparing the predicted value before and after each local continuation, the method assigns positive credit to tokens that improve the estimated chance of success and negative credit to tokens that reduce it. A terminal correction term keeps the dense credit signal aligned with the observed final outcome.

A key design choice is to use a Pass@k value family rather than only the ordinary Pass@1 success probability. Pass@1 measures the probability that one continuation succeeds, while Pass@k measures whether at least one of several possible continuations would succeed. Using Pass@4 as the main operating point produces a sparser and more selective credit signal. Easy prefixes that are already likely to be solved are downweighted, while harder prefixes that remain solvable receive greater emphasis. This helps reduce unnecessary updates on already-solvable states and shifts learning toward parts of the trajectory where improvement is still possible.

The Pass@k perspective also gives an interpretable connection to reachability. As the number of possible continuations becomes very large, the Pass@k value approaches a binary question: whether the current prefix can lead to any successful continuation at all. This reachability view separates two notions that are often conflated in outcome-based reinforcement learning: whether a state is solvable in principle, and how likely the current policy is to solve it. On an explicit finite state graph, this reachability signal can be computed by a graph traversal in time linear in the size of the graph, suggesting a tractable surrogate for direct credit assignment when evaluating each prefixes with chains of thought and extra sampling to satisfy required computation and sample complexity requirement is infeasible.

The main contributions of this report are as follows:

    Token-Level Credit Assignment in Single-Rollout Regime: We formulate token-level credit assignment for mathematical reasoning within the highly constrained single-rollout recipe, where only a single sampled trajectory is available for each prompt.

    The Pass@kk Value Family and Reachability Interpretation: We train a calibrated prefix-level success predictor from single-rollout Monte Carlo outcomes to model a novel Pass@kk value family. We show that Pass@kk (with Pass@4 as a practical operating point) emphasizes hard but reachable prefixes while downweighting already-solvable states, connecting coarse success signals to a formal graph reachability interpretation.

    The Pass@kk SR-PPO Algorithm: We introduce the design of Pass@kk SR-PPO, utilizing a difference-in-value advantage accompanied by a critical terminal correction term to assign precise local credit to tokens that actively increase the predicted success probability.

    Empirical Validation: We evaluate our method on competition-level mathematical reasoning benchmarks. Our empirical results demonstrate stable optimization and consistent improvements in Pass@kk metrics, while uncovering an insightful trade-off against Pass@1.

PPO remains the standard starting point for policy-gradient fine-tuning of LMs because its clipped surrogate objective constrains policy updates while allowing multiple optimization epochs over sampled trajectories (Schulman et al., 2017). In language-model post-training, this basic recipe underlies many RLHF and reward-model optimization pipelines (Stiennon et al., 2020; Ouyang et al., 2022). For mathematical reasoning and code, the recent RL-with-verifiable-rewards line replaces subjective preference rewards with automatically checkable correctness signals. DeepSeekMath (Shao et al., 2024) introduced Group Relative Policy Optimization (GRPO), a critic-free PPO variant that normalizes rewards within a group of sampled completions and reduces the memory overhead of actor-critic PPO (Shao et al., 2024). DeepSeek-R1 then demonstrated that large-scale rule-based RL can elicit strong reasoning behavior, while DeepSeek-V3 reports a full SFT-and-RL post-training stage on top of a large MoE base model (Guo et al., 2025; Liu et al., 2024). ProRL studies the complementary question of whether prolonged RL expands the set of reasoning strategies reachable by the base model rather than merely amplifying already likely completions (Liu et al., 2026).

These systems motivate our setting but also expose its bottleneck. Group-based methods such as GRPO obtain a useful baseline by comparing multiple completions for the same prompt. In long-horizon agentic systems, however, each completion can involve different tool calls, modules, environment states, and execution paths. The resulting group can be expensive to sample and noisy to compare. Our work therefore studies the lower-budget regime in which only one rollout is available per prompt and credit must be assigned within that rollout.

A central theme in mathematical-reasoning post-training is the distinction between outcome supervision and process supervision. Outcome reward models and verifiers score the final answer, whereas process reward models (PRMs) score intermediate reasoning steps (Cobbe et al., 2021; Lightman et al., 2024). Math-Shepherd reduces the cost of dense process labels by constructing step-level supervision automatically and using the resulting PRM for both verification and step-by-step PPO (Wang et al., 2024). PRIME further reduces the supervision burden by deriving implicit process rewards from policy rollouts and outcome labels, avoiding a separate manually labeled PRM training phase (Cui et al., 2025). Rewarding Progress / PAV argues that effective process rewards should measure progress: the change in the likelihood of eventually producing a correct response before and after a step (Setlur et al., 2025). AgentPRM adapts this idea to agent tasks, where actions are not simply correct or incorrect but can be evaluated by promise and progress toward the final goal (Xi et al., 2026). Likelihood-based rewards provide another route to dense or less task-specific supervision by rewarding the log-probability of a reference answer or continuation, which can be applied even when a hand-designed verifier is unavailable (Kwiatkowski et al., 2026).

Note that our prefix-level success predictor using only the final binary outcome label and then use differences in predicted value to assign token-level credit. Thus, the credit signal resembles a learned progress reward, while the supervision remains outcome-only.

A related direction uses multiple sampled trajectories to recover structure among prefixes. Exploiting Tree Structure for Credit Assignment converts a group of completions into a prefix tree and estimates nonparametric prefix values from descendant outcomes; its TEMPO algorithm adds branch-gated temporal-difference corrections to GRPO, giving token-level credit mainly at branching points (Tran et al., 2025). TreePO similarly treats generation as a tree-structured search process, using dynamic tree sampling, fixed-length segment decoding, and tree-based segment-level advantage estimation to reduce rollout cost while preserving exploration (Li et al., 2025). For long-horizon agents, GiGPO constructs a group-in-group hierarchy: macro advantages compare full trajectories, while micro advantages compare actions from repeated anchor states (Feng et al., 2025). HGPO further studies context inconsistency in stepwise grouping and aggregates advantages over hierarchical groups to trade off bias and variance (He et al., 2026).

These methods are important baselines because they directly attack credit assignment with branching or grouping structure. Their limitation for our target regime is that the structure itself requires multiple trajectories and repeated states, which is costly in long-horizon learning.

Another trends re-introduce value functions. VIMPO derives a policy-implied value function from the optimality conditions of KL-regularized RL, yielding a critic-free value loss and a PPO-style actor advantage that separate reward incorporation from policy improvement (Kang et al., 2026). Recent industry system reports, such as Z.AI’s GLM-5.2 blog, emphasize the shift toward long-horizon agentic evaluation and PPO training with a single rollout (Z.AI, 2026).

Agentic RL, Tool Use, and Software-Engineering Agents.

Section titled “Agentic RL, Tool Use, and Software-Engineering Agents.”

Several algorithmic variants further emphasize credit assignment in multi-turn agents. ARPO augments GRPO with experience replay for GUI agents to reuse successful trajectories under high rollout cost (Lu et al., 2025). SPA-RL learns a progress estimator that redistributes final task reward into stepwise contributions (Wang et al., 2025a). IGPO defines turn-level intrinsic rewards as the marginal increase in the model’s probability of producing the ground-truth answer, directly targeting information acquisition in multi-turn search (Wang et al., 2026). Evolving-RL jointly optimizes experience extraction and utilization so that agents can distill reusable lessons from past interactions (Fan et al., 2026). Together, these works show that agentic training is not only a reward-design problem but also a trajectory-structure and credit-assignment problem.

This section introduces the proposed single-rollout training framework. We first define the problem setup and the Monte Carlo prefix-value objective. We then describe the outcome-calibrated credit model, the transformation from Pass@1 to Pass@k values, the resulting token-level advantage estimator, and the PPO objective used for policy optimization. Finally, we discuss the graph-theoretic reachability interpretation of the Pass@k limit.

Given a problem prompt xx, the policy π_θ\pi\_{\theta} generates a token sequence y_1:Ty\_{1:T}. We define the prefix state as s_t=(x,y_1:t)s\_{t}=(x,y\_{1:t}), where t=0t=0 denotes the prompt-only state. After the full trajectory is generated, an answer checker returns a binary outcome Y∈{0,1}Y\in\{0,1\}, where Y=1Y=1 indicates that the generated solution is correct.

In the undiscounted episodic setting, the canonical value of a prefix is its probability of eventual success under the current policy π\pi: q_π(s_t)=P_π(Y=1∣s_t)q\_{\pi}(s\_{t})=P\_{\pi}(Y=1\mid s\_{t}). This quantity is the Pass@1 success probability of the current partial reasoning trace. The goal is to estimate useful token-level advantages from only a single sampled rollout per prompt.

Standard PPO is commonly paired with generalized advantage estimation, which computes advantages from temporal-difference errors and bootstraps from a learned value function (Schulman et al., 2015; Schulman et al., 2017). In long mathematical reasoning traces, however, the only directly observed supervision is often a delayed binary outcome. Temporal-difference bootstrapping can therefore propagate value-estimation errors along the horizon. We instead train a prefix-level credit model using Monte Carlo outcome labels and use its predictions to construct dense token-level credit.

3.2 Outcome-Calibrated Prefix Credit Critic

Section titled “3.2 Outcome-Calibrated Prefix Credit Critic”

We train a credit critic model to predict the final binary success label from each prefix of the trajectory. Let q^_π,t\hat{q}\_{\pi,t} denote the model’s predicted probability that prefix s_ts\_{t} will eventually lead to a correct solution. Each prefix in the trajectory is supervised by the same Monte Carlo outcome label YY.

For a single prefix, the outcome-calibration loss is The trajectory-level credit-model loss is

L_credit=1T+1∑_t=0Tℓ_t(ϕ)+λ_promptℓ_0(ϕ).\mathcal{L}\_{\text{credit}}=\frac{1}{T+1}\sum\_{t=0}^{T}\ell\_{t}(\phi)+\lambda\_{\text{prompt}}\ell\_{0}(\phi).(1)

where the per-token loss is defined as ℓ_t(ϕ)=BCE⁡(q^_π,t,Y)+λ_Brier(q^_π,t−Y)2\ell\_{t}(\phi)=\operatorname{BCE}(\hat{q}\_{\pi,t},Y)+\lambda\_{\text{Brier}}(\hat{q}\_{\pi,t}-Y)^{2}. The first term trains the model on all prefixes, while the additional prompt-level term anchors the value estimate at the initial prompt state. The binary cross-entropy term encourages discrimination between successful and unsuccessful rollouts. The Brier-score term improves probability calibration, so that p_tp\_{t} remains interpretable as a calibrated success probability rather than merely a ranking score (Brier, 1950).

The prefix value q_π(s_t)q\_{\pi}(s\_{t}) corresponds to the expected success probability of a single continuation, equivalent to Pass@1. To capture multi-sample success, we define the Pass@k value as the probability that at least one of kk independent continuations succeeds:

$$q_{\pi,k}(s_{t})=P_{\pi}(\max_{i\leq k}Y_{i}s_{t})=1-(1-q_{\pi}(s_{t}))^{k},$$

where Y_1,⋯ ,Y_kY\_{1},\cdots,Y\_{k} are kk conditionally independent continuation outcomes given the prefix and sampled from the same underlying policy. This transformation quantity from Pass@1 precisely evaluates the probability that at least one completion succeeds.

During training, we directly approximate q_π,k(s_t)q\_{\pi,k}(s\_{t}) with an extra credit network, denoting its output as q^_π,k(s_t)\hat{q}\_{\pi,k}(s\_{t}). Since the subsequent training objectives are formulated based on Pass@1 values, we map the Pass@kk prediction back to an induced Pass@1 prediction via the inverse transformation:

q^_π(s_t)=1−(1−q^_π,k(s_t))1/k.\widehat{q}\_{\pi}(s\_{t})=1-\bigl(1-\widehat{q}\_{\pi,k}(s\_{t})\bigr)^{1/k}.

We therefore integrate the induced estimate q^_π(s_t)\widehat{q}\_{\pi}(s\_{t}) into the identical loss functions formulated previously, while parameterizing it through the Pass@kk network q^_π,k\widehat{q}\_{\pi,k}.

The Pass@k transformation reshapes the geometry of the value signal. Its derivative with respect to the underlying Pass@1 success probability is given by:

∂q_π,k∂q_π=k(1−q_π)k−1.\frac{\partial q\_{\pi,k}}{\partial q\_{\pi}}=k(1-q\_{\pi})^{k-1}.

For k>1k>1, this derivative vanishes as q_πq\_{\pi} approaches one. Therefore, prefixes that are already highly likely to succeed receive less gradient scale than under Pass@1. At the same time, low-probability yet reachable prefixes remain sensitive to optimization. This is the precise sense in which Pass@kk provides a more selective and less disruptive learning signal: it attenuates gradients from already-solvable states while preserving active learning signals on hard but reachable states.

The prefix credit model provides a value estimate at every token position. For k=1k=1, the local change in predicted success probability is Δq^_π(s_t)=q^_π(s_t)−q^_π(s_t−1)\Delta\hat{q}\_{\pi}(s\_{t})=\hat{q}\_{\pi}(s\_{t})-\hat{q}\_{\pi}(s\_{t-1}). This quantity measures whether the token transition from s_t−1s\_{t-1} to s_ts\_{t} increases or decreases the estimated probability of eventual success.

The token-level advantage is set to be A_π(s_t)=(q^_π(s_t)−q^_π(s_t−1)+λ(Y−q^_π(s_T))A\_{\pi}(s\_{t})=(\hat{q}\_{\pi}(s\_{t})-\hat{q}\_{\pi}(s\_{t-1})+\lambda(Y-\hat{q}\_{\pi}(s\_{T})), where (Y−q^_π(s_T))(Y-\hat{q}\_{\pi}(s\_{T})) is a terminal correction term. The local difference term assigns credit to tokens that improve the predicted chance of success, while the terminal correction keeps the dense token-level signal aligned with the observed final outcome. In this report we set λ=1\lambda=1.

The same construction applies to Pass@k values. We first compute the local change Δq^_π,k(s_t)=q^_π,k(s_t)−q^_π,k(s_t−1)\Delta\hat{q}\_{\pi,k}(s\_{t})=\hat{q}\_{\pi,k}(s\_{t})-\hat{q}\_{\pi,k}(s\_{t-1}). The Pass@k advantage is then A_π,k(s_t)=Δq^_π,k(s_t)+λ(Y−q^_π,k(s_T))A\_{\pi,k}(s\_{t})=\Delta\hat{q}\_{\pi,k}(s\_{t})+\lambda(Y-\hat{q}\_{\pi,k}(s\_{T})). When k=1k=1, this reduces to the Pass@1 advantage above. For k>1k>1, positive credit is assigned to tokens that increase the probability that at least one continuation from the prefix can succeed.

3.5 Single-Rollout Policy-Gradient Objective

Section titled “3.5 Single-Rollout Policy-Gradient Objective”

At each update, we sample a single rollout for a batch of BB prompts from the current behavior policy π_θ_old\pi\_{\theta\_{\text{old}}}. For trajectory ii, let y_i,ty\_{i,t} denote the token generated at prefix state s_i,t−1s\_{i,t-1}. A prefix credit model produces a detached token-level advantage estimate A_i,t(k)A\_{i,t}^{(k)}, where the superscript kk indicates that the credit output is approximating the Pass@kk value.

We optimize the on-policy objective

J(θ)=1M∑_i=1B∑_t=1T_ir_i,t(θ)A_i,t(k),\mathcal{J}(\theta)=\frac{1}{M}\sum\_{i=1}^{B}\sum\_{t=1}^{T\_{i}}r\_{i,t}(\theta)A\_{i,t}^{(k)},

where

M=∑_i=1BT_iM=\sum\_{i=1}^{B}T\_{i}

is the total number of generated tokens in the batch, and

r_i,t(θ)=π_θ(y_i,t∣s_i,t−1)π_θ_old(y_i,t∣s_i,t−1)=exp⁡(log⁡π_θ(y_i,t∣s_i,t−1)−log⁡π_θ_old(y_i,t∣s_i,t−1)).r\_{i,t}(\theta)=\frac{\pi\_{\theta}(y\_{i,t}\mid s\_{i,t-1})}{\pi\_{\theta\_{\text{old}}}(y\_{i,t}\mid s\_{i,t-1})}=\exp\left(\log\pi\_{\theta}(y\_{i,t}\mid s\_{i,t-1})-\log\pi\_{\theta\_{\text{old}}}(y\_{i,t}\mid s\_{i,t-1})\right).

In standard PPO, the surrogate would use the clipped objective. However, in our main setting, each training batch is freshly sampled from π_θ_old\pi\_{\theta\_{\text{old}}}, since we use a single PPO gradient computation by the setting of equal ppo mini batch size and training batch size. Thus, before the optimizer step, the policy parameters satisfy

θ=θ_old,\theta=\theta\_{\text{old}},

and therefore

r_i,t(θ_old)=1r\_{i,t}(\theta\_{\text{old}})=1

for every sampled token, leading to inactive clipping branch. Under this training schedule, the update is equivalent to an on-policy single-step policy-gradient update with dense token-level credit.

The key distinction from group-based methods is that the rollout budget remains one sample per prompt. The method does not estimate advantages by normalizing rewards across multiple completions of the same problem. Instead, it uses a learned prefix-value model to convert a single Monte Carlo terminal outcome into dense token-level credit.

The Pass@kk target interpolates between success probability and reachability. The quantity

q_π,k(s)=1−(1−q_π(s))kq\_{\pi,k}(s)=1-\bigl(1-q\_{\pi}(s)\bigr)^{k}

measures the probability that at least one of kk independent continuations from prefix state ss succeeds. However, as k→∞k\to\infty, this target no longer measures the magnitude of the success probability under the current policy. Instead, it converges to the binary reachability target

r_π(s)=\mathds1{q_π(s)>0},r\_{\pi}(s)=\mathds{1}\{q\_{\pi}(s)>0\},

which only records whether success is possible from the current prefix with nonzero probability. This convergence is formalized in Lemma A.1. Lemma A.2 also shows that this limiting relationship also transfers to function approximation. If reachability is easy to approximate by a function class F\mathcal{F}, then Pass@kk is also easy to approximate for sufficiently large kk.

The reachability limit is especially natural when the reasoning process is viewed as a graph (V,E)(V,E) over prefixes. If the successful terminal states are known and the support graph is available, then the set of all states that can reach success can be computed exactly by a reverse graph traversal from the successful terminals. This computation takes linear time in the size of the graph,

$$O(V

using standard breadth-first or depth-first search on the reverse graph (Cormen et al., 2022), shown in algorithm 1.

Success probability is a quantitative value: it depends on the total probability mass of all successful continuations. Reachability is a qualitative support-level value: it depends only on whether at least one successful continuation exists. Consequently, if the support graph over states is known, reachability can be computed. By contrast, estimating q_π(s)q\_{\pi}(s) generally requires knowing or sampling numerical transition probabilities, and can still hold a large estimation error with a large amount of sampling data, as shown in Corollary B.1.

In practice, however, the full reasoning graph is not explicitly available, and exact reachability is often too coarse for policy optimization: it assigns the same value to all prefixes from which success is possible, even if their success probabilities differ substantially. We therefore use Pass@4 as a softer surrogate. It remains closer to the multi-continuation success probability than binary reachability, while still smoothing the dense Pass@1 signal and providing graded token-level credit from a single sampled rollout through the learned prefix credit model.

We use Qwen3-1.7B (Yang et al., 2025) in thinking mode as the base policy model and set the maximum response length to 9,1829,182 tokens. Training is performed on DeepScaleR mathematical reasoning dataset (Luo et al., 2025). The goal of this experimental study is not to make a broad empirical claim about Pass@kk SR-PPO, but rather to identify a stable single-rollout credit-assignment method for improving mathematical reasoning with a small open-source base model.

We evaluate on competition-level mathematical reasoning benchmarks, including AIME24, AIME25 and HMMT26 (Dekoninck et al., 2026). For evaluation, we sample 128128 independent completions per problem and report Pass@kk metrics. For k<128k<128, Pass@kk is estimated from the 128128 samples using the standard estimator

Pass@k^=1−(n−ck)(nk),n=128,\widehat{\text{Pass@}k}=1-\frac{\binom{n-c}{k}}{\binom{n}{k}},\qquad n=128,

where cc is the number of correct completions among the nn samples.

Unless otherwise specified, SR-PPO uses one rollout per prompt. We set the PPO learning rate to 10−610^{-6}, the KL coefficient to 10−310^{-3}, the entropy coefficient to zero, the PPO clip ratio to 0.20.2, and the sampling temperature to 1.21.2. The prefix credit network uses Qwen3-1.7B with a binary classification head and is full finetuned as well. Its learning rate is 10−510^{-5}, and all credit-network related coefficients, including the prompt coefficient and final-term calibration in advantage, are set to 11. For GRPO, we tune the learning rate to be 2×10−62\times 10^{-6}. Also, for the training batch size, our SR-PPO only uses 256256 prompts, while GRPO use 128128 prompts but with 88 rollouts per prompt giving baselines advantages in computation consumed per step.

Across experiments, we compare PPO with generalized advantage estimation and two other SR-PPO variants. The central question is whether a single-rollout method, equipped with learned token-level credit, can improve multi-sample reasoning performance steadily without requiring multiple completions per prompt during training.

Figure 2: Training-step comparison of GRPO, SR-PPO, and GAE-PPO. Panel (a) reports Pass@8 validation success rate, and Panel (b) reports Pass@8 validation format score. The x-axis is the training step, i.e. , the number of gradient-update steps, not the number of generated rollouts.

Figure 1 Panel (b) shows the primary validation learning curves. The main comparison is between GRPO and Pass@4 SR-PPO. Although GRPO has access to 88 rollouts per prompt during training, Pass@4 SR-PPO achieves competitive Pass@8 validation performance using only a single sampled rollout. This suggests that the learned prefix credit model can extract useful token-level learning signal from sparse terminal outcomes.

The GAE-PPO comparison in Figure 2 provides a useful negative baseline. Under the tested hyperparameters, standard temporal-difference bootstrapping with GAE is not learning with a single rollout; even the format is barely improving as shown in the right subfigure. This supports the need for a value estimation method better aligned with long-horizon mathematical reasoning.

Figure 3: Held-out success rate as a function of the inference-time sampling budget on AIME 2024, AIME 2025, and HMMT 2026. The x-axis is the number of samples used at evaluation time, corresponding to pass@ k k for k ∈ { 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 } k\in{1,2,4,8,16,32,64,128} The curves compare GRPO and Pass@1 SR-PPO on competition-level mathematical reasoning benchmarks.

Figure 3 reports held-out Pass@kk performance on AIME24, AIME25, and HMMT26. Across these benchmarks, performance improves linearly as the number of sampled completions increases. This trend indicates that single-rollout training does not merely improve greedy or Pass@1 behavior; it can also improve the quality of the distribution of sampled solutions. In other words, the learned prefix-value estimator appears to provide useful credit even though the training procedure does not use multiple completions per prompt.

Figure 1 Panel (c) compares Pass@1 validation success across algorithmic variants. As expected, Pass@4 SR-PPO is not necessarily the best method for optimizing Pass@1 directly, since its credit target emphasizes multi-continuation success rather than single-sample success. However, the Pass@1 SR-PPO variants are unstable: their Pass@1 validation curves degrade during training, especially when using four steps of gradient accumulation with off-policy gradient computation.

ModelTotal TokensTokens w/ Marginal AdvantagesRatio %
Pass@4 SR-PPO (Step 90)54,07426,50349.01%
Pass@4 SR-PPO (Step 180)58,55434,36858.69%
Pass@1 SR-PPO (Step 90)63,0753870.61%

Table 1: Fraction of tokens whose token-level advantage magnitude is smaller than 10−210^{-2}. These statistics measure sparsity in the learned credit signal; they are not PPO ratio-clipping statistics.

This behavior is consistent with the motivation for using Pass@kk-based credit. Table 1 compares the sparsity of the token-level advantages induced by Pass@1 and Pass@4 credit targets. We count a token as having small credit when its advantage magnitude is below 10−210^{-2}. The Pass@4 SR-PPO runs contain a much larger fraction of such near-zero advantage tokens: 49.01%49.01\% at step 9090 and 58.69%58.69\% at step 180180, compared with only 0.61%0.61\% for Pass@1 SR-PPO at step 9090.

This suggests that the Pass@4 credit model produces a more selective local credit signal. Many tokens receive nearly zero update because the predicted Pass@4 value changes little across the corresponding transition. This selectivity helps explain the improved stability of Pass@4 SR-PPO with less noisy token-level credit from sparse success labels.

We also provide qualitative case studies in Appendix C by visualizing token-level advantages on a SR-PPO rollout. Each token is colored according to the sign and magnitude of its advantage: green indicates positive advantage, red indicates negative advantage, and darker colors indicate larger absolute values. Recall that the token-level advantage contains both a local value-difference term and a terminal calibration term. This terminal calibration term dominates the credit assignment. For example, in failed generations where Y=0Y=0, this term is usually negative and shifts most token advantages below zero. Local prefix-value differences can still produce scattered positive tokens.

The visualization highlights a qualitative difference between pass@1 and pass@4 credit assignment. The pass@1 variant exhibits more abrupt token-level changes in color intensity, suggesting noisier local credit assignment from a single terminal Monte Carlo outcome.

We presented an empirical study of single-rollout PPO with prefix-level Monte Carlo credit assignment for mathematical reasoning. The central idea is to train a calibrated prefix credit model that predicts final correctness from every intermediate prefix. This converts a sparse terminal Monte Carlo outcome into a training signal that can be applied throughout the reasoning trajectory. We identifies Pass@kk-based prefix credit assignment as a promising algorithmic choice for stable single-rollout policy optimization for stable and prolonged reinforcement learning training.

This report has obvious limitations. The experiments are restricted to DeepScaleR mathematical reasoning data, a Qwen3-1.7B base model, a single running seed and a limited set of hyperparameter choices. We do not yet establish the generality of Pass@kk SR-PPO across domains, or long-horizon agentic environments. The connection to reachability also remains primarily a guiding principle rather than a complete description of practical reasoning dynamics, since the full prefix graph is not explicitly available and the learned credit model is only an approximation.

  • Brier (1950) G. W. Brier Verification of forecasts expressed in terms of probability. Monthly Weather Review 78 (1), pp. 1–3. Cited by: §3.2.
  • Cobbe et al. (2021) K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, C. Hesse, and J. Schulman Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. Cited by: §1, §2.
  • Cormen et al. (2022) T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein Introduction to algorithms. 4 edition, MIT Press. Cited by: §3.6.
  • Cui et al. (2025) G. Cui, L. Yuan, Z. Wang, H. Wang, W. Li, B. He, Y. Fan, T. Yu, Q. Xu, W. Chen, et al. Process reinforcement through implicit rewards. arXiv preprint arXiv:2502.01456. Cited by: §2.
  • Dekoninck et al. (2026) J. Dekoninck, N. Jovanović, T. Gehrunger, K. Rögnvaldsson, I. Petrov, C. Sun, and M. Vechev Beyond benchmarks: matharena as an evaluation platform for mathematics with LLMs. In 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents, External Links: Link Cited by: §4.1.
  • Fan et al. (2026) Z. Fan, W. Jin, F. Zhang, B. Li, Y. Dong, Y. Hu, and J. Li Evolving-rl: end-to-end optimization of experience-driven self-evolving capability within agents. arXiv preprint arXiv:2605.10663. Cited by: §2.
  • Feng et al. (2025) L. Feng, Z. Xue, T. Liu, and B. An Group-in-group policy optimization for llm agent training. In Advances in Neural Information Processing Systems, D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (Eds.), Vol. 38, pp. 46375–46408. External Links: Link Cited by: §2.
  • Guo et al. (2025) D. Guo, D. Yang, H. Zhang, J. Song, P. Wang, Q. Zhu, R. Xu, R. Zhang, S. Ma, X. Bi, et al. DeepSeek-r1 incentivizes reasoning in llms through reinforcement learning. Nature 645 (8081), pp. 633–638. Cited by: §1, §2.
  • He et al. (2026) S. He, L. Feng, Q. Wei, X. Cheng, L. Feng, and B. An Hierarchy-of-groups policy optimization for long-horizon agentic tasks. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §2.
  • Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the math dataset. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), Cited by: §1.
  • Jia et al. (2025) Z. Jia, J. Li, Y. Kang, Y. Wang, T. Wu, Q. Wang, X. Wang, S. Zhang, J. Shen, Q. Li, S. Qi, Y. Liang, D. He, Z. Zheng, and S. Zhu The AI hippocampus: how far are we from human memory?. Transactions on Machine Learning Research. Note: External Links: ISSN 2835-8856, Link Cited by: §1.
  • Kang et al. (2026) Z. Kang, A. Feng, S. Levine, D. Song, and X. Zhao VIMPO: value-implicit policy optimization for llms. External Links: 2606.20008, Link Cited by: §2.
  • Kwiatkowski et al. (2026) A. Kwiatkowski, N. Butt, I. Labiad, J. Kempe, and Y. Ollivier Likelihood-based reward designs for general llm reasoning. arXiv preprint arXiv:2602.03979. Cited by: §2.
  • Lewkowycz et al. (2022) A. Lewkowycz, A. Andreassen, D. Dohan, E. Dyer, H. Michalewski, V. Ramasesh, A. Slone, C. Anil, I. Schlag, T. Gutman-Solo, et al. Solving quantitative reasoning problems with language models. Advances in neural information processing systems 35, pp. 3843–3857. Cited by: §1.
  • Li et al. (2025) Y. Li, Q. Gu, Z. Wen, Z. Li, T. Xing, S. Guo, T. Zheng, X. Zhou, X. Qu, W. Zhou, et al. Treepo: bridging the gap of policy optimization and efficacy and inference efficiency with heuristic tree-based modeling. arXiv preprint arXiv:2508.17445. Cited by: §2.
  • Lightman et al. (2024) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Let’s verify step by step. In International Conference on Learning Representations, Vol. 2024, pp. 39578–39601. Cited by: §2.
  • Liu et al. (2024) A. Liu, B. Feng, B. Xue, B. Wang, B. Wu, C. Lu, C. Zhao, C. Deng, C. Zhang, C. Ruan, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437. Cited by: §2.
  • Liu et al. (2026) M. Liu, S. Diao, X. Lu, J. Hu, X. Dong, Y. Choi, J. Kautz, and Y. Dong ProRL: prolonged reinforcement learning expands reasoning boundaries in large language models. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, External Links: Link Cited by: §2.
  • Lu et al. (2025) F. Lu, Z. Zhong, S. Liu, C. Fu, and J. Jia Arpo: end-to-end policy optimization for gui agents with experience replay. arXiv preprint arXiv:2505.16282. Cited by: §2.
  • Luo et al. (2025) M. Luo, S. Tan, J. Wong, X. Shi, W. Tang, M. Roongta, C. Cai, J. Luo, T. Zhang, E. Li, R. A. Popa, and I. Stoica DeepScaleR: surpassing o1-preview with a 1.5b model by scaling rl. Note: https://huggingface.co/agentica-org/DeepScaleR-1.5B-Preview Cited by: §4.1.
  • Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems 35, pp. 27730–27744. Cited by: §2.
  • Schulman et al. (2015) J. Schulman, P. Moritz, S. Levine, M. Jordan, and P. Abbeel High-dimensional continuous control using generalized advantage estimation. arXiv preprint arXiv:1506.02438. Cited by: §1, §3.1.
  • Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. Cited by: §1, §2, §3.1.
  • Setlur et al. (2025) A. Setlur, C. Nagpal, A. Fisch, X. Geng, J. Eisenstein, R. Agarwal, A. Agarwal, J. Berant, and A. Kumar Rewarding progress: scaling automated process verifiers for LLM reasoning. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §2.
  • Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo DeepSeekMath: pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300. Cited by: §1, §1, §2.
  • Stiennon et al. (2020) N. Stiennon, L. Ouyang, J. Wu, D. Ziegler, R. Lowe, C. Voss, A. Radford, D. Amodei, and P. F. Christiano Learning to summarize with human feedback. Advances in neural information processing systems 33, pp. 3008–3021. Cited by: §2.
  • Tran et al. (2025) H. Tran, Z. Yao, and H. Yu Exploiting tree structure for credit assignment in rl training of llms. arXiv preprint arXiv:2509.18314. Cited by: §2.
  • Wang et al. (2026) G. Wang, S. Dai, G. Ye, Z. Gan, W. Yao, Y. Deng, X. Wu, and Z. Ying Information gain-based policy optimization: a simple and effective approach for multi-turn search agents. In The Fourteenth International Conference on Learning Representations, Cited by: §2.
  • Wang et al. (2025a) H. Wang, C. T. Leong, J. Wang, J. Wang, and W. Li SPA-rl: reinforcing llm agents via stepwise progress attribution. arXiv preprint arXiv:2505.20732. Cited by: §2.
  • Wang et al. (2025b) J. Wang, J. WANG, B. Athiwaratkun, C. Zhang, and J. Zou Mixture-of-agents enhances large language model capabilities. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §1.
  • Wang et al. (2024) P. Wang, L. Li, Z. Shao, R. Xu, D. Dai, Y. Li, D. Chen, Y. Wu, and Z. Sui Math-shepherd: verify and reinforce LLMs step-by-step without human annotations. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, pp. 9426–9439. External Links: Link, Document Cited by: §2.
  • Wei et al. (2022) J. Wei, X. Wang, D. Schuurmans, M. Bosma, brian ichter, F. Xia, E. H. Chi, Q. V. Le, and D. Zhou Chain of thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho (Eds.), External Links: Link Cited by: §1.
  • Wu et al. (2025) T. Wu, Y. Liu, J. Bai, Z. Jia, S. Zhang, Z. Lin, Y. Wang, S. Zhu, and Z. Zheng Native parallel reasoner: reasoning in parallelism via self-distilled reinforcement learning. arXiv preprint arXiv:2512.07461. Cited by: §1.
  • Wu et al. (2026) Z. Wu, X. Liu, xinyuan zhang, L. Chen, F. Meng, L. Du, Y. Zhao, F. Zhang, Y. Ye, J. Wang, Z. Wang, J. Ni, Y. Yang, A. Xu, and M. Q. Shieh MCPMark: a benchmark for stress-testing realistic and comprehensive MCP use. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §1.
  • Xi et al. (2026) Z. Xi, C. Liao, G. Li, Z. Zhang, W. Chen, B. Wang, S. Jin, Y. Zhou, J. Guan, W. Wu, T. Ji, T. Gui, Q. Zhang, and X. Huang AgentPRM: process reward models for llm agents via step-wise promise and progress. In Proceedings of the ACM Web Conference 2026, WWW ’26, New York, NY, USA, pp. 4184–4195. External Links: ISBN 9798400723070, Link, Document Cited by: §2.
  • Yang et al. (2025) A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388. Cited by: §4.1.
  • Yang et al. (2026) Q. Yang, Y. Liu, J. Li, J. Bai, H. Chen, K. Chen, T. Duan, J. Dong, X. Hu, Z. Jia, et al. $OneMillion-bench: how far are language agents from human experts?. arXiv preprint arXiv:2603.07980. Cited by: §1.
  • Z.AI (2026) Z.AI GLM-5.2: built for long-horizon tasks. Note: https://z.ai/blog/glm-5.2Blog post Cited by: §2.

Appendix A Proof of Connection to the Reachability

Section titled “Appendix A Proof of Connection to the Reachability”
Lemma A.1 (Pass@kk converges to reachability).
Section titled “Lemma A.1 (Pass@kkk converges to reachability).”

Fix a time tt and let H=T−tH=T-t. Let PP be the original transition kernel, without pruning or clipping transition probabilities. Define the Pass@1 success probability

p_t(s)=Pr⁡(Y_T=1∣S_t=s),p\_{t}(s)=\Pr(Y\_{T}=1\mid S\_{t}=s),

the reachability target

r_t(s)=\mathds1{p_t(s)>0},r\_{t}(s)=\mathds{1}\{p\_{t}(s)>0\},

and the Pass@kk success probability

p_t,k(s)=1−(1−p_t(s))k.p\_{t,k}(s)=1-\bigl(1-p\_{t}(s)\bigr)^{k}.

Then, for every state ss,

p_t,k(s)⟶r_t(s)as k→∞.p\_{t,k}(s)\longrightarrow r\_{t}(s)\qquad\text{as }k\to\infty.

Moreover, define

α_t=inf⁡{p_t(s):r_t(s)=1}.\alpha\_{t}=\inf\{p\_{t}(s):r\_{t}(s)=1\}.

If α_t>0\alpha\_{t}>0, then the convergence is uniform and satisfies

∥p_t,k−r_t∥_∞≤(1−α_t)k.\|p\_{t,k}-r\_{t}\|\_{\infty}\leq(1-\alpha\_{t})^{k}.

If r_t(s)=0r\_{t}(s)=0, then p_t(s)=0p\_{t}(s)=0. Therefore

p_t,k(s)=1−(1−0)k=0=r_t(s).p\_{t,k}(s)=1-(1-0)^{k}=0=r\_{t}(s).

Hence

$$p_{t,k}(s)-r_{t}(s)

If r_t(s)=1r\_{t}(s)=1, then p_t(s)>0p\_{t}(s)>0. In this case,

p_t,k(s)=1−(1−p_t(s))k,p\_{t,k}(s)=1-\bigl(1-p\_{t}(s)\bigr)^{k},

and therefore

r_t(s)−p_t,k(s)=1−[1−(1−p_t(s))k]=(1−p_t(s))k.r\_{t}(s)-p\_{t,k}(s)=1-\left[1-\bigl(1-p\_{t}(s)\bigr)^{k}\right]=\bigl(1-p\_{t}(s)\bigr)^{k}.

Since 0<p_t(s)≤10<p\_{t}(s)\leq 1, we have

(1−p_t(s))k⟶0as k→∞.\bigl(1-p\_{t}(s)\bigr)^{k}\longrightarrow 0\qquad\text{as }k\to\infty.

Thus

p_t,k(s)→r_t(s)p\_{t,k}(s)\to r\_{t}(s)

for every ss.

If additionally α_t>0\alpha\_{t}>0, then for every reachable state ss,

p_t(s)≥α_t.p\_{t}(s)\geq\alpha\_{t}.

Therefore,

$$p_{t,k}(s)-r_{t}(s)

For unreachable states the error is 00, so the same bound holds for all states. Taking the supremum over ss gives

∥p_t,k−r_t∥_∞≤(1−α_t)k.\|p\_{t,k}-r\_{t}\|\_{\infty}\leq(1-\alpha\_{t})^{k}.

∎

Lemma A.2 (small reachability approximation error implies small Pass@kk error).
Section titled “Lemma A.2 (small reachability approximation error implies small Pass@kkk error).”

Let F⊆L2(μ)\mathcal{F}\subseteq L^{2}(\mu) be any function class. For any target function f:S→[0,1]f:\mathcal{S}\to[0,1], define its best approximation error under F\mathcal{F} and state distribution μ\mu by

A_μF(f)=inf⁡_h∈FE_s∼μ[(f(s)−h(s))2].A\_{\mu}^{\mathcal{F}}(f)=\inf\_{h\in\mathcal{F}}\mathbb{E}\_{s\sim\mu}\left[\left(f(s)-h(s)\right)^{2}\right].

Let p_t(s)p\_{t}(s) be the Pass@1 success probability, let

r_t(s)=1{p_t(s)>0}r\_{t}(s)=\mathbf{1}\{p\_{t}(s)>0\}

be the reachability target, and let

p_t,k(s)=1−(1−p_t(s))kp\_{t,k}(s)=1-\bigl(1-p\_{t}(s)\bigr)^{k}

be the Pass@kk target. Define

e_t,k=∥p_t,k−r_t∥_L2(μ).e\_{t,k}=\|p\_{t,k}-r\_{t}\|\_{L^{2}(\mu)}.

Then

A_μF(p_t,k)≤(A_μF(r_t)+e_t,k)2.A\_{\mu}^{\mathcal{F}}(p\_{t,k})\leq\left(\sqrt{A\_{\mu}^{\mathcal{F}}(r\_{t})}+e\_{t,k}\right)^{2}.

In particular, if

α_t=inf⁡{p_t(s):r_t(s)=1}>0,\alpha\_{t}=\inf\{p\_{t}(s):r\_{t}(s)=1\}>0,

then

A_μF(p_t,k)≤(A_μF(r_t)+(1−α_t)k)2.A\_{\mu}^{\mathcal{F}}(p\_{t,k})\leq\left(\sqrt{A\_{\mu}^{\mathcal{F}}(r\_{t})}+(1-\alpha\_{t})^{k}\right)^{2}.

By definition,

A_μF(p_t,k)=inf⁡_h∈F∥p_t,k−h∥_L2(μ).\sqrt{A\_{\mu}^{\mathcal{F}}(p\_{t,k})}=\inf\_{h\in\mathcal{F}}\|p\_{t,k}-h\|\_{L^{2}(\mu)}.

For any h∈Fh\in\mathcal{F}, the triangle inequality gives

∥p_t,k−h∥_L2(μ)≤∥p_t,k−r_t∥_L2(μ)+∥r_t−h∥_L2(μ).\|p\_{t,k}-h\|\_{L^{2}(\mu)}\leq\|p\_{t,k}-r\_{t}\|\_{L^{2}(\mu)}+\|r\_{t}-h\|\_{L^{2}(\mu)}.

Taking the infimum over h∈Fh\in\mathcal{F} yields

A_μF(p_t,k)≤∥p_t,k−r_t∥_L2(μ)+inf⁡_h∈F∥r_t−h∥_L2(μ).\sqrt{A\_{\mu}^{\mathcal{F}}(p\_{t,k})}\leq\|p\_{t,k}-r\_{t}\|\_{L^{2}(\mu)}+\inf\_{h\in\mathcal{F}}\|r\_{t}-h\|\_{L^{2}(\mu)}.

By the definitions of e_t,ke\_{t,k} and A_μF(r_t)A\_{\mu}^{\mathcal{F}}(r\_{t}), this becomes

A_μF(p_t,k)≤e_t,k+A_μF(r_t).\sqrt{A\_{\mu}^{\mathcal{F}}(p\_{t,k})}\leq e\_{t,k}+\sqrt{A\_{\mu}^{\mathcal{F}}(r\_{t})}.

Squaring both sides gives

A_μF(p_t,k)≤(A_μF(r_t)+e_t,k)2.A\_{\mu}^{\mathcal{F}}(p\_{t,k})\leq\left(\sqrt{A\_{\mu}^{\mathcal{F}}(r\_{t})}+e\_{t,k}\right)^{2}.

If α_t>0\alpha\_{t}>0, then for every state with r_t(s)=1r\_{t}(s)=1,

p_t(s)≥α_t.p\_{t}(s)\geq\alpha\_{t}.

Therefore,

$$p_{t,k}(s)-r_{t}(s)

for all ss, and hence

e_t,k=∥p_t,k−r_t∥_L2(μ)≤(1−α_t)k.e\_{t,k}=\|p\_{t,k}-r\_{t}\|\_{L^{2}(\mu)}\leq(1-\alpha\_{t})^{k}.

Substituting this bound into the previous inequality gives

A_μF(p_t,k)≤(A_μF(r_t)+(1−α_t)k)2.A\_{\mu}^{\mathcal{F}}(p\_{t,k})\leq\left(\sqrt{A\_{\mu}^{\mathcal{F}}(r\_{t})}+(1-\alpha\_{t})^{k}\right)^{2}.

∎

Appendix B Comparison between Reachability and Success Probability Estimation

Section titled “Appendix B Comparison between Reachability and Success Probability Estimation”

This corollary highlights a structural advantage of reachability targets. Reachability depends only on the support of the transition graph: whether a successful path exists. Once the support graph is known, reachability can be computed exactly by graph search or dynamic programming. By contrast, success probability depends on the numerical transition probabilities along all successful paths. Even when reachability is known exactly, estimating these probabilities from rollouts can require many samples, especially when the success probability is small.

Algorithm 1 Finite-horizon backward reachability dynamic program

1: Horizon TT; state layers {S_t}_t=0T\{\mathcal{S}\_{t}\}\_{t=0}^{T}; terminal success set G⊆S_T\mathcal{G}\subseteq\mathcal{S}\_{T}; successor lists

Succ_t(s)={s′∈S_t+1:P_t(s′∣s)>0}.\text{Succ}\_{t}(s)=\{s^{\prime}\in\mathcal{S}\_{t+1}:P\_{t}(s^{\prime}\mid s)>0\}.

2: Reachability labels

r_t(s)=\mathds1{p_t(s)>0},p_t(s)=Pr⁡(Y_T=1∣S_t=s).r\_{t}(s)=\mathds{1}\{p\_{t}(s)>0\},\qquad p\_{t}(s)=\Pr(Y\_{T}=1\mid S\_{t}=s).

3: for s∈S_Ts\in\mathcal{S}\_{T} do

4:   r_T(s)←1{s∈G}r\_{T}(s)\leftarrow\mathbf{1}\{s\in\mathcal{G}\}

5: end for

6: for t=T−1,T−2,…,0t=T-1,T-2,\dots,0 do

7:   for s∈S_ts\in\mathcal{S}\_{t} do

8:    r_t(s)←0r\_{t}(s)\leftarrow 0

9:    for s′∈Succ_t(s)s^{\prime}\in\text{Succ}\_{t}(s) do

10:      if r_t+1(s′)=1r\_{t+1}(s^{\prime})=1 then

11:       r_t(s)←1r\_{t}(s)\leftarrow 1

12:       break

13:      end if

14:    end for

15:   end for

16: end for

17: return {r_t(s):0≤t≤T, s∈S_t}\{r\_{t}(s):0\leq t\leq T,\ s\in\mathcal{S}\_{t}\}

Corollary B.1 (Exact reachability but hard success-probability estimation).
Section titled “Corollary B.1 (Exact reachability but hard success-probability estimation).”

Consider a finite-horizon Markov process with state sets {S_t}_t=0T\{\mathcal{S}\_{t}\}\_{t=0}^{T}, goal set G⊆S_T\mathcal{G}\subseteq\mathcal{S}\_{T}, and known support graph

E_t={(s,s′)∈S_t×S_t+1:P_t(s,s′)>0}.E\_{t}=\{(s,s^{\prime})\in\mathcal{S}\_{t}\times\mathcal{S}\_{t+1}:P\_{t}(s,s^{\prime})>0\}.

Let

$$N=\sum_{t=0}^{T}\mathcal{S}_{t}

Then all reachability labels

r_t(s)=\mathds1{p_t(s)>0}r\_{t}(s)=\mathds{1}\{p\_{t}(s)>0\}

can be computed exactly in time

O(N+M).O(N+M).

Thus reachability computation has zero error once the support graph is known.

In contrast, suppose the numerical success probability

p_t(s)=Pr⁡(Y_T=1∣S_t=s)p\_{t}(s)=\Pr(Y\_{T}=1\mid S\_{t}=s)

must be estimated from independent rollouts. Then, for every α∈(0,1/4]\alpha\in(0,1/4] and every n≤1/(2α)n\leq 1/(2\alpha), there exists a one-step Markov process with the same known support graph, needing one data sample to know the reachability, but with success probability

p(s)∈{α,2α},p(s)\in\{\alpha,2\alpha\},

such that any estimator p^(s)\widehat{p}(s) based on nn rollouts satisfies

$$\sup_{p(s)\in{\alpha,2\alpha}}\Pr\left(\widehat{p}(s)-p(s)

Consequently, exact reachability can be obtained with linear computation in the size of the support graph, while estimating success probabilities can fail unless the number of rollouts scales at least as

n=Ω(1/α),n=\Omega(1/\alpha),

even in the simplest one-step case.

The first claim follows from the backward reachability dynamic program stated in Algorithm 1. At terminal time,

r_T(s)=\mathds1{s∈G}.r\_{T}(s)=\mathds{1}\{s\in\mathcal{G}\}.

For t<Tt<T,

r_t(s)=\mathds1{∃s′∈S_t+1 such that (s,s′)∈E_t and r_t+1(s′)=1}.r\_{t}(s)=\mathds{1}\left\{\exists s^{\prime}\in\mathcal{S}\_{t+1}\text{ such that }(s,s^{\prime})\in E\_{t}\text{ and }r\_{t+1}(s^{\prime})=1\right\}.

The algorithm visits each time-state node once and inspects each support edge at most once, so the runtime is

O(N+M).O(N+M).

Because the computation is deterministic given the support graph, the reachability labels are computed with zero error.

For the lower bound, consider a one-step process with an initial state ss, a success terminal state gg, and a failure terminal state bb. Let

P(s,g)=p,P(s,b)=1−p,P(s,g)=p,\qquad P(s,b)=1-p,

where

p∈{α,2α}.p\in\{\alpha,2\alpha\}.

For both choices of pp, the support graph is the same:

s→g,s→b.s\to g,\qquad s\to b.

Therefore the reachability label is also the same:

r(s)=1.r(s)=1.

Thus the support-based reachability algorithm computes r(s)r(s) exactly.

However, estimating pp from rollouts is equivalent to estimating the mean of a Bernoulli random variable. Let P_α\mathbb{P}\_{\alpha} denote the distribution of nn i.i.d. samples from Bernoulli(α)\text{Bernoulli}(\alpha), and let P_2α\mathbb{P}\_{2\alpha} denote the distribution of nn i.i.d. samples from Bernoulli(2α)\text{Bernoulli}(2\alpha). For α≤1/4\alpha\leq 1/4,

D_KL(Bernoulli(α)  ∥  Bernoulli(2α))≤α.D\_{\text{KL}}\left(\text{Bernoulli}(\alpha)\;\|\;\text{Bernoulli}(2\alpha)\right)\leq\alpha.

Hence

D_KL(P_α  ∥  P_2α)≤nα≤12.D\_{\text{KL}}\left(\mathbb{P}\_{\alpha}\;\|\;\mathbb{P}\_{2\alpha}\right)\leq n\alpha\leq\frac{1}{2}.

By Pinsker’s inequality,

TV(P_α,P_2α)≤12D_KL(P_α  ∥  P_2α)≤12.\text{TV}(\mathbb{P}\_{\alpha},\mathbb{P}\_{2\alpha})\leq\sqrt{\frac{1}{2}D\_{\text{KL}}\left(\mathbb{P}\_{\alpha}\;\|\;\mathbb{P}\_{2\alpha}\right)}\leq\frac{1}{2}.

Therefore, by Le Cam’s two-point method, any test distinguishing p=αp=\alpha from p=2αp=2\alpha has error probability at least

12(1−TV(P_α,P_2α))≥14.\frac{1}{2}\left(1-\text{TV}(\mathbb{P}\_{\alpha},\mathbb{P}\_{2\alpha})\right)\geq\frac{1}{4}.

Now suppose an estimator p^(s)\widehat{p}(s) achieved

$$\widehat{p}(s)-p(s)

with probability greater than 3/43/4 under both p=αp=\alpha and p=2αp=2\alpha. Then the threshold test

p^(s)≤3α2versusp^(s)>3α2\widehat{p}(s)\leq\frac{3\alpha}{2}\quad\text{versus}\quad\widehat{p}(s)>\frac{3\alpha}{2}

would distinguish p=αp=\alpha from p=2αp=2\alpha with error probability less than 1/41/4, contradicting the lower bound above. Hence

$$\sup_{p(s)\in{\alpha,2\alpha}}\Pr\left(\widehat{p}(s)-p(s)

This proves the sample-complexity separation. ∎

Appendix C Qualitative Token Credit Analysis

Section titled “Appendix C Qualitative Token Credit Analysis”

Figure 4: Token credit assignment visualization for Pass@4 SR-PPO.

Figure 4: Token credit assignment visualization for Pass@4 SR-PPO.

Figure 5: Token credit assignment visualization for Pass@1 SR-PPO.

Figure 5: Token credit assignment visualization for Pass@1 SR-PPO.