betaFeedback

WorksComputer Science

Can Language Models Learn to Reject Their Own Bad Reasoning Steps?

Abstract

Verifier-guided decoding can prevent harmful reasoning steps from contaminating subsequent generation, but typically relies on an external learned verifier. We ask whether a language model can instead reject its own bad reasoning steps. We define a prefix's recoverability as the probability that the frozen generator can complete it correctly. Diagnostics show that adjacent recoverability changes are often difficult to resolve with practical Monte Carlo budgets, while same-prefix candidates exhibit a sparse low-recoverability tail. We introduce Self-Step Rejection (SSR), which trains a lightweight LoRA acceptance gate on the generator backbone while keeping the base model frozen. SSR uses confidence-qualified first-passage supervision: steps before the first resolved crossing of a root-relative recoverability barrier are accepted, the crossing step is rejected, and unresolved steps and suffixes are excluded. Training combines pointwise classification, same-prefix pairwise learning, and group-relative policy refinement using final-answer correctness. At inference, SSR accepts candidates or resamples from the unchanged prefix under rejection budgets, without an external learned verifier. Across three reasoning models and five mathematical reasoning benchmarks, SSR improves macro-average accuracy over single-pass decoding by 5.4–10.1 points using 1.21–1.40x as many generated tokens, and achieves the highest macro-average accuracy among evaluated step-level methods. Full-solution scaling methods require 4.47–8.27x the single-pass token cost for comparable performance.

Introduction

Reasoning language models benefit from additional inference-time computation, but longer reasoning traces also create more opportunities to commit harmful intermediate steps [40, 11, 28]. Once a step is appended, subsequent generation is conditioned on it. A model may recover through reflection, but it may instead elaborate a plausible yet incorrect premise, reducing the chance of eventually reaching the correct answer.

A natural response is to verify each step before committing it. Process reward models score intermediate reasoning [20, 38], and verifier-guided decoders can reject low-scoring steps and sample alternatives [35]. These approaches establish the utility of step-level intervention when a capable verifier is available. However, an external verifier may introduce additional model capacity or supervision from stronger teachers, leaving open whether the generator itself can learn to make these decisions. We therefore ask: Given a reasoning prefix and one newly sampled step, can a language model decide whether to commit that step or reject it and sample again?

We refer to this task as same-prefix candidate rejection, which requires distinguishing candidates sampled from the same problem and committed prefix. Global verification metrics may reward recognition of problem difficulty, trajectory depth, or accumulated errors without measuring this ability. We therefore train and evaluate candidate discrimination within shared prefixes.

A natural supervision signal is the change in recoverability: the probability that the frozen generator, continued from a prefix, eventually produces a correct answer. Yet adjacent changes in recoverability are difficult to estimate reliably because they involve differences between noisy Monte Carlo success rates. Across three reasoning models and five mathematical reasoning benchmarks, only 2.3–24.0% of adjacent recoverability differences are resolved with 16 rollouts per endpoint. Cumulative degradation can nevertheless become detectable even when individual transitions remain unresolved. This motivates supervision based on cumulative degradation relative to the problem’s initial recoverability.

Cumulative degradation alone does not establish that resampling is useful. We therefore also examine candidates sampled from shared prefixes. These candidates exhibit variation beyond Monte Carlo noise, with a small low-recoverability tail. This suggests a selective intervention: accept most candidates immediately and spend additional computation on replacing the few that are likely to harm the continuation.

Our method, Self-Step Rejection (SSR), freezes the generator and trains a lightweight LoRA [13] acceptance gate on the same backbone. It uses confidence-qualified first-passage supervision relative to the problem’s initial recoverability: confidently acceptable steps before the first resolved crossing are labeled as accepted, the crossing step is labeled as rejected, and unresolved steps and the subsequent suffix are excluded from supervision. Training combines pointwise classification with same-prefix pairwise learning, directly encouraging the gate to distinguish accepted and rejected candidates that share the same state. We then refine the gate with a within-problem group-relative objective using final-answer correctness.

At inference, the adapter is enabled only for acceptance scoring. The decoder commits accepted candidates and resamples rejected ones from the unchanged prefix, subject to a per-position attempt cap and an episode-level rejection budget. Additional sampling is therefore selective and requires no external learned verifier.

Across three reasoning models and five mathematical reasoning benchmarks, SSR improves macro-average accuracy over single-pass decoding by 5.4–10.1 percentage points using 1.21–1.40× as many generated tokens. It achieves the highest macro-average accuracy among the evaluated step-level methods for each generator and remains competitive with full-solution scaling methods, which use 4.47–8.27× the single-pass token cost. Figure 1 summarizes this accuracy–cost trade-off.

Figure 1. Macro-average accuracy across five benchmarks versus generated-token cost relative to single-pass decoding. Full-solution scaling includes Majority@8, ESC, ORM reranking, PRM reranking, and USC; other step-level methods include fixed-early resampling, low-confidence resampling, budget forcing, random rejection, and LATTS. SSR achieves the highest accuracy among step-level methods for all three generators and remains competitive with full-solution scaling at substantially lower token cost. See Table 1 for detailed results.

Our contributions are:

  • We formulate same-prefix candidate rejection and characterize its learning challenges: most adjacent recoverability changes are difficult to resolve at practical rollout budgets, while cumulative degradation is detectable and same-prefix candidates exhibit a sparse low-recoverability tail.

  • We introduce SSR, combining confidence-qualified first-passage supervision, same-prefix pairwise learning, and group-relative policy refinement to enable budgeted step rejection using the generator’s own backbone.

  • Through extensive experiments, we demonstrate SSR’s favorable accuracy–token trade-off against both step-level and full-solution scaling baselines.

Same-Prefix Candidate Rejection for Reasoning Models

Problem Definition

Let qq be a problem, π\pi a frozen reasoning policy, and pt=(s1,…,st)p_t = (s_1,\ldots,s_t) a committed reasoning prefix. At decision tt, the policy samples st∼π(⋅∣q,pt−1)s_t \sim\pi(\cdot\mid q,p_{t-1}), and a gate either commits the candidate or rejects it and resamples from the same conditional distribution. The gate therefore receives xt=(q,pt−1,st)x_t = (q,p_{t-1},s_t).

For any prefix pp, define its recoverability under the frozen policy as

Vπ(q,p)=Pr⁡y∼π(⋅∣q,p)[R(q,y)=1],(1)V^\pi(q,p) = \Pr_{y\sim\pi(\cdot\mid q,p)}[R(q,y)=1], \tag*{(1)}

where RR is a binary final-answer checker. We write Vπ(q)=Vπ(q,∅)V^\pi(q) = V^\pi(q,\varnothing) for the recoverability of the bare problem and use V^π\widehat{V}^\pi for Monte Carlo estimates. For a candidate step ss, p⊕sp\oplus s denotes the extended prefix, so Vπ(q,p⊕s)V^\pi(q,p\oplus s) is the probability of eventual success after committing ss and continuing under π\pi.

This same-prefix comparison distinguishes candidate rejection from global verification. A verifier that separates easy problems from hard ones, or scores only properties accumulated across a trajectory, need not distinguish candidates available at the current state. Useful rejection instead requires

E[Vπ(q,p⊕s)∣s accepted]>Es∼π(⋅∣q,p)[Vπ(q,p⊕s)].(2)\mathbb{E}[V^\pi(q,p\oplus s)\mid s\text{ accepted}] > \mathbb{E}_{s\sim\pi(\cdot\mid q,p)}[V^\pi(q,p\oplus s)]. \tag*{(2)}

We therefore train and evaluate the gate within a shared prefix.

Why Adjacent Recoverability Changes Are Difficult to Estimate

We estimate recoverability from independent continuations. A natural step-level target is the adjacent change Δt=Vπ(q,pt)−Vπ(q,pt−1)\Delta_t = V^\pi(q,p_t)-V^\pi(q,p_{t-1}), but it is the difference between two noisy Bernoulli means.

Figure 2(a) shows one Qwen3-14B trajectory evaluated at paragraph boundaries. Estimated recoverability falls from 0.891 to 0.188, with temporary increases and no statistically resolved adjacent transition (Figure 3(a)). The mean adjacent change is approximately −0.05-0.05; a standard power calculation requires roughly 1,600 rollouts per endpoint to resolve an effect of this size with 80% power (Figure 3(b)). Appendix D.1 provides the power calculation.

Three-panel illustration of prefix tokens, candidates sorted by value, and absolute position

Figure 2. Why same-prefix candidate rejection is a distinct problem. (a) Recoverability along one trajectory evaluated at paragraph boundaries; the open circle marks the first crossing of a root-relative τ=0.30\tau= 0.30 barrier. (b) Candidate steps sampled from one shared prefix exhibit a small low-value tail. (c) Mean root-relative degradation increases with depth across the recoverability audit populations.

