Characterizing Latent Reasoning Dynamics in LLMs
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…
- arXiv
- 2612.02425
- Authors
- Prateek Humane, Supriyo Chakraborty, Atharv Naphade, Sabmit Sahu, Irina Rish
- Categories
- cs.LG · cs.AI