Manuscript Offprint

arXiv:2608.30650

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

Jie Liang, Zhengxin Yu, Hamid Nasiri, Peter Garraghan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 τ\tau-Bench from 24.1% to 39.6% while reducing token cost by 11.2%.

1 Introduction

Recent advances in Large Language Models (LLMs) have accelerated a paradigm shift toward autonomous LLM agents that commonly operate through multi-turn interactions. Rather than fully specifying their task objectives at the outset, users refine their requirements over multiple turns by adding details and constraints based on the agent's intermediate feedback (Laban et al. 2025). Multi-turn interaction can therefore be viewed as an incremental reasoning process that reduces epistemic uncertainty about the task. In resource-constrained settings (e.g., limited model size and finite context windows), accumulating interaction history can lead to context saturation and reduce attention efficiency (Liu et al. 2024). Maintaining long-horizon, goal-consistent reasoning under such resource constraints has emerged as a fundamental challenge in LLM agent research.

Existing approaches primarily rely on explicit experience-based heuristic methods of context engineering such as planning, reflection loop, and memory architecture to constrain the agent's inference trajectory and improve reasoning over long multi-turn interactions (Mei et al. 2025). However, these methods do not resolve the mismatch between agent goals

Figure

Figure 1: Multi-turn reasoning as an observable hidden-state trajectory.

and the utilized LLM’s objective. Agents are designed to complete tasks through multi-turn interactions, whereas their underlying LLMs are optimized to generate the best possible response at each turn. Existing Large Reasoning Models (LRMs) also use a fixed level of reasoning effort during dialogue, without adapting it to the needs of each turn (Zhao et al. 2026). Unnecessary reasoning can introduce semantic noise and irrelevant counterfactuals into the autoregressive history, corrupting the agent’s internal representation of accumulated constraints.

Diagnosing and mitigating this internal corruption requires tracking how the underlying LLM's hidden states change across turns. Capturing the hidden-state trajectory is more difficult in multi-turn interactions compared to single-turn or basic Chain-of-Thought (CoT) reasoning (Wang et al. 2025). Each hidden state update reflects both current task reasoning and the accumulated influence of earlier turns. This makes it difficult to distinguish useful hidden state updates from representation drift, and to determine when intervention is needed. Therefore, identifying the precise inflection points at which hidden states begin to deviate from the core objective is key to engineering reliable agents.

To address this challenge, we formulate multi-turn reasoning as an observable hidden-state trajectory of the underlying LLM and, as illustrated in Fig.1, track where correct and incorrect episodes diverge in order to decide when to intervene, triggering adaptive reasoning precisely at the turns

∗^{*}Corresponding author.

where failure is imminent. Our contributions are threefold:

• We characterize the trajectory with two complementary geometric signals, temporal curvature and variance slope. Across four tasks spanning open-ended reasoning (Math, Code) and tool-grounded interaction (Airline, Retail), and three underlying LLMs (Qwen3-14B, Qwen3-32B and Llama-3.1-8B), failure trajectories exhibit directional reversals and premature convergence in their hidden states.

• We probe the source of this divergence by decomposing episodes into three-action chains, and find that separability is action-dependent, with information-output chains carrying the strongest discriminative structure while information-acquisition chains carry little.

• We further demonstrate that these geometric signals can drive online control. By triggering adaptive reasoning at the turns where failure is imminent, our geometry-conditioned policy raises task success rates on τ\tau-Bench from 24.1% to 39.6% while reducing token cost by 11.2%.

References (29)