Expediting and Elevating Large Language Model Reasoning via Hidden Chain-of-Thought Decoding
Trains one model to compress written reasoning into special-token representations, then trains another to answer using those representations.
Use vectors—lists of numbers—to carry intermediate reasoning from one step to the next, instead of selecting a text token at every step. Some methods use the model's hidden states; others combine several candidate token representations.
For example: A model feeds its current hidden-state vector back as the next input. It repeats this several times before returning to text to produce an answer.
Deng et al. (2023) proposed implicit chain-of-thought reasoning: language models carry out intermediate reasoning in continuous hidden states rather than generate it as text. Section 2.3 defines this setting; section 3 develops a distillation method to implement it. That method transfers a teacher's reasoning into hidden states across layers. Reasoning through continuous hidden states is the broader proposal; it does not require the particular distillation procedure used in this paper. Its across-layer computation differs from the repeated hidden-state feedback used by later methods such as Coconut.
Sources: Implicit CoT proposal, §2.3 · Distillation implementation, §3 · Coconut, §3
Paper details: Implicit Chain of Thought Reasoning via Knowledge Distillation · Training Large Language Models to Reason in a Continuous Latent Space
Coconut explicitly credits Deng et al. (2024) as the inspiration for its multistage training curriculum. Stepwise internalization gradually removes written CoT tokens until the model answers directly. Coconut instead replaces removed steps with continuous hidden-state inputs, retaining a sequence of internal reasoning steps before the answer. It also follows the earlier work in resetting the optimizer between training stages.
Sources: Deng et al. (2024), §3 · Coconut, §3
Paper details: From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step · Training Large Language Models to Reason in a Continuous Latent Space
Coconut and CODI both pass continuous states between reasoning steps, but supervise them differently. Coconut gradually replaces written steps with hidden-state inputs and trains on the remaining text. CODI jointly trains explicit and implicit reasoning tasks, matching their hidden states at a selected position before the answer. Both perform successive model passes without decoding a word at every intermediate step.
Sources: Coconut, §3 · CODI, §3
Paper details: Training Large Language Models to Reason in a Continuous Latent Space · CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillation
Dates usually refer to the first arXiv submission. Search or filter these papers →
Trains one model to compress written reasoning into special-token representations, then trains another to answer using those representations.
Uses the sequence of hidden states produced during inference to estimate whether an answer is correct, without extra training or labeled correctness examples.
Feeds a model's last hidden state back as its next input, enabling recurrent reasoning in continuous space before returning to language.
Compresses verbose reasoning traces into shorter dense representations and evaluates the trade-off between reasoning quality and generated length.
Compresses visible reasoning into hidden thinking states to reduce generated reasoning length while preserving task performance.
Interleaves latent and textual tokens so a model can combine compressed internal computation with readable reasoning steps.
Interleaves continuous concept representations with text during pretraining so language models learn to compute over concepts as well as tokens.
Compresses segments of a generated reasoning chain into dense states while retaining a stepwise inference process.
Uses self-distillation to align continuous internal reasoning states with explicit chain-of-thought behavior while reducing visible reasoning tokens.
Optimizes latent states for individual problems at test time using policy gradients rather than searching over written reasoning traces.
Feeds posterior expectations back into a language model so intermediate generation can remain continuous instead of sampling discrete tokens.
Dynamically compresses portions of a reasoning chain into latent states according to the problem and intermediate context.
Uses reinforcement learning to choose and train a mixture of latent and written reasoning steps.
Learns dynamic shortcuts between language and latent states to skip portions of an otherwise explicit reasoning trajectory.
Pretrains language models with repeated continuous-space pondering steps before token prediction.
Analyzes and demonstrates how continuous intermediate states can explore several candidate reasoning paths in parallel.
Distills an autoregressive textual reasoner into a model that carries the intermediate process through silent internal states.
Uses latent visual tokens as an internal imagery channel for multimodal reasoning without rendering every intermediate state.
Applies Jacobi-style iteration to update continuous reasoning states in parallel rather than strictly one step at a time.
Adds autoregressive hidden-state reasoning steps to shallow transformers for wireless symbol detection. Uses pilot signals as context and compares detection accuracy and computation with deeper transformers.
Uses synthetic continuous reasoning trajectories to train language models to allocate internal reasoning adaptively.
Probes soft-token reasoning and finds that tested models often follow the highest-probability component rather than exploring several paths at once. Introduces stochastic soft thinking, including Gumbel-Softmax sampling, to reduce this greedy behavior.
Trains a small transformer module to produce continuous thought vectors for a frozen language model. Aligns those vectors with the question and important solution steps; the language model then generates a written explanation and answer.
Trains continuous intermediate states with explicit supervision so reasoning can proceed without emitting a full textual trace.
Compresses high-level plans into continuous reasoning capsules, then generates execution steps conditioned on them. Trains capsules with answer supervision and reconstruction of the original plan.
Uses a variational autoencoder to compress textual reasoning steps into blocks of continuous states. A diffusion model repeatedly revises each block before generating the next, then produces a textual answer; diversity guidance encourages alternative reasoning trajectories.
Interleaves continuous text reasoning states with image features selected by attention. Progressively removes written reasoning steps during training so the model answers visual questions through interleaved visual and text states.
Models latent reasoning as a sequence of superposed token distributions and trains the process with supervised fine-tuning.
Compresses textual reasoning into semantically aligned implicit tokens intended to preserve useful intermediate computation with fewer generated steps.
Learns a stopping policy for continuous latent reasoning so the model can allocate a variable number of internal steps.
Trains a small projector to replace parts of a written reasoning trace with continuous embeddings. Reinforcement learning teaches the language model when to use these latent steps for plot-hole detection and story generation.
Tests COCONUT with latent-state interventions and deliberately biased examples on MMLU and HotpotQA. Finds weak sensitivity to latent-state steering and dependence on dataset shortcuts.
Renders written reasoning traces as images and trains a language model to match their visual features. At inference, the model reasons through continuous vectors without invoking the vision encoder or generating the written trace.
Separates an internal planning process from verbalization and studies whether the latent plan supports effective downstream reasoning.
Uses reinforcement learning to train an active latent-planning process rather than only imitating supervised reasoning traces.
Uses mechanistic interventions on sequential tasks to test whether latent chain-of-thought models actually execute stepwise internal procedures.
Characterizes tasks that latent chain-of-thought can express and identifies theoretical and empirical limits of the approach.
Supervises intermediate thinking states that bridge textual reasoning traces and latent computation.
Treats intermediate latent steps as variables that can be replaced and recomputed. Tests Coconut and CODI to determine which steps affect answers, how changes propagate, and when the model commits to one answer.
Routes intermediate computation between latent and discrete representations to trade off reasoning quality, readability, and token cost.
Tests latent reasoning on GSM8K and ProsQA by removing steps, perturbing hidden states, and sampling continuations. Finds that stronger supervision reduces shortcut use but narrows sampled solutions, and studies changes to Coconut training that increase its reliance on latent steps.
Intervenes on latent visual tokens to test their dependence on the input and their effect on answers. Compares these paths with CapImagine, which trains on textual descriptions of intermediate visual transformations to perform imagination through written reasoning.
Builds continuous reasoning inputs by repeatedly projecting residual hidden-state information into token embeddings. Switches between these latent inputs and discrete tokens using output entropy, without training the model.
Date source: Proceedings publication date. Linked arXiv version: .
Uses discrete tokens for confident predictions and weighted token embeddings for uncertain predictions. Adds a contrastive adjustment to keep uncertain continuous steps from collapsing onto the highest-probability token, without additional training.
Builds continuous diagnostic memory from an anatomical image encoder, refines its use with counterfactual region masking, and distills it into a model that generates the memory from its own visual features.
Refines several latent preference factors before recommending an item. Regularizes the factors to capture different interests and trains the reasoning process with group-relative reinforcement learning.
Conditions masked token denoising on compressed continuous text latents, then learns and distills a diffusion process over those latents. Evaluates reconstruction, generation quality, and sampling efficiency on OpenWebText.
Trains a video-language model to answer through a bounded sequence of continuous hidden states. First aligns these states with features from generated thought videos, then trains with answer-only supervision; inference uses the latent sequence without generating intermediate videos.
Extracts attack-associated directions from paired clean and corrupted agent executions, then injects them into hidden states or inter-agent key-value caches. Evaluates targeted reasoning changes, transfer, and runtime detection across mathematical reasoning, question answering, and code generation.
Uses probes, ablations, and targeted edits to study how continuous reasoning states affect answers. Builds interventions from learned semantic mappings and geometric constraints, improving the evaluated models by editing their latent states without updating base-model weights.
Learns a transition head that predicts successive embedding-space displacements from written reasoning traces. Replaces initial reasoning tokens with continuous steps and then resumes text generation, measuring answer accuracy, trajectory geometry, and generation length.
Replaces a mobile agent’s written observations, rationale and predicted next screen with continuous thought slots. Parallel refinement updates these slots, while next-frame feature prediction provides training supervision before action decoding.
Distills a teacher's written reasoning into fewer continuous steps by matching hidden-state means and covariances in a shared low-rank subspace. Adds a separate alignment loss where latent reasoning hands off to answer generation.
Compares Coconut and CODI with controls lacking their proposed reasoning recurrence or curriculum. Finds that decodable patterns can also appear in controls, while interventions reveal varying causal use of latent states concentrated in low-dimensional directions.
Trains switchable hidden-state recurrence with on-policy reinforcement learning and analyzes how the internal loop contributes to reasoning.
Uses information-theoretic analysis to study which supervision signals make latent chain-of-thought training effective.
Extracts an invariant subspace from differences between stronger and weaker reference trajectories, then projects contrastive corrections into that subspace during latent reasoning. Gates each correction using trajectory alignment and reference reliability.
LOTUS repeatedly refines blocks of continuous reasoning states in parallel, training each position to predict a token from a worked solution. It generates answers from those states and studies accuracy, latency and how much of the reasoning can be read back.
Trains multimodal models to pass continuous hidden states between reasoning steps. Supervises each latent thought with a text decoder and next-step prediction, then removes the decoder for inference.
Feeds both token embeddings and hidden states back through repeated transformer layers to connect successive steps of multi-hop reasoning.
Jointly trains latent states for answer prediction and for decoding back into readable reasoning, using one model rather than a separate post-hoc explanation decoder.
Tests how answers respond to changed inputs and altered hidden reasoning states throughout training. These responses can change even while accuracy remains high.
Introduces direct latent supervision through averaged trace embeddings and finds that both direct and indirect continuous-CoT training degrade sharply on tasks with substantially longer reasoning traces.
At test time, adjusts extra hidden states inside the transformer using feedback on generated answers, while keeping the model’s weights fixed.
Compares monitoring from explicit traces, latent-state probes, and latent verbalizations, finding that monitorability depends strongly on task structure and level of internal access.
Uses a task-specific proposer and small recurrent auxiliary network to iteratively refine continuous thoughts that a frozen language model then decodes.
Aligns continuous thoughts with written reasoning through shared, learnable prototypes, allowing several text steps to supervise several latent states. A positional alignment constraint is gradually relaxed during training.
Trains a diffusion language model to carry a fixed number of continuous register states between generated chunks. The model still writes text within each chunk, but clears earlier text and continues from the prompt and retained registers.
Trains on progressively harder problems so that a model learns continuous intermediate thoughts without explicit reasoning-step supervision. Analyzes parity learning theoretically and tests graph reachability and arithmetic.
Encodes teacher reasoning steps from text, images, point clouds, and robot states into a shared continuous representation. A jointly trained diffusion reasoner generates these states at inference, evaluated on visual question answering and robotic manipulation.
Aligns continuous thoughts with a codebook of knowledge-base relations and classes, using schema traces derived from correct logical forms. Feeds the aligned codes into later reasoning steps before generating an executable query.
Uses an expert-derived causal dependency matrix to guide gradient-based revision of diffusion reasoning states. The aim is to preserve logical dependencies while revising several intermediate positions during parallel generation.
Tests whether changing continuous reasoning states changes the model's later text output. Finds weaker steering effects than in explicit chain-of-thought, despite comparable changes to the hidden representations.
Adapts continuous diffusion to mathematics and code using intermediate-feature supervision and a global representation from a frozen autoregressive teacher. It denoises continuous response representations and decodes all response tokens only at the end.
Lets agents perform hidden-state reasoning and pass working memory through the key-value cache of one selected transformer layer. Reuses that layer as the entry point for subsequent reasoning updates, avoiding earlier layers and decoding only the final agent's response into text.
Adds a diffusion head that samples the next continuous thought from a distribution rather than predicting one fixed vector. Feeds each sampled thought back into an autoregressive reasoner, supporting variable-length latent traces and multiple reasoning paths.
Learns a distribution over continuous reasoning trajectories before producing a retrieval embedding. A lightweight decoder provides reconstruction supervision and a semantic reward for reinforcement learning, evaluated on image, video, and visual-document retrieval.
CEDR learns compact representations from several teacher layers, denoises them at different rates, and trains a smaller prompt encoder to replace the teacher at inference. It generates complete mathematical and coding solutions through continuous refinement before text decoding.
Learns when to perform another internal reasoning step, recall stored evidence or intermediate states, or emit a token. Trains these choices by branching over alternative actions and measuring their effects on the next emitted token.
Keeps a continuous state throughout denoising while reading out tokens at each step and feeding them back into the next state update. Tests whether this coupling preserves dependencies during parallel generation on Sudoku, Countdown, and language modeling.
Sigma denoises learned continuous token embeddings in blocks, starting from autoregressive pretrained weights. Studies how guidance and temperature affect mathematical reasoning, coding, output diversity, and performance when fewer refinement steps are used.
Processes selected video clips sequentially while persistent think tokens accumulate evidence for a fixed-size retrieval embedding. Intermediate retrieval supervision and self-distillation train partial-video readouts; the output is an embedding rather than a generated reasoning trace.
Compresses symbolic reasoning into latent codes and trains a flow model to refine a block of noise into a thought before decoding the answer. Studies training choices, self-training on verified thoughts, and whether those thoughts affect the answer.
Compresses images of written derivations into continuous states, training both the answers they support and the reasoning that can be recovered from them. Gradually shifts from generating latent blocks in parallel to generating them in sequence.
Adds noise to conditioning tokens during training instead of keeping the prompt clean. Tests improvements in Sudoku and N-Queens generalization and solution diversity, while reporting that the gains do not transfer to every language-generation task.
Compares continuous flow and discrete diffusion models at matched sizes and denoising steps. A theoretical account and intermediate-state interventions examine whether retaining information about several candidates helps solve mazes and Sudoku before final discretization.
PaTh uses a small recursive network to refine learned image-state tokens inside each denoising step and steer a frozen diffusion model through adapters. It learns visual puzzles from reconstruction targets without symbolic solutions or an external verifier.
Predicts from the question how many continuous reasoning updates to perform. Evaluates total cost including latent updates, special tokens, and any written continuation rather than counting latent steps alone.
Uses a critic trained on verifier outcomes to send pathwise reward gradients through a sampled denoising step in continuous flow language models. Token-level value heads track the changing policy, and experiments evaluate RL post-training on four reasoning tasks.
Trains a small encoder to turn a frozen model's hidden states into successive blocks of continuous thoughts. After this latent prefix, the frozen model writes its remaining reasoning and answer; the encoder learns through distillation and answer-correctness rewards.
Distills multiple written reasoning paths for each question into a flow model over fixed-length latent sequences, including mixtures of complete rationales. Generates all latent slots together, then uses a frozen language model to decode answers from sampled rationale contexts.
Uses chain deletion, content replacement, probes, and trajectory analysis across 21 model-task configurations. Separates what continuous states encode from whether the model uses their content, finding that dependence on the chain varies with task and training recipe.
Compresses written reasoning into separator-token states by gradually reducing attention to the intervening text. Distills those states into a continuous reasoning path that learns when to stop and generate an answer.
Pairs action-word predictions with hidden-state predictions of future visual and tactile observations. Uses these intermediate representations to guide robot manipulation, with separate supervision for action labels and future sensory information.
Replaces intermediate generated images with learned latent-token blocks while retaining the written reasoning between them. Self-distills successful text-image traces into a unified multimodal model, reserving image generation for the final output.
Learns probability distributions over continuous reasoning steps from written reasoning traces, with parallel teacher-forced training. A mixture of latent strategies lets the model sample different solution paths before producing an answer.
Keeps model weights fixed and optimizes continuous input blocks before and during explicit reasoning. A sustained-uncertainty signal triggers a new block, which is updated using confidence scores from short trial continuations.
Date source: ACL Anthology release date. Linked arXiv version: .
Predicts separate continuous guide states for reasoning and answering from the question, trained against pooled embeddings of the corresponding text. Inserts these states around an explicit chain of thought during decoding.
Date source: ACL Anthology release date. Linked arXiv version: .
Trains a flow model to follow continuous states derived from prefixes of worked solutions. At inference, it integrates a trajectory from noise using the question and decodes the final state into an answer.
Date source: ACL Anthology release date. Linked arXiv version: .
Replaces, removes and perturbs latent sequences in a chemical reasoning model. Swapping sequences between molecules often preserves task scores, and a fixed prefix can match input-dependent latent sequences.
Corrupts token embeddings with Brownian motion on a sphere and trains a model to recover clean tokens. Controlled comparisons separate the effect of the corruption process from the sampling method on Sudoku, math problems and text generation.
Samples continuous reasoning paths before producing an answer. Trains the paths with explicit-chain supervision, hidden-state distillation, and a balance objective that compares how much intermediate states support the correct answer.
Interleaves continuous hidden-state reasoning with written tool calls and observations. Learns from explicit tool-use traces through reconstruction and self-distillation, and chooses when to call a tool or answer after each reasoning block.
Learns when to write an intermediate token and when to feed a hidden state back into the model. Retains important words from each reasoning step as training anchors, then trains the mixed text-and-state policy with answer and length rewards.
Refines a continuous state before generating recommendation identifiers, anchoring that state to semantic codebook clusters during training. Distills a teacher with item-neighborhood information and allocates more recurrent steps to early identifier levels.
Passes latent task outputs between perception, causal reasoning, action, world prediction, and value estimation in a driving model. Learns which tasks and latent-token budgets to use for each decision.
Feeds hidden states back as latent reasoning inputs and supervises them with semantic and geometric information from observed and future 4D states. Uses the resulting trajectory for retrospective and prospective spatial reasoning before returning to text generation.
Embeds keyed perturbations in the key–value caches exchanged by latent multi-agent systems and checks their correlation at each handoff. Tests detection and localization of cache tampering while measuring effects on downstream answers.
Represents each agent’s beliefs as probability-weighted token embeddings and alternates local refinement with global exchange between agents. Uses answer probes to stop the continuous interaction before decoding the final response.
Compresses a stronger model’s prompt states into latent memory for a smaller model’s key-value cache. Trains layer-specific adapters and gated attention, with optional periodic review as the receiver generates its answer.
Passes a predicted intermediate entity between transformer loops as a token embedding to compose two facts without writing the bridge entity. Compares answer-only training with next-token training and traces the loss of generalization to the second hop.
Analyzes frontier expansion, candidate construction, and revision across latent reasoning trajectories. Trains a lightweight estimator of remaining reasoning progress and uses its score to adapt the number of latent steps for each problem.
Quantizes a vision-language model that replaces written reasoning with latent steps. Uses dynamics-guided rotary-key quantization and teacher supervision of latent states, readout states, and output distributions to preserve the reasoning trajectory at low precision.
Learns position-wise freezing policies from full recurrent trajectories, then reuses frozen key-value states while refining active latent positions. Tests accuracy, computation, and measured latency on implicit arithmetic reasoning and recurrent prompt prefilling.
Trains a task-conditioned reader to predict answers, correctness and message contents from continuous reasoning states and compressed key-value caches. Calibrates its probabilities and prediction sets, and evaluates early-exit decisions and latent-message audits.
Encodes logical reasoning steps into compact continuous blocks and trains one shared transformer to predict the next block with a joint-embedding objective. Combines collapse regularization, step-text reconstruction, and learned halting, supporting sequential latent refinement and parallel Jacobi decoding.