Figure 3. Cumulative degradation is statistically visible when local degradation is not. (a) Signed likelihood-ratio statistics for adjacent and root-relative changes along the measured trajectory. Positive values indicate a loss of recoverability; the dotted line at z=2z = 2 provides an approximate significance reference. (b) Approximate rollouts per endpoint required to distinguish two Bernoulli success probabilities with 80% power.

Although individual changes are weak, their cumulative effect is measurable. Define the root-relative degradation

Dt=Vπ(q)−Vπ(q,pt).(3)D_t = V^\pi(q)-V^\pi(q,p_t). \tag*{(3)}

The trajectory in Figure 2(a) reaches Dt=0.703D_t = 0.703, and its first crossing of a fixed root-relative barrier is clearly observable. Figure 2(c) shows the same increasing degradation with depth across the broader audit populations. The root serves as a difficulty-normalized reference rather than an assumed maximum. These observations motivate supervising the first measurable cumulative crossing rather than regressing noisy adjacent value changes.

Candidate Values Exhibit a Rare Bad Tail

Trajectory-level degradation alone does not imply that resampling from a fixed prefix is useful. We therefore sample candidate openings from a shared prefix and estimate their recoverability using independent continuations. Figure 2(b) reports 27 usable candidates, each evaluated with 16 continuations. Their variation exceeds the estimated Monte Carlo noise, indicating within-prefix differences. Most candidates retain high recoverability, with a median value of 0.938 and only two candidates at or below 0.5. This sparse low-value tail motivates selectively rejecting candidates while accepting most candidates without additional sampling. Together with measurable cumulative degradation, this supports training the acceptance gate with root-relative first-passage labels.

Self-Step Rejection

Self-Step Rejection (SSR) trains a same-model acceptance gate through first-passage supervision, same-prefix pairwise learning, and group-relative policy refinement, then deploys it for budgeted accept-or-resample decoding. Figure 4 illustrates the sparse inference-time intervention and the same-model generate–judge loop.

Figure 4. Top: SSR uses the frozen model to generate candidates and enables LoRA to score them. Acceptance extends the prefix; rejection triggers resampling from the unchanged prefix. Bottom: an actual decoding example with at most LstepL_{\mathrm{step}} new tokens per step, shown as reasoning summaries. Attempts at each position proceed from top to bottom. Resampling is bounded by a per-position attempt cap MM and an episode-level rejection budget BB.

First-Passage Supervision

For each training problem, we sample one or more trajectories from the frozen generator π\pi one step at a time, with each step containing at most LstepL_{\mathrm{step}} newly generated tokens. Let V^0=V^π(q)\hat{V}_0 = \hat{V}^{\pi}(q) be the root estimate and V^t=V^π(q,pt)\hat{V}_t = \hat{V}^{\pi}(q,p_t) the estimate after committing step tt. Ignoring estimation uncertainty, the first root-relative crossing for a degradation threshold τ\tau is

t∗=min⁡{t:V^t≤V^0(1−τ)}.(4)t^\ast= \min\left\{ t : \hat{V}_t \le\hat{V}_0(1-\tau) \right\}. \tag*{(4)}

If no step crosses the barrier, t∗=∞t^\ast= \infty.

In practice, labeling stops at the first confidence-resolved crossing, which may occur later than the point-estimate crossing t∗t^\ast. Confidence intervals account for Monte Carlo uncertainty in the difference V^t−(1−τ)V^0\hat{V}_t - (1-\tau)\hat{V}_0. Preceding steps confidently above the barrier are labeled ACCEPT, and the crossing step is labeled REJECT. The subsequent suffix remains unlabeled because, after the first detected barrier crossing, low recoverability may be inherited rather than caused by each subsequent step. Additional rollouts are allocated adaptively near the boundary; steps that remain unresolved are excluded from supervision. Appendix A gives the complete labeling procedure and edge cases.

Policy-Matched Acceptance Scoring

For a candidate step sts_t, we form the gate input xt=(q,pt−1,st)x_t = (q, p_{t-1}, s_t). For scoring, we serialize xtx_t, append a fixed reserved marker, and run the same backbone with a LoRA adapter [13] Δϕ\Delta_{\phi} enabled. Following token-based verifier readouts [38], let ℓϕ+(xt)\ell_{\phi}^{+}(x_t) and ℓϕ−(xt)\ell_{\phi}^{-}(x_t) denote the frozen language-modeling head’s logits at the marker position for the existing vocabulary tokens + and −, respectively. We define the acceptance logit and normalized acceptance score as

zϕ(xt)=ℓϕ+(xt)−ℓϕ−(xt),score⁡ϕ(xt)=exp⁡ℓϕ+(xt)exp⁡ℓϕ+(xt)+exp⁡ℓϕ−(xt)=σ(zϕ(xt)).(5)z_{\phi}(x_t) = \ell_{\phi}^{+}(x_t) - \ell_{\phi}^{-}(x_t), \qquad\operatorname{score}_{\phi}(x_t) = \frac{\exp\ell_{\phi}^{+}(x_t)}{\exp\ell_{\phi}^{+}(x_t) + \exp\ell_{\phi}^{-}(x_t)} = \sigma(z_{\phi}(x_t)). \tag*{(5)}

The score represents acceptance confidence rather than an estimate of recoverability. The base parameters θ\theta, marker embedding, and language-modeling head remain frozen; only the LoRA adapter is trained. The adapter is disabled during candidate generation and enabled only for acceptance scoring.

Same-Prefix Supervised Objective

Let D\mathcal{D} contain the confidence-qualified examples, with yt=1y_t = 1 for ACCEPT and yt=0y_t = 0 for REJECT. The pointwise objective is weighted binary cross entropy:

LBCE=−∑(xt,yt)∈Dωyt[ytlog⁡score⁡ϕ(xt)+(1−yt)log⁡(1−score⁡ϕ(xt))],(6)\mathcal{L}_{\mathrm{BCE}} = - \sum_{(x_t,y_t)\in\mathcal{D}} \omega_{y_t}\left[y_t \log\operatorname{score}_{\phi}(x_t) + (1-y_t)\log(1-\operatorname{score}_{\phi}(x_t))\right], \tag*{(6)}

where ωyt\omega_{y_t} is a class-dependent optimization weight. In implementation, this objective is evaluated with binary cross entropy on the logit difference zϕ(xt)z_{\phi}(x_t) for numerical stability.

Pointwise accuracy can be high while a gate learns only problem difficulty or trajectory depth. We therefore enrich states near the crossing with multiple same-prefix candidates st1,…,stMs_t^{1}, \ldots, s_t^{M} sampled from the same prefix. Let Pt\mathcal{P}_t contain the confidence-qualified pairs (i,j)(i,j) from this group, where candidate ii is accepted and candidate jj is rejected. Following RankNet [5], we add the pairwise objective

Lpair=∑(i,j)∈Ptlog⁡(1+exp⁡[−(zi−zj)]),zi=zϕ(xti).(7)\mathcal{L}_{\mathrm{pair}} = \sum_{(i,j)\in\mathcal{P}_t} \log\left(1+\exp\left[-(z_i-z_j)\right]\right), \qquad z_i = z_{\phi}(x_t^i). \tag*{(7)}

The complete supervised objective is

Lgate=LBCE+λpairLpair.(8)\mathcal{L}_{\mathrm{gate}} = \mathcal{L}_{\mathrm{BCE}} + \lambda_{\mathrm{pair}}\mathcal{L}_{\mathrm{pair}}. \tag*{(8)}

This objective directly rewards within-prefix ordering, reducing reliance on problem difficulty or trajectory depth alone.

Group-Relative Policy Refinement

We refine the supervised gate to improve final-answer accuracy under budgeted sequential decoding using a REINFORCE-style objective Williams [41] with a group-relative baseline Shao et al. [30]. We optimize the gate as a stochastic binary policy ρϕ(ut∣xt)\rho_{\phi}(u_t \mid x_t) over ut∈{ACCEPT,REJECT}u_t \in\{\mathrm{ACCEPT}, \mathrm{REJECT}\}:

ρϕ(ACCEPT∣xt)=σ(zϕ(xt)−logit⁡(η)temperature),ρϕ(REJECT∣xt)=1−ρϕ(ACCEPT∣xt)(9)\rho_{\phi}(\mathrm{ACCEPT} \mid x_t) = \sigma\left(\frac{z_{\phi}(x_t) - \operatorname{logit}(\eta)}{\mathrm{temperature}}\right), \qquad\rho_{\phi}(\mathrm{REJECT} \mid x_t) = 1 - \rho_{\phi}(\mathrm{ACCEPT} \mid x_t) \tag*{(9)}

