Reasoning Pathologies in Large Language Models: A Diagnostic Perspective

Rohan Surana, Junda Wu, Sheldon Yu, Gagan Mundada, Xunyi Jiang, Zihan Huang, Ryan A. Rossi, Julian McAuley, Tong YuNeurIPS 2026

TL;DR

When large language models "think out loud" using long chains of thought, they often get stuck in repetitive loops, wander aimlessly, jump to conclusions, or keep babbling after finding the right answer. Instead of treating these quirks with band-aid text filters, researchers mapped the hidden internal geometry of LLM reasoning, organizing these breakdowns into a structured medical chart of six distinct "pathologies." By diagnosing where and how a thought trajectory derails beneath the surface, we can move beyond guesswork and learn exactly when—and how—to steer a model back on track.

What Problem Does This Paper Address?

Asking an LLM to generate a step-by-step Chain-of-Thought (CoT) unlocks impressive multi-step problem solving, but longer traces invite messy failure modes. Until now, engineers have played whack-a-mole with surface symptoms: slapping repetition penalties on loops, enforcing strict token budgets for rambling, or re-prompting when a model drifts off-topic.

The catch? Surface text is ambiguous. Repeated phrasing might be a broken loop, or it might be careful double-checking. A short trace could be a brilliant insight or a lazy shortcut. Symptom-specific heuristics mask the visible text without fixing the underlying cognitive derailment, leaving researchers with no unified way to diagnose why a model failed or compare interventions across different models.

Methods

Building on recent work that treats reasoning steps as hidden-state representations, the authors introduce a unified diagnostic framework that models CoT as a Markovian journey through discrete latent states.

First, they take each reasoning step, average its final-layer hidden token embeddings (which naturally capture the causal history up to that step), and cluster them into $K$ discrete states (typically $K=7$). What is novel here is how they partition this state space into three chronological phases—Initialisation, Progression, and Termination—and define six phase-specific reasoning pathologies:

A map of healthy reasoning (green path) versus six distinct ways an LLM's latent thought trajectory can derail across Initialisation, Progression, and Termination phases.
  • Phase I (Initialisation): State Hallucination (I-A) (failing to anchor to the prompt, measured via embedding jumps and attention-graph connectivity) and Divergent Branching (I-B) (high early transition entropy across incompatible strategies).
  • Phase II (Progression): Circular Loops (II-A) (getting trapped in strongly connected state components with low escape probability) and Entropic Stagnation (II-B) (aimless wandering where transition uncertainty fails to "cool down").
  • Phase III (Termination): Premature Convergence (III-A) (shortcutting to a final state without spending enough time in progression) and Terminal Leakage (III-B) (continuing to generate steps after hitting an answer-ready state).

Each pathology gets a mathematical detector to pinpoint its exact step of onset, paired with a matched inference-time "intervention probe" (a targeted controller). To test this cleanly, the authors perform controlled trajectory surgery: taking healthy reasoning traces, splicing in specific synthetic failures at known locations, and testing whether their detectors catch the exact onset and recover the trajectory better than random timing or generic controls.

Datasets

The framework is evaluated across three existing reasoning benchmarks—GSM8K-hard (arithmetic reasoning), HotpotQA (multi-hop question answering), and GPQA (graduate-level knowledge-intensive reasoning)—paired with three open-weight models: Qwen-9B, Gemma-4, and Ministral-8B. No new static datasets are introduced; instead, the authors construct controlled "surgical" pairs from natural CoT traces sampled across these nine dataset–model settings.

Key Insights and Ideas

  • A Phase-Ordered Diagnostic Hierarchy: Not all thought failures are equally visible. End-of-trace failures (Phase III) are unmistakable in latent space, early unstable branching (I-B) gives a strong signal, while mid-trace progression bugs (loops and stagnation) completely fool simple text metrics and require graph-aware state tracking to catch.
  • Detectors Track Latent Trajectories, Not Just Words: When the authors rewrote steps via surface paraphrases versus swapping actual trajectory states, the detectors reacted up to 10× more strongly to true state changes. Intriguingly, on Ministral-8B, even innocent-looking paraphrases occasionally altered the model's underlying reasoning path!
  • Precision Timing Matters—Sometimes: Knowing exactly when a failure starts is crucial at the very beginning of a thought trace (Phase I), where targeted intervention trounces random timing. Conversely, premature convergence (III-A) creates a broad "actionable region" where intervening almost anywhere late in the trace works equally well, and post-answer babbling (III-B) is solved just as well by a simple stop sign as by a fancy controller.

