# Geometric Instability of Hidden-State Trajectories Predicts Reasoning Failures in Large Language Models

*Hoda Fakharzadehjahromy, Andreas C Bueff, Fredrik Heintz, Mattias Tiger, Qing Li, Jiaqi Li, Jiahui Geng*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154169) · [OpenReview](https://openreview.net/forum?id=FlBf0YQuYc) · [Open on the map](../papers.html#p154169)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [LLM Internal Representation Bottlenecks](../pgroup/491.md) · Type: new method · Keywords: hidden-state trajectory geometry, reasoning correctness detection, LLM failure prediction, curvature analysis, single-pass inference

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Mechanisms › Internal Representation Geometry; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Reasoning Trace Analysis

## Summary
The paper introduces VANE, a set of five geometric features that detect reasoning failures in large language models by analyzing hidden-state trajectory curvature and instability.

## Explained to a 5-year-old
Big computer brain models sometimes think they solved a problem but are actually wrong. We look at how the brain moves inside the computer while it thinks. When it moves smoothly, it's probably right; when it jumps around a lot, it's likely wrong. We made a simple way to see this jumping by looking at the shape of the brain’s path. This helps us catch mistakes before we trust the answer.

## Explained to a 5-year-old, longer
When a computer program tries to solve a puzzle, it writes down its thoughts step by step. Sometimes those thoughts look correct, but the final answer is wrong. We noticed that the way the program moves through its thoughts can tell us if it is right or wrong. If the program moves smoothly and gently, it usually means the answer is correct. If it moves quickly, changes direction a lot, or jumps around, it often means the answer is wrong. We looked at the shape of these movements, like looking at a drawing of a path. We measured how fast it goes, how it bends, and how far it strays from a straight line. These measurements are called geometric features, and they help us see hidden problems. We called this idea VANE, which is a tool that reads the program’s thoughts in just one look. It works for many different kinds of puzzles, like math problems, computer code, and everyday language. The tool can even be used on small, cheap computers to make them smarter. By filtering out the wrong thoughts, we can make the computer give better answers more often.

## For a technical reader
The paper shows that the internal hidden states of large language models trace out geometric paths as they process reasoning steps. Correct reasoning tends to follow smooth, low-curvature trajectories, while incorrect reasoning exhibits abrupt changes and higher curvature. The authors extract five simple, parameter-free features from these trajectories-such as velocity, acceleration, curvature, geodesic deviation, and token coherence-to predict whether the final answer is correct. These features achieve higher detection AUROC than plain log-probability scores and can be applied as a lightweight filter at inference time. The result is a practical way to improve model reliability without retraining, especially useful for resource-constrained deployments.

## Problem
Large language models often produce fluent but incorrect reasoning chains that are hard to detect from output probabilities alone. There is a need for reliable, single-pass indicators of reasoning correctness that do not rely on model confidence.

## Method
The approach computes geometric properties of hidden-state trajectories across transformer layers, measuring velocity, acceleration, curvature, geodesic deviation, and token coherence to capture smoothness and stability. These features are derived from a single forward pass and used to predict correctness without requiring additional training.

## Results
VANE achieves AUROC of 70.7-96.6 across models and benchmarks, outperforming token log-probability by an average of 25 percentage points (up to 50 pp). Filtering geometrically unstable outputs raises accuracy to 96.1% at 50% coverage on a 4-bit quantized 72B model.

## Contributions
It reveals that hidden-state trajectory geometry reliably signals reasoning correctness, independent of output confidence, and provides a practical downstream filter that improves accuracy on quantized models. The work also demonstrates the generality of this signal across model sizes and reasoning domains.

## Practical relevance
The findings enable developers to detect and filter out unreliable reasoning in deployed language models, improving reliability without costly retraining.

## Research questions this paper is counted under

- [How can we reliably quantify and improve the uncertainty and calibration of large language models in real-world scenarios?](../q/3.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154169)