where temperature controls action sampling and η\eta is fixed during policy refinement and deployment. Training samples actions from ρϕ\rho_{\phi}; inference uses the deterministic threshold rule score⁡ϕ(xt)≥η\operatorname{score}_{\phi}(x_t) \ge\eta.

For each problem, we sample a group of GG complete decoding episodes. Let Re∈{0,1}R_e \in\{0,1\} denote final-answer correctness for episode ee and define the within-problem advantage

Ae=Re−1G∑e′=1GRe′.(10)A_e = R_e - \frac{1}{G}\sum_{e'=1}^{G} R_{e'}. \tag*{(10)}

The group baseline compares each episode’s outcome with other episodes of the same problem. With Te\mathcal{T}_e denoting the gate decisions in episode ee, we optimize

LRL=−1∑e∣Te∣∑e=1GAe∑t∈Telog⁡ρϕ(ue,t∣xe,t).(11)\mathcal{L}_{\mathrm{RL}} = -\frac{1}{\sum_e \lvert\mathcal{T}_e\rvert}\sum_{e=1}^{G} A_e \sum_{t\in\mathcal{T}_e}\log\rho_{\phi}(u_{e,t}\mid x_{e,t}). \tag*{(11)}

The environment enforces a per-position attempt cap and an episode-level rejection budget, bounding generation cost while the terminal reward optimizes correctness.

Sequential Accept-or-Resample Decoding

At inference time, the base model samples one candidate at a time. The acceptance gate commits the candidate when score⁡ϕ(xt)≥η\operatorname{score}_{\phi}(x_t) \ge\eta. Each position receives at most MM candidate attempts. Rejected candidates are discarded and resampled from the unchanged parent prefix until either a candidate is accepted or the attempt cap is reached; in the latter case, the decoder commits the highest-scoring attempt. Across the episode, at most BB candidates may be rejected. Once this budget is exhausted, subsequent candidates are committed directly. SSR generates additional candidates only after a rejection, allocating extra computation selectively within the prescribed budgets. Step-level best-of-KK, in comparison, incurs the cost of sampling KK candidates at every decision.

Experiments

Setup

We study Qwen3-14B Yang et al. [45], DeepSeek-R1-Distill-Llama-8B Guo et al. [11], and gpt-oss-20b Agarwal et al. [1] as frozen reasoning generators. Our primary evaluation suite contains contest-mathematics problems from OlymMATH-Easy and OlymMATH-Hard Sun et al. [32], together with AIME 2025, HMMT February 2025, and HMMT February 2026 from MathArena Dekoninck et al. [9]. We train the acceptance gate on a filtered subset of Omni-MATH Gao et al. [10], decontaminated against all evaluation benchmarks, and reserve a separate subset for development.

We compare SSR with the following baselines. Single pass is the no-scaling reference, while Majority@8 Wang et al. [39] and ESC (w=2w = 2) Li et al. [19] represent fixed-budget and adaptive self-consistency. ORM reranking Liu et al. [21], PRM reranking Zhang et al. [48], and USC Chen et al. [7] select among eight complete solutions. We design fixed-early resampling, low-confidence resampling, and random rejection as controls for intervention timing and candidate selection. Budget forcing Muennighoff et al. [28] tests the effect of extending generation. LATTS Uscidа et al. [35] provides an external-verifier step-rejection baseline. Fixed early and random rejection use the same generation-budget constraints as SSR.

Implementation Details

Unless otherwise specified, all generators use a 32K context window and a per-step limit of Lstep=2048L_{\mathrm{step}} = 2048 new tokens, reduced when context space is insufficient. Each generator has a separate rank-16 LoRA gate on the query, output, and MLP projections, with key and value projections unchanged. The adapter is enabled only for scoring, using the frozen language-modeling head’s +/−+/- logits at a fixed marker. Training combines first-passage supervision with group-relative policy refinement. Inference allows M=8M = 8 candidate attempts per position and B=12B = 12 rejections per episode. A threshold η\eta, calibrated before refinement to a target rejection rate of 17.8%, remains fixed during refinement and inference. Appendix C provides decoding, optimization, calibration, and runtime details.

Main Results

Table 1 shows that SSR improves macro-average accuracy over single-pass decoding by 5.4–10.1 percentage points using 1.21–1.40× as many generated tokens, with gains across all 15 model— benchmark pairs. The learned gate distinguishes same-prefix candidates to reject low-value continuations before committing them. SSR’s advantage over random rejection and LATTS at comparable token costs suggests that candidate discrimination matters beyond resampling alone, consistent with the diagnostics and ablations below. By resampling only after rejection and preserving the accepted prefix, SSR concentrates extra generation on local alternatives. This selective allocation helps explain its strong accuracy–cost trade-off: SSR achieves the highest step-level macro-average accuracy for all three generators and remains competitive with full-solution scaling. The strongest full-solution baseline for each generator achieves 0.5–3.8 percentage points higher accuracy but uses 7.34–8.24× the single-pass token cost. Figure 1 summarizes this trade-off.

ModelMethodA25Olym-EOlym-HHMMT25HMMT26Avg.Tok.×
Qwen3-14BSingle pass70.083.021.050.048.554.51.00
Majority@876.794.033.056.751.562.48.11
ESC (w=2w = 2)77.894.734.356.752.563.24.47
ORM reranking76.791.028.053.357.661.38.11
PRM reranking70.085.023.046.748.554.68.11
USC80.093.035.060.057.665.18.24
Fixed early73.390.028.053.348.558.61.60
Low-conf. resample73.387.022.063.345.558.20.98
Budget forcing66.781.022.050.048.553.62.04
Random reject66.786.723.353.342.454.51.14
LATTS70.080.033.343.354.556.21.14
SSR77.895.735.062.252.564.61.21
R1-Distill-Llama-8BSingle pass33.336.05.030.021.225.11.00
Majority@840.048.06.026.730.330.28.06
ESC (w=2w = 2)35.644.07.025.630.328.56.23
ORM reranking40.046.010.030.036.432.58.06
PRM reranking30.037.07.016.730.324.28.06
USC10.031.05.010.012.113.68.27
Fixed early40.035.05.023.321.224.91.57
Low-conf. resample26.736.73.326.721.222.91.04
Budget forcing33.333.33.326.718.223.02.08
Random reject20.040.06.716.721.220.91.26
LATTS30.033.316.720.024.224.81.12
SSR37.842.710.332.229.330.51.40
gpt-oss-20bSingle pass70.079.027.050.057.656.71.00
Majority@886.793.037.066.769.770.67.34
ESC (w=2w = 2)86.791.334.067.870.770.14.68
ORM reranking73.387.042.066.769.767.77.34
PRM reranking70.076.030.056.757.658.17.34
USC86.789.037.070.069.770.57.40
Fixed early76.780.034.056.751.559.81.62
Low-conf. resample76.781.028.053.357.659.31.00
Budget forcing73.380.033.056.754.559.51.36
Random reject80.080.033.356.751.560.31.14
LATTS66.770.033.360.051.556.31.11
SSR78.981.745.758.968.766.81.28

Table 1. End-to-end accuracy (%) and generation cost, averaged over three evaluation runs. “Avg.” is the macro-average and “Tok.×” is relative to single-pass generation. Gray rows are step-level methods; underlining and bold mark the best full-solution-scaling and step-level accuracy, respectively.

Analysis

Problem characterization. Table 2 shows that only 2.3–24.0% of adjacent differences are resolved with 16 rollouts per endpoint, despite nonzero within-prefix variation across all three models. This suggests that noisy local estimates can obscure useful candidate differences, motivating supervision based on cumulative degradation. Meanwhile, only 6.0–11.5% of candidates occupy the low-value tail, supporting selective rejection while preserving most of the trajectory.

ModelE[∣Δt∣|\Delta_t|]Adj. resolved@16 (%)Cand. SDTail (%)
Qwen3-14B0.215 [0.175, 0.253]24.0 [19.2, 28.2]0.113 [0.027, 0.176]6.0 [2.0, 12.0]
R1-Distill-Llama-8B0.051 [0.014, 0.097]2.3 [0.0, 9.2]0.120 [0.058, 0.168]11.0 [3.0, 21.0]
gpt-oss-20b0.140 [0.071, 0.227]18.7 [2.9, 47.2]0.184 [0.067, 0.265]11.5 [3.1, 21.9]

Table 2. Recoverability diagnostics across five benchmarks. E[∣Δt∣]E[|\Delta_t|]: mean absolute adjacent change; resolved@16: fraction resolved with 16 rollouts per endpoint; Cand. SD: noise-corrected within-prefix candidate standard deviation; Tail: fraction significantly below the best candidate. Brackets indicate 95% problem-bootstrap confidence intervals.

