Source-linked AI summary

"I May Not Have Articulated Myself Clearly": Diagnosing Dynamic Instability in LLM Reasoning at Inference Time

Jinkun Chen, Fengxiang Cheng, Sijia Han, Vlado Keselj

arXiv:2602.02863v1cs.AIcs.LG

TL;DR

The paper asks whether process-level reasoning breakdowns can be detected from a single inference-time token-probability trace rather than only from final answers. It combines consecutive-step distributional shift with entropy, and finds that instability strength predicts failure while peak timing distinguishes corrective from destructive episodes. The diagnostic is intended to characterize instability, not correct or control the model.

  • Problem

    The paper addresses the limited visibility of mid-reasoning breakdowns when LLM failures are evaluated only as end-point errors.

  • Method

    The method computes a training-free instability signal from consecutive-step token-distribution shifts and entropy using black-box inference-time probabilities.

  • Results

    Instability strength predicts reasoning failure across GSM8K and HotpotQA, while early peaks are more recoverable and late peaks more destructive than comparable-magnitude peaks.

  • Takeaways & Limitations

    Inference-time instability strength and peak position provide black-box diagnostics of reasoning breakdowns without modifying the model.

  • Takeaways & Limitations

    The signal can weaken when stable-but-wrong errors dominate, as in the reported ReClor setting, and broader evaluation remains needed.

Abstract

from arXiv · show

Reasoning failures in large language models (LLMs) are typically measured only at the end of a generation, yet many failures manifest as a process-level breakdown: the model "loses the thread" mid-reasoning. We study whether such breakdowns are detectable from inference-time observables available in standard APIs (token log probabilities), without any training or fine-tuning. We define a simple instability signal that combines consecutive-step distributional shift (JSD) and uncertainty (entropy), summarize each trace by its peak instability strength, and show that this signal reliably predicts failure. Across GSM8K and HotpotQA, instability strength predicts wrong answers with above-chance AUC and yields monotonic bucket-level accuracy decline at scale across model sizes. Crucially, we show that instability is not uniformly harmful: early instability can reflect subsequent stabilization and a correct final answer (\emph{corrective instability}), whereas late instability is more often followed by failure (\emph{destructive instability}), even at comparable peak magnitudes, indicating that recoverability depends not only on how strongly the distribution changes but also on when such changes occur relative to the remaining decoding horizon. The method is model-agnostic, training-free, and reproducible, and is presented as a diagnostic lens rather than a corrective or control mechanism.

1. Introduction

The paper frames reasoning failure as a process-level instability and asks whether a single inference-time token-probability trace can reveal it. It introduces a training-free signal whose strength predicts failure, while timing distinguishes recoverable from destructive instability.

  • LLM reasoning failures can arise from unstable internal evolution, although they are typically evaluated only through final-answer errors.
  • A single decoding trace can expose instability using only token probabilities, avoiding hidden states, gradients, training, and multi-sample aggregation.
  • The training-free signal combines consecutive-step distributional shift and uncertainty from token log probabilities.
  • Instability strength predicts reasoning failure with AUC 0.66–0.74 on GSM8K and remains predictive on full GSM8K and HotpotQA runs.
  • Early instability can be corrective and recoverable, whereas late instability is more often destructive, showing that magnitude alone is insufficient.

2. Related Work

Related work spans process monitoring, reasoning improvement, uncertainty estimation, and disruptive perturbations. The paper positions its contribution as a diagnosis-only measure of temporal instability within one black-box decoding trace.

  • Process-monitoring methods localize reasoning errors or analyze reasoning paths, while process supervision and verifiers require additional supervision or fine-tuning.
  • Prompting, self-consistency, ReAct, and parameter-efficient adaptation improve or structure reasoning through prompts, multiple samples, or model adaptation.
  • Uncertainty and confidence methods mainly target static output or semantic uncertainty and often require multiple samples or hidden-state access.
  • The paper instead tracks temporal changes in next-token distributions within a single trace, targeting dynamic regime shifts that static measures may miss.
  • Unlike intervention work, the method diagnoses instability without retraining, additional models, multi-sample aggregation, or stabilization operators.

3. Method

The method computes a per-step instability signal from black-box top-k token distributions and summarizes each trace by its maximum. Its interpretation combines distributional change, uncertainty, and peak timing within a finite decoding horizon.

  • 3.1. Inference-Time Observables: At inference time, the method uses truncated, renormalized top-k next-token distributions, zero-padding consecutive supports when computing divergences.
  • 3.2. Instability Signal and Strength: The per-step signal It = Dt + λHt combines consecutive-step JSD distributional shift Dt with entropy Ht.
  • 3.2. Instability Signal and Strength: Instability strength is S = maxt It, capturing brief spikes, while fixed λ = 1 gives equal weighting across tasks, models, and decoding settings.
  • 3.2. Instability Signal and Strength: The computation costs O(Tk) per trace with O(k) working memory, enabling streamable diagnostic processing.
  • 3.3. Theoretical Intuition: Early peaks leave time for restabilization, whereas late peaks may leave insufficient decoding budget even at comparable instability magnitude.

