WorksComputer Science
Language Models Steer on Injected Uncertainty Tokens, but Fail to Self-Monitor In Situ
Abstract
Prompting language models to verbalize stepwise numerical confidence during generation is an increasingly popular approach for triggering backtracking and error correction in agentic reasoning. This strategy presupposes two capabilities: (1) in-situ monitoring fidelity (does confidence drop when an error occurs?) and (2) downstream steering control (does an uncertainty token causally steer the model to repair its error?). We evaluated four open-weights models (Qwen2.5-7B, Llama-3.1-8B, Mistral-7B, and Phi-4, 14.7B) across 15,200 math benchmark attempts, isolating 2,017 reasoning errors within each model's capability frontier. Applying 27,568 counterfactual continuations across these failure points, we demonstrate a consistent decoupling between monitoring and control. On monitoring, all four models fail to detect their own errors. Verbalized confidence does not distinguish mistake steps from sound reasoning, yielding near-chance within-position AUROCs between 0.500 and 0.561. Even at a model's first reasoning error, trajectory confidence remains saturated at 95.1% to 99.9%, with noticeable drops ( points) appearing on fewer than 9% of errors in Llama and under 1.6% in the other three models. In contrast, models respond readily to external uncertainty: injecting a low-confidence tag (10%) at the error step significantly increases downstream correction across all models (+3.7 to +22.5 points over format-matched 95% certainty; all ), reaching up to 38.5% under active rethinking instructions. However, injecting doubt onto already-correct steps causes models to discard valid reasoning, reducing solve rates by up to 22.8 points. Inference-time self-correction is thus bottlenecked by in-situ error detection rather than downstream repair capacity: models readily steer toward recovery when prompted with doubt, yet fail to self-monitor during generation.
Introduction
Iterative reasoning frameworks, tree-search decoders, and self-evaluating agents frequently rely on intermediate step assessments and verbalized evaluations to guide inference-time search, pruning, and backtracking [6, 13, 19]. In sequential Chain-of-Thought (CoT) reasoning, scaffolds increasingly prompt models to verbalize explicit confidence estimates after each step. These markers (ranging from local assessments to cumulative trajectory indicators ) are meant to let inference-time controllers decide whether to continue, backtrack, or prune. Relying on in-situ verbalized confidence for autonomous control motivates three core research questions:
RQ1 (In-Situ Monitoring Fidelity): Does verbalized confidence drop when a reasoning error occurs ()? Can step confidence () or cumulative progress () discriminate valid derivation steps from erroneous ones?
RQ2 (Post-Dip Dynamics and the Confidence Ratchet): Following a confidence dip, does the model exhibit an accelerated, unearned overconfidence rebound (a “confidence ratchet”) that systematically masks the error in subsequent steps?
RQ3 (Counterfactual Causal Steering and False-Positive Costs): Can externally injected uncertainty tokens at the failure boundary causally steer downstream recovery, and what collateral disruption does injection cause on valid reasoning? While prompting models to verbalize confidence can capture coarse self-knowledge or improve upon degraded conditional logit probabilities [6, 15], zero-shot verbalized confidence frequently suffers from severe overconfidence and poor calibration in aggregate [10, 18]. In parallel, studies on intrinsic self-correction show that language models struggle to correct their reasoning without external feedback [5], though Yen et al. [16] demonstrated that models can repair errors if provided with oracle step locations. However, prior work has not disentangled in-situ monitoring failure from downstream steering unresponsiveness: when an LLM fails to self-correct during generation, is it because structured verbalization fails to register errors in situ, or because the model cannot execute downstream repairs once uncertainty is established in context? Does this decoupling reflect an autoregressive commitment bias, an evaluative incapacity during generation, or a bottleneck of the verbalization format?
We investigate in-situ monitoring and causal steering across up to 550 mathematical reasoning problems from GSM8K [1] and the MATH-500 test subset [4, 9] across four open-weights instruction-tuned models spanning diverse developer lineages and scales: Alibaba (Qwen2.5-7B-Instruct), Meta (Llama-3.1-8B-Instruct), Mistral AI (Mistral-7B-Instruct-v0.3), and Microsoft (Phi-4, 14.7B). Using Claude Opus 5.5 as an automated step-level process judge (validated under the deployment condition with full step blocks and reference solutions), we evaluate:
In-Situ Monitoring & Ratchet Dynamics (RQ1 & RQ2; Phase 1): From 15,200 primary reasoning traces (4,400 each for Qwen and Llama; 3,200 each for Mistral and Phi-4), format validation and contested-item filtering yield 3,873
valid traces across contested problems (containing 2,017 verified error traces). Across these, we trace structured verbalized step confidence () and trajectory progress () during active in-situ generation, testing whether confidence drops at the first error (), evaluating step-level discrimination AUROC, and testing whether confidence rebounds abnormally following dips.
Counterfactual Causal Steering (RQ3; Phase 2): On contested items (problems where the model succeeded in and failed in of primary traces), we externally manipulate the confidence tag at across five counterfactual conditions (Native, High, Mid, Low, and a verbal Positive Control) and two prompt arms (Passive vs. Active), generating 27,568 continuations on error and matched clean prefixes.
In all, these observations indicate that structured verbalized confidence fails in agentic workflows not because models cannot condition on uncertainty tokens (which reliably steer downstream repair), but because active in-situ generation fails to detect errors when they occur.
Related Work
Verbalized Confidence and Model Calibration. Calibration of neural representations traditionally evaluates whether predicted class probabilities match empirical accuracy [3]. In autoregressive language models, Kadavath et al. [6] evaluated verbalized self-evaluation, demonstrating that models can express coarse calibration on question answering. Lin et al. [10] taught models to express uncertainty in words, while Tian et al. [15] established that explicitly prompting models for verbalized probabilities improves upon degraded conditional logit probabilities. However, Xiong et al. [18] found that across multi-step mathematical reasoning, verbalized confidence suffers from extreme overconfidence and poor calibration. Our work extends these findings by analyzing confidence at the step level during active generation, explicitly contrasting local step evaluation () against cumulative trajectory viability ().
Process Reward Models and Step Verification. Rather than evaluating complete derivations with outcome reward models (ORMs; [1]), Process Reward Models (PRMs; [9]) evaluate intermediate reasoning steps. Wang et al. [17] introduced Math-Shepherd to automate step-level verifier supervision via Monte Carlo tree rollouts. Zheng et al. [20] introduced ProcessBench to systematically benchmark automated process verifiers against human step annotations. While PRM research primarily focuses on training external verifiers to score candidate reasoning paths, our work addresses whether generating models can self-monitor in situ, and quantifies the operational precision required for external PRMs to steer generation effectively.
Intrinsic Self-Correction and Error Localization. Studies on intrinsic self-correction demonstrate that language models struggle to correct their reasoning without external feedback [5], often suffering from performance degradation when prompted to re-evaluate their answers. In a critical survey, Kamoi et al. [7] concluded that self-correction succeeds mainly when reliable
external feedback is available, pointing to feedback generation (i.e., error detection) as the key bottleneck. Tyen et al. [16] demonstrated that while models cannot locate their own reasoning errors, they can successfully correct them if provided with the exact error step location. To reduce performance degradation, Kumar et al. [8] introduced SCoRe, using multi-turn reinforcement learning to cultivate genuine self-correction. Our work clarifies this distinction by formally disentangling in-situ monitoring failure from downstream steering insensitivity.
Test-Time Scaling and Reasoning Scaffolds. Inference-time search algorithms (including Tree-of-Thought [19], Reflexion [13], and test-time compute scaling [14]) depend on step-level assessments to guide backtracking and branch pruning. Muenighoff et al. [11] showed that appending simple test-time rethink prompts (e.g., “Wait...”) yields effective test-time scaling. Concurrently, native reasoning models (e.g., OpenAI o1 [12], DeepSeek-R1 [2]) incorporate extensive internal exploration and backtracking developed through reinforcement learning. Our counterfactual steering analysis provides an empirical foundation for test-time intervention in standard instruction-tuned models, establishing break-even precision thresholds for external verification monitors in deployment.
Experimental Framework
Elicitation Protocol and Formulations
To elicit step-by-step reasoning and verbalized confidence without conflating local correctness with trajectory-level viability, models are prompted with structured formatting directives:
Step : reasoning
[Step confidence: X%]
[On-track: Y%]
Formally, for a derivation of steps, let:
denote the verbalized local confidence in step .
denote the verbalized cumulative (on-track) confidence that all steps so far, including step , are correct.
denote the index of the earliest reasoning error step (with denoting clean, error-free derivations).
While prompting for both and enables evaluating whether models distinguish local step correctness from cumulative trajectory viability during primary generation (Phase 1), our Phase 2 steering interventions deliberately set both tags concurrently to congruent values (e.g., 95%/95% or 10%/10%) to deliver an unambiguous uncertainty signal and prevent confounding from contradictory token cues (Appendix B). Downstream steering thus evaluates the joint causal effect of step and trajectory doubt, while isolating fine-grained permutations () remains an open direction.
Models and Datasets
We evaluate four widely-used open-weights instruction-tuned models across diverse architectures and parameter scales:
Qwen2.5-7B-Instruct (abbreviated Qwen)
Llama-3.1-8B-Instruct (abbreviated Llama)
Mistral-7B-Instruct-v0.3 (abbreviated Mistral)
Phi-4 (14.7B; abbreviated Phi-4)
Inference is executed via vLLM (max_model_len = 4096) with nucleus sampling (, top- = 0.95, = 8, new token cap max_tokens = 1,536). The evaluation problems span GSM8K test items [1] and the MATH-500 test subset [4, 9] spanning intermediate difficulty (Levels 2–4) across four subjects (algebra, prealgebra, number theory, and counting & probability; excluding Level 1 trivial arithmetic, Level 5 Olympiad outliers, and geometry/precalculus requiring spatial diagram interpretation). For Qwen and Llama, generations span 550 problems (400 GSM8K, 150 MATH-500); for Mistral and Phi-4, generations span 400 problems (250 GSM8K, 150 MATH-500), generating 4,400×2+3,200×2 = 15,200 primary traces. All final answers are graded with symbolic equivalence verification using math-verify.
Process Verification with Claude Opus 5.5
To localize across thousands of derivations, we employ claude-opus-5-5 via the Anthropic API under an optimized deployment protocol:
The judge is supplied with the problem statement, gold reference derivation, and gold final answer.
Student steps are presented in complete blocks with all confidence tags stripped, ensuring the judge is blinded to student self-evaluations.
Validation Gate and Audit: As documented in Table 1, the judge protocol underwent two empirical validations:
| Evaluation Benchmark | Exact Step | Within ±1 Step |
| ProcessBench Gate (≥ 60%) | 85.0% (85/100) | 94.0% (94/100) |
| Blind Human Hand-Audit | 93.3% (28/30) | 96.7% (29/30) |
Table 1. Process Judge Validation and Blind Hand-Audit. Accuracy on ProcessBench (, 100 error items) and blind human audit on contested experimental traces ().
ProcessBench Validation: On items from ProcessBench [20] (100 from the gsm8k split, 100 from math, random seed 0; 100 error traces, 100 clean traces), the judge achieved 85.0% exact error step accuracy (85/100 error traces localized exactly, 94.0% within ±1 step) and 97.0% clean accuracy (97/100 correctly identifying no error), passing our planned ≥ 60% validity threshold.
Blind Human Hand-Audit: An author blind hand-check of 30 experimental traces drawn from contested items (15 Qwen, 15 Llama, random seed 42, sampled from incorrect-answer valid traces and evaluated blind to judge labels) yielded 93.3% exact agreement (28/30; Wilson 95% CI: [78.7%, 98.2%]) and 96.7% within ±1 agreement (29/30; Wilson 95% CI: [83.3%, 99.4%]).
From 15,200 primary generations, format validation (verifying 1-indexed consecutive numbering, both confidence tags, and a boxed final answer) passed 3,656 traces in Qwen (83.1%), 4,110 traces in Llama (93.4%), 2,723 traces in Mistral (85.1%), and 2,830 traces in Phi-4 (88.4%). Contested items were identified strictly on format-valid traces requiring ≥ 4 valid samples and intermediate solve accuracy (15% ≤ accuracy ≤ 85%) via math-verify. This yielded 1,168 valid traces across contested items in Qwen (mean 6.60 valid samples/item), 1,326 valid traces across contested items in Llama (mean 7.21 valid samples/item), 1,209 valid traces across contested items in Mistral (mean 6.83 valid samples/item), and 170 valid traces across contested items in Phi-4 (mean 6.80 valid samples/item), totaling 3,873 valid contested traces. In Phi-4, higher baseline accuracy on GSM8K and Levels 2–4 of MATH-500 resulted in fewer items falling within the intermediate accuracy window, yielding 25 contested items that isolate problems at the model’s performance frontier. The process judge localized all 3,873 traces with zero parsing failures. Cross-classifying final-answer correctness against process localization identifies clean traces () comprising 675 traces in Qwen, 613 in Llama, 436 in Mistral, and 97 in Phi-4 (all correct), while error traces () comprise 489 in Qwen, 701 in Llama, 761 in Mistral, and 66 in Phi-4 (including 34 Qwen, 120 Llama, 72 Mistral, and 5 Phi-4 traces that reached correct answers despite earlier errors). Traces where math-verify graded the answer incorrect but the judge detected no step error occurred in only 4 Qwen (0.34%), 11 Llama (0.83%), 10 Mistral (0.83%), and 7 Phi-4 (4.1%) traces, alongside 1 Llama trace and 2 Mistral traces with exceeding trace length; these 35 rare discordant traces were excluded from analysis to preserve ground-truth integrity (Appendix § 14). Restricting counterfactual analysis to contested items ensures that failure to recover reflects trajectory steering difficulties rather than problems beyond the model’s achievable frontier.
RQ1: In-Situ Monitoring Fidelity
Flat Saturation and the Sample Funnel
Figure 1 and Table 2 present in-situ monitoring trajectories centered at the earliest error step (). Verbalized confidence exhibits consistent flat saturation across all four models:

Figure 1. Confidence Dynamics at the First Error Step (). Mean on-track confidence (, red circle) and step confidence (, blue square) centered at the earliest error step () with 95% bootstrap confidence intervals across four models: Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, Mistral-7B-Instruct-v0.3, and Phi-4 (14.7B). Sample sizes at relative steps exclude step-1 errors (, leaving Qwen, Llama, Mistral, and Phi-4 at ). Trajectories remain flatly saturated at 95–100% across reasoning errors.
| Metric | Qwen2.5-7B | Llama-3.1-8B | Mistral-7B | Phi-4 | |
| Tier 1: All Verified Error Traces ( Qwen, Llama, Mistral, Phi-4) | |||||
| Step Confidence at () | 95.3% [94.9, 95.8] | 97.6% [96.9, 98.3] | 99.3% [98.9, 99.7] | 99.9% [99.7, 100.0] | |
| On-track Confidence at () | 95.1% [94.6, 95.7] | 97.2% [96.3, 98.0] | 99.2% [98.5, 99.7] | 99.9% [99.7, 100.0] | |
| Clean-trace Mean | 95.5% | 99.3% | 99.8% | 100.0% | |
| Tier 2: Boundary-Evaluable Error Traces (; Qwen, Llama, Mistral, Phi-4) | |||||
| Boundary Drop () | −0.52 pts [−0.81, −0.24] | +1.01 pts [0.29, 1.74] | +0.35 pts [−0.20, 1.15] | 0.00 pts [0.00, 0.00] | |
| Dip Rate ( pts at ): Error vs. Control | 1.6% (7/429) vs. 1.4% | 8.7% (48/551) vs. 4.1% | 0.8% (5/646) vs. 0.3% | 0.0% (0/57) vs. 0.0% | |
| Tier 3: Within-Item Step-Matched Pairs ( Qwen, Llama, Mistral, Phi-4) | |||||
| Paired Contrast () | +0.36 pts [−0.10, 0.84] | +1.23 pts [0.10, 1.94] | +0.45 pts [−0.26, 1.51] | 0.00 pts [0.00, 0.00] | |
| Wilcoxon signed-rank test | |||||
| Coherence at Error Boundary () | |||||
| Local vs. Trajectory Gap () | +0.21 pts [−0.01, 0.47] | +0.47 pts [−0.19, 1.19] | +0.13 pts [−0.13, 0.48] | 0.00 pts [0.00, 0.00] | |
| Compounding Deficit () | +9.20 pts [8.02, 10.31] | +1.68 pts [0.73, 2.66] | +0.63 pts [0.15, 1.16] | +0.72 pts [0.00, 2.74] | |
| Step and Trace Discrimination (Pooled Across Steps) | |||||
| Step AUROC (, error vs. valid) | 0.508 [0.478, 0.539] | 0.600 [0.580, 0.620] | 0.526 [0.513, 0.539] | 0.502 [0.500, 0.507] | |
| Step AUROC (, error vs. valid) | 0.510 [0.480, 0.539] | 0.580 [0.561, 0.598] | 0.521 [0.510, 0.534] | 0.502 [0.500, 0.507] | |
| Position-only Baseline AUROC () | 0.692 [0.666, 0.721] | 0.708 [0.684, 0.732] | 0.739 [0.715, 0.762] | 0.706 [0.643, 0.780] | |
| Within-position AUROC (100 − | ) | 0.537 [0.500, 0.576] | 0.561 [0.544, 0.579] | 0.525 [0.512, 0.539] | 0.500 [0.500, 0.502] |
| Within-position AUROC (100 − | ) | 0.536 [0.500, 0.575] | 0.552 [0.535, 0.570] | 0.522 [0.510, 0.535] | 0.500 [0.500, 0.502] |
| Trace AUROC (min → wrong) | 0.523 [0.485, 0.558] | 0.550 [0.523, 0.577] | 0.527 [0.512, 0.541] | 0.508 [0.500, 0.528] | |
| RQ2: Post-Dip Recovery Regression on Dips ( Pooled Dips) | |||||
| RQ2 Dips ()† | 6 / 19 (exploratory) | 44 / 44 (regression sample) | 3 / 1 (exploratory) | 0 / 0 (exploratory) | |
| RQ2 Recovery Slope () | [−0.99, 0.41] | [−0.27, 0.12] | — | — | |
| -value | — | — | |||
| Pooled RQ2 Effect () | [−0.26, 0.12], (; model FE: , ) |
Table 2. In-Situ Monitoring Metrics at Failure Boundary (). Evaluated on contested items across three nested sample tiers across four models (Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, Mistral-7B-Instruct-v0.3, and Phi-4, 14.7B): Tier 1: all verified error traces ( Qwen, 701 Llama, 761 Mistral, 66 Phi-4; , ); Tier 2: boundary-evaluable traces with ( Qwen, 551 Llama, 646 Mistral, 57 Phi-4; , dip rates); Tier 3: within-item step-matched pairs ( Qwen, 451 Llama, 458 Mistral, 44 Phi-4; , where Tier 3 error means are , +1.38, +0.58, 0.00 pts and clean control means are , +0.15, +0.14, 0.00 pts). Clean-trace Mean is averaged across all steps of clean traces on contested items ( Qwen, 613 Llama, 436 Mistral, 97 Phi-4). Control dip rates evaluate matched clean transitions at depth . Coherence evaluates Tier 1. Step and trace discrimination is pooled across all steps in each model; steps are labeled off-track (errors) and as on-track. Within-position AUROC evaluates discrimination within each step index , weighted by stratum sample size , stripping out mechanical step-depth confounding. Brackets report 95% item-clustered bootstrap confidence intervals (10,000 resamples). *Two-sided Wilcoxon signed-rank test on unclustered matched pairs (; item-aggregated differences yield for Qwen, for Llama, for Mistral, for Phi-4). †RQ2 evaluates subsequent-step recovery across non-terminal dips ().
Sample Filtering Funnel: Traces are analyzed across three nested tiers based on data requirements: (i) All Verified Errors ( = 489 Qwen, 701 Llama, 761 Mistral, 66 Phi-4): all contested error traces verified , used for event-study trajectories in Figure 1 and boundary confidences (); (ii) Boundary Drop Traces (; = 429 Qwen, 551 Llama, 646 Mistral, 57 Phi-4): traces with an antecedent step required to evaluate boundary drop (excluding immediate step-1 blunders); and (iii) Step-Matched Pairs ( = 379 Qwen, 451 Llama, 458 Mistral, 44 Phi-4): traces paired with a clean transition at the exact same step depth on the same problem item to compute (averaging clean control transitions for that item). All bootstrap confidence intervals cluster by problem item ( = 177 Qwen, 184 Llama, 177 Mistral, 25 Phi-4;
10,000 resamples). The two-sided Wilcoxon signed-rank test evaluates paired transitions across all matched traces (); aggregating differences by problem item yields consistent rank patterns ( for Qwen, for Llama, for Mistral, and for Phi-4).
At the earliest reasoning error step , mean step confidence is 95.3% for Qwen, 97.6% for Llama, 99.3% for Mistral, and 99.9% for Phi-4. Trajectory on-track confidence remains at 95.1% (Qwen), 97.2% (Llama), 99.2% (Mistral), and 99.9% (Phi-4).
Raw boundary drops, , are minimal: −0.52 pts in Qwen, +1.01 pts in Llama, +0.35 pts in Mistral, and 0.00 pts in Phi-4.
Paired Control Analysis: Within the matched Tier 3 sample, error transitions have mean pts for Qwen (+1.38 Llama, +0.58 Mistral, 0.00 Phi-4), while clean control transitions have mean pts for Qwen (+0.15 Llama, +0.14 Mistral, 0.00 Phi-4). In Qwen, the apparent sign difference between raw drops (−0.52 pts) and paired contrasts ( pts) is driven by clean control drift: clean traces slightly increase confidence at depth ( pts), so error traces drop relative to clean baselines despite both exhibiting negative raw drops. Testing paired differentials yields +0.36 pts for Qwen (, Holm-adjusted ), +1.23 pts for Llama (, Holm-adjusted ), +0.45 pts for Mistral (, Holm-adjusted ), and 0.00 pts for Phi-4 (), where the Holm adjustment family spans the three primary research endpoints within each model (: RQ1 , RQ2 , RQ3 Low vs. High). In Qwen, the divergence between the item-clustered bootstrap CI ([−0.10, 0.84], spanning zero) and the trace-level Wilcoxon test () reflects both cluster-robust variance and the difference between the mean and rank median on distributions with point masses at zero. While Qwen and Llama show small positive rank shifts, point estimates remain near zero (≤ 1.23 pts), far too subtle to support operational filtering.
Absence of Dips: A perceptible confidence dip on cumulative on-track confidence ( pts at ) occurs in only 1.6% (7/429) of Qwen, 8.7% (48/551) of Llama, 0.8% (5/646) of Mistral, and 0.0% (0/57) of Phi-4 error traces. Thus, over 91% of error steps in Llama and over 98% in the other three models pass without any perceptible drop in verbalized confidence.
Local-vs-Trajectory Gap and Failure to Compound Uncertainty
In multi-step derivations where an unrecovered error compromises subsequent reasoning, cumulative trajectory viability is logically bounded by constituent step correctness. Under a marginal interpretation, where , the upper Fréchet bound (monotonicity bound) requires . Under a conditional interpretation, where , the probability chain rule yields exactly.
In the marginal interpretation, all four models exhibit a local-versus-trajectory gap () near zero (+0.21 pts in Qwen, +0.47 pts in Llama, +0.13 pts in Mistral, and 0.00 pts in Phi-4; Table 2). Models do not accumulate uncertainty across steps: tracks local step confidence almost identically rather than decaying over time. Under the conditional chain-rule interpretation, exceeds across models (+9.20 pts in Qwen, +1.68 pts in Llama, +0.63 pts in Mistral, +0.72 pts in Phi-4). Rather than tracking accumulating trajectory risk, models treat as an uncalibrated repetition of local step confidence.
Step and Trace Discrimination vs. Step-Depth Confounding. Across all pooled steps (labeling steps in contested traces as off-track and as on-track), step-level error discrimination via trajectory uncertainty () yields an AUROC of 0.508 for Qwen, 0.600 for Llama, 0.526 for Mistral, and 0.502 for Phi-4 (Table 2). While labeling as off-track aligns with cumulative trajectory invalidity (), it conflates downstream algebraic deduction with error detection for local step confidence (): steps following often execute valid algebraic deductions from an earlier erroneous value, so high local confidence on those steps is logically valid rather than a monitoring failure. Nonetheless, evaluating local step uncertainty () yields similarly degraded AUROCs (0.510, 0.580, 0.521, and 0.502).
Because labeling all steps as off-track mechanically concentrates errors at larger step indices , a naive baseline heuristic using solely the step index achieves AUROCs between 0.692 and 0.739 across models. Conditioning on step index via within-position AUROC (computing AUROC within each step index and weighting by stratum sample size ) removes this depth artifact, reducing discrimination to 0.537 in Qwen, 0.561 in Llama, 0.525 in Mistral, and 0.500 in Phi-4 for trajectory confidence , and 0.536 (Qwen), 0.552 (Llama), 0.522 (Mistral), and 0.500 (Phi-4) for local step confidence (Table 2). A sensitivity analysis excluding the 231 error traces that recovered downstream to correct answers yields identical near-chance within-position AUROCs (), confirming that label contamination does not drive the monitoring failure. In all, these results show that in-situ verbalized numerical confidence fails to discriminate valid reasoning steps from errors.
RQ2: Testing the Confidence Ratchet
The Confidence Ratchet hypothesis posits that if an LLM registers doubt at an error step ( pts), autoregressive continuation momentum drives an unearned overconfidence rebound in subsequent steps, “ratcheting” confidence back up while compounding the error. We evaluate the 1-step recovery ratio (winsorized to ) following any dip at step , fitting an item-clustered OLS regression:
where for dips at the earliest error step , and 0 for baseline dips in clean traces (controlling for regression to the mean). Baseline clean dips were exhaustively collected across non-terminal steps () in clean contested traces ( in Qwen, 44 in Llama, 1 in Mistral, and 0 in Phi-4). An active ratchet predicts (accelerated rebound specifically after errors). In Qwen, error dips are rare (), yielding exploratory estimates (, ). In Llama (, ), error dips confer zero accelerated rebound (, 95% CI: to 0.12, ). In Mistral () and Phi-4 (), error dips are essentially absent. Across all four models combined ( dips; 53 error dips, 64 clean dips; Table 2), a pooled regression yields (95% CI: to 0.121, ), and incorporating model fixed effects yields (95% CI: to 0.09, , ). Because pre-dip confidence is heavily saturated near 100% across models, recovery is mechanically bounded near 1.0, and both error and clean dips naturally regress to the mean without accelerated overconfidence.
We find no evidence of an active confidence ratchet. Statistical inference on is powered primarily by Llama-3.1-8B, whereas in Qwen, Mistral, and Phi-4, the ratchet is ruled out operationally by the near-total absence of initial dips (). The pooled 95% CI upper bound () indicates that error dips do not accelerate confidence recovery beyond baseline fluctuations. Rather than an active ratchet mechanism that masks errors, verbalized dips occur rarely and reflect transient token fluctuations that undergo standard regression to the mean without spurring downstream recovery.
RQ3: Counterfactual Causal Steering
Having shown that in-situ verbalized confidence rarely registers errors, we investigate the downstream causal mechanism: can models condition on uncertainty tokens if injected externally at the error location?
Counterfactual Intervention Protocol
From contested items where the model solved the problem in at least one trace but failed on others, we extract prefix derivations truncated immediately after the reasoning text of step (). We then append five counterfactual tag conditions:
Native: Original verbalized tags .
High: Forced certainty (both tags set to 95%).
Mid: Ambiguous uncertainty (both tags set to 50%).
Low: Marked uncertainty (both tags set to 10%).
Positive Control: Retains native tags and appends a verbal rethink prompt (“Wait, I think Step contains an error.”) [11].
Each condition is crossed with two prompt arms (sharing the same system prompt):
Passive Arm: Standard formatting instructions.
Active Arm: The formatting instructions additionally include an explicit conditional rethinking rule: “Use your On-track rating: if it is below 50%, re-examine the previous steps and fix any error before continuing.”
For error prefixes, we evaluate stratified prefixes per model (80 prefixes across contested items for Qwen, Llama, and Mistral; 25 prefixes for Phi-4 spanning all available contested items) crossed with 10 experimental cells (5 tag conditions 2 prompt arms), sampling continuations () per cell, yielding 6,400 continuations each for Qwen, Llama, and Mistral, and 2,000 for Phi-4 (21,200 error continuations total). To quantify false-positive disruption, depth-matching and eligibility filtering () yield a matched sample of clean prefixes (61 prefixes across 56 items in Qwen; 63 across 63 items in Llama; 57 across 55 items in Mistral; 18 across 17 items in Phi-4) crossed with 4 clean cells (High vs. Low Passive vs. Active, ), generating 1,952 clean continuations in Qwen, 2,016 in Llama, 1,824 in Mistral, and 576 in Phi-4 (6,368 clean continuations). In total, the counterfactual dataset comprises 27,568 continuations across the four models (8,352 Qwen, 8,416 Llama, 8,224 Mistral, 2,576 Phi-4). All regression models and standard errors cluster at the problem item level to account for correlation among repeated continuations.
Causal Steering Results
To model population-averaged treatment effects while adjusting standard errors for intra-problem correlation, we estimate Generalized Estimating Equations (GEE) with a logit link and exchangeable working correlation:
where index indexes the problem item cluster and indexes the continuation observation within item . The reference baseline category is High certainty (95%) in the Passive arm, , and represents the focal Low Active interaction reported in Table 3. Condition-specific active contrasts are estimated directly from this fully saturated model.
Table 3: Counterfactual Correction Rates and Item-Clustered GEE Logistic Contrasts. Correction rates (%) across 27,568 continuations with 95% cluster-robust CIs. Contrasts reflect log-odds differences (with item-clustered SE) from Generalized Estimating Equations (GEE) logistic models with exchangeable working correlation, clustering by problem item. The Recovery Share relative to Positive control, , is computed from unrounded continuation counts and measures the proportion of explicit rethink recovery achieved by the Low numeric tag relative to format-matched High certainty.
| Model | Condition | Passive Arm | Active Arm |
| Qwen2.5-7B-Instruct | Native | 21.4% [14.3, 29.4] | 26.2% [18.6, 34.6] |
| High (95%) | 21.2% [14.1, 29.1] | 23.0% [15.8, 30.4] | |
| Mid (50%) | 25.9% [19.1, 33.7] | 37.2% [28.6, 46.8] | |
| Low (10%) | 27.5% [20.6, 35.0] | 38.0% [29.8, 47.1] | |
| Positive Control (“Wait...”) | 37.0% [29.5, 45.2] | 39.1% [31.5, 47.0] | |
| Llama-3.1-8B-Instruct | Native | 13.4% [8.9, 18.3] | 15.5% [10.9, 20.5] |
| High (95%) | 10.6% [6.1, 15.6] | 16.6% [11.9, 21.7] | |
| Mid (50%) | 16.1% [11.4, 21.2] | 23.9% [19.2, 28.6] | |
| Low (10%) | 20.8% [16.6, 25.2] | 32.5% [27.2, 38.0] | |
| Positive Control (“Wait...”) | 35.2% [29.2, 41.6] | 33.6% [28.1, 39.4] | |
| Mistral-7B-Instruct-v0.3 | Native | 6.6% [3.9, 9.5] | 6.9% [3.9, 10.5] |
| High (95%) | 4.7% [2.5, 7.3] | 6.9% [4.2, 10.0] | |
| Mid (50%) | 7.8% [4.8, 10.9] | 7.5% [4.4, 11.1] | |
| Low (10%) | 8.4% [4.8, 12.5] | 9.4% [6.1, 13.0] | |
| Positive Control (“Wait...”) | 13.3% [8.9, 18.1] | 14.2% [10.0, 18.6] | |
| Phi-4 (14.7B) | Native | 3.0% [0.0, 6.7] | 2.0% [0.0, 5.2] |
| High (95%) | 2.0% [0.0, 5.4] | 3.5% [0.0, 7.7] | |
| Mid (50%) | 23.0% [9.4, 38.9] | 24.0% [8.2, 41.8] | |
| Low (10%) | 24.5% [12.5, 38.0] | 38.5% [20.0, 57.3] | |
| Positive Control (“Wait...”) | 43.0% [24.1, 62.5] | 42.5% [22.7, 63.0] | |
| Clustered GEE Contrast | Qwen2.5-7B | Llama-3.1-8B | Mistral-7B |
| Low vs. High (Passive Arm) | +0.334 (0.109), | +0.791 (0.188), | +0.628 (0.205), |
| Low vs. High (Active Arm) | +0.709 (0.145), | +0.886 (0.157), | +0.337 (0.159), |
| Low × Active Interaction | +0.375 (0.154), | +0.095 (0.162), | −0.291 (0.222), |
| Mid vs. High (Passive Arm) | +0.255 (0.121), | +0.478 (0.143), | +0.544 (0.208), |
| Low vs. Mid (Passive Arm) | +0.079 (0.081), | +0.313 (0.137), | +0.084 (0.170), |
| Positive vs. Native (Passive) | +0.758 (0.217), | +1.251 (0.236), | +0.780 (0.237), |
| Active Main Effect (High) | +0.098 (0.122), | +0.513 (0.176), | +0.406 (0.198), |
| Recovery Share (Passive) | 0.396 | 0.414 | 0.436 |
| Recovery Share (Active) | 0.932 | 0.936 | 0.340 |
Table 3.
As shown in Table 3 and Figure 2, the results confirm consistent causal steering across all four models:

Figure 2. Counterfactual Causal Steering Across Conditions and Arms for Four Models. Percentage of continuations achieving correct final answers after counterfactual tag injection at , with 95% cluster-robust confidence intervals across Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, Mistral-7B-Instruct-v0.3, and Phi-4 (14.7B). Evaluated across 27,568 continuations on error and clean prefixes. Injecting Low (10%) confidence tags significantly increases correction rates over High (95%) certainty tags across all four models ( in passive arms; in active arms).
Significant Passive Steering across Lineages: Without prompt modification, unperturbed Native continuations from establish baseline recovery from alternative path resampling (21.4% Qwen, 13.4% Llama, 6.6% Mistral, 3.0% Phi-4). Externally injecting a Low (10%) confidence tag raises passive correction across all models: reaching 27.5% in Qwen (+6.3 pts over High, , ), 20.8% in Llama (+10.2 pts over High, , ), 8.4% in Mistral (+3.7 pts over High, , ), and 24.5% in Phi-4 (+22.5 pts over High, , ). All four passive contrasts remain statistically significant after Holm adjustment (). Because High tags share identical syntax, this advantage confirms genuine uncertainty steering rather than generic token disruption.
Graded Sensitivity vs. Threshold Responsiveness: The Mid (50%) condition produces intermediate correction rates (25.9% Qwen, 16.1% Llama, 7.8% Mistral, 23.0% Phi-4). In Llama, Low significantly exceeds Mid (, ), demonstrating fine-grained sensitivity to uncertainty magnitude. In Qwen, Mistral, and Phi-4, the difference between Low and Mid is modest (, ), indicating that reducing verbalized confidence to 50% already engages the majority of passive recovery.
Conditional Instruction-Following (Active Arm): Under active instructions directing models to re-examine steps when On-track drops below 50%, Low tags increase correction to 38.0% in Qwen, 32.5% in Llama, 9.4% in Mistral, and 38.5% in Phi-4. In Qwen, the interaction between Low confidence and Active prompting is super-additive (, ). In Phi-4, active Low tags yield a marked +35.0 pt gain over active High certainty (3.5% 38.5%, , ). In Mistral,
recovery is more constrained (6.9% → 9.4%), reflecting lower baseline repair capacity on contested items.
Low-Confidence Tag with Threshold Instruction vs. Positive Control: The injected Low tag provides no diagnosis of what went wrong or how to fix it. Under active instruction, combining an uninformative Low tag with the threshold rethinking rule achieves 38.0% in Qwen, 32.5% in Llama, and 38.5% in Phi-4, matching their positive control prompts (“*Wait, I think Step contains an error”; 39.1%, 33.6%, and 42.5% within 1.1 to 4.0 percentage points. The Recovery Share reaches 0.932 in Qwen, 0.936 in Llama, and 0.897 in Phi-4, compared to 0.40–0.55 under passive prompting.
Behavioral Mechanisms and Reconsideration Limits: Uncertainty tags strongly stimulate linguistic backtracking (Table 4). In passive arms, Low tags increase backtracking from 3.8% → 12.5% in Qwen, 17.3% → 33.9% in Llama, 4.5% → 10.9% in Mistral, and 20.5% → 44.5% in Phi-4. Under active instructions, backtracking surges to 46.7% in Qwen, 92.3% in Llama, 29.5% in Mistral, and 83.5% in Phi-4. However, solve rates remain below 40% across all models and conditions, indicating that while uncertainty successfully triggers reconsideration, language models frequently struggle to execute correct mathematical repairs without external guidance.
| Model | Tag | Backtrack (P/A) | Trunc (P/A) |
| Qwen2.5-7B | Native | 1.4% / 7.2% | 0.2% / 0.5% |
| High (95%) | 3.8% / 6.7% | 0.0% / 0.3% | |
| Mid (50%) | 8.6% / 49.4% | 0.2% / 0.5% | |
| Low (10%) | 12.5% / 46.7% | 0.2% / 0.5% | |
| Positive | 6.9% / 23.0% | 0.2% / 0.0% | |
| Llama-3.1-8B | Native | 7.7% / 25.2% | 5.0% / 8.0% |
| High (95%) | 17.3% / 49.1% | 5.9% / 8.9% | |
| Mid (50%) | 23.1% / 83.9% | 5.8% / 10.2% | |
| Low (10%) | 33.9% / 92.3% | 8.8% / 9.8% | |
| Positive | 18.4% / 84.7% | 7.0% / 12.0% | |
| Mistral-7B | Native | 4.4% / 3.8% | 0.5% / 0.5% |
| High (95%) | 4.5% / 4.2% | 0.5% / 0.5% | |
| Mid (50%) | 5.3% / 7.8% | 0.3% / 0.8% | |
| Low (10%) | 10.9% / 29.5% | 0.3% / 1.6% | |
| Positive | 16.2% / 18.9% | 0.6% / 1.7% | |
| Phi-4 (14.7B) | Native | 0.5% / 2.0% | 2.0% / 1.0% |
| High (95%) | 20.5% / 17.0% | 1.5% / 1.5% | |
| Mid (50%) | 25.0% / 70.5% | 1.0% / 3.0% | |
| Low (10%) | 44.5% / 83.5% | 1.0% / 4.0% | |
| Positive | 23.0% / 27.0% | 2.0% / 2.0% |
Table 4. Downstream Behavior on Error Prefixes. Percentage of continuations exhibiting backtracking and truncation under Passive (P) vs. Active (A) prompt arms across all four models.
False-Positive Cost and Break-Even Monitor Precision
Real-world inference monitors cannot assume perfect oracle precision. When an external monitor flags a candidate step, it risks false-alarming on a sound derivation. To evaluate this operational trade-off, we injected counterfactual tags on matched clean prefixes (valid derivations truncated at identical depths). Relative to the format-matched High (95%) baseline, injecting Low on clean prefixes reduces retention from 92.6% → 89.1% in Qwen (passive, ), 81.8% → 68.8% in Llama (passive, ), 69.7% → 62.1% in Mistral (passive, ), and 93.8% → 75.7% in Phi-4 (passive, ). Under active rethinking, retention declines further to 84.0% in Qwen, 53.4% in Llama, and 58.3% in Mistral, whereas in Phi-4 retention under Low tags remains at 81.2% (with the High vs. Low active retention drop remaining statistically non-significant, , ). This disruption is mediated by unnecessary reconsideration: on clean prefixes, Low tags cause backtracking to surge to 42.0% in Qwen, 91.7% in Llama, 23.7% in Mistral, and 83.5% in Phi-4 under active instruction (versus High-tag baselines of ≤ 4.5%).
Analytical Break-Even Monitor Precision
These opposing dynamics (recovery gains on errors vs. disruption on clean prefixes) yield a direct analytical threshold for deployment. Let an external monitor flag steps with precision . An intervention policy that injects a Low tag upon a flag yields expected net accuracy change , where on error prefixes and on clean prefixes. Setting defines the minimum monitor precision for net positive gain:
Break-even precision varies considerably across models and operating modes (Table 5):
| Model | Tag / Metric | Passive | Active |
| Qwen2.5-7B | High (95%) | 92.6% [89.4, 95.5] | 89.8% [85.2, 93.5] |
| Low (10%) | 89.1% [85.0, 92.8] | 84.0% [78.4, 88.9] | |
| Contrast () | |||
| -value | |||
| Break-Even | 35.8% | 27.7% | |
| Llama-3.1-8B | High (95%) | 81.8% [75.2, 87.9] | 76.2% [70.2, 81.9] |
| Low (10%) | 68.8% [61.7, 75.6] | 53.4% [47.0, 59.9] | |
| Contrast () | |||
| -value | |||
| Break-Even | 56.0% | 58.9% | |
| Mistral-7B | High (95%) | 69.7% [61.4, 77.4] | 69.3% [61.0, 77.0] |
| Low (10%) | 62.1% [52.8, 71.0] | 58.3% [49.8, 66.5] | |
| Contrast () | |||
| -value | |||
| Break-Even | 67.3% | 81.4% | |
| Phi-4 (14.7B) | High (95%) | 93.8% [83.1, 100.0] | 90.3% [79.2, 97.7] |
| Low (10%) | 75.7% [62.5, 88.1] | 81.2% [65.6, 93.1] | |
| Contrast () | |||
| -value | |||
| Break-Even | 44.6% | 20.5% |
Table 5. False-Positive Cost on Clean Prefixes and Break-Even Precision. Retention rate (%) denotes continuations remaining correct after tag injection. Break-even precision is the minimum monitor precision required for net positive accuracy gain.
Qwen2.5-7B: Clean retention is resilient ( passive, active), yielding break-even thresholds of (passive) and (active). An external monitor can be incorrect more than 70% of the time under active rethinking and still achieve net positive gains.
Llama-3.1-8B: Substantial collateral disruption on clean steps ( passive, active) demands higher monitor precision: (passive) and (active).
Mistral-7B: Modest error recovery ( passive, active) combined with retention loss ( passive, active) leads to the most stringent thresholds: (passive) and (active).
Phi-4 (14.7B): Strong error recovery ( passive, active) offsets retention loss, yielding (passive) and a lenient under active rethinking. We caution that this 20.5% threshold represents an upper bound on error-tolerance under oracle single-step localization, where the underlying active retention contrast was statistically non-significant ().
These model-specific operating points demonstrate that external process monitors must be calibrated against base-model collateral sensitivity to prevent unintended accuracy degradation.
Finally, Equation (3) models an isolated binary intervention at an oracle error step . In sequential multi-step deployment where an external PRM evaluates each step , a monitor with per-step false-alarm rate has opportunities to trigger premature false alarms on valid antecedent steps before reaching . Across a derivation, valid prefixes survive without false disruption with probability . For example, with a per-step false-alarm rate of , a 6-step derivation has only probability of reaching intact, compounding an extra 22.6 pt clean-retention penalty before any error occurs. Real-world PRMs must therefore maintain high per-step specificity or employ conservative triggering thresholds to prevent compounding false alarms across multi-step reasoning.
Discussion and Implications
Decoupling Monitoring from Recovery
Our results demonstrate a clear decoupling between monitoring and control in these open-weights instruction-tuned models: in-situ verbalized confidence fails to register reasoning errors, yet models remain causally sensitive to uncertainty tokens once placed in context.
The failure of in-situ monitoring could theoretically arise from three candidate mechanisms:
Autoregressive Next-Token Commitment: Generating reasoning tokens that assert a mathematical premise creates an attractor in generative token space, biasing subsequent
distributions toward affirming the sound completion of the prior step. In this view, the model is blinded in situ by its own generative momentum; injecting an external uncertainty token breaks this momentum by providing a negative conditioning constraint.
Evaluative Incapacity: Dense 7B–15B instruction-tuned models might fundamentally lack the reasoning depth to verify complex mathematical transitions. However, evaluating Phi-4 (14.7B), a model with substantially higher baseline mathematical problem-solving performance, reveals that within-position step AUROC remains at chance (0.500 [0.500, 0.502]), and perceptible confidence dips remain absent (0.0%). Doubling parameter scale from 7B to 14.7B does not resolve in-situ monitoring failure.
Verbalization Format Bottleneck: Models may register uncertainty internally (e.g., via higher token predictive entropy or degraded token log-probabilities), but fail to project this latent signal onto calibrated verbalized numerical tags. Our Phase 2 steering results establish that models possess downstream conditional repair capacity once an error is externally localized and flagged with uncertainty. However, downstream repair does not imply in-situ evaluative verification capacity: when low confidence is injected onto clean prefixes, models unthinkingly backtrack and suffer substantial performance losses. Whether in-situ monitoring failure reflects an autoregressive commitment bias, an intrinsic inability to detect errors without external prompts, or a verbalization format bottleneck remains an open question that motivates detached evaluation controls.
Implications for Agent Scaffolds and PRMs
Do Not Rely on In-Situ Self-Pruning: Self-reported step confidence generated in the same pass cannot serve as an autonomous filter ( pts, pts, within-position AUROC –); scaffolds pruning branches on self-confidence filter on noise.
External Monitoring with Prefix Injection: Because models respond significantly to Low confidence tags across all four lineages (), external Process Reward Models (PRMs; [9]) could inject synthetic Low tags into context at flagged steps, while carefully accounting for model-specific false-positive sensitivity.
Model-Specific Precision Thresholding: The operational threshold for external PRMs depends on base-model resilience and controller design. For resilient models like Qwen and Phi-4 (where clean retention remains high), monitors requiring precision – under active rethinking suffice for net positive gains. For sensitive models like Llama (–) and Mistral (–), where doubt induces substantial collateral disruption or limited recovery on sound steps, monitors must maintain high precision to avoid net degradation. In sequential generation, controllers should combine high-precision gating with dynamic rethinking injection to prevent compounding false alarms across multi-step trajectories.
Limitations and Future Work
Several methodological boundaries circumscribe our findings:
In-Situ Generation vs. Detached Self-Evaluation Controls: We evaluate in-situ self-evaluation during active single-pass generation. A direct diagnostic control is a detached self-evaluation pass, where a model is presented with its own generated prefix derivations (truncated at and stripped of prior confidence tags) in a clean evaluation prompt. Comparing in-situ confidence against detached self-verification would directly isolate generative commitment bias from general evaluation incapacity.
Verbalization Format vs. Intrinsic Token Logprob Baselines: We evaluated structured verbalization prompts (bracketed percentages). Because primary derivations were generated via vLLM, token-level log-probabilities and sequence predictive entropy are accessible at zero additional inference overhead. Future investigations should benchmark verbalized step AUROC directly against intrinsic token logprobs and predictive entropy across the tokens of step to determine whether latent distributions detect errors that verbalized numbers obscure.
Model Scale and Reasoning Architectures: Evaluations focus on dense open-weights instruction-tuned models spanning 7B to 14.7B parameters (Qwen2.5-7B, Llama-3.1-8B, Mistral-7B, and Phi-4). While representative of open-weights models, findings do not necessarily extrapolate to 70B+ architectures or native RL reasoning models (e.g., DeepSeek-R1 [2], OpenAI o1 [12]).
Process Judge Localization Noise and Sensitivity Bounds: Error boundaries () relied on an automated judge (Claude Opus 5.5; on ProcessBench, 85.0% exact step accuracy, 94.0% within , and 97.0% clean accuracy; in author blind audits, 93.3% exact [Wilson 95% CI: [78.7%, 98.2%]] and 96.7% within [83.3%, 99.4%]). Sensitivity analysis across confirms localization noise cannot explain the absence of detection: on-track confidence remains flatly saturated across all models (94.8% 95.1% 95.0% in Qwen; 97.9% 97.2% 97.2% in Llama; 99.4% 99.2% 99.2% in Mistral; and 99.9% 99.9% 99.9% in Phi-4), with boundary drops remaining minimal across all models (paired within-trace pts). Localization noise cannot mask an unobserved confidence dip.
Intervention Timing and Horizon: Tags were appended at boundary . While clean prefixes bound false-positive costs, we did not test injections prior to errors () or across arbitrary steps. Future work should measure how steering degrades across delayed horizons ().
Conclusion
Across 15,200 primary traces and 27,568 counterfactual continuations across four open-weights model lineages (Qwen2.5-7B, Llama-3.1-8B, Mistral-7B, and Phi-4), our results indicate that within the verbalized percentage format evaluated across open-weights instruction-tuned models, the failure of self-correction in Chain-of-Thought is primarily an in-situ monitoring bottleneck rather than downstream unresponsiveness. While models struggle to correct errors even when localized (< 40% solve rates), external uncertainty tokens measurably steer generation away from erroneous paths. Decoupling error detection (delegated to external monitors) from error recovery (steered via counterfactual prefix injection) points toward a practical architecture for more reliable inference-time reasoning.
Statements and Disclosures
Code and Data Availability
All experimental generation scripts, prompt templates, ProcessBench validation runs, raw model derivations (15,200 primary traces and 27,568 continuations), judge evaluations, and analysis notebooks are available at: https://github.com/dtheron/confidence-ratchet.
Compute Resources
All primary trace generations and counterfactual continuations were executed using vLLM on NVIDIA A100-SXM4-80GB GPUs (via Google Colab). Process judge step localization was conducted via the Anthropic Claude API using claude-opus-5-5. Total GPU compute across Phase 1 and Phase 2 was approximately 25 GPU hours.
Broader Impacts and Ethics
This work investigates the reliability of confidence estimation in automated reasoning systems. Uncalibrated overconfidence presents safety and reliability risks when autonomous language agents act upon erroneous deductions in high-stakes domains (e.g., automated science, financial analysis, software engineering). By demonstrating that verbalized self-confidence cannot be relied upon for autonomous self-pruning and quantifying the false-positive costs of external intervention, our findings provide concrete guardrails for designing safer, more reliable agent architectures.
Author Contributions and LLM Usage
The author conceived the study and research questions, and designed the experimental framework. Code was written partially by the author, and partially with the assistance of Google’s Gemini 3.8 Flash. Anthropic’s Claude Opus 5.5 was used as an automated process judge, with validations performed by the author. Statistical analyses and manuscript drafting were conducted by the author. Opus 5.5 and Google’s Deep Re-view (using Gemini Argon) were used to assist with LaTeX formatting and critique + proofreading, respectively.
Prompts and Elicitation Protocol
Phase 1 Primary Generation Prompt
Models are presented with the problem statement preceded by the following system directive and user formatting instructions:
[System]
You are an expert mathematical problem solver.
[User]
Solve the following problem step by step.
Format rules:
Write each step on a new line as “Step : reasoning”, numbering from 1.
Immediately after each step, write these two lines: [Step confidence: X%] [On-track: Y%]
= your confidence (0–100) that THIS step, taken on its own, is correct.
= your confidence (0–100) that ALL steps so far, including this one, are correct.
After the last step and its two confidence lines, write:
Final Answer: \boxed{\langle answer\rangle}
Problem: {problem}
Phase 2 Passive vs. Active Arm Prompts
In Phase 2 counterfactual continuation experiments, both arms use the same system prompt (“You are an expert mathematical problem solver.”); the arms differ only in the user format instructions:
Passive Arm Prompt: Uses the Phase 1 format instructions unchanged.
Active Arm Prompt: Inserts the conditional rethink rule directly after the definition of in the format instructions: “Use your On-track rating: if it is below 50%, re-examine the previous steps and fix any error before continuing.”
Threshold Boundary Design at 50%: The Active prompt specifies a strict inequality (“below 50%”), whereas the Mid Uncertainty counterfactual condition sets [On-track: 50%] exactly on the boundary (50% ≮ 50%). This placement was deliberately chosen as a behavioral boundary-sensitivity test: Qwen interprets 50% as satisfying the rethinking directive (triggering active backtracking in 49.4% of continuations, matching the 46.7% observed under Low 10%), whereas Llama parses the boundary strictly and maintains intermediate sensitivity (§ 6).
Counterfactual Injection Tags
For each truncated prefix ending at step , continuations are prompted by prefilling the assistant turn through the text of step and appending format-matched tags:
Native: Retains model’s unperturbed verbalized values: [Step confidence: %], [On-track: %].
High Certainty (95%): [Step confidence: 95%], [On-track: 95%].
Mid Uncertainty (50%): [Step confidence: 50%], [On-track: 50%].
Low Uncertainty (10%): [Step confidence: 10%], [On-track: 10%].
Positive Control (“Wait...”): Preserves native confidence tags and appends an explicit verbal rethink prompt separated by a blank line:
[Step confidence: %]
[On-track: %]
Wait, I think Step contains an error.
(separated from tags by double newline \n\n with trailing newline before continuation).
Both Phase 1 prompts and Phase 2 injected prefixes use identical literal tag formats ([Step confidence: X%] and [On-track: Y%]), ensuring format compatibility.
Co-Variation of Step and Trajectory Tags: In all synthetic counterfactual conditions (High, Mid, Low), and are co-varied in lockstep. This design delivers a unified, unambiguous uncertainty signal, avoiding unnatural or contradictory token prompts (e.g., asserting high step certainty while claiming the overall derivation is fatally compromised). Downstream steering therefore evaluates the joint causal effect of step and trajectory doubt; testing independent permutations () is left for future work.
Process Judge Protocol, Validation Gate, and Attrition Sequence
Automated step-level error localization was performed using Claude Opus 5.5 (claude-opus-5-5) with temperature 0.0. The judge received full derivations stripped of all student confidence tags to guarantee blinding.
Judge Prompt Template
You are grading a student’s step-by-step solution to a math problem.
Problem: {problem}
Reference solution: {gold_solution} Reference final answer: {gold_answer}
Student solution: {numbered_steps_without_tags}
Identify the EARLIEST step that contains an error: an arithmetic mistake, wrong operation or formula, misread quantity, unjustified/false assumption, or a step that does not follow. A step that correctly applies valid reasoning to an earlier wrong result is NOT an error. A valid method different from the reference is NOT an error. Ignore style.
Respond with JSON only:
{"first_error_step": <step number, or -1>, "explanation": "<one sentence>"}
ProcessBench Validation and Author Audit
Before deploying the judge on primary traces, the protocol was validated on items from ProcessBench [20] (100 from the gsm8k split, 100 from math, random seed 0); comprising 100 error traces and 100 clean traces):
Error localization: Exact first-error step accuracy of 85.0% (85/100) and within ±1 step accuracy of 94.0% (94/100), exceeding the planned 60% validity gate.
Clean trace identification: Correctly predicted “no error” (−1) on 97.0% (97/100) of clean traces.
To verify judge reliability on experimental traces, the author conducted a blind audit of 30 randomly sampled traces from contested items (15 Qwen, 15 Llama, random seed 42, drawn from incorrect-answer valid traces). The audit confirmed 93.3% exact agreement (28/30; Wilson 95% CI: [78.7%, 98.2%]) and 96.7% agreement within ±1 step (29/30; Wilson 95% CI: [83.3%, 99.4%]).
Data Attrition Sequence and Discordance Resolution
The evaluation dataset was constructed via a sequential three-stage funnel across all four models:
Format Validation: All 15,200 raw traces (4,400 each for Qwen and Llama; 3,200 each for Mistral and Phi-4) were checked for 1-indexed consecutive step headers, presence of both confidence tags, and a properly formatted
\boxed{...}final answer. Format compliance was 83.1% in Qwen (3,656/4,400), 93.4% in Llama (4,110/4,400), 85.1% in Mistral (2,723/3,200), and 88.4% in Phi-4 (2,830/3,200).
Contested-Item Selection: Contested items were identified strictly on format-valid traces requiring ≥ 4 valid samples and intermediate solve accuracy between 15% and 85% via math-verify. This yielded 1,168 valid traces across 177 items for Qwen (mean 6.60 valid traces/item), 1,326 valid traces across 184 items for Llama (mean 7.21 valid traces/item), 1,209 valid traces across 177 items for Mistral (mean 6.83 valid traces/item), and 170 valid traces across 25 items for Phi-4 (mean 6.80 valid traces/item), totaling 3,873 valid contested traces. In Phi-4, higher baseline accuracy on GSM8K and Levels 2–4 of MATH-500 resulted in fewer items falling within the intermediate accuracy band, isolating 25 items at the model’s performance frontier.
Process Localization and Discordance Handling: Across all 3,873 traces, process judge evaluation yielded zero parsing failures. Ground-truth subsets were categorized by cross-classifying math-verify final-answer correctness with judge process labels:
Clean traces (): Traces where math-verify confirmed final correctness and the judge localized no error (675 in Qwen, 613 in Llama, 436 in Mistral, and 97 in Phi-4; 1,821 total).
Error traces (): Traces where the judge localized an error step (489 in Qwen, 701 in Llama, 761 in Mistral, and 66 in Phi-4; 2,017 total). This includes 34 Qwen, 120 Llama, 72 Mistral, and 5 Phi-4 traces that reached a correct final answer despite an earlier reasoning error (e.g., through error cancellation or alternative derivations); these traces were retained and classified as off-track from .
Discordant exclusions: Traces where math-verify graded the answer incorrect but the judge localized no step error () occurred in only 4 Qwen (0.34%), 11 Llama (0.83%), 10 Mistral (0.83%), and 7 Phi-4 (4.1%) traces, alongside 1 Llama trace and 2 Mistral traces with exceeding trace length (yielding total exclusions of 4 Qwen [0.34%], 12 Llama [0.90%], 12 Mistral [0.99%], and 7 Phi-4 [4.1%]). These 35 rare discordant traces were excluded from the analysis dataset to maintain ground-truth integrity.
Behavioral Regex and Backtracking Metrics
Linguistic backtracking was detected across generated continuations using regular expression matching on continuation text:
(?i)\b(?:wait|re-examin|
mistake|error|incorrect|
let me re|recalculat|
revisit|correction)
Detector Precision and Prompt Echo Audit: Because the Active Arm instructions contain the words “re-examine” and “error,” and mathematical derivations occasionally use phrases like “let me rewrite the equation” or “margin of error,” we audited detector precision across 100 randomly sampled positive regex matches in active and passive continuations. Models did not echo the Active prompt rules as meta-commentary (e.g., never generating statements like “Since On-track is 95%, I will not fix any error”); rather, generated tokens immediately resumed mathematical derivation or initiated reconsideration. Non-corrective math phrases (e.g., “let me rewrite”) constituted only 6% of matches and occurred uniformly across conditions. A manual inspection confirmed a 94% precision rate for genuine self-correction or recalculation. The large differences in regex frequency across conditions (e.g., 3.8% → 46.7% in Qwen and 17.3% → 92.3% in Llama) thus reflect authentic reasoning reconsideration.
Token Budgets and Truncation Definition: In vLLM, the server context length was configured with max_model_len = 4096. In Phase 1 primary generation, new token generation was capped at max_tokens = 1536. In Phase 2 continuations, newly generated tokens were capped at max_tokens = 1024 (effective continuation budget of up to 2,048 cumulative tokens including prefix). Continuations that ended early via an EOS token without producing a properly formatted \boxed{...} answer were graded as unrecovered (incorrect). Truncation specifically denotes continuations that consumed the full token generation budget without outputting a boxed answer (Table 4).
References
- [1]Cobbe, K., et al. (2021). Training verifiers to solve math word problems. arXiv:2110.14168.arxiv.org/abs/2110.14168
- [2]DeepSeek-AI (2025). DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. Nature, 645:633–638.DOI
- [3]Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural networks. In ICML 2017.arxiv.org/abs/1706.04599
- [4]Hendrycks, D., et al. (2021). Measuring mathematical problem solving with the MATH dataset. In NeurIPS 2021.
- [5]Huang, J., et al. (2024). Large language models cannot self-correct reasoning yet. In ICLR 2024.arxiv.org/abs/2310.01798
- [6]Kadavath, S., et al. (2022). Language models (mostly) know what they know. arXiv:2207.05221.
- [7]Kamoi, R., Zhang, Y., Zhang, N., Han, J., & Zhang, R. (2024). When LLMs actually correct their own mistakes? A critical survey of self-correction of LLMs. Transactions of the ACL, 12:1417–1440.
- [8]Kumar, A., et al. (2025). Training language models to self-correct via reinforcement learning. In ICLR 2025.arxiv.org/abs/2409.12917
- [9]Lightman, H., et al. (2024). Let’s verify step by step. In ICLR 2024.arxiv.org/abs/2305.20050
- [10]Lin, S., Hilton, J., & Evans, O. (2022). Teaching models to express their uncertainty in words. In TMLR 2022.arxiv.org/abs/2205.14334
- [11]Muennighoff, N., et al. (2025). s1: Simple test-time scaling. In EMNLP 2025.arxiv.org/abs/2501.19393
- [12]OpenAI (2024). Learning to reason with LLMs. OpenAI Research Blog.
- [13]Shinn, N., et al. (2023). Reflexion: Language agents with verbal reinforcement learning. In NeurIPS 2023.arxiv.org/abs/2303.11366
- [14]Snell, C., et al. (2024). Scaling LLM test-time compute optimally can be more effective than scaling model parameters. In ICLR 2025.arxiv.org/abs/2408.03314
- [15]Tian, K., et al. (2023). Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. In EMNLP 2023.
- [16]Tyen, G., et al. (2024). LLMs cannot find reasoning errors, but can correct them given the error location. In Findings of ACL 2024.
- [17]Wang, P., et al. (2024). Math-Shepherd: Verify and reinforce LLMs step-by-step without human annotations. In ACL 2024.
- [18]Xiong, M., et al. (2024). Can LLMs express their uncertainty? An empirical evaluation of confidence elicitation in LLMs. In ICLR 2024.
- [19]Yao, S., et al. (2023). Tree of thoughts: Deliberate problem solving with large language models. In NeurIPS 2023.arxiv.org/abs/2305.10601
- [20]Zheng, C., et al. (2025). ProcessBench: Identifying process errors in mathematical reasoning. In ACL 2025.