Same-prefix gate analysis. Figure 5 shows that strong global discrimination does not necessarily translate into effective within-prefix selection, where problem difficulty and prefix depth cannot distinguish candidates. SSR’s stronger local discrimination is consistent with its pairwise training objective. Policy refinement raises accepted-candidate value lift from 0.094 to 0.121 with modest changes in discrimination metrics, suggesting improvements in acceptance decisions beyond offline ranking.

Verifier discrimination, reject precision, and accepted-candidate value lift

Figure 5. Left: verifier discrimination measured by global AUROC over pooled candidates and within-prefix AUROC over candidates sampled from the same prefix; error bars are 95% confidence intervals. Center: reject precision at a fixed rejection rate of 17.8%. Right: accepted-candidate value lift. Qwen3-14B is the generator throughout. Skywork verifier denotes Skywork-Reward-V2-Qwen3-8B [21].

Training-component ablations. Table 3 shows that labeling all below-barrier steps reduces accuracy by 7.5 points and increases token cost, consistent with unnecessary rejection of steps that inherit earlier degradation. Removing pairwise learning costs 6.1 points, supporting direct supervision of local candidate preferences. Omitting policy refinement costs 4.6 points, suggesting that candidate discrimination benefits from further optimization for final-answer correctness under sequential decoding.

MethodA25Olym-EOlym-HHMMT25HMMT26Avg.Tok.×
Single pass70.083.021.050.048.554.51.00
SSR (full)77.895.735.062.252.564.61.21
Label all below-barrier steps72.286.024.353.349.557.11.62
No same-prefix pairwise loss73.388.026.354.450.558.51.14
No policy refinement74.489.728.756.750.560.01.12

Table 3. Training-component ablations on Qwen3-14B, averaged over three evaluation runs. Indented rows remove or replace one component of the full SSR recipe. “Avg.” is the five-benchmark macro-average and “Tok.×” is relative to single-pass generation.

Sensitivity analysis. On Qwen3-14B (Appendix § 10, Table 6 and Table 7), accuracy plateaus at target rejection rates of 17.8–30.0% while token cost rises, indicating diminishing returns from additional rejection. Step sizes of 1,024–4,096 tokens achieve similar accuracy, whereas shorter and longer steps perform worse. Short steps increase gate decisions, while long steps delay intervention, suggesting a balance between decision frequency and intervention timing. The default Lstep=2048L_{\mathrm{step}} = 2048 uses the fewest tokens within this accuracy plateau.

Target rej. (%)Tok.×Accuracy (%)
7.51.0760.3
10.01.1061.0
12.51.1462.1
15.01.1763.2
17.81.2164.6
22.01.2764.6
30.01.3764.7

Table 6. Measured SSR sensitivity to the target rejection rate on the test suite with Qwen3-14B and Lstep=2048L_{\mathrm{step}} = 2048. Results are averaged over three evaluation runs.

LstepL_{\mathrm{step}}Avg. stepsTok.×Accuracy (%)
25663.31.2754.7
51231.71.2754.4
102415.81.2664.6
20488.821.2164.6
40964.11.2364.1
81922.31.2162.2

Table 7. Measured SSR sensitivity to LstepL_{\mathrm{step}} on the test suite with Qwen3-14B at a fixed target rejection rate of 17.8%. Results are averaged over three evaluation runs.

Related Work

Inference-time scaling and search. Sampling multiple complete solutions and aggregating their answers improves reasoning robustness [39, 8]. Tree-structured and agentic methods instead branch at intermediate states and use search, learned values, or structured subroutines to allocate computation [46, 25, 55, 54 a]. Adaptive methods control different aspects of this computation: ESC adjusts the number of sampled solutions through early stopping [19], while s1 uses budget forcing to control the length of a single reasoning trace [28]. The effectiveness of scaling strategies also depends on problem difficulty and context quality, motivating adaptive allocation or selection tailored to individual problems [31, 33]. Multi-agent coordination and collaborative agent frameworks provide other ways to guide reasoning (Zhang et al., 2026d;a; Huang et al., 2026). We study allocation within a single decoding trajectory: the gate decides which candidates warrant replacement before commitment, concentrating extra generation on selected positions while preserving the accepted prefix.

Process supervision and verifier-guided decoding. Process reward models assign scores to intermediate reasoning steps [20, 38]. Rollout-based supervision estimates successful completion from a prefix, reducing manual annotation while depending on the rollout policy and sample count [44, 42]. OmegaPRM lowers labeling cost by searching for the first error under an approximate monotonicity assumption [25], while Process Advantage Verifiers assess action-induced progress from a shared state [29]. Recoverability and calibrated uncertainty have also been used to guide policy optimization [2, 50 c]. For inference-time selection, Tree-PLV learns from same-prefix rollout preferences to guide tree search [12], whereas LATTS uses an external PRM or LLM critic to reject steps and trigger resampling [35]. Our measurements motivate first-passage supervision when adjacent value changes are difficult to resolve but cumulative degradation is detectable. Building on verifier-guided decoding, we focus on learning a policy-matched acceptance gate from first-passage supervision and evaluating its ability to distinguish same-prefix candidates.

Self-evaluation and self-verification. Model representations and generated reasoning traces can expose signals useful for verification and responsible reasoning evaluation [6, 34]. Self-Refine uses the same model to generate feedback and iteratively revise its output without additional training [27], although intrinsic self-correction without external feedback can fail to improve reasoning [15]. Training-based approaches include SCORe, which learns answer revision through multi-turn reinforcement learning [17], and S²R, which trains explicit self-verification and correction behaviors [26]. Related work also explores reflection, self-evolving skills, and agent–environment co-evolution [37, 14] (Wang 2026). Logical grounding and structure-based validation are studied in related reasoning and planning settings (Xiong et al., 2025b; Bao et al., 2026a;b; Lu et al., 2025; 2026; Ye et al., 2026; Li et al., 2026). SELF-STEP REJECTION instead formulates same-prefix candidate rejection: a learned gate evaluates a candidate before commitment and, after rejection, resamples from the unchanged prefix. We introduce first-passage supervision for this acceptance gate, trained as a lightweight adapter while keeping the generator frozen.

Conclusion

We presented SELF-STEP REJECTION, which trains a lightweight acceptance gate on the generator’s own backbone to reject low-value candidate steps without an external learned verifier. The method combines root-relative first-passage supervision, same-prefix pairwise learning, and policy refinement while keeping the generator frozen. Across three reasoning models and five mathematics benchmarks, SSR improves macro-average accuracy over single-pass decoding by 5.4–10.1 percentage points using 1.21–1.40× as many generated tokens, achieving the highest macro-average accuracy among evaluated step-level methods for each generator. These results demonstrate the value of learning same-prefix candidate discrimination to guide selective resampling and improve the accuracy–token trade-off.

AI USE STATEMENT

We used generative AI tools to assist with writing and language editing during manuscript preparation. The authors reviewed and revised the AI-assisted text and take full responsibility for the final manuscript.

Self-Step Rejection

First-Passage Labeling

First-passage labeling converts trajectory-level value estimates into step-level accept/reject supervision. For a trajectory p0,…,pTp_0,\ldots,p_T, let V^barrier=(1−τ)V^0\widehat{V}_{\mathrm{barrier}}=(1-\tau)\widehat{V}_0 denote the root-relative barrier and define gapt=V^barrier−V^t\mathrm{gap}_t=\widehat{V}_{\mathrm{barrier}}-\widehat{V}_t. The first confidence-resolved step with gapt>0\mathrm{gap}_t>0 is labeled REJECT; all preceding confidence-resolved steps are labeled ACCEPT. The procedure then terminates and assigns no labels to the remaining suffix. This restriction associates the negative label with the first confidence-resolved crossing of the root-relative barrier, avoiding repeated attribution of inherited damage to later steps. We evaluate dense labeling of every below-barrier step as an ablation.

At each prefix, the rollout count is increased only while the confidence interval for gapt\mathrm{gap}_t intersects zero. An interval lying strictly below zero yields an ACCEPT label, whereas an interval lying strictly above zero yields the first REJECT label and terminates the scan. Prefixes that remain unresolved at Kmax⁡K_{\max} are marked gray and excluded from the supervised objective. This abstention rule avoids converting Monte Carlo ties into arbitrary labels.

If V^0=0\widehat{V}_0=0, the relative barrier is also zero and contains no information about τ\tau; Algorithm 1 therefore returns no labels. We likewise exclude candidate sets for which every evaluated continuation has zero value, because such sets contain no within-prefix signal for selecting one step over another. Labels are taken from the confidence-qualified decisions recorded during data collection rather than recomputed from the stored value estimates. Adaptive stopping changes the conditional distribution of the stored estimates, but not the recorded decision or committed candidate. The resulting first-passage data are positive-heavy, so we report an always-accept gate as the explicit no-intervention baseline.

