Geometry of Divergence: Tracking Hidden-State Trajectories for Adaptive Multi-Turn Reasoning

2026-08-31Artificial Intelligence

Artificial IntelligenceComputation and Language
AI summary

The authors studied how large language model (LLM) agents think through multi-turn conversations and sometimes go off track as the conversation gets longer. They looked at how the model’s internal reasoning changes over time using two geometric signals—temporal curvature and variance slope—to tell when the reasoning is consistent or drifting. By analyzing sequences of actions the model takes, they found patterns that indicate success or failure early on. Using this information, the authors improved the model's performance and made it more efficient on a specific multi-turn task benchmark.

Large Language ModelsMulti-turn ReasoningTemporal CurvatureVariance SlopeHidden-State TrajectoryTask Success RateToken CostAction ChainsRepresentation Driftτ-Bench
Authors
Jie Liang, Zhengxin Yu, Hamid Nasiri, Peter Garraghan
Abstract
LLM agents need to sustain goal-consistent reasoning across long multi-turn interactions under strict resource constraints. However, as the multi-turn context accumulates, it can destabilize the underlying LLM's internal representation of task-relevant information from earlier turns, blurring the boundary between constructive reasoning and representation drift. We formulate multi-turn reasoning as a hidden-state trajectory of the underlying LLM that is characterized via two complementary signals: temporal curvature that captures the directional consistency of turn-to-turn updates, and variance slope which measures the expansion or contraction of the exploration space. Across four tasks and three underlying LLMs, we observed that these geometric signals distinguish between correct and incorrect episodes prior to completion. We further decompose each episode into three-action chains formed from four actions (Read, Write, Respond, Transfer) and show that separability is action-dependent, with different signals distinguishing various chain patterns. Our experiments demonstrate that trajectory geometry can identify critical turns in the reasoning process, increasing task success rates on $τ$-Bench from 24.1% to 39.6% while reducing token cost by 11.2%.