Preprint · 2026

Characterizing Latent Reasoning Dynamics in LLMs

Prateek Humane1,2 · Supriyo Chakraborty3 · Atharv Naphade4 · Sabmit Sahu3 · Irina Rish1,2

1Mila – Québec AI Institute   2Université de Montréal   3Capital One   4Carnegie Mellon University

A chain of thought is usually read as text to understand the underlying computation of a model. To understand the underlying dynamics of reasoning, we read it as a trajectory: every token updates the model's KV cache, and a learned encoder places that cache as a point in a low-dimensional state space. Over that space we measure how often the model would be wrong if it stopped there. The result is an error landscape. We analyze how ordianry token based reasoning models descend this landscape giving interpretable connections to looped reasoning models.

t = 0 E = –
DeepSeek-R1-Distill-Qwen-1.5B on a MATH-500 problem. The surface is the smoothed error field over the top two principal components of the latent state. Grey lines are other sampled traces. Phrases are coloured by direction in all latent dimensions (2 pictured above): descend and climb.

Reasoning descends an error gradient

Latent steps align with the local more than chance in every model and task, and about half of that alignment is not explained by depth.

Phrases steer the descent

therefore, the answer push the state downhill; think again, double-check push it uphill to explore. Inserting them in random places lead to the same local ascent/descent.

Latent seeds find more minima

Perturbing the initial state in orthogonal latent directions, like random restarts in gradient descent, raises the number of distinct answers and pass@8.

A chain of thought is a trajectory

The state of an autoregressive transformer after reasoning tokens is its KV cache over the prefix, . It is a Markov state: everything the model does next depends only on . One step samples a token and appends its keys and values:

The cache grows with every token, so it has no fixed coordinate system. We train a KV-cache VAE whose transformer encoder reads the whole prefix and returns a 1024-d latent . Besides reconstructing the cache, it is trained so that running the frozen model from the decoded cache continues the trace the way the original cache would. The latent therefore keeps the information that carries the trajectory forward.

Real example
The first 128 reasoning tokens of a sampled DeepSeek-R1-Distill-Qwen-1.5B trace on MATH-500 #35 (“If , find the remainder when is divided by 7”). Every token adds a column of keys and values (14,336 numbers each), so the cache has no fixed size; the encoder always reads all of it and returns 1,024 numbers, recorded every 4 tokens.

Two fields over the latent space

Error field

How often the model would be wrong if it stopped here

At a state, we force </think>, sample the answer 16 times, and grade each one. Low marks a basin: a region of states from which the model already gives the right answer.

Flow field

How the model actually moves

Latents are recorded every tokens; each step has a speed and a direction . We estimate locally (a kernel-weighted linear fit in the top 32 PCs) and score each step by its alignment : positive means downhill.

Explore an error landscape

Every point below is a real state of a real trace. Hover over a trajectory to read what the model had written up to that point, and to see the 16 answers it gives if it is forced to stop there. Low-error regions are the basins that traces settle into.

Phrases steer exploration and exploitation

Scoring each latent step by the phrase it contains shows that the model uses its own vocabulary to choose a direction. Committing phrases move the state downhill (exploit). Checking and re-planning phrases move it uphill, out of a local minimum (explore).

Knock a trajectory off course

If tokens were only units of compute, 64 tokens from any source would move the state the same way. We cut traces, splice in tokens from a substitute sampler, and return control to the model. On-policy tokens keep descending. Off-policy tokens move orthogonally. Once the model resumes, every arm descends again within about 100 tokens, but not every arm returns to where normal traces are.

The flow slows with depth, not with the landscape

An energy-descending system slows near a minimum. Latent speed does form a smooth field that resembles the error field, but depth carries the resemblance: depth alone predicts with out-of-sample –, and adding adds nothing (). Every trace slows on the same schedule whether or not it has reached the answer. A raw hidden state's speed shows no such structure.

Latent seeds: random restarts for reasoning

In a non-convex landscape, gradient descent from different initializations ends in different minima. We perturb the initial state along 8 orthogonal latent directions (decoded back into the cache) before generating. Compared with temperature sampling, the trajectories spread over more basins and the model gives more distinct answers, and pass@8 matches or beats the baseline and 10 other inference-time diversity methods in most settings.

Real data

Temperature sampling (T = 0.6)

Latent seeds

R1-1.5B on one MATH-500 problem; light regions are low error. Hollow dots mark where each latent seed starts after its shift.

Best other method: the highest score among the 10 other inference-time diversity methods compared in the paper. B = 8 traces per question, 16,384-token budget.

Citation

@misc{humane2026characterizinglatentreasoningdynamics,
      title={Characterizing Latent Reasoning Dynamics in LLMs},
      author={Prateek Humane and Supriyo Chakraborty and Atharv Naphade and Sabmit Sahu and Irina Rish},
      year={2026},
      eprint={2612.02425},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2612.02425},
}