The relative barrier scales the tolerated degradation with each problem’s recoverability. A fixed absolute margin cannot trigger when the root estimate is below that margin. The root estimate is shared by all trajectories of a problem and can be computed once.

Group-Relative Policy Refinement

Policy refinement samples GG complete decoding episodes for each problem and uses final-answer correctness as the terminal reward. Gate actions are sampled according to Equation (9). The within-problem group mean provides a parameter-free baseline that reduces the influence of problem difficulty without requiring a learned value function. Rewards are terminal and returns are undiscounted, so all decisions in an episode share the group-centered advantage in Equation (10).

We center rewards by the group mean without standardizing by the group standard deviation. For binary rewards, the standard deviation is fully determined by the empirical success rate, μ^(1−μ^)\sqrt{\hat{\mu}(1-\hat{\mu})}. With G=8G=8, standardization would give a group with μ^=1/8\hat{\mu}=1/8 approximately 1.5×1.5\times the group-level scaling of a balanced group with μ^=4/8\hat{\mu}=4/8, emphasizing a near-degenerate group whose baseline is estimated from a single successful episode. Mean centering preserves the observed reward scale, and constant-outcome groups naturally contribute zero advantages. Algorithm 2 summarizes the update.

Sequential Accept-or-Resample Decoding

At inference time, Self-Step Rejection applies a sequential rejection policy at each committed prefix. The generator first samples a single candidate step, which is committed when its acceptance score is at least η\eta. Otherwise, the candidate is discarded and a replacement is sampled from the unchanged prefix, with at most MM total candidate attempts at each position. If every attempt is rejected, the highest-scoring candidate is committed. An episode-level budget permits at most BB rejected candidates; after it is exhausted, subsequent candidates are committed directly. Algorithm 3 specifies this procedure. Additional candidates are sampled only after a rejection; a candidate accepted on the first attempt requires no additional candidate generation. Generation and acceptance scoring share the same backbone, with the acceptance-gate adapter activated only for scoring (Appendix C).

We calibrate η\eta before policy refinement to match a prescribed rejection rate and hold it fixed during refinement and deployment. This on-policy calibration accounts for the additional samples induced by rejections and the resulting candidate distribution encountered by the gate. We consequently

Algorithm 1: Confidence-Qualified First-Passage Labeling

Input: Problem qq; frozen policy π\pi; sampled trajectory p0,…,pTp_0,\ldots,p_T; threshold τ\tau; confidence multiplier cc; rollout schedule K=(K(1),…,K(J))\mathcal{K}=(K^{(1)},\ldots,K^{(J)}), where K(J)=Kmax⁡K^{(J)}=K_{\max}.

Output: Labeled prefixes D\mathcal{D}.

  1. Estimate V^0=V^π(q)\widehat{V}_0=\widehat{V}^{\pi}(q);

  2. if V^0=0\widehat{V}_0=0 then

  3.     return ∅\varnothing;

  4. V^barrier←(1−τ)V^0\widehat{V}_{\mathrm{barrier}}\leftarrow(1-\tau)\widehat{V}_0;

  5. D←∅\mathcal{D}\leftarrow\varnothing;

  6. for t←1t\leftarrow1 to TT do

  7.     j←1j\leftarrow1;

  8.     Draw K(j)K^{(j)} continuations from ptp_t and estimate V^t\widehat{V}_t;

  9.     gapt←V^barrier−V^t\mathrm{gap}_t\leftarrow\widehat{V}_{\mathrm{barrier}}-\widehat{V}_t;

  10. &nbsp;&nbsp;&nbsp;&nbsp;while the confidence interval of gapt\mathrm{gap}_t contains 0 and j<Jj<J do

  11. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;j←j+1j\leftarrow j+1;

  12. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw additional continuations to reach K(j)K^{(j)} samples and update V^t\widehat{V}_t and gapt\mathrm{gap}_t;

  13. &nbsp;&nbsp;&nbsp;&nbsp;if gapt+cse⁡^(gapt)<0\mathrm{gap}_t+c\widehat{\operatorname{se}}(\mathrm{gap}_t)<0 then

  14. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add (q,pt,ACCEPT)(q,p_t,\mathrm{ACCEPT}) to D\mathcal{D};

  15. &nbsp;&nbsp;&nbsp;&nbsp;else if gapt−cse⁡^(gapt)>0\mathrm{gap}_t-c\widehat{\operatorname{se}}(\mathrm{gap}_t)>0 then

  16. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add (q,pt,REJECT)(q,p_t,\mathrm{REJECT}) to D\mathcal{D} and stop;

  17. &nbsp;&nbsp;&nbsp;&nbsp;else

  18. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark ptp_t gray and exclude it from the supervised loss;

  19. return D\mathcal{D};

Algorithm 2: Group-Relative Policy Refinement

Input: Training problems Q\mathcal{Q}; frozen generator πθ\pi_\theta; initialized gate policy ρϕ\rho_\phi; group size GG; threshold η\eta; sampling temperature temperature; attempt cap MM; rejection budget BB.

  1. foreach sampled problem q∈Qq\in\mathcal{Q} do

  2. &nbsp;&nbsp;&nbsp;&nbsp;for e←1e\leftarrow1 to GG do

  3. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decode one episode using πθ\pi_\theta and actions sampled from ρϕ\rho_\phi, subject to MM and BB;

  4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extract and score the final answer to obtain Re∈{0,1}R_e\in\{0,1\};

  5. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Store all gate decisions Te={(xe,t,ue,t)}t\mathcal{T}_e=\{(x_{e,t},u_{e,t})\}_t;

  6. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;R‾←G−1∑e=1GRe\overline{R}\leftarrow G^{-1}\sum_{e=1}^{G}R_e;

  7. &nbsp;&nbsp;&nbsp;&nbsp;for e←1e\leftarrow1 to GG do

  8. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ae←Re−R‾A_e\leftarrow R_e-\overline{R};

  9. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accumulate −Ae∑t∈Telog⁡ρϕ(ue,t∣xe,t)-A_e\sum_{t\in\mathcal{T}_e}\log\rho_\phi(u_{e,t}\mid x_{e,t});

  10. Normalize by the number of stored gate decisions and update ϕ\phi;

report the realized on-policy rejection rate together with its target. The two budgets complement one another: MM limits concentration of sampling at one position, while BB controls total rejection across the trajectory.

Datasets

Our evaluation suite contains 293 contest-mathematics problems from five test-only benchmarks. No evaluation problem is used to train the acceptance gate.

AIME 2025. We use all 30 problems from the 2025 American Invitational Mathematics Examination as a single test set, sourced from MathArena [9]. The problems cover algebra, combinatorics, geometry, and number theory and require a three-digit integer final answer.

Algorithm 3: SELF-STEP REJECTION Sequential Decoding

Input: Problem q; frozen generator πθ; acceptance-gate parameters ϕ; threshold η; maximum candidate attempts M per position; episode rejection budget B; step-token limit Lstep; context limit Lctx.
Output: Final completion.

1  p ← ∅;
2  nreject ← 0;
3  while p is nonterminal and Lctx is not exhausted do
4      A ← ∅;
5      committed ← false;
6      for i ← 1 to M do
7          L ← min{Lstep, Lctx − tokens(q, p)};
8          Sample a candidate step s ∼ πθ(· | q, p) with at most L new tokens;
9          if nreject ≥ B then
10             p ← p ⊕ s;
11             committed ← true and break;
12         score ← scoreϕ(q, p, s);
13         Add (s, score) to A;
14         if score ≥ η then
15             p ← p ⊕ s;
16             committed ← true and break;
17         nreject ← nreject + 1;
18     if committed = false then
19         Select the highest-scoring candidate s* from A;
20         p ← p ⊕ s*;
21 return p;

OlymMATH-Easy/Hard. We use all 100 English-language problems from each of the easy and hard OlymMATH test sets [32]. Both contain olympiad-style problems with exact symbolic answers spanning algebra, combinatorics, geometry, and number theory. Geometry and combinatorics are the largest subject groups in the easy set, whereas the hard set is balanced with 25 problems per subject.

HMMT February 2025/2026. We use all 30 problems from the February 2025 Harvard–MIT Mathematics Tournament and all 33 from the February 2026 tournament, sourced from MathArena [9]. In each year, the first 30 problems are divided evenly among algebra and number theory, combinatorics, and geometry. The 2025 answers include integers, fractions, radicals, and other exact expressions; the 2026 set additionally contains three longer proof-formatted problems with rule-verifiable final answers.

