Research
Effectiveness of Hidden-State Probes for Localizing Reasoning Failures
Overview Research area: Mechanistic interpretability and reliability of large reasoning models, specifically hidden-state probing for diagnosing why a chain-of-thought trace fails. Technical level: Ad

- arXiv
- 2610.22046
- Published
- 2026-10-15
- Authors
- Shubham Subhnil, Yannis Belkhiter, Erik Miehling, Adam Dahlgren Lindström, Elizabeth M. Daly
AI summary
Overview
Research area: Mechanistic interpretability and reliability of large reasoning models, specifically hidden-state probing for diagnosing why a chain-of-thought trace fails. Technical level: Advanced (assumes familiarity with transformer internals, probing classifiers, Monte Carlo rollout estimation, and AUROC-based evaluation). Scope: The paper tests whether linear/transformer probes over the hidden states of Qwen3 4B and 8B thinking models can (a) distinguish three kinds of reasoning failure and (b) pinpoint the step at which a trace becomes unrecoverable, benchmarking every probe against the strongest baseline that uses no hidden states.
What This Paper Is About
When a reasoning model produces a long trace ending in a wrong answer, the final label says only "wrong" — it does not say whether the problem was simply beyond the model, whether another attempt would have succeeded, or whether one specific step doomed an otherwise recoverable attempt. The authors use Monte Carlo rollouts from intermediate prefixes to assign each incorrect trace one of these three failure types and, for the third type, to identify the exact "pit step" where recovery is lost. They then ask whether probes trained on the model's hidden states can recover that diagnosis at deployment time, without paying the extra inference cost of rollouts.
Key Contributions
- A rollout-defined failure taxonomy for incorrect traces. Building on a threshold θ = 0.1 on the "best reachable value" (the running maximum of rollout success rates along a trace), the authors partition incorrect traces into capability gaps (unrecoverable from step 0), pits (recoverable until a specific pit step), and near misses (recoverable at every evaluated prefix). The definition deliberately departs from the earlier "first step with lowest estimated value" convention used by Setlur et al. (2024), which the paper shows rarely coincides with the rollout-defined pit step.
- A systematic probe comparison at two model scales. Three supervision signals — final labels ("confidence probe"), rollout rates ("combined probe", "value probe"), and the pit step itself ("pointer probe") — are trained on hidden states read at a fixed site (layers 23–24) and benchmarked against no-hidden-state baselines, including a gradient-boosted text baseline over eleven trace features and a length-only rule.
- Evidence that probe training design, not just the underlying signal, determines how failure types are ordered. Two probes reading the same hidden states at the same site rank pits and near misses in opposite directions (AUROC 0.76 versus 0.40).
- A negative result on pit-step localization, reported with paired, pre-specified comparisons: no single tested probe beats a rule that predicts a late step from trace length alone, and the "distance score" control sits near chance AUROC at every layer tested.
Main Findings
- The confidence probe misses the hardest cases. On incorrect 8B traces, at a cutoff of 0.5, the calibrated confidence probe misses 81% of pits and 47% of near misses; it also misses capability gaps more often than near misses at both scales.
- The pit-versus-near-miss gap survives controls at 8B. After adjusting for V*₀, trace length, answer position, and problem difficulty, the average marginal effect of changing a trace from near miss to pit is +0.125 [+0.104, +0.143] at 8B, above the prespecified minimum effect of 0.08. At 4B it is +0.037 [+0.012, +0.064] — nonzero but below the minimum effect.
- The ordering of failure types is design-dependent. The confidence probe ranks a random pit above a random near miss with probability 0.76 (AUROC); the combined probe, reading the same states, does so with probability 0.40. The probes differ in training labels, attention mask, step weighting, and training schedule, so the reversal cannot be attributed to labels alone.
- Detection is better than the text baseline but below the paper's own bar. The confidence probe reaches detection AUROC 0.81 at both scales, against 0.78 at 4B and 0.77 at 8B for the text baseline; the interval of the difference excludes zero but lies below the 0.05 margin, so the margin is not met.
- A transcoder-based classifier does meet the margin at 8B. The failure-type classifier, which reads transcoder activations at layers 19–24 of one completed incorrect trace per problem and separates capability-gap problems from pit problems, exceeds the strongest no-hidden-state baseline by 0.055 AUROC at 8B and 0.049 at 4B. Only the 8B result clears the 0.05 margin; the same classifier on raw hidden states at those layers scores lower.
- No probe beats the length rule at localization. At 4B the pointer probe outperforms the length rule in 0 of 10 runs on identical held-out pits (2,289 pits), and a pointer probe trained without any gold-collection problem does not beat it in any of five seeds. At 8B the value probe, the only probe tested for localization, is below the length rule in each of five training seeds.
- Averaging helps, but only under one weighting. The ensemble of five pointer probes exceeds the length rule under inverse-frequency weighting of the failure-type loss (interval excludes zero) but not under uniform weighting (interval contains zero).
- The value probe's apparent near-miss/pit separation is a fit artifact. Its predicted value at the last evaluated prefix separates near misses from pits with AUROC 0.91 at both scales, but by definition a near miss has a rollout rate above θ at that prefix and a pit does not, so this measures fit to the training target. Its per-step mean absolute error exceeds the error from predicting zero in every seed.
- Rollout search is the accuracy reference point. Replayed offline on the stored gold-collection rates, a search that reads every second step and then bisects finds the reference pit step within two steps for 80.4% of gold pits while reading 6.6 evaluated prefixes per trace.
- Failure-type prevalence is skewed. Capability gaps are the most frequent failure type at both scales, followed by pits, then near misses; fewer than half of incorrect traces are recoverable. Shares shift by less than two percentage points for θ between 0.05 and 0.10, and raising θ to 0.15 converts some pits into capability gaps.
- Pit steps are late. The median relative depth of the pit step is 0.70 at 4B and 0.75 at 8B, which is precisely why a length-only rule is a strong competitor.
Methodology in Plain English
The authors generate one long reasoning trace per problem with Qwen3 in thinking mode, at 4B and 8B, on hard mathematics problems drawn from DeepMath-103k and the training split of Hendrycks MATH. For selected prefixes of each trace (steps 0, 1, 2, then every second step), they sample multiple independent continuations — 8 rollouts routinely, refined with 16 for some prefixes in the "broad collection", and 4 refined with 8 in a smaller 4B-only "gold collection" that supplies 818 reference pit steps. The fraction of those continuations that reach a correct answer estimates how recoverable that prefix is.
Taking the running maximum of that rate over the remaining steps gives an "envelope" that can only fall. If the envelope is already at or below 0.1 before any reasoning, the trace is a capability gap; if it first drops to that level partway through, the trace is a pit and the step that caused the drop is the pit step; if it never drops below, the trace is a near miss. The threshold 0.1 sits above 1/16 = 0.0625, so a single lucky success in sixteen rollouts does not count as recoverable — a deliberate relaxation of the stricter "any success means recoverable" rule used in earlier self-exploration work.
With labels in hand, the authors train several probes that read the frozen model's hidden states at layers 23–24. The confidence probe is a causal transformer over the steps that predicts final-answer correctness at every step; the combined probe shares its input but is trained on rollout rates of incorrect traces; the pointer probe reads a completed trace bidirectionally and outputs a distribution over which step is the pit step; the value probe applies the combined design only to recoverable traces. Each probe is compared against baselines that see no hidden states — a gradient-boosted text classifier for detection, a failure-type classifier reading transcoder activations, and, for localization, a one-parameter rule that predicts a fixed fraction of the way through the trace. Localization is scored by Hit@±2 (prediction within two steps of the true pit step), with the length rule refitted on problems outside each evaluation set. All intervals are 95% bootstrap intervals that resample problems, and two decision thresholds were fixed before evaluation: a 0.05 AUROC margin over the strongest no-hidden-state baseline, and a 0.08 minimum effect for the controlled pit-versus-near-miss comparison.
Why This Matters
Impact on research. Correctness probes are widely proposed as cheap monitors for reasoning models. This paper shows that a probe which predicts the final label well can still systematically under-flag the two failure types that matter most for intervention — pits and capability gaps — and that the ranking a probe produces between failure types can flip when the training design changes. It also supplies a precise theoretical argument (Proposition 1, Proposition 2) for why the pit step, defined through a maximum over future prefix values, is not exactly recoverable from a prefix at all: exact recovery requires the conditional variance of V*ₜ given the prefix to be zero, which the authors do not measure and explicitly do not claim explains their results.
Real-world applications (implications of the framework, not claims tested in the paper):
- Deciding in a deployed assistant whether to retry a problem, escalate to a stronger model, or tell the user the problem is out of reach — the three failure types map onto these three interventions.
- Budgeting test-time compute: spending extra rollouts only when a monitor suspects a pit rather than a capability gap.
- Auditing reasoning traces before they are used as training data for process reward models or distillation.
- Post-hoc triage of failed agent trajectories in code or tool-use settings, where knowing the single bad step is more useful than knowing the outcome was wrong.
Industry relevance. The failure-type classifier that meets the margin reads transcoder activations rather than raw hidden states, which points to sparse, feature-level representations as the more promising substrate for production monitors. The paper is also candid about cost: the rollout protocol that produces the labels is exactly the inference overhead a probe is meant to avoid, so any practical monitor has to be justified against that baseline.
Future Directions
- Re-score localization with corrected read positions. The hidden states were read at a position at or before each step's last token, and for about half the traces the position read for the final step falls in an earlier step. No result was re-scored with corrected positions, so this is an explicit open item.
- Quantify the label ceiling. Pit steps come from as few as 4 and at most 16 rollouts per prefix, and the broad and gold collections assign different failure types to some traces they share. The authors state that the highest score any predictor could reach against these labels is unknown, and they suspect this limit dominates the negative localization result.
- Isolate which design choices drive the ordering reversal. The confidence and combined probes differ in labels, attention mask, step weighting, and training schedule; the paper did not ablate the labels alone.
- Extend beyond one model family and one domain. All results come from Qwen3 in thinking mode at 4B and 8B on hard mathematics; whether the taxonomy and probe behaviour transfer to other architectures, other scales, or non-mathematical reasoning is untested. A probe that does localize the pit step from hidden states remains possible.
Target Audience
Interpretability researchers working on probes and monitoring for language models; practitioners building reliability or guardrail systems for reasoning models and agentic pipelines; and evaluation researchers interested in failure taxonomies grounded in resampling rather than in human step-level annotation. Readers should be comfortable with AUROC, bootstrap intervals, and the mechanics of transformer hidden states; the plain-language framing of the three failure types makes the conceptual core accessible to a broader ML audience, but the experimental results assume familiarity with probing methodology.
Authors’ abstract
Verifying the final answer of a long reasoning trace may show that the trace is wrong but it does not distinguish three cases. The problem may lie beyond the model's capability, another attempt would succeed, or one step in an otherwise recoverable trace made the trace fail. Standard hidden-state probes are trained on final-answer correctness, a label that conflates these cases. Monte Carlo rollouts distinguish the cases and locate the failing step at additional inference cost. We test the hidden states of 4B and 8B reasoning models for the failure type and the failing step and compare each probe with the strongest baseline that uses no hidden states. On incorrect 8B traces, the confidence probe, a calibrated correctness probe at a midpoint cutoff, misses 81% of cases in which a single step makes the trace unrecoverable and 47% of cases in which another attempt would succeed. A probe with a different training design over the same states reverses the ordering of these two kinds of failure, so either ordering can be read from those states. At both scales, no single tested probe locates the failing step more accurately than a rule based only on trace length, and at 4B a probe trained to predict that step fails to outperform this rule in any of 10 runs on identical traces. The confidence probe therefore indicates that an answer is wrong, but its failure-type ordering depends on its training design.