4. Experiments

Experiments evaluate the diagnostic across GSM8K and HotpotQA using controlled and full-set runs, greedy and stochastic decoding, and several association and separability metrics. The design also controls trace-length confounding and tests signal robustness.

  • Experiments use GSM8K test data and HotpotQA distractor validation data, with controlled 300-example runs and dense full-set validation.
  • The study evaluates greedy decoding and a stochastic top-p 0.9 grid with temperatures τ ∈ {0.0, 0.3, 0.7}.
  • Early-window strength controls for trace length, addressing the confounding effect of max-over-time statistics.
  • Primary metrics are bucketed accuracy, Spearman rank association between strength and correctness, and ROC–AUC for wrong-answer prediction.
  • Ablations compare λ = 0 using JSD only with λ = 1 using JSD plus entropy, while additional decoding settings test robustness under stochasticity.

5. Results

Instability strength separates correct from incorrect reasoning across models and decoding settings, remains detectable in early prefixes, and shows a monotonic relationship with failure. Ablations indicate that combining distributional change with uncertainty is important, while instability timing distinguishes potentially corrective episodes from destructive ones.

  • 5.2. Instability Strength Separates Correct and Incorrect Reasoning: Instability strength increases with failure rate: bucketed accuracy decreases monotonically across models and decoding settings.The trend holds for equal-sized buckets, rather than arising from sample imbalance.
  • 5.2. Instability Strength Separates Correct and Incorrect Reasoning: AUCwrong reaches 0.605 on Qwen2.5-1.5B-Instruct and 0.665 on Llama-3.2-1B-Instruct using only the first 50 decoding steps.Fixed-window evaluation controls for trace length and supports early detection before reasoning completion.
  • 5.2. Instability Strength Separates Correct and Incorrect Reasoning: AUC values remain above chance and stable across models and decoding settings, ranging from around 0.66 under greedy decoding to 0.74 under stochastic decoding on Llama-3.2-1B-Instruct.Increased stochasticity reduces accuracy but does not remove the instability–failure relationship.
  • 5.2. Instability Strength Separates Correct and Incorrect Reasoning: ReClor is a scope boundary: sparse correct predictions and stable-but-wrong trajectories can weaken or reverse the instability–correctness relationship.The paper treats ReClor as a representative setting where the signal can weaken under short-answer decoding and first-line matching.
  • 5.3. Corrective versus Destructive Instability: Instability magnitude alone is insufficient because high-instability episodes can reflect beneficial self-correction; timing distinguishes corrective from destructive instability.The distinction is based on when the peak occurs relative to subsequent recovery and failure.
  • 5.4. Signal Ablation: JSD-only instability yields near-random predictive power with AUC ≈0.52, whereas the combined signal with λ = 1 restores separation and monotonicity.The ablation supports combining distributional change with uncertainty, particularly when top-k approximations compress divergence variation.

6. Corrective vs. Destructive Instability

The paper distinguishes corrective and destructive instability by whether high-instability episodes are followed by stabilization or continued disruption. Peak timing operationalizes recoverability: early peaks are associated with higher accuracy than late peaks, while temporal structure adds information beyond peak magnitude.

  • Corrective vs. Destructive Instability: Corrective instability is followed by stabilization and correct final answers, whereas destructive instability is followed by continued instability and incorrect answers.Corrective traces often show decreasing uncertainty after the peak; destructive traces tend not to stabilize onto a coherent solution path.
  • Operationalization: Peak timing captures recoverability by locating when the strongest instability occurs within a reasoning trace.The relative peak position is defined as ρ = t⋆/T, where t⋆ is the peak-instability step and T is trace length.
  • Operationalization: Early peaks (ρ < 0.25) leave time for subsequent recovery, whereas late peaks (ρ > 0.5) leave insufficient time and characterize destructive instability.The thresholds are coarse and intended to provide interpretable early-versus-late separation; the qualitative ordering is robust to alternatives.
  • Implications: Peak position is descriptive rather than causal, and the same qualitative ordering persists when peak timing is measured within a fixed early window.This control addresses the possibility that late peaks merely leave less decoding time for recovery.
  • Empirical Evidence: 46% accuracy for early-peak traces versus 14% for late-peak traces shows a monotonic relationship between peak position and final-answer accuracy.Both groups exhibit high instability at some point, so magnitude alone is incomplete; corrective traces also show sharper margin drops, while destructive traces show higher support-set turnover.
  • Implications: Raw instability strength remains a useful failure predictor, but peak position complements it by separating traces that recover from those that do not.The analysis is diagnostic and mechanistic rather than an evaluation of interventions or stabilization operators.

7. Discussion