Training data. We construct the acceptance gate’s training pool from the 4,428 Omni-MATH problems [10]. After removing duplicates, we retain rule-verifiable problems with difficulty levels 4–8, decontaminate them against all 293 evaluation problems, and draw a stratified sample. The resulting pool contains 1,100 problems, including those from HMMT February and November, Putnam, national team selection tests, the IMO Shortlist, and USAMO. We use 1,004 problems for training and hold out 96 for policy-refinement development, including early stopping, checkpoint selection, and threshold calibration.

Implementation Details

Step and Label Construction

Unless otherwise specified, Qwen3-14B and DeepSeek-R1-Distill-Llama-8B use temperature 0.6 and top-pp 0.95, while gpt-oss-20b uses temperature 1.0, top-pp 1.0, and reasoning_effort=medium. All generators use a context limit of Lctx=32,768L_{\mathrm{ctx}} = 32{,}768 tokens.

A reasoning step is one generation segment containing at most LstepL_{\mathrm{step}} newly generated tokens. Unless otherwise specified, we set Lstep=2048L_{\mathrm{step}} = 2048. For first-passage labeling (Algorithm 1), we use τ=0.30\tau= 0.30, confidence multiplier c=1c = 1, and rollout schedule K=(8,12,16)\mathcal{K} = (8, 12, 16), with Kmax⁡=16K_{\max} = 16. A step may terminate earlier when generation finishes, and its generation budget is dynamically reduced when fewer than LstepL_{\mathrm{step}} positions remain in the context window.

During label collection, each evaluated prefix permits at most M=8M = 8 candidate attempts. Candidate continuation values are estimated within the remaining context,

Lavailable=Lctx−tokens⁡(q,pt).(12)L_{\mathrm{available}} = L_{\mathrm{ctx}} - \operatorname{tokens}(q, p_t). \tag*{(12)}

The resulting confidence-qualified decisions are converted into labels using the first-passage rule in Appendix § 7.§ 1. A smaller generation cap is treated as an explicit budgeted condition rather than as the model’s context limit. For reproducibility, each estimate retains its decoding configuration, seed, token counts, extracted answer, correctness, finish reason, and exact continuation or cutoff prefix.

Gate Architecture and Training

Input serialization. The acceptance-gate input concatenates the problem, committed prefix, candidate step, and a fixed marker token. The dynamically adjusted continuation budget keeps the problem, prefix, and candidate within LctxL_{\mathrm{ctx}}. The marker is used only for scoring and is excluded from the generation-token budget. We use the pretrained reserved token <|fim_pad|> as the marker and require that it not occur in any input segment. The marker is appended at the final input position.