Key Results

  • Detection Accuracy (AUROC): In one-vs-rest controlled surgery tests, Termination detectors led the pack (0.95 for III-A Premature Convergence; 0.94 for III-B Terminal Leakage). Divergent Branching (I-B) was the strongest non-terminal signal (0.80). Graph-targeted circular loops (II-A) reached 0.67 AUROC using strongly connected component tracking, whereas surface repetition proxies failed completely (0.38). Boundary-local entropic stagnation (II-B) hit 0.77 AUROC.
  • Intervention Recovery: Firing matched controllers at the detected onset recovered 0.77 of the induced error shift on I-A and 0.54 on I-B—matching Oracle timing and crushing Random timing (0.13 and 0.08, respectively). For III-B, anchoring terminal clusters to answer-ready states raised expected-sign detection to 0.99 and achieved full intervention recovery.

Limitations and Future Work

  • Offline Evaluation: The intervention experiments are offline "probes" evaluated on surgically edited trajectories to verify diagnostic signal, rather than a live, closed-loop decoding system optimized for final benchmark accuracy.
  • Hyperparameter Sensitivity: Sensitivity sweeps revealed that mid-trace loop detection (II-A) fluctuates with the cluster count $K$, stagnation (II-B) varies depending on which transformer layer is read, and the signed opener score for state hallucination (I-A) can be geometry-sensitive across settings.
  • Future Directions: The authors envision using this diagnostic substrate to build and benchmark true closed-loop, inference-time controllers capable of steering LLM reasoning dynamically in the wild.

Summary updated

Abstract

Long chain-of-thought (CoT) reasoning in large language models often fails in recurring ways: models loop through redundant derivations, drift through uncertain intermediate states, commit prematurely to unsupported answers, or continue generating after a valid conclusion has been reached. These failures are typically treated as separate surface phenomena and addressed with symptom-specific heuristics, which (i) leave the underlying trajectory failure unchanged when they suppress the visible symptom, and (ii) provide no shared substrate for comparing fixes across models or pathologies. We instead study them as failures at the level of CoT reasoning latent state transitions. We introduce a diagnostic framework that abstracts chain-of-thought reasoning as a trajectory through discrete latent reasoning states, yielding a positional taxonomy of six reasoning pathologies, each paired with a transition-grounded detection predicate and a matched inference-time controller. We evaluate the framework through controlled-surgery experiments across multiple datasets and models, spanning arithmetic reasoning, multi-hop question answering, and knowledge-intensive reasoning. Across evaluations, we find that reasoning pathologies exhibit three main diagnostic patterns: \textbf{(1)} failures follow a phase-ordered structure, where termination failures are most reliably identified, early branching failures are detectable, and progression failures require finer graph-aware analyses; \textbf{(2)} counterfactual transition-versus-emission tests show that several detectors track latent trajectory changes rather than surface rewrites, while also exposing cases where paraphrases alter the reasoning path itself; and \textbf{(3)} detector-timed interventions are most effective when the detected pathology has a clear local onset, but do not uniformly dominate generic controls. Together, these findings position the framework as a reproducible diagnostic substrate for studying CoT failures, with explicit evidence boundaries and stronger closed-loop control.
BibTeX
@inproceedings{surana2026reasoning,
  author = {Rohan Surana and Junda Wu and Sheldon Yu and Gagan Mundada and Xunyi Jiang and Zihan Huang and Ryan A. Rossi and Julian McAuley and Tong Yu},
  title = {{Reasoning Pathologies in Large Language Models: A Diagnostic Perspective}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=9rcdHgSVwj},
}
Figure