Latent reasoning

Also known as: continuous chain of thought · reasoning in latent space

On this page 7

Latent reasoning is the practice of letting a model perform intermediate reasoning steps inside its hidden representations rather than spelling them out as visible tokens. In the field of language models, it is also called reasoning in latent space or a continuous chain of thought, because the model passes rich internal vectors from one step to the next instead of compressing each thought into a single sampled word.

The idea responds to a basic limitation of text-based chain-of-thought: every visible reasoning step must squeeze a high-dimensional state through a narrow token bottleneck. Latent approaches try to keep more information per step, reduce the number of generated tokens and allow the model to explore several partial solutions at once, at the cost of reasoning that humans can no longer read directly.

How latent reasoning works inside a transformer

Latent reasoning works by feeding hidden states back into the model as inputs for further computation before any answer token is produced. In a standard decoder-only model, the final hidden state at each position is projected through the language model head into logits, a token is sampled, and that token is embedded again. Latent methods skip the sampling step for some positions and pass the continuous last-layer vector directly forward as the next input embedding.

Because no discrete choice is made, the vector can encode a superposition of candidate next steps. Research on continuous thought has shown that such vectors sometimes behave like a breadth-first search, keeping several branches of a problem alive until later steps rule them out. A second family of methods adds depth instead of length: a recurrent block is applied repeatedly to the same hidden state, so the model iterates internally for a variable number of rounds.

The table below summarizes the main mechanisms that current research groups under the latent reasoning label.

MechanismWhat is reusedEffect on computation
Continuous thought tokensLast hidden state as next inputAdds reasoning steps without sampling words
Recurrent depthA shared block applied many timesAdds layers of computation at test time
Pause or filler tokensExtra positions with no contentGives attention more slots to compute
Compressed chain-of-thoughtLearned summary vectors of text stepsShortens long reasoning traces
Looped transformersWhole model weights per iterationEmulates iterative algorithms
Main mechanisms of latent reasoning

Latent reasoning compared with explicit chain-of-thought

Latent reasoning differs from explicit chain-of-thought mainly in where the intermediate state lives. Explicit reasoning writes each step as text in the context window, which makes it inspectable and easy to steer through prompts. Latent reasoning keeps the steps as vectors, which is more information-dense but hides the process from the reader and from many monitoring tools.

Both approaches are forms of test-time compute: they spend more processing on a hard question before answering. The difference lies in the currency of that spending, either reasoning tokens charged against a thinking budget or silent internal iterations that do not appear in the output.

PropertyExplicit chain-of-thoughtLatent reasoning
Medium of stepsDiscrete text tokensContinuous hidden vectors
Information per stepOne sampled tokenFull hidden state width
Human readabilityHigh, though not always faithfulVery low without probing tools
Generated token countOften hundreds to thousandsFew or none for the reasoning part
Training requirementWorks with prompting aloneUsually needs dedicated training
Branch explorationOne path per sampleSeveral paths encoded at once
Explicit and latent reasoning side by side

A frequent misconception is that explicit chains always reveal what a model actually computed. Studies of chain-of-thought faithfulness show that visible text can be a post hoc story. Latent reasoning makes this gap explicit: the computation is acknowledged to be internal, and interpretability work must recover it.

Training methods for continuous thought

Most latent reasoning models are trained by gradually replacing written reasoning with latent steps. A common curriculum starts from a model fine-tuned on full text chains, then removes the first written step and substitutes one or more continuous thoughts, repeating the process stage by stage until most of the chain is internal.

Since continuous thoughts are not sampled, gradients can flow through them with backpropagation through the reasoning steps, which makes training sequential and memory-hungry. Recurrent-depth models instead randomize the number of internal iterations during pretraining, so the network learns to improve its estimate with each pass and can be run longer on harder inputs.

  • Curriculum replacement: text steps are swapped for latent steps in stages.
  • Distillation from explicit traces: a student learns to match a teacher that reasons in text.
  • Randomized recurrence: iteration counts vary during training to support adaptive depth.
  • Auxiliary decoding losses: latent vectors are periodically decoded to keep them meaningful.

Where latent reasoning helps and where it falls short

Latent reasoning helps most on search-like and planning tasks where many alternatives must be held in mind, such as logical graph traversal or multi-hop deduction. Reported gains on arithmetic word problems are more mixed: continuous thoughts often reduce token use substantially but do not always match the accuracy of a long, well-trained explicit chain.

The following table maps typical situations to a sensible choice of reasoning style.

SituationPreferred approachReason
Audited or regulated decisionsExplicit chain-of-thoughtSteps must be reviewable
Latency-critical inferenceLatent reasoningFewer generated tokens
Planning with many branchesLatent reasoningParallel paths in one vector
Prompt-only deploymentExplicit chain-of-thoughtNo retraining available
Safety monitoring requiredExplicit or hybridText traces support oversight
Choosing a reasoning style by situation

The most serious concern is loss of monitorability. Text reasoning lets operators scan for unsafe intentions, errors or shortcut behavior. When reasoning moves into vectors, that oversight channel narrows, and safety teams must rely on probing classifiers and interpretability methods that are still immature.

Limitations and open research questions

Latent reasoning remains largely a research technique rather than a production standard. Most demonstrations use small or mid-sized models, and it is not yet clear how the benefits scale to frontier systems trained with reinforcement learning on long text chains.

  • Training cost: sequential latent steps prevent the parallel teacher forcing that makes language modeling efficient.
  • Error accumulation: small drifts in continuous vectors can compound over many iterations.
  • Opaque failures: when the answer is wrong, there is no readable trace to diagnose.
  • Evaluation difficulty: benchmarks reward final answers and cannot inspect the internal path.
  • Hybrid uncertainty: the best mix of latent and written steps is an open question.

The idea in brief

Most AI chat models think out loud. They write their steps as text before they give an answer. Latent reasoning lets the model think silently. It keeps its working notes as numbers inside the network instead.

Think of a chess player. One player says every move aloud. Another player sees several moves in her head at once. The silent player can be faster and can hold more ideas together. The catch is that nobody can hear what she is thinking. That is the main trade-off: speed and richness against transparency.

A practical scenario

A logistics software team runs a language model that plans delivery routes through a network of about 40 depots with time windows. With explicit chain-of-thought, the model writes roughly 1,500 reasoning tokens per plan, which pushes response time beyond the two-second limit set for dispatchers.

The team fine-tunes a mid-sized open-weight model with a curriculum of continuous thoughts, replacing the written steps with eight latent iterations. Planning accuracy on their validation set stays close to the explicit version, while generated tokens fall to under 100 per request and latency drops below the target.

Because the reasoning is no longer readable, the team keeps an explicit-reasoning fallback for disputed routes. Dispatchers who question a plan can request the slower, written explanation, which preserves an audit path while the fast latent model handles routine traffic.