Token-based readout. The frozen language-modeling head is evaluated at the marker position. Following the token-based readout of Math-Shepherd (Wang et al., [38], the existing single-token vocabulary entries + and − verbalize ACCEPT and REJECT, respectively. If their logits are ℓ+\ell^{+} and ℓ−\ell^{-}, training uses the logit difference z=ℓ+−ℓ−z = \ell^{+} - \ell^{-} with binary cross entropy with logits, while inference uses the equivalent two-token softmax score score⁡=exp⁡(ℓ+)/[exp⁡(ℓ+)+exp⁡(ℓ−)]\operatorname{score} = \exp(\ell^{+})/[\exp(\ell^{+}) + \exp(\ell^{-})]. The marker embedding, vocabulary embeddings, and language-modeling head remain frozen; only the LoRA adapter is trained. Reusing the pretrained language-modeling head provides a stronger inductive bias under limited gate supervision, for which a newly initialized classification head readily overfits.

LoRA configuration. The only trainable parameters are rank-16 LoRA adapters with scaling factor 32, zero dropout, and no bias. They are attached in every transformer layer to q_proj, o_proj, gate_proj, up_proj, and down_proj. The key and value projections remain frozen. Generation and acceptance scoring maintain separate incremental key–value caches over the committed prefix.

Training, development, and test partitions are disjoint at the problem level. We optimize with AdamW [22] for three epochs at learning rate 3×10−43 \times10^{-4}, effective batch size eight, and gradient-norm clipping at 1.0. Class-dependent weighting addresses the imbalance in first-passage labels. For same-prefix accept/reject pairs, the pointwise losses are augmented with λpairsoftplus⁡[−(za−zr)]\lambda_{\mathrm{pair}}\operatorname{softplus}[-(z_a-z_r)], with λpair=0.5\lambda_{\mathrm{pair}} = 0.5 and softplus⁡(x)=log⁡(1+exp⁡x)\operatorname{softplus}(x) = \log(1+\exp x). This smooth ranking loss encourages a higher logit for the accepted candidate. Checkpoint selection uses within-prefix discrimination and accepted-value lift.

Policy-Refinement Configuration

Policy refinement uses G=8G = 8 episodes per problem and temperature =1.0= 1.0. We set the target rejection rate to 17.8%, based on the rate measured under oracle-gated decoding. Before refinement, we calibrate η\eta to the corresponding empirical quantile of the initial adapter’s on-policy acceptance scores. The resulting threshold remains fixed throughout policy refinement and deployment; the realized rejection rate is reported separately in Table 4.

MetricMean
Candidate rejection rate21.0%
Candidate attempts per committed step1.3
Committed steps per problem8.82
Gate evaluations per problem10.7
Steps reaching the MM-attempt cap0.4%
Problems exhausting the BB-rejection budget3.0%

Table 4. SSR deployment behavior on Qwen3-14B, averaged over three evaluation runs.

Each iteration draws 16 fresh training problems, sampling without replacement until the pool is exhausted and then reshuffling it. The resulting groups are combined into an effective batch of 256 gate decisions, and one AdamW update is applied at learning rate 5×10−55 \times10^{-5}, zero weight decay, and gradient-norm clipping at 1.0. Generation uses temperature 0.6 and top-pp 0.95 for Qwen3-14B and DeepSeek-R1-Distill-Llama-8B, and temperature 1.0, top-pp 1.0, and reasoning_effort=medium for gpt-oss-20b. All generators use 2048-token reasoning steps and a context limit of 32,768 tokens. Each position permits M=8M = 8 total candidate attempts, and each episode permits B=12B = 12 rejected candidates. When the physical context is exhausted, we extract and score any available final answer; an episode with no extractable answer receives reward zero.

Training is bounded by a preset compute budget and development early stopping. Development evaluation samples four episodes for each of 96 held-out Omni-MATH problems. An evaluation more than two standard errors below the historical best is marked as degradation. Training stops after two consecutive degraded evaluations, and the checkpoint with the highest development accuracy is selected. Figure 6 summarizes the optimization trajectory: held-out accuracy follows a noisy upward trend, while the realized on-policy rejection rate remains broadly stable under the fixed η\eta. Training uses a single H200 node, with a total wall-clock training time of approximately 200 hours per model.

Figure 6. Held-out development accuracy (left) and realized on-policy rejection rate (right) over optimizer steps during policy refinement with Qwen3-14B.

Inference Runtime

Candidate generation runs with the LoRA adapter disabled through the adapter context, preserving the frozen generator exactly. Candidate evaluation enables the adapter and reads only the final marker position. Because the marker is guaranteed to be last, we request one output position instead of materializing logits of shape sequence-length by vocabulary-size. Generation and acceptance scoring each maintain an incremental key–value cache over committed steps. Scoring a new candidate processes only its new tokens and the appended marker rather than recomputing the full trajectory. Rejected candidates use temporary cache branches that are discarded after scoring. Table 4 shows that the learned gate rejects selectively: the per-position attempt cap is reached on only 0.4% of committed steps, and the episode budget is exhausted on 3.0% of problems. As shown in Table 5, SSR adds 0.17 hours over single-pass decoding while remaining substantially faster than full-solution scaling.

MethodWall-clock time (h)
Single pass1.09
SSR1.26
ESC (w=2w = 2)4.85
Majority@88.81
USC8.95

Table 5. Qwen3-14B wall-clock time per evaluation run, with generation on six H200 GPUs.

Evaluation Metrics

Gate metrics. Global AUROC is insufficient because it rewards problem-difficulty prediction. Our primary offline metrics are within-prefix pairwise AUROC, rejection precision at a fixed rejection rate, and the accepted-value lift

ΔVaccept=E[Vπ(q,p⊕s)∣s accepted]−Es∼π(⋅∣q,p)[Vπ(q,p⊕s)].(13)\Delta V_{\mathrm{accept}} = \mathbb{E}\left[V^{\pi}(q,p\oplus s)\mid s\ \mathrm{accepted}\right] - \mathbb{E}_{s\sim\pi(\cdot\mid q,p)}\left[V^{\pi}(q,p\oplus s)\right]. \tag*{(13)}

We evaluate four baselines. Length+depth is a fitted two-feature probe using candidate token length and committed-prefix depth. Log-prob uses the frozen generator’s mean per-token log-probability from a teacher-forced pass over the fully rendered prompt and requires no fitting. Frozen MLP is a one-hidden-layer probe trained on standardized, PCA-reduced final-token hidden states from a Transformer layer fixed before evaluation, with the prompt included. The Skywork verifier directly applies Skywork-Reward-V2-Qwen3-8B to the complete problem, prefix, and candidate sequence without task-specific training. All fitted probes are trained only on problem-grouped training folds.

End-to-end metrics. We report final-answer accuracy, generated-token cost relative to single-pass generation, candidate rejection rate, candidate attempts per committed step, MM-cap fallback rate, BB-budget exhaustion rate, and end-to-end wall-clock time. All online policies are evaluated in paired runs with deterministic problem/sample seeds. Threshold η\eta, attempt cap MM, episode rejection budget BB, and checkpoint are selected on development data only.

Additional Results

Power Analysis for Local Value Differences

For two Bernoulli proportions near success probability μ\mu, the approximate number of rollouts per endpoint required to resolve an effect δ\delta with 80% power is n≈2(1.96+0.84)2μ(1−μ)/δ2n \approx2(1.96 + 0.84)^2\mu(1-\mu)/\delta^2. Using the magnitude of the mean adjacent change rounded to δ=0.05\delta= 0.05, the worst-case μ=0.5\mu= 0.5 calculation gives approximately 1,600 rollouts per endpoint.

Sensitivity Analysis

All sensitivity results in this subsection are measured with Qwen3-14B.

Target rejection rate. Table 6 varies the target rejection rate and calibrates η\eta for each operating point. Accuracy improves as the gate is allowed to reject more candidates, then plateaus across target rates from 17.8% to 30.0% while token cost continues to increase. The default target of 17.8% lies near the start of this plateau.

Step size. Table 7 varies LstepL_{\mathrm{step}} with the target rejection rate fixed at 17.8%. Very short steps create many decision points and increase scoring and resampling cost. Very long steps delay intervention and yield lower accuracy without reducing generated-token cost below the 2048-token setting. Step sizes of 1,024–4,096 tokens achieve similar accuracy, with the default Lstep=2048L_{\mathrm{step}} = 2048 using the fewest generated tokens in this range.

Examples

We present two measured SSR trajectories that yield correct answers where the corresponding single-pass runs fail. On AIME 2025 Problem 10, Qwen3-14B rejects two candidates, one introducing an unstated structural constraint and the other leaving the counting argument unresolved, and returns the correct answer, 81 (Table 8). On HMMT February 2026 Problem 19, gpt-oss-20b rejects a faulty construction, replaces it with the nesting property Ad⊆AnA_d\subseteq A_n used by the remainder of the solution, and returns the correct answer, 499 (Table 9).

Table 8: Abridged SSR trajectory for AIME 2025 Problem 10 with Qwen3-14B. Two candidates are rejected; omitted steps are accepted on their first attempt.

StepDecisionAbridged candidate reasoning
t=1t=1AcceptIdentifies the row and 3×33 \times3-block constraints and begins reducing the problem to a combinatorial count.
t=2t=2, cand. 1RejectIncorrectly infers that entries must also be distinct within each column of a block and repeatedly recasts the block as a Latin-square-like object.
t=2t=2, cand. 2AcceptRetains only the stated row and block constraints and represents each block by an ordered partition of {1,…,9}\{1,\ldots,9\} into three row subsets.
t=3t=3–55Accept⋯\cdots Reduces the remaining task to counting the assignments for the second and third blocks after fixing the first block.
t=6t=6, cand. 1RejectFormulates the assignment as a constrained bipartite matching problem but does not obtain the required count.
t=6t=6, cand. 2AcceptDerives the row-assignment count ∑c=03(3c)3=56\sum_{c=0}^{3}\binom{3}{c}^{3}=56 and obtains 9!⋅56⋅(3!)69! \cdot56 \cdot(3!)^{6}.
t=7t=7–1010Accept⋯\cdots Verifies 9!⋅56⋅(3!)6=2163105729! \cdot56 \cdot(3!)^{6}=2^{16}3^{10}5^{7}2 and returns 2(16)+3(10)+5(1)+7(2)=812(16)+3(10)+5(1)+7(2)=81.

Table 8.

Table 9: Abridged SSR trajectory for HMMT February 2026 Problem 19 with gpt-oss-20b. One candidate is rejected; omitted steps are accepted on their first attempt.

StepDecisionAbridged candidate reasoning
t=1t=1AcceptReads ∣Ai∣=i|A_i|=i from the case i=ji=j and restates the objective as minimizing the eight maxima max⁡Ad\max A_d over the divisors of 250.
t=2t=2AcceptObserves that the elements are arbitrary positive integers chosen by the construction, so only which labels are assigned to which sets matters.
t=3t=3, cand. 1RejectAssigns one element ete_t to every AkA_k with t∣kt\mid k, computes that this yields ∣Ai∩Aj∣≥d(gcd⁡(i,j))|A_i\cap A_j|\ge d(\gcd(i,j)) rather than gcd⁡(i,j)\gcd(i,j), and on finding the count too small begins a prime-by-prime case analysis instead of revising the construction.
t=3t=3, cand. 2AcceptDerives the structural lemma: for d∣nd\mid n, ∣An∩Ad∣=d=∣Ad∣|A_n\cap A_d|=d=|A_d| forces Ad⊆AnA_d\subseteq A_n, so the family is nested along divisibility. Assigns each element its minimal index mm and concludes e∈Ane\in A_n iff m∣nm\mid n.
t=4t=4–77Accept⋯\cdots Writes ∣An∣=∑m∣nf(m)=n|A_n|=\sum_{m\mid n}f(m)=n for the count f(m)f(m) of elements of minimal index mm, giving f=1,1,4,4,20,20,100,100f=1,1,4,4,20,20,100,100 on the divisors of 250, and reduces the objective to choosing each group’s largest label g(m)g(m), since max⁡Ad=max⁡m∣dg(m)\max A_d=\max_{m\mid d}g(m).
t=8t=8–1212Accept⋯\cdots Evaluates orderings of the eight groups. Labeling them in ascending order of size gives g=1,2,6,10,30,50,150,250g=1,2,6,10,30,50,150,250 and the sum 499, while moving index 5 earlier raises the total to 502.
t=13t=13AcceptTerminal step. Rules out the smaller candidate value 468, which would require g(d)=dg(d)=d and violates the monotonicity g(m)<g(n)g(m)<g(n) for m∣nm\mid n, and returns 499.

Table 9.

References

  1. [1]Sandhini Agarwal, Lama Ahmad, Jason Ai, Sam Altman, Andy Applebaum, Edwin Arbus, Rahul K Arora, Yu Bai, Bowen Baker, Haiming Bao, et al. gpt-oss-120b & gpt-oss-20b model card. arXiv preprint arXiv:2508.10925, 2025.arxiv.org/abs/2508.10925
  2. [2]Qiming Bao, Xiaoxuan Fu, and Michael Witbrock. Conflict-aware fusion: Mitigating logic inertia in large language models via structured cognitive priors. arXiv preprint arXiv:2512.06393, 2025.arxiv.org/abs/2512.06393
  3. [5]Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pp. 89–96, 2005.DOI
  4. [6]Collin Burns, Haotian Ye, Dan Klein, and Jacob Steinhardt. Discovering latent knowledge in language models without supervision. arXiv preprint arXiv:2212.03827, 2022.arxiv.org/abs/2212.03827
  5. [7]Xinyun Chen, Renat Aksitov, Uri Alon, Jie Ren, Kefan Xiao, Pengcheng Yin, Sushant Prakash, Charles Sutton, Xuezhi Wang, and Denny Zhou. Universal self-consistency for large language model generation. arXiv preprint arXiv:2311.17311, 2023.arxiv.org/abs/2311.17311
  6. [8]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.arxiv.org/abs/2110.14168
  7. [9]Jasper Dekoninck, Nikola Jovanović, Tim Gehrunger, Kári Rögnvaldsson, Ivo Petrov, Chenhao Sun, and Martin Vechev. Beyond benchmarks: Matharena as an evaluation platform for mathematics with llms. arXiv preprint arXiv:2605.00674, 2026.arxiv.org/abs/2605.00674
  8. [10]Bofei Gao, Feifan Song, Zhe Yang, Zefan Cai, Yibo Miao, Qingxiu Dong, Lei Li, Chenghao Ma, Liang Chen, Zhengyang Tang, et al. Omni-math: A universal olympiad level mathematic benchmark for large language models. In International Conference on Learning Representations, volume 2025, pp. 100540–100569, 2025.arxiv.org/abs/2410.07985
  9. [11]Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.DOI
  10. [12]Mingqian He, Yongliang Shen, Wenqi Zhang, Zegi Tan, and Weiming Lu. Advancing process verification for large language models via tree-based preference learning. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 2086–2099, 2024.
  11. [13]Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021.arxiv.org/abs/2106.09685
  12. [14]Yihao Hu, Zhihao Wen, Xiujin Liu, Pan Wang, Xin Zhang, and Wei Wu. Seal: Synergistic co-evolution of agents and learning environments. arXiv preprint arXiv:2605.24426, 2026.arxiv.org/abs/2605.24426
  13. [15]Jie Huang, Xinyun Chen, Swaroop Mishra, Huaixiu Steven Zheng, Adams Yu, Xinying Song, and Denny Zhou. Large language models cannot self-correct reasoning yet. In International conference on learning representations, volume 2024, pp. 32808–32824, 2024.arxiv.org/abs/2310.01798
  14. [17]Aviral Kumar, Vincent Zhuang, Rishabh Agarwal, Yi Su, John D Co-Reyes, Avi Singh, Kate Baumli, Shariq Iqbal, Colton Bishop, Rebecca Roelofs, et al. Training language models to self-correct via reinforcement learning. In International Conference on Learning Representations, volume 2025, pp. 54523–54549, 2025.arxiv.org/abs/2409.12917
  15. [19]Yiwei Li, Peiwen Yuan, Shaoxiong Feng, Boyuan Pan, Xinglin Wang, Bin Sun, Heda Wang, and Kan Li. Escape sky-high cost: Early-stopping self-consistency for multi-step reasoning. In International Conference on Learning Representations, volume 2024, pp. 14751–14768, 2024.arxiv.org/abs/2401.10480
  16. [20]Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison 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, volume 2024, pp. 39578–39601, 2024.arxiv.org/abs/2305.20050
  17. [21]Yuhao Liu, Liang Zeng, Yuzhen Xiao, Jujie He, Jiacai Liu, Chaojie Wang, Rui Yan, Wei Shen, Fuxiang Zhang, Jiacheng Xu, et al. Skywork-reward-v2: Scaling preference data curation via human-ai synergy. In International Conference on Learning Representations, volume 2026, pp. 133805–133838, 2026.arxiv.org/abs/2507.01352
  18. [22]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.arxiv.org/abs/1711.05101
  19. [25]Liangchen Luo, Yinxiao Liu, Rosanne Liu, Samrat Phatale, Meiqi Guo, Harsh Lara, Yunxuan Li, Lei Shu, Yun Zhu, Lei Meng, et al. Improve mathematical reasoning in language models by automated process supervision. arXiv preprint arXiv:2406.06592, 2024.arxiv.org/abs/2406.06592
  20. [26]Ruotian Ma, Peisong Wang, Cheng Liu, Xingyan Liu, Jiaqi Chen, Bang Zhang, Xin Zhou, Nan Du, and Jia Li. S2r: Teaching llms to self-verify and self-correct via reinforcement learning. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 22632–22654, 2025.arxiv.org/abs/2502.12853
  21. [27]Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-refine: Iterative refinement with self-feedback. Advances in neural information processing systems, 36:46534–46594, 2023.arxiv.org/abs/2303.17651
  22. [28]Niklas Muennighoff, Zitong Yang, Weijia Shi, Xiang Lisa Li, Li Fei-Fei, Hannanah Hajishirzi, Luke Zettlemoyer, Percy Liang, Emmanuel Candès, and Tatsunori B Hashimoto. s1: Simple test-time scaling. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 20286–20332, 2025.arxiv.org/abs/2501.19393
  23. [29]Amrith Setlur, Chirag Nagpal, Adam Fisch, Xinyang Geng, Jacob Eisenstein, Rishabh Agarwal, Alekh Agarwal, Jonathan Berant, and Aviral Kumar. Rewarding progress: Scaling automated process verifiers for llm reasoning. In International Conference on Learning Representations, volume 2025, pp. 60808–60838, 2025.arxiv.org/abs/2410.08146
  24. [30]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.arxiv.org/abs/2402.03300
  25. [31]Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling llm test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314, 2024.arxiv.org/abs/2408.03314
  26. [32]Haoxiang Sun, Yingqian Min, Zhipeng Chen, Wayne Xin Zhao, and Ji-Rong Wen. Challenging the boundaries of reasoning: An olympiad-level math benchmark for large language models. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 17438–17457, 2026a.
  27. [33]Xian Sun, Wei Chow, Yingshuo Wang, Junhao Liu, Wei Gao, Qing Wu, and Lingdong Kong. Learning when to trust via selective context preference optimization, 2026b. URL https://arxiv.org/abs/2608.06377.
  28. [34]Xian Sun, Wei Gao, Yingshuo Wang, Lingdong Kong, Yanhang Li, Zhichao Fan, Zexin Zhuang, Wenlong Dong, Zhiyuan Zheng, Hrishikesh Paranjape, Abhishek Mandal, and Johnny R. Zhang. Beyond accuracy: Measuring bias acknowledgment in chain-of-thought reasoning for responsible ai evaluation, 2026c. URL https://arxiv.org/abs/2606.15127. ICML Workshop on AI4GOOD.
  29. [35]Theo Uscidda, Matthew Trager, Michael Kleinman, Aditya Chattopadhyay, Wei Xia, and Stefano Soatto. Latts: Locally adaptive test-time scaling. arXiv preprint arXiv:2509.20368, 2025.arxiv.org/abs/2509.20368
  30. [37]Pan Wang, Yihao Hu, Xiujin Liu, Jingchu Yang, Hang Wang, and Zihao Wen. Atlasva: Self-evolving visual skill memory for teacher-free vlm agents. arXiv preprint arXiv:2605.17933, 2026.arxiv.org/abs/2605.17933
  31. [38]Peiyi Wang, Lei Li, Zhihong Shao, Runxin Xu, Damai Dai, Yifei Li, Deli Chen, Yu Wu, and Zhifang 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), pp. 9426–9439, 2024.
  32. [39]Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171, 2022.arxiv.org/abs/2203.11171
  33. [40]Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in neural information processing systems, 35:24824–24837, 2022.arxiv.org/abs/2201.11903
  34. [41]Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3):229–256, 1992.
  35. [42]Siheng Xiong, Ali Payani, and Farnam Jafri. Enhancing long chain-of-thought reasoning through multi-path plan aggregation. arXiv preprint arXiv:2510.11620, 2025a.
  36. [44]Siheng Xiong, Ali Payani, and Faramarz Fekri. Enhancing language model reasoning with structured multi-level modeling. In International Conference on Learning Representations, volume 2026, pp. 36557–36610, 2026.arxiv.org/abs/2611.00616
  37. [45]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chenguang Huang, Chenxu LV, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.arxiv.org/abs/2505.09388
  38. [46]Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Tom Griffiths, Yuan Cao, and Karthik Narasimhan. Tree of thoughts: Deliberate problem solving with large language models. Advances in neural information processing systems, 36:11809–11822, 2023.arxiv.org/abs/2305.10601
  39. [48]Zhenru Zhang, Chujie Zheng, Yangzhen Wu, Beichen Zhang, Runji Lin, Bowen Yu, Dayiheng Liu, Jingren Zhou, and Junyang Lin. The lessons of developing process reward models in mathematical reasoning. In Findings of the Association for Computational Linguistics: ACL 2025, pp. 10495–10516, 2025.
  40. [50]Zheyuan Zhang, Manqing Mao, Hong Wang, Zhuoer Wang, Samson Koelle, Jie Yuan, Yanjun Lin, James Feng, Nikki Lijing Kuang, Yanfang Ye, et al. Optimizing what policies learn from: Recoverability-aware rollout intervention learning. arXiv preprint arXiv:2608.05080, 2026b.arxiv.org/abs/2608.05080
  41. [54]Zelin Zhao, Karan Samel, Binghong Chen, and lee song. Proto: Program-guided transformer for program-guided tasks. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 17021–17036. Curran Associates, Inc., 2021b. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/8d34201a5b85900908db6cae92723617-Paper.pdf.arxiv.org/abs/2110.00804
  42. [55]Zelin Zhao, Bo Yuan, Yuchen Zhu, Jaemoo Choi, and Yongxin Chen. RMA: an agentic system for research-level mathematical problems. In COLM 2026 The 2nd Workshop on Lifelong Agents: Learning, Aligning, and Evolving, 2026. URL https://openreview.net/forum?id=zQzDazhvAA.

Paper details

vlnc:W_mbrmmtav
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents