Papers
arxiv:2612.02425

Characterizing Latent Reasoning Dynamics in LLMs

Published on Dec 1
· Submitted by
Prateek Humane
on Dec 3
Authors:
,
,
,
,

Abstract

By modeling token-based reasoning as transitions over compressed KV-cache prefixes, the work shows that autoregressive LLMs perform latent descent-like search whose dynamics can be used to improve inference-time scaling and answer diversity, while RL post-training alters the latent basin structure.

Reasoning in LLMs is typically explained through two distinct mechanisms: the autoregressive generation of discrete tokens, and the looped refinement of a continuous latent state. Both improve performance by increasing inference-time computation, yet the continuous computational dynamics underlying an off-the-shelf, token-based model's reasoning have not been directly observed. We bridge this gap by formalizing token-based reasoning as state transitions over KV-cache prefixes, compressing this high-dimensional space with a KV-cache VAE. Our broader goal is to characterize these reasoning dynamics and better understand the underlying computations driving them. Analyzing the resulting state-space dynamics, we find that standard autoregressive LLMs implicitly perform latent reasoning: their trajectories closely mimic descent over error basins. Specific tokens drive this descent, some rapidly exploiting the error gradient and others escaping local minima to explore. We find trajectories to be relatively stable, quickly recovering their descent path after off-policy perturbations. Applying these mechanistic insights, we causally improve inference-time scaling by optimizing the token-budget tradeoff between trajectory depth and breadth. Specifically, we demonstrate that initializing diverse latent ``random seeds," much like in vanilla gradient descent, steers trajectories toward distinct local minima and yields a larger diversity in correct answers. Finally, we find that RL post-training reshapes the latent space to contain fewer basins, along with faster and more likely convergence to basins correlated with improved performance.

Community

We characterize the latent computational dynamics underlying CoT reasoning in LLMs, bridging the gap between autoregressive token generation and looped latent reasoning. Through this lens, we study how reasoning trajectories evolve, how they relate to underlying error landscapes, and what this reveals about the computations driving LLM reasoning.
Check out our project page for interactive visualizations of reasoning trajectories:
https://prateekhumane.github.io/latent-reasoning-dynamics/

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.02425
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2612.02425 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2612.02425 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.02425 in a Space README.md to link it from this page.

Collections including this paper 1