The discussion frames instability as one diagnostic dimension among several reasoning failure modes. It interprets the signal as a black-box, inference-time indicator of route switching and decision fragility, while distinguishing dynamic instability from stable knowledge or heuristic errors.

  • Discussion: The paper’s practical scope is diagnosis: it identifies dynamically unstable reasoning behavior without claiming a unique internal mechanism, causality, or controllability.It does not propose stabilization operators or other interventions.
  • 7.1. Failure Taxonomy: The paper distinguishes stable-but-wrong, dynamically unstable, and early-collapse failures rather than treating instability as a universal explanation.Stable-but-wrong traces can have low instability, dynamically unstable failures show cascading divergence, and early-collapse failures involve high early-window instability.
  • Discussion: The instability signal uses only per-step token probabilities and may reflect route switching or decision fragility.These interpretations are presented as mechanistic possibilities, with supporting low-cost probes discussed separately.

8. Limitations

The study’s diagnostic claims are bounded by failure-mode coverage, detector and probability assumptions, and evaluation scope. The signal can weaken for stable-but-wrong errors, insufficient top-k logging, or settings outside the tested task and model coverage.

  • Limitations: Stable-but-wrong failures are not addressed by instability signals, because they can occur despite low dynamic instability.The paper therefore targets dynamically unstable failure modes rather than all reasoning errors.
  • Limitations: Change-point labels depend on detector choice and thresholding, making continuous instability strength more reliable than binary labels in this setting.The approach also assumes that relative probability changes carry meaningful information about underlying state transitions.
  • Limitations: The main controlled grid experiments use GSM8K and two small models, while broader evaluation across tasks and larger models remains future work.Additional full-set runs include HotpotQA and larger Llama models, but the controlled scope remains limited.
  • Limitations: On ReClor, higher instability tends to correlate with correctness, and the signal weakens when logged top-k lists are too small for reliable entropy or JSD estimation.These cases mark practical boundaries for interpreting instability as a failure signal.

9. Conclusion

The paper concludes that peak instability provides a reproducible black-box diagnostic of reasoning breakdowns across tasks and settings. It also emphasizes that instability is heterogeneous: destructive episodes drive failure prediction, whereas corrective episodes correspond to self-correction and higher accuracy.

  • Conclusion: AUC 0.57 to 0.78 across GSM8K and HotpotQA supports instability strength as a robust predictor of wrong answers.The evaluation combines controlled GSM8K-300 runs with dense full-set baseline runs.
  • Conclusion: Corrective instability is associated with higher accuracy, while destructive instability drives the failure-predictive signal.Peak-step probes further distinguish them through sharper margin drops for corrective traces and higher support-set turnover for destructive traces.

Impact Statement

The work introduces an observational diagnostic for dynamic instability in LLM reasoning and frames its practical use around transparency, evaluation, debugging, and risk-aware deployment rather than intervention.

  • The method operates entirely at inference time, requires no model modification or retraining, and is intended as an analysis tool rather than corrective control.
  • Distinguishing corrective from destructive instability cautions against treating every instability episode as uniformly harmful.
  • Earlier peak positions are more recoverable and associated with higher final-answer accuracy, whereas later peaks are associated with substantially lower accuracy.
  • Figure 5 complements timing analysis by categorizing errors as stable-but-wrong, early-collapse, or dynamically unstable.

B.1. Theoretical Analysis: Dynamic Instability in Autoregressive Reasoning

The theoretical analysis models autoregressive reasoning as a dynamical system and links observable next-token distribution shifts to internal changes under local assumptions. It formalizes why timing affects recoverability while emphasizing that the bounds are qualitative and not causal guarantees.

  • The theoretical bounds support qualitative interpretation of distributional shifts, but do not set thresholds, guarantee prediction performance, or establish that instability causes failure.
  • The framework models autoregressive inference with unobserved states, emitted tokens, state transitions, logits, and next-token distributions.
  • The observable analysis uses truncated, renormalized top-k distributions because black-box settings expose top-k probabilities rather than hidden states or full logits.
  • Under local smoothness and observable-gain assumptions, consecutive internal-state changes are linked to projected logit changes and observable distributional shifts.
  • The softmax curvature constant is local and trajectory-dependent, can approach zero near deterministic decoding, and therefore does not provide a uniform lower bound.
  • Corrective instability denotes transitions toward empirically good basins, destructive instability transitions toward bad basins, and late peaks are less recoverable under a finite decoding budget.
  • Continuous instability strength is more informative than binary change-point labels, while varying top-k from 20 to 100 changes AUCwrong and rank association only slightly.
  • Correct traces show larger peak-step margin drops, whereas wrong traces show higher support-set turnover.

N. Appendix: Reproducibility and Implementation Details

The appendix documents reproducible trace generation, metric computation, aggregation, and supplementary robustness analyses across datasets, settings, and diagnostic choices.

  • The pipeline logs per-step top-k token probabilities, computes entropy, JSD, and instability, then aggregates trace statistics, buckets, and figures.
  • The appendix reports entropy-family baselines, bootstrap confidence intervals for AUCwrong, peak-timing threshold sweeps, peak-step characteristics, and dense per-step evaluations.
  • Later peak positions remain associated with lower accuracy even when peak position is defined within the first 50 steps.
Loading 2602.02863v1…