WorksComputer Science
INTACT: Inducing Latent Reasoning on a Frozen Backbone
Abstract
Latent reasoning replaces natural-language chains of thought with compact continuous "soft-token" representations, reducing the number of intermediate tokens that must be decoded autoregressively. We use a small external encoder to induce latent reasoning in a frozen backbone model. The encoder iteratively maps the backbone's hidden states to new latent blocks, constructing a latent reasoning prefix, after which the frozen model writes its remaining reasoning and its answer as text. Our method, INTACT, trains this encoder through distillation to reproduce the effect of written reasoning steps while keeping the model's behavior close to that of the frozen backbone, and then reinforces it on answer correctness. Across four frozen backbones from 1B to 8B, INTACT improves both GSM8K and average out-of-domain accuracy, including GSM8K gains from 75.8% to 79.3% on Llama-3.2-3B and from 77.6% to 79.7% on Qwen2.5-3B. It also reduces end-to-end latency per problem by 19% on Llama-3.2-3B and outperforms the evaluated latent-reasoning baselines at the 3B and 8B scales. Beyond the mathematics setting, the same recipe trained on a multi-domain corpus improves the frozen backbone on twelve evaluation benchmarks spanning mathematics, science, and commonsense, without task-specific adaptation.
Introduction
Language models are increasingly applied to complex problems across domains such as mathematics, code, and commonsense reasoning, where the answer follows from a sequence of dependent steps rather than from recall [8, 19, 20]. In such settings, chain-of-thought prompting draws out the intermediate steps in natural language and substantially improves accuracy [42, 23] [41] That accuracy is paid for in the output sequence, since every intermediate token must be decoded autoregressively before the answer appears, and the cost grows with reasoning depth [5, 37].
Latent reasoning proposes to move part of this computation out of language space, replacing some or all of the written steps with continuous vectors that the model consumes directly [17, 36]. These vectors may provide compact representations of longer textual traces, and recent work has learned such representations by distilling from an explicit reasoner [36, 43], by multiplexing several reasoning threads into one sequence [39], or by looping a transformer over its own latent state [12, 35].
Yet most latent-reasoning methods update the backbone alongside the latent mechanism [17, 36, 12, 39]. On capable backbones, such updates risk eroding existing reasoning abilities, including those needed for tasks beyond the fine-tuning data [46]. Freezing the backbone leaves the original model intact and recoverable, but places the burden on the latent interface to produce inputs the frozen model can use. One response to this constraint is SoftCoT, which derives soft thoughts from the question with a small assistant [46]. We instead condition a small encoder on the backbone’s hidden states over the question and preceding latent blocks. This leads to our central question: Can we induce latent reasoning on a frozen backbone, improving both its accuracy and its efficiency?
We propose INTACT, illustrated in Figure 2. An encoder reads the frozen language model’s final-layer states and produces latent blocks of vectors each ( and in our experiments). During training, the first blocks learn to replace the first reasoning steps. Block is generated from the question representation together with the frozen model’s representation of blocks . At inference, the resulting vectors are inserted after the question in place of the corresponding initial textual reasoning, after which the frozen model generates a solution in its own words.

Figure 2. Stage 1, progressive substitution via distillation. The language model is frozen and only the encoder is trained. At depth , the encoder produces from ’s states over and the preceding blocks , completing the student prefix against the teacher’s . The substitution loss distills into over the shared continuation , without directly aligning and . Stage 2, latent-policy refinement, not shown, then refines the same encoder for answer correctness using group-relative policy gradients, leaving frozen.
Training proceeds in two stages. Stage 1 trains each block to reproduce the effect of the written reasoning step it replaces, while a preservation term keeps the latent-conditioned model’s behavior close to the frozen model’s own. Stage 2 then refines the encoder against answer correctness using group-relative advantages. Across four backbones from 1B to 8B, INTACT improves upon the frozen backbone while reducing the number of generated tokens, and it surpasses the evaluated latent-reasoning methods at the 3B and 8B scales. We summarize our contributions as follows:
Frozen-backbone latent inference. INTACT constructs a latent prefix sequentially in blocks. Each block is produced from the frozen model’s hidden states over the question and preceding blocks, thereby
conditioning the encoder on the model’s representation of the prefix constructed so far. Once the prefix is complete, the frozen model generates its textual reasoning and answer without further encoder calls.
Two-stage encoder training. Progressive substitution distills the effect of successive written reasoning steps into latent blocks, while on-policy preservation constrains their effect on generated continuations. A second stage refines the encoder on answer correctness using group-relative policy gradients.
Accuracy with fewer tokens. Under mathematics training on GSM8K-Aug, INTACT improves frozen-model accuracy while generating fewer tokens across four Llama and Qwen backbones from 1B to 8B. It also outperforms the evaluated latent-reasoning baselines at the 3B and 8B scales (§ 4.2).
Multi-domain transfer. Under multi-domain training on Llama-Nemotron, INTACT improves accuracy and generates fewer tokens across twelve evaluation benchmarks without benchmark-specific adaptation, including commonsense, a domain absent from training (Figure 1, § 4.5).
Figure 1. Accuracy and total positions across three reasoning domains. A single INTACT encoder is evaluated on mathematics, science and commonsense benchmarks. INTACT and Nemo-SFT are both trained on the Llama-Nemotron mixture. INTACT trains only the encoder and leaves LLAMA-3.2-3B frozen, whereas Nemo-SFT updates the language model via supervised fine-tuning. § 4.5 describes the datasets and evaluation setup.
Related Work
Chain-of-thought and test-time scaling. Prompting or training models to produce intermediate steps before answering improves accuracy on hard problems [42, 23], and the gains grow with the language-space computation spent, whether by aggregating sampled chains [41], scaling test-time compute [37, 29], or reinforcement learning that elicits extended traces [9]. The cost of these tokens has in turn motivated work on overthinking and reasoning efficiency [5].
Latent and continuous reasoning. A complementary line moves reasoning into non-linguistic computation. Pause and filler tokens add computation without content [15, 32], and implicit-CoT methods distill the trace away entirely [10, 11]. Coconut feeds last hidden states back as input embeddings, unrolling a chain of continuous thoughts [17], which may encode superpositions of parallel search paths [50]. CODI compresses the chain by self-distillation [36] and SIM-CoT adds step-level supervision [43], while Soft Thinking replaces sampled tokens with probability-weighted mixtures at inference [49], although the benefits of this training-free approach have been contested [45]. Others make continuous chains trainable with reinforcement learning [3], move the reasoning loop inside the network [35, 14], or pretrain with continuous concepts [40]. Zhu et al. [51] survey the area. Many of these methods update the backbone, and most stop the model from writing its own reasoning.
Compression and frozen-backbone latents. Text-space compression shortens prompts and traces while keeping the medium fixed [21]. Compressed chain-of-thought generates dense contemplation tokens as trace surrogates [6], Token Assorted mixes discrete latent codes with text [38], and latent diffusion methods denoise reasoning steps in a learned space that is co-trained for noise tolerance [22, 26]. SoftCoT prepends soft tokens from a small assistant model to a frozen backbone and still generates language-space reasoning afterwards [46]. Appendix § 6 compares INTACT with individual prior methods.
Method
Notation. Let be a language model with vocabulary and input-embedding dimension , and let denote sequences of tokens in . For a token string , let denote the corresponding sequence of token embeddings. We consider inputs to that mix a token sequence with a sequence of non-token vectors, and we write such inputs in embedding space, so that the concatenation of the two is . We write for the final-layer hidden states produces on a mixed input of this kind, so denotes the states over the whole sequence. Where the embedding map is clear from context we write as , and we write conditioning on such an input as . A training example is a triple , where is a question, is a reference reasoning trace of steps with , and is the final answer. Without a latent prefix, the unmodified backbone generates a continuation containing its own reasoning and a final answer , requiring an autoregressive decoding step for every token in it. Table 9 collects the remaining symbols.
| Symbol | Meaning |
| Model and data | |
| , | frozen backbone and its next-token distribution |
| , | vocabulary and input-embedding dimension of |
| , | token sequences representing the question and reference answer |
| reference reasoning trace of steps, | |
| token embeddings of the token string | |
| , | generated reasoning-and-answer continuation and answer extraction |
| Latent interface | |
| , | number of latent blocks and vectors per block |
| latent prefix, block | |
| , | latent encoder and its parameters, the only trained weights |
| final-layer states of on an embedding-space input | |
| learned queries specific to block | |
| Stage 1, progressive substitution | |
| substitution depth, running to | |
| , | teacher and student contexts |
| continuation shared by both contexts | |
| mean per-token KL between contexts and over | |
| substitution loss at depth | |
| , | preservation loss on and its weight |
| Stage 2, latent-policy refinement | |
| policy , optimized through only | |
| , | group size and the -th sampled continuation |
| , | binary correctness reward and its group-standardized advantage |
Table 9. Notation used in this paper.
Algorithm 1 INTACT inference. The language model is frozen and the encoder is fixed.
Require: question ; frozen LM ; trained encoder ; blocks of vectors denotes the final-layer states produces on an embedding-space input, as in § 3
for do
▷ one block per call, vectors at a time
end for
▷ no further encoder calls
return
Latent Encoder
The latent encoder maps a sequence of hidden states to a block of continuous vectors. Vectors within a block are generated jointly in a single encoder pass, whereas blocks are constructed sequentially. To produce block , the encoder reads the frozen model’s final-layer states over the question and the preceding latent blocks:
For , the input consists only of the question states, . After each block is appended, the frozen model processes the extended prefix, providing the hidden states used to generate the next block. This recurrence is mediated by the frozen model’s representations of the preceding blocks, rather than by feeding their raw vectors directly back to the encoder. The encoder therefore builds the latent prefix from representations supplied by , without learning a separate question encoder.
Example. For a 60-token question, the frozen model supplies the states to the encoder, which returns the first block of vectors. These are appended to the input, so the model reads and produces . The encoder reads the sequence of 64 hidden states to produce , and so on:
Prefix positions: .
After blocks the prefix holds 76 positions, 60 question tokens and 16 latent vectors, and the model generates its reasoning and answer with no further encoder calls.
Encoder architecture. The encoder projects the context from to a hidden dimension of . It then applies six Transformer layers, each consisting of cross-attention from the queries to the context, self-attention among the queries, and a feed-forward network, with pre-normalization and residual connections throughout. A final linear layer projects each output to . Each output vector is normalized and rescaled by a shared learned scalar. The encoder has 107M parameters. All parameters are shared across blocks except for the queries .
Inference. Given a question , the encoder is invoked times, after which generates its reasoning and answer autoregressively from without further encoder calls. Algorithm 1 states the procedure.
Training
Training proceeds in two stages, neither of which updates the language model. Every parameter of remains fixed, and although gradients pass through it, only is updated, which separates learning the latent interface from relearning the reasoning behavior of the backbone. Stage 1 trains through distillation to replace written reasoning steps with latent blocks, and Stage 2 then refines the same encoder against answer correctness. Algorithm 2 summarizes both stages.
Stage 1: progressive substitution. Stage 1 trains successive latent blocks to reproduce the effect of corresponding written reasoning steps. At substitution depth , the teacher context contains the first reference steps, , while the student context replaces them with latent blocks, . Both are followed by the same continuation . For two contexts and , we define the continuation-level behavioral divergence
The substitution loss at depth is , self-distillation through one frozen model, with the reference steps supplying the behavior to reproduce and both distributions evaluated under teacher forcing on the shared Algorithm 2 INTACT training. The language model is frozen throughout; only is learned.
Require: example ; frozen LM ; encoder ; blocks of vectors
denotes the final-layer states produces on an embedding-space input, as in § 3
Stage 1: distill the chain into latents
for minibatch, then do ▷ uses examples with
▷ : latent blocks replace text steps
if then
▷ : match unsteered
end if
▷ backprop through fixed ; update only
end for
Stage 2: reinforce with answer reward
for minibatch do
▷ group-relative advantage
▷ per-sequence mean
end for
continuation. The written steps occupy more positions than the latent blocks that replace them, so we shift the latent span to keep the continuation at the same positions in both. Appendix § 8.§ 1 gives the position assignment and the stages it applies to. We optimize depths in order, using the substitution loss only for examples with , and take one encoder update at each depth. After every update, is regenerated with the new parameters before constructing depth . Gradients pass through the preceding blocks and the fixed language model, but only the shared encoder parameters are updated.
On-policy preservation. Because is teacher-forced, it cannot see failures that appear only when the model generates freely. We therefore sample a rollout under the complete prefix, , and penalize the intervention’s effect along it with . The sampled continuation is held fixed, and the unsteered model supplies the target distribution, regularizing the latent-conditioned model on prefixes encountered during free generation. Preservation applies only at , so the Stage 1 loss of Algorithm 2 is .
Stage 2: latent-policy refinement. Stage 1 learns from the behavior induced by reference traces. Stage 2 instead refines the encoder against answer correctness. The encoder and frozen model together define with the blocks built sequentially by the encoder , which alone is updated. For each question, we sample completions and assign the binary correctness reward , where indicates whether the extracted answer matches the reference under the answer-comparison protocol of Appendix § 8.§ 4. We standardize rewards within the group to obtain and minimize the per-sequence-normalized policy loss
Groups in which every completion receives the same reward have zero advantage and make no update. The Stage 2 block of Algorithm 2 summarizes this update.
Experiments
Setup
INTACT variants. We consider two training settings, on separate corpora and never mixed. Each encoder reads one backbone’s hidden states and is trained for that backbone alone.
Mathematics training on GSM8K-Aug follows prior latent-reasoning work and uses 385K examples ([10]) whose solutions are sequences of compact arithmetic steps. It is trained separately for each of the four backbones and evaluated in domain on the GSM8K test set ([8]) and out of domain on SVAMP, GSM-Hard and MultiArith, over which we report an unweighted macro-average.
• Multi-domain training on Llama-Nemotron uses the Llama-Nemotron post-training corpus ([2]), approximately 64% mathematics, 21% science and 14% code. It is trained once, on LLAMA-3.2-3B-INSTRUCT, and evaluated on twelve held-out mathematics, science and commonsense benchmarks.
The four backbones are LLAMA-3.2-1B-INSTRUCT, LLAMA-3.2-3B-INSTRUCT, LLAMA-3.1-8B-INSTRUCT ([16]), and the base QWEN2.5-3B ([47]). INTACT uses blocks of vectors in both settings, with the same encoder architecture and objectives throughout and the language model frozen. Appendix § 8.§ 2 gives the diverse-domain corpus selection and segmentation into steps, and Appendix § 10 the twelve evaluation benchmarks.
Baselines. We compare against the unchanged Frozen LM, and against three supervised baselines that update the language model and so measure what the same supervision achieves when changing the backbone is allowed. No-CoT trains on the answer alone. Aug-SFT trains on GSM8K-Aug, whose steps are compact symbolic traces, primarily calculator expressions. Nemo-SFT instead trains on the Llama-Nemotron mixture, whose steps are complete natural-language worked solutions. We further compare with CODI ([36]), LOTUS ([12]), and MUX ([39]), which replace written reasoning with continuous or recurrent computation but likewise update the language model. Appendix § 8.§ 3 describes how each baseline was trained or, where a result is quoted, which table it is taken from.
Evaluation. We evaluate on full test splits with generation caps of 768 tokens for mathematics and 2,048 for the multi-domain setting, whose natural-language solutions are longer. We report answer accuracy and mean generated tokens. Wherever total token use is shown, INTACT is also charged for its 16 latent positions. Accuracy for INTACT is averaged over three encoder seeds, with ± giving the sample standard deviation where it is shown. Token counts are measured on the single seed that initializes Stage 2, so the two stages stay comparable. Ablations and controls use one encoder seed. Quoted baselines retain their source protocols. Appendix § 8.§ 4 specifies the prompts, decoding parameters, and answer extraction.
Main Results
Against the frozen backbone. Table 1 reports accuracy at the 768-token cap, where both stages improve GSM8K and out-of-domain accuracy over the frozen backbone on all four models. Stage 2 further improves six of the eight Stage 1 scores. It is 0.3 points lower on 3B out-of-domain accuracy and 0.1 points lower on 8B GSM8K. The largest Stage 1 gains occur at 8B, where the bare-prompt frozen model often continues generating after producing its answer. To separate this formatting issue from reasoning accuracy, we also evaluate the frozen model with its native chat template. This restores reliable termination and raises its accuracy to 78.4, but leaves it below both stages of INTACT. Table 12 reports the comparison. The size of the gain varies widely across backbones. Relative to the frozen backbone, Stage 2 adds 11.3 points on GSM8K at 8B and 2.1 on QWEN2.5-3B, the strongest frozen baseline in the table. At 1B the Stage 1 encoder is flat on GSM8K (44.2 against 44.0) while gaining 3.5 out of domain. Appendix Table 11 reports the complete budget sweep and seed variation.
| Frozen | INTACT Stage 1 | INTACT Stage 2 | ||||
| GSM8K↑ | OOD↑ | GSM8K↑ | OOD↑ | GSM8K↑ | OOD↑ | |
| Llama-3.2-1B | 44.0 | 47.8 | 44.2 | 51.3 | 48.7 | 54.5 |
| Llama-3.2-3B | 75.8 | 66.5 | 77.9 | 69.1 | 79.3 | 68.8 |
| Llama-3.1-8B | 72.3 | 53.9 | 83.7 | 71.1 | 83.6 | 72.1 |
| Qwen2.5-3B | 77.6 | 74.6 | 78.0 | 75.0 | 79.7 | 75.1 |
Table 1. Accuracy (%) at a 768-token generation cap across four backbones. Both INTACT stages are trained on GSM8K-Aug. OOD is the average on SVAMP, GSM-Hard and MultiArith.
| Backbone | Condition | GSM8K | OOD | Tok. |
| LLAMA-3.2-1B | Frozen (bare) | 44.0 | 47.8 | 252 |
| LLAMA-3.2-1B | Frozen (chat) | 47.3 | 52.2 | 165 |
| LLAMA-3.2-1B | INTACT (bare) | 48.7 | 54.5 | 215 |
| LLAMA-3.2-3B | Frozen (bare) | 75.8 | 66.5 | 261 |
| LLAMA-3.2-3B | Frozen (chat) | 71.6 | 66.1 | 172 |
| LLAMA-3.2-3B | INTACT (bare) | 79.3 | 68.8 | 195 |
| LLAMA-3.1-8B | Frozen (bare) | 72.3 | 53.9 | 754 |
| LLAMA-3.1-8B | Frozen (chat) | 78.4 | 69.6 | 186 |
| LLAMA-3.1-8B | INTACT (bare) | 83.6 | 72.1 | 182 |
Table 12. Prompt sensitivity of the frozen Llama backbones at a 768-token cap. The two frozen rows differ only by prompt format. The INTACT rows are Stage 2, evaluated with the bare prompt for reference.
Comparison with latent methods. Table 2 reports accuracy on the four backbones. At LLAMA-3.2-1B, INTACT remains below Aug-SFT and the latent baselines, reaching 48.7 on GSM8K and 54.5 out of domain, compared with 61.6 and 60.5 for Aug-SFT. This ordering reverses at 3B, where INTACT reaches 79.3 and 68.8, outperforming the strongest published latent baseline by 9.3 and 4.7 points and Aug-SFT by 7.8 and 6.7 points. The advantage over Aug-SFT persists at 8B (83.6/72.1 versus 74.2/67.0) and on QWEN2.5-3B (79.7/75.1 versus 74.8/69.5), showing that it extends beyond the Llama family. The margin over the latent baselines therefore widens with scale, from −8.6 on GSM8K at 1B to +9.3 at 3B and +18.2 at 8B. Aug-SFT is strongest at 1B, whereas Nemo-SFT leads on GSM8K and the out-of-domain average at 3B and above, exceeding Stage 2 by 2.1–3.7 and 1.3–1.7 points, respectively. Thus, INTACT does not uniformly outperform supervised fine-tuning. It improves the frozen model and achieves the strongest GSM8K and average results among the evaluated latent methods at 3B and above, without modifying the language model.
| Backbone | Method | GSM8K ↑ | SVAMP ↑ | GSM-Hard ↑ | MultiArith ↑ | OOD ↑ |
| LLAMA-3.2-1B | No-CoT† | 30.9 | 44.1 | 7.1 | 70.9 | 40.7 |
| LLAMA-3.2-1B | Aug-SFT† | 61.6 | 66.7 | 15.6 | 99.3 | 60.5 |
| LLAMA-3.2-1B | Nemo-SFT | 53.1 | 59.3 | 15.0 | 92.8 | 55.7 |
| LLAMA-3.2-1B | LOTUS‡ | 57.3 | 60.9 | 12.7 | 98.3 | 57.3 |
| LLAMA-3.2-1B | MUX† | 56.7 | 63.6 | 13.0 | 98.5 | 58.4 |
| LLAMA-3.2-1B | CODI† | 55.6 | 61.1 | 12.8 | 96.1 | 56.7 |
| LLAMA-3.2-1B | INTACT Stage 1 | 44.2 ± 1.0 | 55.3 ± 2.3 | 13.1 ± 0.6 | 85.6 ± 0.1 | 51.3 ± 1.0 |
| LLAMA-3.2-1B | INTACT Stage 2 | 48.7 ± 1.3 | 59.8 ± 1.3 | 13.7 ± 0.3 | 89.9 ± 0.2 | 54.5 ± 0.4 |
| LLAMA-3.2-3B | No-CoT† | 38.3 | 52.9 | 9.5 | 88.7 | 50.4 |
| LLAMA-3.2-3B | Aug-SFT† | 71.5 | 71.0 | 17.0 | 98.3 | 62.1 |
| LLAMA-3.2-3B | Nemo-SFT | 82.9 | 83.5 | 30.3 | 97.8 | 70.5 |
| LLAMA-3.2-3B | LOTUS‡ | 70.0 | 75.7 | 16.0 | 99.9 | 63.9 |
| LLAMA-3.2-3B | MUX† | 65.0 | 77.1 | 15.2 | 100.0 | 64.1 |
| LLAMA-3.2-3B | CODI† | 60.8 | 73.3 | 14.3 | 98.7 | 62.1 |
| LLAMA-3.2-3B | INTACT Stage 1 | 77.9 ± 0.3 | 81.1 ± 0.6 | 27.9 ± 0.2 | 98.3 ± 0.5 | 69.1 ± 0.3 |
| LLAMA-3.2-3B | INTACT Stage 2 | 79.3 ± 0.4 | 81.8 ± 0.9 | 27.0 ± 0.7 | 97.7 ± 0.3 | 68.8 ± 0.2 |
| LLAMA-3.1-8B | No-CoT | 26.5 | 57.2 | 7.5 | 79.8 | 48.2 |
| LLAMA-3.1-8B | Aug-SFT | 74.2 | 77.3 | 26.5 | 97.3 | 67.0 |
| LLAMA-3.1-8B | Nemo-SFT | 87.3 | 86.3 | 35.9 | 98.0 | 73.4 |
| LLAMA-3.1-8B | LOTUS | – | – | – | – | – |
| LLAMA-3.1-8B | MUX | 65.4 | 77.8 | 16.1 | 100.0 | 64.6 |
| LLAMA-3.1-8B | CODI | – | – | – | – | – |
| LLAMA-3.1-8B | INTACT Stage 1 | 83.7 ± 0.6 | 82.8 ± 1.6 | 33.2 ± 0.7 | 97.4 ± 1.1 | 71.1 ± 1.1 |
| LLAMA-3.1-8B | INTACT Stage 2 | 83.6 ± 0.7 | 84.6 ± 1.1 | 33.4 ± 1.3 | 98.4 ± 0.6 | 72.1 ± 0.7 |
| QWEN2.5-3B | No-CoT | 27.6 | 52.5 | 8.7 | 63.7 | 41.6 |
| QWEN2.5-3B | Aug-SFT | 74.8 | 76.2 | 34.6 | 97.7 | 69.5 |
| QWEN2.5-3B | Nemo-SFT | 81.8 | 86.8 | 45.3 | 97.5 | 76.5 |
| QWEN2.5-3B | LOTUS | 66.7 | 71.6 | 17.9 | 100.0 | 63.2 |
| QWEN2.5-3B | MUX | – | – | – | – | – |
| QWEN2.5-3B | CODI | – | – | – | – | – |
| QWEN2.5-3B | INTACT Stage 1 | 78.0 ± 2.0 | 87.1 ± 0.4 | 40.8 ± 2.2 | 97.0 ± 0.6 | 75.0 ± 1.0 |
| QWEN2.5-3B | INTACT Stage 2 | 79.7 ± 0.5 | 85.5 ± 0.1 | 41.4 ± 1.1 | 98.5 ± 0.6 | 75.1 ± 0.5 |
Table 2. Accuracy (%) on four mathematics benchmarks. Our Frozen, SFT, and INTACT evaluations use a 768-token cap. CODI, MUX, and LOTUS use their source protocols, including reproductions. † and ‡ mark results quoted from MUX [39] and LOTUS [12], respectively. OOD is the mean of SVAMP, GSM-Hard, and MultiArith. Shading marks INTACT, with ± denoting standard deviation over three encoder seeds. Best and second-best latent methods are bold and underlined. A dash marks a configuration for which no comparable trained checkpoint is available at that scale.
Table 2: Accuracy (%) on four mathematics benchmarks. Our Frozen, SFT, and INTACT evaluations use a 768-token cap. CODI, MUX, and LOTUS use their source protocols, including reproductions. † and ‡ mark results quoted from MUX [39] and LOTUS [12], respectively. OOD is the mean of SVAMP, GSM-Hard, and MultiArith. Shading marks INTACT, with ± denoting standard deviation over three encoder seeds. Best and second-best latent methods are bold and underlined. A dash marks a configuration for which no comparable trained checkpoint is available at that scale.
Inference Efficiency
Accuracy–generation cost. We measure cost in total positions, defined as generated tokens plus INTACT’s 16 latent positions, excluding the question. Figure 3 compares operating points on LLAMA-3.2-3B. INTACT reaches 79.3 accuracy at 211 positions, compared with 75.8 at 261 for the frozen backbone. Aug-SFT, CODI, and MUX occupy more compressed operating points, but reach only 71.5, 60.8, and 65.0 accuracy, respectively. Unlike CODI and MUX, INTACT retains a textual reasoning continuation and unlike all three it improves the accuracy–efficiency trade-off without updating the backbone.
Figure 3. GSM8K accuracy versus total positions on LLAMA-3.2-3B, with INTACT trained on GSM8K-Aug. Frozen, INTACT, and Nemo-SFT use a 768-token cap. CODI, MUX, and LOTUS follow their source protocols. Counts include latent positions where applicable.
Effect of the two stages. Table 3 reports generated tokens across backbones. Both stages shorten generation in every case, and which contributes more depends on the backbone. The effect is particularly pronounced at 8B, where generation falls from 754 tokens
| Backbone | Frozen LM GSM8K ↓ | Frozen LM OOD ↓ | INTACT Stage 1 GSM8K ↓ | INTACT Stage 1 OOD ↓ | INTACT Stage 2 GSM8K ↓ | INTACT Stage 2 OOD ↓ |
| LLAMA-3.2-1B | 252 | 210 | 241 | 202 | 215 | 171 |
| LLAMA-3.2-3B | 261 | 224 | 225 | 190 | 195 | 165 |
| LLAMA-3.1-8B | 754 | 745 | 269 | 207 | 182 | 155 |
| QWEN2.5-3B | 273 | 203 | 246 | 196 | 145 | 121 |
Table 3. Mean generated tokens at a 768-token cap, for encoders trained on GSM8K-Aug. Both stages shorten generation on every backbone, in domain and out, and Stage 2 is shorter than Stage 1 in every row. OOD is the average over SVAMP, GSM-Hard and MultiArith.
for the frozen backbone to 269 after Stage 1 and 182 after Stage 2. This shortening does not generally come at the expense of accuracy. Stage 2 improves six of the eight in-domain and out-of-domain measurements reported in Table 1.
End-to-end latency. Token counts provide an implementation-independent measure of generation cost, but do not directly determine wall-clock time. We therefore measure latency on the full GSM8K test split using LLAMA-3.2-3B at batch size one on one H100 NVL. As Table 4 shows, INTACT reduces mean latency from 4,180 to 3,386 ms per problem, a 19% reduction that includes latent-prefix construction. Constructing the prefix costs 127.5 ms, while the longer context raises measured decoding cost from 16.03 to 16.67 ms per generated token. Emitting 65 fewer tokens more than offsets these costs, showing that the reduction in generation length translates into a measurable, though not proportional, reduction in latency. Both systems generate under the same bare prompt. Table 12 reports how the frozen backbone’s token cost changes under its chat template.
| System | Tokens ↓ | ms/token | Prefix ms ↓ | Generation ms ↓ | Total ms ↓ |
| Frozen backbone | 260.8 | 16.03 | — | 4,179.6 | 4,179.6 (1.00×) |
| INTACT | 195.5 | 16.67 | 127.5 | 3,258.1 | 3,385.6 (0.81×) |
Table 4. Mean end-to-end latency per GSM8K problem on LLAMA-3.2-3B, measured over the full test split at batch 1 on one H100 NVL. The saving comes from emitting fewer tokens, not from faster decoding.
Ablations
Each ablation isolates one design decision and holds the rest of the recipe fixed. The preservation and capacity ablations use QWEN2.5-3B, while the substitution-depth sweep and the architecture and prefix controls of Table 5 use LLAMA-3.1-8B. All are scored under the protocol of § 4.1 with a 768-token cap.
| GSM8K | OOD | |||
| Acc. | Tokens | Acc. | Tokens | |
| Reference systems | ||||
| Frozen backbone | 72.3 | 754 | 53.9 | 745 |
| INTACT Stage 1 | 84.4 | 269 | 72.1 | 207 |
| INTACT Stage 2 | 83.7 | 182 | 72.8 | 155 |
| Architecture variants (retrained) | ||||
| Independently built blocks | 82.4 | 767 | 69.9 | 761 |
| Jointly built blocks | 82.0 | 522 | 70.1 | 598 |
| Prefix interventions (Stage 1, inference only) | ||||
| Within-question block shuffle | 77.0 | 438 | 67.3 | 401 |
| Cross-question prefix | 70.9 | 513 | 64.5 | 480 |
Table 5. Architecture and prefix controls on LLAMA-3.1-8B. Architecture variants retrain the encoder with the latent blocks constructed differently. Prefix interventions instead modify a trained Stage 1 prefix only at inference. OOD averages SVAMP, GSM-Hard and MultiArith. Each trained arm uses one encoder seed.
Preservation anchor. Because is scored on a reference continuation, it does not constrain the model on its own free generations. The variants below differ only in the continuation on which is scored, and we compare omitting the term with three choices of .
Gold chain. , the written trace itself, so is scored while the model is given the very steps it replaces.
Frozen rollout. , free generation from the backbone without the latent prefix.
Student rollout. , free generation from the latent-conditioned model, the continuations it actually produces.
In Figure 4 (left), omitting preservation collapses the output to 80 tokens, so its apparent efficiency is degraded generation rather than compression. The gold chain stabilizes training but stays below the backbone on both accuracy measures. A frozen rollout removes that teacher forcing and gives the best out-of-domain accuracy of the four anchors, but remains off-policy for the latent-conditioned model and lengthens generation to 309 tokens. Only the student rollout improves on the backbone in accuracy and in length at once.
Figure 4. Left: ablations on QWEN2.5-3B. Each block varies one design decision, and shaded rows indicate settings used by INTACT. Right: substitution depth sweep on LLAMA-3.1-8B. At depth only the first of blocks are supplied, so is the frozen backbone and the full Stage 1 prefix. Both panels use one encoder seed. OOD is the macro-average over the three held-out benchmarks.
Substitution depth. Stage 1 supervises every available depth, so each block is learned in the context created by its predecessors. The sweep holds the encoder fixed and varies only the number of blocks supplied at inference. On
LLAMA-3.1-8B (Figure 4, right), increasing the prefix from to raises GSM8K accuracy by 12.1 points and the out-of-domain average by 18.2, while reducing generation from 754 to 269 tokens on GSM8K and from 745 to 207 on the out-of-domain average. Accuracy therefore depends on the depth supplied, not only on the presence of a latent prefix.
Latent capacity. The available substitution depth is , and only 8% of GSM8K-Aug chains support five steps. We therefore fix and vary the block width , giving latent positions. Performance is non-monotonic: provides insufficient capacity, while reduces accuracy and lengthens generation. Among the narrower variants, saves tokens at the cost of accuracy, whereas improves accuracy but generates more tokens than the backbone. Only improves on the frozen backbone while also generating fewer tokens, providing the best accuracy–efficiency balance.
Encoder construction. Table 5 isolates two components of the encoder architecture. Building the four blocks jointly, in a single encoder call, so that they can coordinate with each other but receive no feedback from the blocks already placed, reduces GSM8K accuracy from 84.4 to 82.0 and raises generation from 269 to 522 tokens, reaching the cap on 52.5% of problems. This variant keeps the four progressive substitution depths and differs from its reference only in building the blocks together. Appendix § 8.§ 1 records what is held fixed. Building the blocks independently, so that every block uses only the backbone’s hidden states over the question and not those induced by preceding latent blocks, leaves accuracy at 82.4 but increases generation from 269 to 767 tokens, comparable to the frozen backbone’s 754.
Both variants retain most of the accuracy of the full construction. The clearer difference is in generation length, where the full construction uses 269 tokens against 767 and 522, so it reaches higher accuracy while generating substantially less.
Prefix order and specificity. Table 5 also tests the trained Stage 1 prefix through inference-only interventions. Shuffling its blocks reduces GSM8K and OOD accuracy from 84.4/72.1 to 77.0/67.3, while replacing it with a prefix generated for another question reduces them to 70.9/64.5. Both interventions also lengthen generation substantially. The prefix is therefore sensitive to both block order and the source question, rather than acting as a generic learned prompt.
One Encoder Across Diverse Reasoning Domains
Setup. We next test whether a single latent encoder can improve reasoning across domains beyond GSM8K-Aug. We train on the mathematics, science, and code solutions in Llama-Nemotron and evaluate the same encoder, without benchmark-specific adaptation, on twelve mathematics, science, and commonsense benchmarks. Commonsense evaluation tests transfer beyond the domains explicitly represented in training. Every system in this setting is scored at the 2,048-token budget of Appendix § 8.§ 4, which the long natural-language solutions of this mixture require. All systems in this setting see the same prompt.
Results. Figure 5 shows that one encoder improves the frozen backbone on all twelve benchmarks. Gains are largest in science and commonsense, reaching 22.5 points on ARC-Challenge and 23.8 on HellaSwag, while mathematics gains range from 0.4 to 3.7 points. The commonsense result is particularly notable because that domain is absent from training. The improvements are largest where the frozen backbone is weakest, with the exception of GSM-Hard, on which no system improves substantially. Compared with Nemo-SFT, INTACT is nearly tied on science (1.0 point lower) and trails on mathematics (2.5 points), but leads on commonsense (6.2 points) in domain-average accuracy, while leaving the backbone frozen.
Figure 5. One encoder across twelve benchmarks. Accuracy on LLAMA-3.2-3B across mathematics, science, and commonsense. Each benchmark line connects the frozen backbone to Stage 2, with Stage 1 marking the intermediate result. Both Nemo-SFT and INTACT are trained on the Llama-Nemotron mixture. The same INTACT encoder is used on every benchmark.
Constant-prefix control. To test whether the gains arise from a generic learned prompt, we replace the encoder outputs with learned vectors shared across all questions and train them with the same objective. This prefix can learn common formatting and termination behavior but cannot encode question-specific information. Table 6 reports it after each stage, with the checkpoint for each selected by the same procedure as INTACT’s. The conditioned encoder leads it on science by 9.2 points after Stage 1 and 9.0 after Stage 2, and on commonsense by 4.4 and 13.1, while the two score similarly on mathematics at both stages. Conditioning therefore helps where the gain over the frozen backbone is largest, and its commonsense advantage widens with Stage 2 rather than narrowing. The mathematics tie is not evidence that the prefix carries nothing question-specific there. Replacing a trained prefix with one generated for a different question reduces GSM8K accuracy to 70.9 on LLAMA-3.1-8B, below the frozen backbone’s 72.3 (Table 5).
| System | Math↑ | Science↑ | Comm.↑ |
| Frozen backbone | 68.8 | 57.4 | 42.6 |
| INTACT Stage 1 | 70.4 | 69.1 | 49.3 |
| Constant prefix, Stage 1 | 70.0 | 59.9 | 44.9 |
| INTACT Stage 2 | 71.1 | 73.6 | 61.6 |
| Constant prefix, Stage 2 | 70.9 | 64.6 | 48.5 |
Table 6. Conditioned encoder versus a learned constant-prefix control in the diverse-domain setting on LLAMA-3.2-3B. Results use the full test splits. Math, Science and Comm. are macro-averages over four, five and three benchmarks respectively.
Extraction and truncation. We test whether the gains reflect answer-extraction failures or truncation of the frozen backbone. Answer extraction succeeds for 99.2–100% of frozen generations on all benchmarks except ECQA (89.3%). Some generations reach the token cap, but truncation rarely prevents scoring. HellaSwag exhibits the most truncation, yet 99.2% of its generations still yield an extractable answer. These artifacts therefore do not explain the overall gains, although extraction failures may contribute on ECQA.
Conclusion
We studied whether latent reasoning can improve a capable language model without updating its backbone. INTACT trains a small encoder that reads the frozen model’s own hidden states to reproduce the effect of early written reasoning steps, first through distillation and then through latent-policy refinement, while the language model remains frozen. Across four backbones, it improves accuracy and reduces generation relative to the frozen model, and it outperforms the evaluated latent-reasoning baselines on larger backbones. One encoder trained on mathematics, science, and code also improves the same frozen backbone on held-out mathematics, science, and commonsense benchmarks without task-specific adaptation. Together, these results show that latent reasoning can complement a capable model’s existing reasoning, rather than depend on rewriting its weights or maximizing compression.
Limitations. One limitation is that the latent blocks cannot be directly interpreted as the written steps they replace. Another is that the backbone still decodes autoregressively, so shorter generations do not necessarily produce proportional wall-clock savings (§ 4.3). INTACT also still retains language-space reasoning, so it remains more expensive than methods that compress reasoning into a handful of tokens.
Extended Related Work
§ 2 introduces the work most directly connected to INTACT. Here we organize the broader literature by what happens to the written reasoning chain. It may remain in language, be removed, or be represented by continuous state. This distinction matters for INTACT, which replaces only an opening segment and leaves a frozen language model to produce the continuation.
From Written to Latent Reasoning
Scratchpads and chain-of-thought make intermediate computation explicit [30, 42, 23]. More language-space computation can improve accuracy through sampled chains [41], test-time compute allocation [37, 29], process supervision [27], or reinforcement learning on verifiable answers [9]. Its cost is autoregressive decoding, and long-reasoning models can spend unnecessary computation on easy problems [5]. Prompt compression reduces this cost while retaining a discrete, readable input [21]. After its latent prefix, INTACT likewise returns to language-space generation.
Other methods remove or replace the written chain. Implicit chain-of-thought distills a reasoning teacher into a student that answers directly [10], while stepwise internalization progressively deletes reasoning steps from the training target [11]. Pause and filler tokens instead reserve computation without assigning those positions linguistic content [15, 32]. Compressed chain-of-thought predicts dense contemplation tokens as a surrogate for a trace [6], and Token Assorted combines discrete codes with text [38]. These approaches reduce or eliminate the written intermediate sequence. INTACT is trained to re-encode its first steps and preserves a written continuation.
Continuous reasoning admits several constructions. Coconut feeds the model’s last hidden state back as its next input embedding [17]; CODI adds self-distillation between explicit and latent reasoning modes [36]; and SIM-CoT supervises individual latent steps with an auxiliary decoder [43]. Soft Thinking is training-free and replaces a sampled token with a probability-weighted mixture of embeddings [49], although subsequent work questions whether this mixture provides genuinely parallel computation [45]. Related architectures spend depth rather than generated tokens [35, 14]. LOTUS jointly refines padded latent blocks through a looped backbone and supervises their token-level readout [12]; MUX generates latent tokens sequentially but gives each a locally decodable target that multiplexes a span of the reference trace [39]; and KaVa uses a compressed teacher KV-cache as its distillation target [24]. LaDiR instead denoises blocks in a variational latent space whose frozen decoder reconstructs readable reasoning steps [22]. Surveys by Zhu et al. [51] and Chen et al. [4] provide broader taxonomies.
Positioning of INTACT
INTACT is defined by two choices. The language model remains frozen, and the latents replace written steps rather than merely adding a task-specific prompt. Prompt tuning also keeps the model frozen, but learns one constant prefix per task [25]. SoftCoT is the closest input-dependent alternative: a small frozen assistant reads the question and a learned projection maps its hidden states into soft tokens for a frozen backbone [46]. It emits those tokens in one pass and uses them as additional context. INTACT instead derives each block from the backbone’s own states, conditions it on the blocks already placed, and trains it to replace the effect of written steps.
Table 7 sets out the design choices that separate these methods. Frozen means the language model’s parameters never change; read means ’s states, that the latents are computed from its hidden states rather than from its output distribution or from the question alone; recurrent substitution, that they are produced in sequence, each conditioned on those already placed, and stand in for written steps rather than supplementing them; interpretable, that the paper recovers token-level content from intermediate latents; and multi-domain artifact, that one trained artifact is evaluated across reasoning domains without per-task adaptation. The last two columns record reported evidence, not an intrinsic limitation of methods without a checkmark.
Table 7. Design properties of representative latent-reasoning methods. Checkmarks record reported design choices or evidence, not a ranking of the methods.
The methods that update the backbone answer a different experimental question. Coconut, CODI, SIM-CoT, LOTUS, and MUX jointly learn a latent mechanism and alter the language model, whereas INTACT isolates the interface by propagating gradients through fixed model weights. LOTUS also differs structurally. Its blocks are refined jointly rather than emitted as recurrent substitutes. CODI, SIM-CoT, LOTUS, and MUX report token-level probes or readouts of their latents. INTACT does not make an interpretability claim.
Among the methods in Table 7, INTACT alone combines a frozen backbone, backbone-state feedback, and recurrent replacement of written steps. Soft Thinking is frozen and sequential, but constructs each soft token from an output distribution over the vocabulary rather than from hidden states. INTACT is also the only method in the table evaluated as one trained artifact across reasoning domains. These distinctions describe the intervention being evaluated. They do not imply that updating the backbone or making latents directly readable is undesirable.
Against SoftCoT. SoftCoT is the closest prior learned latent interface that also keeps the language model frozen. We use the authors’ training script to train SoftCoT on LLAMA-3.1-8B-INSTRUCT. For a like-for-like comparison, both methods are evaluated under the SoftCoT protocol. The INTACT row is therefore a separate single-checkpoint evaluation and is not directly comparable to the three-seed results in Table 1 and Table 2. Table 8 reports both accuracy and token use.
| Method | GSM8K | SVAMP | GSM-Hard | MultiArith | OOD |
| SoftCoT | 81.0/250 | 81.0/187 | 30.6/327 | 95.5/145 | 69.0/220 |
| INTACT | 82.3/192 | 83.5/143 | 30.2/231 | 96.3/128 | 70.0/167 |
Table 8. Comparison with SoftCoT on LLAMA-3.1-8B-INSTRUCT under the SoftCoT evaluation protocol. Each entry reports accuracy (%)/mean total tokens, including latent and generated tokens. OOD is the macro-average over SVAMP, GSM-Hard, and MultiArith. Every entry is measured here. We train SoftCoT with the authors’ script and evaluate both methods under their protocol. INTACT uses mathematics training (GSM8K-Aug).
INTACT uses fewer total tokens on every benchmark and achieves a higher OOD average, although SoftCoT remains slightly more accurate on GSM-Hard. The separation is wider in cost than in accuracy. INTACT leads by one point of out-of-domain accuracy and by a 24% reduction in tokens, 167 on average compared to SoftCoT’s 220. That pattern is consistent with the two designs, since SoftCoT’s assistant reads the question alone and emits its tokens in a single pass, whereas each INTACT block is computed from the frozen model’s state after the blocks already placed, and is trained to reproduce the effect of the written step it replaces rather than to supply additional context.
Notation
Table 9 collects the symbols used in the paper.
Experimental Details
INTACT Training
Data and depth sampling. For comparison against the latent-reasoning methods of Table 2, we train on the corpus they use, GSM8K-Aug, described in Appendix § 10. We parse its calculator annotations as ordered reasoning steps and retain the 322,712 examples containing at least two steps. For a trace of steps, Stage 1 supervises depths , leaving at least one written step in the shared continuation. Only 55.5%, 23.2%, and 8.3% of the retained examples support depths two, three, and four, respectively. We therefore divide the corpus into the four length buckets , , , and and sample them uniformly. Figure 6 illustrates a complete four-block substitution.
Figure 6. Progressive substitution on a mathematics example. GSM8K-Aug provides five ordered calculations. The question is shortened here for space. At full substitution, the student replaces the first four written steps with latent blocks , while the final calculation and answer remain the shared continuation. The frozen language model evaluates both prefixes, and at depth matches the resulting continuation distributions. Vertical alignment denotes which written step each latent block replaces, not a claim that the latent vectors decode to that step.
INTACT Stage 1. Unless otherwise stated, experiments use blocks of vectors. Each minibatch produces one encoder update at every depth supported by its examples. Preservation rollouts are sampled from the latent-conditioned model with temperature 0.7 and top-, then held fixed while is evaluated. The preservation weights are , 0.30, 0.34, and 0.28 for Llama-1B, Llama-3B, Llama-8B, and Qwen-3B, respectively.
Teacher and student prefixes can occupy different numbers of positions. Let and . We assign the latent span position IDs beginning at
which aligns the shared continuation whenever and otherwise prevents the latent span from overlapping the question. This shift applies only to Stage 1 substitution, where teacher and student are evaluated on the same continuation. Preservation, Stage 2, and inference generate without a reference trace, so the question and latent prefix use contiguous position IDs.
On GSM8K-Aug the shift is systematic. The shortest step is 5 tokens against latent slots, so at every depth and the clamp never applies. The displacement grows from 3 positions at to 14 at , roughly a quarter of the prefix, so Stage 1 trains on a layout that inference does not reproduce.
Llama encoders are trained for 1,500 minibatch iterations, with checkpoints saved every 100 iterations. Qwen encoders are trained for 3,000 iterations and saved every 200. We select checkpoints by generation accuracy on 300 held-out GSM8K-Aug questions that do not overlap the GSM8K test set.
INTACT Stage 2. Each Stage 2 run begins from its selected Stage 1 checkpoint. We first evaluate four completions for each of the first 3,000 eligible training questions and retain only questions for which the completions include both a correct and an incorrect answer. This produces between 1,473 and 1,906 questions across the Stage 1 seed lineages. During training, every visit draws eight fresh completions. Questions whose rewards all agree contribute no update.
An optimizer step contains 12 questions and eight completions per question, sampled at temperature 1.0. We optimize the per-sequence-normalized objective for 800 steps using AdamW with learning rate , zero weight decay, and gradient clipping at 1.0. The reported checkpoint is selected by generation accuracy on the held-out GSM8K-Aug split.
The frozen language model is kept in bfloat16 and the encoder in float32. Gradients pass through the language model, but only the encoder is updated. Each run uses one NVIDIA H100 NVL. Table 10 summarizes the optimization settings. Reported uncertainty is the sample standard deviation over the corresponding three encoder seed lineages.
| LLAMA-3.2 1B-Instruct | LLAMA-3.2 3B-Instruct | LLAMA-3.1 8B-Instruct | QWEN2.5 3B (base) | |
| Stage 1: progressive substitution | ||||
| latent blocks | 4 | 4 | 4 | 4 |
| vectors per block | 4 | 4 | 4 | 4 |
| learning rate | ||||
| weight decay | 0.01 | 0.01 | 0.01 | 0.01 |
| minibatch size | 8 | 8 | 8 | 8 |
| gradient clipping | 1.0 | 1.0 | 1.0 | 1.0 |
| preservation weight | 0.28 | 0.30 | 0.34 | 0.28 |
| Stage 2: latent-policy refinement | ||||
| learning rate | ||||
| weight decay | 0 | 0 | 0 | 0 |
| gradient clipping | 1.0 | 1.0 | 1.0 | 1.0 |
| rollouts per question | 8 | 8 | 8 | 8 |
| sampling temperature | 1.0 | 1.0 | 1.0 | 1.0 |
Table 10. Hyperparameters for both stages. The optimizer is AdamW throughout.
Architecture controls. The two architecture variants of Table 5 are retrained rather than modified at inference, and the jointly built variant is compared against a reference run that differs from it in one setting alone. Both draw the same GSM8K-Aug stream, take the same teacher continuations at the same four substitution depths, carry preservation weight against the student’s own rollout, train for 1,500 steps at and so take the same number of optimizer updates, and select a checkpoint by generation accuracy on the held-out validation split. The jointly built encoder flattens all queries into one encoder pass, so its blocks attend to one another and receive the progressive losses at the same four depths. What it does not see is the backbone’s state after the preceding blocks have been placed.
Diverse-Domain Training and Evaluation
Training corpus. We construct a 12,000-example training stream from Llama-Nemotron. Checkpoints are selected on 200 held-out GSM8K-Aug validation questions that are disjoint from the GSM8K test set. The resulting mixture is 64.3% mathematics, 21.4% science, and 14.3% code. For mathematics, we use the reasoning-off collection of direct solutions from LLAMA-3.3-70B-INSTRUCT. The reasoning-on collection instead places the usable solution after a substantially longer exploratory trace. The science and code examples are shared by both collections. We convert responses to ordered steps using equation-bearing spans for mathematics, sentences for science, and lines of fenced programs for code.
Training. We train the same 107M encoder architecture on LLAMA-3.2-3B-INSTRUCT, with blocks of vectors. Stage 1 runs for 1,500 steps with learning rate , batch size 8, a 200-step warmup, and preservation weight , using all three domains. Stage 2 starts from that checkpoint and runs for 800 group-relative policy-gradient steps with learning rate , batch size 12, and groups of eight rollouts sampled at temperature 1.0. Its rollout pool is 75% Nemotron mathematics and 25% Nemotron science, because code is not used in Stage 2. Mathematics receives a numeric-correctness reward, and science receives an option-letter correctness reward. Rollouts are capped at 256 tokens, and no KL penalty to a reference policy is used. All other settings follow Appendix § 8.§ 1 and the language model remains frozen throughout.
Evaluation. We evaluate under the sampling protocol of Appendix § 8.§ 4 with a 2,048-token budget. The loose budget limits the censoring caused by unfinished frozen-model generations, which still run to the cap on a larger fraction of the mathematics examples than Stage 2 does. Reported INTACT costs include both the generated tokens and the 16 latent positions.
Baselines
Result provenance. At LLAMA-3.2-1B and LLAMA-3.2-3B, we quote No-CoT, Aug-SFT, MUX, and CODI from Suleymanzade et al. [39], and LOTUS from Fan et al. [12]. Measured entries at LLAMA-3.1-8B and QWEN2.5-3B are ours. No directly comparable latent-reasoning checkpoint has been released for these backbones. Published 8B MUX and CODI results use base models, whereas our 8B backbone is instruction-tuned.
No-CoT and Aug-SFT. Our No-CoT and Aug-SFT runs at 8B and on Qwen use the same script and differ only in the supervision target. We apply rank-128 LoRA to the projections of every layer, with , dropout 0.05, and no bias. Training uses AdamW with learning rate , zero weight decay, 100 warmup steps followed by cosine decay, gradient clipping at 1.0, sequence length 512, and effective batch size 16 in bfloat16. Both train on all 385,530 GSM8K-Aug examples, where INTACT uses the 322,712 of them that carry at least two steps (Appendix § 8.§ 1). The adapters follow the same rank-128 configuration at every scale.
Nemo-SFT. We train this baseline on all four backbones using the same script and LoRA configuration as Aug-SFT, but replace GSM8K-Aug with the Llama-Nemotron mixture from Appendix § 8.§ 2. Thus the two baselines differ only in their supervision. Aug-SFT uses terse calculator expressions averaging roughly 31 tokens, and Nemo-SFT uses natural-language solutions averaging roughly 750 tokens. We select the step-200 checkpoint on every backbone.
Latent-reasoning baselines. For LOTUS on QWEN2.5-3B, we run the authors’ code with , six latent loops, constant AdamW learning rate , effective batch size 128, and seven epochs. This covers the curriculum through max_latent_stage=6. We report the final epoch using the authors’ evaluation script. The quoted MUX results use the shared LoRA configuration reported in its Table 8: rank 128, , and dropout 0.1. The quoted CODI results come from the same codebase and configuration, with CODI’s additional hidden-size projector included in its trainable-parameter count. We also train MUX on LLAMA-3.1-8B-INSTRUCT, where no checkpoint is released. MUX’s published learning rate of collapses on this backbone, so we use with gradient clipping at 1.0 and warmup ratio 0.10, and otherwise follow their train_llama8b_gsm8k_aug.sh. Figure 14 additionally includes SIM-CoT at 3B. We take its GSM8K and out-of-domain accuracies from Table 2 of Suleymanzade et al. [39] and estimate its trainable parameters as the shared rank-128 LoRA adapter plus a full auxiliary decoder with , following their Appendix B.4.
Figure 14. Accuracy against trainable parameters on LLAMA-3.2-3B, where up and to the left is better. OOD averages SVAMP, GSM-Hard and MultiArith. INTACT trains a 107M-parameter encoder and never updates the backbone, while the baselines train between 195M and 3.40B. No method here reports a trainable count, so each is derived (Appendix § 8.§ 3). Mathematics training (GSM8K-Aug), except Nemo-SFT (Llama-Nemotron).
Evaluation Protocol
Prompting and decoding. For numerical benchmarks, the model receives the bare question followed by a newline. Multiple-choice prompts instead use Question: followed by the question and lettered options. Neither format includes few-shot demonstrations or a model-specific chat template. Following the CODI/MUX protocol, we sample with temperature 0.1, top- 40, and top- 0.95. Quoted results retain the protocol of their source.
Generation budget. The GSM8K-Aug mathematics experiments use a 768-token cap for every system, and the Llama-Nemotron diverse-domain experiment uses 2,048. The larger budget reflects that mixture’s longer targets. Its steps are complete natural-language solutions rather than compact arithmetic, and at a 512-token cap the frozen backbone is truncated on up to 13.9% of mathematics problems, suppressing the reference point the gains are measured against. Appendix § 9.§ 1 sweeps the cap from 128 to 768 tokens. From 512 to 768 tokens, most systems move by tenths of a point, QWEN2.5-3B still gains 1.3, and the frozen LLAMA-3.1-8B loses accuracy because it rarely terminates. Table 8 instead adopts the 1,024-token cap of the SoftCoT protocol for both of its rows. Quoted results retain the budget of their source.
Answer extraction. We discard text following a newly generated Question:, which base models sometimes emit after completing a solution. For numerical benchmarks, we extract, in order, a value following #### or ###, an explicit “answer is” phrase, a boxed value, or the final number in the remaining completion. A prediction is correct when the extracted value matches the gold answer within . For multiple-choice benchmarks, we extract an explicit answer letter first, then the last matching option text, and finally the last standalone letter. Correctness is exact match with the gold option letter.
Extended Results
INTACT and the Frozen Backbone Across Budgets
Table 11: Accuracy (%) as a function of the generation budget, with the encoder trained on GSM8K-Aug. GSM8K is the matching test set and OOD averages SVAMP, GSM-Hard, and MultiArith. Stage 1 is progressive substitution alone and Stage 2 adds latent-policy refinement. Columns with show mean sample standard deviation over three encoder seeds.
| Backbone | Budget | Frozen LM GSM8K | Frozen LM OOD | INTACT Stage 1 GSM8K | INTACT Stage 1 OOD | INTACT Stage 2 GSM8K | INTACT Stage 2 OOD |
| LLAMA 3.2-1B | 128 | 13.2 | 33.4 | 14.0 0.6 | 35.8 0.2 | 17.3 2.6 | 42.1 3.0 |
| LLAMA 3.2-1B | 256 | 37.8 | 47.3 | 40.5 0.9 | 50.8 0.9 | 45.5 1.2 | 54.1 0.4 |
| LLAMA 3.2-1B | 384 | 43.7 | 47.8 | 43.9 1.0 | 51.3 1.0 | 48.5 1.4 | 54.4 0.5 |
| LLAMA 3.2-1B | 512 | 44.0 | 47.8 | 44.2 1.0 | 51.3 0.9 | 48.8 1.3 | 54.5 0.4 |
| LLAMA 3.2-1B | 768 | 44.0 | 47.8 | 44.2 1.0 | 51.3 1.0 | 48.7 1.3 | 54.5 0.4 |
| LLAMA 3.2-3B | 128 | 15.3 | 40.0 | 15.2 0.7 | 42.6 1.0 | 24.7 1.7 | 52.6 0.9 |
| LLAMA 3.2-3B | 256 | 61.6 | 64.1 | 65.0 0.7 | 66.9 0.4 | 72.2 0.9 | 67.5 0.1 |
| LLAMA 3.2-3B | 384 | 74.1 | 66.2 | 76.4 0.5 | 68.8 0.3 | 78.4 0.3 | 68.7 0.3 |
| LLAMA 3.2-3B | 512 | 75.8 | 66.5 | 77.6 0.3 | 69.0 0.3 | 79.2 0.3 | 68.8 0.2 |
| LLAMA 3.2-3B | 768 | 75.8 | 66.5 | 77.9 0.3 | 69.1 0.3 | 79.3 0.4 | 68.8 0.2 |
| LLAMA 3.1-8B | 128 | 14.9 | 38.9 | 15.1 0.7 | 41.0 1.2 | 30.7 2.8 | 55.8 1.6 |
| LLAMA 3.1-8B | 256 | 62.8 | 63.7 | 66.6 0.7 | 68.2 0.7 | 78.9 2.1 | 71.3 0.4 |
| LLAMA 3.1-8B | 384 | 76.3 | 62.1 | 81.8 0.8 | 70.9 0.9 | 83.3 0.6 | 72.1 0.7 |
| LLAMA 3.1-8B | 512 | 75.7 | 57.0 | 83.4 0.6 | 71.1 1.0 | 83.6 0.6 | 72.1 0.7 |
| LLAMA 3.1-8B | 768 | 72.3 | 53.9 | 83.7 0.6 | 71.1 1.1 | 83.6 0.7 | 72.1 0.7 |
| QWEN 2.5-3B | 128 | 18.5 | 41.9 | 28.2 3.1 | 47.3 2.5 | 52.3 0.8 | 68.4 0.3 |
| QWEN 2.5-3B | 256 | 51.6 | 68.1 | 57.3 0.8 | 69.3 0.2 | 78.7 0.5 | 74.8 0.5 |
| QWEN 2.5-3B | 384 | 70.3 | 73.1 | 72.9 2.0 | 73.6 1.0 | 79.7 0.4 | 75.1 0.5 |
| QWEN 2.5-3B | 512 | 76.3 | 74.3 | 77.2 2.1 | 74.7 1.0 | 79.7 0.5 | 75.1 0.5 |
| QWEN 2.5-3B | 768 | 77.6 | 74.6 | 78.0 2.0 | 75.0 1.0 | 79.7 0.5 | 75.1 0.5 |
Table 11. Accuracy (%) as a function of the generation budget, with the encoder trained on GSM8K-Aug. GSM8K is the matching test set and OOD averages SVAMP, GSM-Hard, and MultiArith. Stage 1 is progressive substitution alone and Stage 2 adds latent-policy refinement. Columns with show mean sample standard deviation over three encoder seeds.
Table 11 compares the frozen backbone with both INTACT stages at every backbone and every generation budget, of which Table 1 shows one cap. All budget values are scored from prefixes of the same generation pass. The frozen LLAMA-3.1-8B row falls as the budget grows because that model rarely terminates, reaching the cap on 97.1% of GSM8K generations against 8.6% for Stage 1 and none for Stage 2.
Prompt format. To isolate the effect of the prompt format, we re-evaluate the three instruction-tuned Llama backbones with their own chat templates, a sample of which is shown in Figure 7. The template helps at 8B, where it largely removes the termination failure and raises GSM8K accuracy from 72.3 to 78.4, but the effect is inconsistent across scales. Accuracy rises at 1B and falls at 3B. INTACT Stage 2, still scored under the bare prompt, remains more accurate than the chat-prompted frozen model on GSM8K and out of domain at all three scales, while its token cost is closer, lower at 8B and higher at 1B and 3B (Table 12).

Figure 7. Inputs compared for the frozen LLAMA-3.1-8B-INSTRUCT. The question is illustrative. The chat template adds its default system metadata and turn markers.
Bare question
John runs 60 miles in 3 days.
How many miles per day?
Llama-3.1-8B chat template
<|begin_of_text|>
<|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|>
<|start_header_id|>user<|end_header_id|>
John runs 60 miles in 3 days.
How many miles per day?<|eot_id|>
<|start_header_id|>assistant<|end_header_id|>
Accuracy–Efficiency Operating Points
Figure 8–Figure 10 compare accuracy with total positions. Upper left is better, and INTACT counts include all 16 latent positions. Figure 11–Figure 13 instead sweep the generation budget, with dashed curves updating the language model and solid curves keeping it frozen. LLAMA-3.2-1B is omitted because it was not evaluated on the finer budget grid these panels require. At 8B, no comparable CODI or LOTUS checkpoint is available and the MUX point is our reproduction (Appendix § 8.§ 3).
Figure 8. LLAMA-3.2-3B: accuracy against total positions on GSM8K (left) and the out-of-domain macro-average (right). Upper left is better. Frozen and Nemo-SFT are evaluated at the 768-token cap, and every other system at the operating point it reports.
Figure 10. QWEN2.5-3B: accuracy against total positions on GSM8K (left) and the out-of-domain macro-average (right). Upper left is better. Frozen and Nemo-SFT are evaluated at the 768-token cap, and every other system at the operating point it reports.
Figure 11. LLAMA-3.2-3B: accuracy against the generation budget on GSM8K (left) and the out-of-domain macro-average (right). Solid curves keep the language model frozen and dashed curves update it. Every budget is scored from prefixes of one generation pass, so a curve shows what that same run would have returned under a tighter cap.
Figure 13. QWEN2.5-3B: accuracy against the generation budget on GSM8K (left) and the out-of-domain macro-average (right). Solid curves keep the language model frozen and dashed curves update it. Every budget is scored from prefixes of one generation pass, so a curve shows what that same run would have returned under a tighter cap.
Figure 9. LLAMA-3.1-8B: accuracy against total positions on GSM8K (left) and the out-of-domain macro-average (right). Upper left is better. Frozen and Nemo-SFT are evaluated at the 768-token cap, and every other system at the operating point it reports.
Figure 12. LLAMA-3.1-8B: accuracy against the generation budget on GSM8K (left) and the out-of-domain macro-average (right). Solid curves keep the language model frozen and dashed curves update it. Every budget is scored from prefixes of one generation pass, so a curve shows what that same run would have returned under a tighter cap.
Efficiency
Three quantities are reported, and they are not interchangeable.
Generated tokens. The text the backbone emits, excluding the latent prefix. Table 3 and the ablations report this.
Total positions. Generated tokens plus INTACT’s latent slots, excluding the question. The operating-point figures and Table 14 use this.
End-to-end latency. Wall-clock milliseconds per problem, including both latent-prefix construction and text generation. Table 4 reports this.
| Domain | Benchmark | n | Frozen | Stage 1 | Stage 2 | Nemo-SFT |
| Science | OpenBookQA | 500 | 277.0 | 244.0 | 80.0 | 147.0 |
| Science | ARC-Challenge | 1172 | 234.0 | 240.0 | 82.0 | 166.0 |
| Science | ARC-Easy | 2376 | 262.0 | 237.0 | 98.0 | 153.0 |
| Science | SciQ | 1000 | 338.0 | 191.0 | 123.0 | 145.0 |
| Science | MMLU-science | 1397 | 376.0 | 278.0 | 148.0 | 246.0 |
| Science | Mean | 297.4 | 238.0 | 106.2 | 171.4 | |
| Commonsense | ECQA | 2162 | 214.0 | 146.0 | 61.0 | 130.0 |
| Commonsense | SocialIQA | 1954 | 177.0 | 256.0 | 143.0 | 141.0 |
| Commonsense | HellaSwag | 10042 | 776.0 | 756.0 | 60.0 | 138.0 |
| Commonsense | Mean | 389.0 | 386.0 | 88.0 | 136.3 | |
| Mathematics | GSM8K | 1319 | 358.0 | 259.3 | 254.8 | 241.9 |
| Mathematics | SVAMP | 1000 | 289.2 | 201.7 | 197.8 | 197.4 |
| Mathematics | MultiArith | 600 | 215.4 | 176.5 | 154.7 | 133.2 |
| Mathematics | GSM-Hard | 1319 | 448.1 | 388.7 | 352.1 | 357.0 |
| Mathematics | Mean | 327.7 | 256.6 | 239.8 | 232.4 |
Table 14. Mean total positions per problem for the encoder trained on the Llama-Nemotron mixture, at a 2,048-token budget. INTACT columns include the 16 latent prefix positions as well as the tokens generated, so a number here is comparable across rows and to Figure 1. Lower is better, and bold is the cheapest system on a row.
Trainable parameters and training cost. Figure 14 places the LLAMA-3.2-3B systems of Table 2 against the number of parameters each trains, together with SIM-CoT. INTACT trains a 107M encoder and never updates the backbone, so it is the leftmost point in both panels and the most accurate of the methods that leave the backbone frozen. The baselines run from 194.5M for the LoRA systems to 3.40B for SIM-CoT, which trains an adapter alongside a full auxiliary decoder and so updates more than a full fine-tune does. Nemo-SFT is more accurate, but reaches that accuracy by updating 194.5M backbone parameters. No paper in this comparison reports its own trainable count, so each is derived from the method’s description. Appendix § 8.§ 3 gives the sources and derivations.
Freezing the backbone also removes its parameter gradients and optimizer state, although its activations remain necessary for gradients to reach the encoder. On one H100 NVL and LLAMA-3.2-3B, Stage 1 takes 6.2 hours and Stage 2 a further 10.3 hours, placing the complete two-stage recipe below 17 GPU-hours.
Diverse-Domain Generalization
Accuracy by stage. Table 13 gives the accuracies behind Figure 5. The two stages divide the work differently by domain. In science, Stage 1 contributes 15.4 of the final 19.2-point gain on OpenBookQA and 15.3 of 22.5 points on ARC-Challenge. Stage 2 has its largest effect in commonsense. It adds 14.0 points on SocialIQA beyond the 7.4-point Stage 1 gain. Its contribution on mathematics is smaller but consistently positive, ranging from 0.4 to 1.1 points. Across the three commonsense benchmarks, Stage 2 reaches 61.6% compared with 55.4% for Nemo-SFT.
| Domain | Benchmark | n | Frozen | Stage 1 | Stage 2 | Nemo-SFT | |
| Science | OpenBookQA | 500 | 48.4 | 63.8 | 67.6 | 71.2 | +19.2 |
| Science | ARC-Challenge | 1172 | 50.1 | 65.4 | 72.6 | 73.0 | +22.5 |
| Science | ARC-Easy | 2376 | 67.5 | 80.8 | 86.2 | 85.5 | +18.7 |
| Science | SciQ | 1000 | 77.3 | 86.0 | 87.3 | 86.5 | +10.0 |
| Science | MMLU-science | 1397 | 43.8 | 49.3 | 54.3 | 56.8 | +10.5 |
| Commonsense | ECQA | 2162 | 52.6 | 58.5 | 64.2 | 67.0 | +11.6 |
| Commonsense | SocialIQA | 1954 | 42.9 | 50.3 | 64.3 | 46.7 | +21.4 |
| Commonsense | HellaSwag | 10042 | 32.4 | 39.0 | 56.2 | 52.5 | +23.8 |
| Mathematics | GSM8K | 1319 | 75.4 | 77.6 | 78.7 | 83.4 | +3.3 |
| Mathematics | SVAMP | 1000 | 77.9 | 80.8 | 81.6 | 83.3 | +3.7 |
| Mathematics | MultiArith | 600 | 95.5 | 97.0 | 97.5 | 98.7 | +2.0 |
| Mathematics | GSM-Hard | 1319 | 26.2 | 26.2 | 26.6 | 28.9 | +0.4 |
Table 13. Accuracy (%) of one LLAMA-3.2-3B encoder across twelve benchmarks at a 2,048-token budget, trained on the Llama-Nemotron mixture rather than GSM8K-Aug. Each system is a single checkpoint used in every domain, not a per-domain best. is Stage 2 against the frozen backbone. Every split is scored in full. Bold is the best of the three trained systems.
Token cost and termination. Table 14 gives what each system spends to reach the accuracies of Table 13. Stage 2 uses fewer total positions than the frozen backbone on all twelve benchmarks while improving accuracy on each. Stage 1 is cheaper on ten of twelve but is more expensive on ARC-Challenge and SocialIQA. The shortening is therefore not imposed mechanically by the latent prefix. It emerges most consistently after latent-policy refinement.
The 2,048-token budget reduces but does not eliminate truncation of frozen-model generations. Their reported means consequently remain more sensitive to the evaluation cap than those of INTACT and Nemo-SFT, which terminate more consistently.
Datasets and Evaluation Splits
Training Corpora
The experiments use two training corpora, each for a separate encoder.
GSM8K-Aug. The main mathematics experiments of § 4.1 use GSM8K-Aug ([10]), a 385K-example augmentation of GSM8K whose solutions consist of ordered, compact arithmetic steps. This structure directly supports progressive substitution. Latent block replaces written step without additional segmentation.
Llama-Nemotron. The diverse-domain experiment of § 4.5 uses Llama-Nemotron post-training data ([2]), which combines mathematics, science, and code under one collection process. We use its reasoning-off subset, whose responses are direct written solutions rather than search traces. Appendix § 8.§ 2 describes the sampling and step extraction.
Evaluation Benchmarks and Splits
Benchmark coverage. Table 15 lists every benchmark scored in the paper. Each benchmark uses its complete evaluation split, subject only to the ECQA de-duplication described below. GSM8K is the matching test set for GSM8K-Aug. For the diverse-domain experiment, we check for overlap after case-folding the question text and removing punctuation and multiple-choice options. We find no exact question-text match between the examples used in either training stage and any of the twelve evaluation splits. No evaluation question is used for checkpoint selection. Selection uses the disjoint 200-question GSM8K-Aug validation split described in Appendix § 8.§ 2. Multiple-choice benchmarks share the prompt format specified in Appendix § 8.§ 4.
| Domain | Benchmark | n | Form |
| Mathematics | GSM8K ([8]) | 1319 | number |
| Mathematics | GSM-Hard ([13]) | 1319 | number |
| Mathematics | SVAMP ([31]) | 1000 | number |
| Mathematics | MultiArith ([33]) | 600 | number |
| Science | OpenBookQA ([28]) | 500 | 4-way |
| Science | ARC-Easy ([7]) | 2376 | 4-way |
| Science | ARC-Challenge ([7]) | 1172 | 4-way |
| Science | SciQ ([44]) | 1000 | 4-way |
| Science | MMLU-science ([18]) | 1397 | 4-way |
| Commonsense | ECQA ([1]) | 2162 | 5-way |
| Commonsense | SocialIQA ([34]) | 1954 | 3-way |
| Commonsense | HellaSwag ([48]) | 10,042 | 4-way |
Table 15. Evaluation benchmarks and scored split sizes, grouped by domain. Every row uses the complete evaluation split after ECQA de-duplication. Form is either a numeric answer or an -way letter choice.
Dataset-specific conventions. MMLU-science is not a released split. It aggregates the eight MMLU subjects covered by Llama-Nemotron’s science data: high-school and college physics, chemistry, and biology, together with conceptual physics and astronomy. ECQA contains 32 test questions that also occur in its training split, inherited from CommonsenseQA. We remove these questions before scoring, leaving 2,162 examples.
References
- [1]Shourya Aggarwal, Divyanshu Mandowara, Vishwajeet Agrawal, Dinesh Khandelwal, Parag Singla, and Dinesh Garg. Explanations for CommonsenseQA: New dataset and models. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics (ACL), pp. 3050–3065, 2021.
- [2]Akhiad Bercovich, Itay Levy, Izik Golan, et al. Pllama-nemotron: Efficient reasoning models. arXiv preprint arXiv:2505.00949, 2025.arxiv.org/abs/2505.00949
- [3]Natasha Butt, Ariel Kwiatkowski, Ismail Labiad, Julia Kempe, and Yann Ollivier. Soft tokens, hard truths. arXiv preprint arXiv:2509.19170, 2025.arxiv.org/abs/2509.19170
- [4]Xinghao Chen, Anhao Zhao, Heming Xia, Xuan Lu, Hanlin Wang, Yanjun Chen, Wei Zhang, Jian Wang, Wenjie Li, and Xiaoyu Shen. Reasoning beyond language: A comprehensive survey on latent chain-of-thought reasoning. arXiv preprint arXiv:2505.16782, 2025a.arxiv.org/abs/2505.16782
- [5]Xingyu Chen, Jiahao Xu, Tian Liang, Zhiwei He, Jianhui Pang, Dian Yu, Linfeng Song, Qiuzhi Liu, Mengfei Zhou, Zhuosheng Zhang, Rui Wang, Zhaopeng Tu, Haitao Mi, and Dong Yu. Do not think that much for 2+3=? On the overthinking of long reasoning models. In International Conference on Machine Learning, 2025b.
- [6]Jeffrey Cheng and Benjamin Van Durme. Compressed chain of thought: Efficient reasoning through dense representations. arXiv preprint arXiv:2412.13171, 2024.arxiv.org/abs/2412.13171
- [7]Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.arxiv.org/abs/1803.05457
- [8]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.arxiv.org/abs/2110.14168
- [9]DeepSeek-AI, Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. Nature, 645:633–638, 2025.DOI
- [10]Yuntian Deng, Kiran Prasad, Roland Fernandez, Paul Smolensky, Vishrav Chaudhary, and Stuart Shieber. Implicit chain of thought reasoning via knowledge distillation. arXiv preprint arXiv:2311.01460, 2023.arxiv.org/abs/2311.01460
- [11]Yuntian Deng, Yejin Choi, and Stuart Shieber. From explicit CoT to implicit CoT: Learning to internalize CoT step by step. arXiv preprint arXiv:2405.14838, 2024.arxiv.org/abs/2405.14838
- [12]Ying Fan, Anej Svete, and Kangwook Lee. Bridging the gap between latent and explicit reasoning with looped transformers. arXiv preprint arXiv:2606.31779, 2026.arxiv.org/abs/2606.31779
- [13]Luyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. PAL: Program-aided language models. In International Conference on Machine Learning, volume 202 of PMLR, pp. 10764–10799, 2023.arxiv.org/abs/2211.10435
- [14]Jonas Geiping, Sean McLeish, Neel Jain, John Kirichenbauer, Siddharth Singh, Brian R. Bartoldson, Bhavya Kaikhurra, Abhinav Bhatele, and Tom Goldstein. Scaling up test-time compute with latent reasoning: A recurrent depth approach. In Advances in Neural Information Processing Systems, 2025.arxiv.org/abs/2502.05171
- [15]Sachin Goyal, Ziwei Ji, Ankit Singh Rawat, Aditya Krishna Menon, Sanjiv Kumar, and Vaishnavh Nagarajan. Think before you speak: Training language models with pause tokens. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.02226
- [16]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.arxiv.org/abs/2407.21783
- [17]Shibo Hao, Sainbayar Sukhbaatar, DiJia Su, Xian Li, Zhiting Hu, Jason Weston, and Yuandong Tian. Training large language models to reason in a continuous latent space. In Conference on Language Modeling, 2025.arxiv.org/abs/2412.06769
- [18]Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. In International Conference on Learning Representations, 2021a.
- [19]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In Advances in Neural Information Processing Systems, Datasets and Benchmarks Track, 2021b.
- [20]Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. LiveCodeBench: Holistic and contamination free evaluation of large language models for code. In International Conference on Learning Representations, 2025.arxiv.org/abs/2403.07974
- [21]Huiqiang Jiang, Qianhui Wu, Chin-Yew Lin, Yugang Yang, and Lili Qiu. LMLingua: Compressing prompts for accelerated inference of large language models. In Conference on Empirical Methods in Natural Language Processing, pp. 13358–13376, 2023.arxiv.org/abs/2310.05736
- [22]Haoqiang Kang, Yizhe Zhang, Nikki Lijing Kuang, Nicklas Majamaki, Navdeep Jaitly, Yi-An Ma, and Lianhui Qin. LaDiR: Latent diffusion enhances LLMs for text reasoning. In International Conference on Learning Representations, 2026.arxiv.org/abs/2510.04573
- [23]Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. In Advances in Neural Information Processing Systems, volume 35, pp. 22199–22213, 2022.arxiv.org/abs/2205.11916
- [24]Anna Kuzina, Maciej Pióro, and Babak Ehteshami Bejnordi. KaVa: Latent reasoning via compressed KV-cache distillation. In International Conference on Learning Representations, 2026.arxiv.org/abs/2510.02312
- [25]Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. In Conference on Empirical Methods in Natural Language Processing, pp. 3045–3059, 2021.arxiv.org/abs/2104.08691
- [26]Xiang Li, John Thickstun, Ishaan Gulrajani, Percy S Liang, and Tatsunori B Hashimoto. Diffusion-LM improves controllable text generation. In Advances in Neural Information Processing Systems, volume 35, pp. 4328–4343, 2022.arxiv.org/abs/2205.14217
- [27]Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step. In International Conference on Learning Representations, 2024.arxiv.org/abs/2305.20050
- [28]Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answering. In Conference on Empirical Methods in Natural Language Processing, pp. 2381–2391, 2018.arxiv.org/abs/1809.02789
- [29]Niklas Muennighoff, Zitong Yang, Weijia Shi, Xiang Lisa Li, Li Fei-Fei, Hannaneh Hajishirzi, Luke Zettlemoyer, Percy Liang, Emmanuel Candès, and Tatsunori Hashimoto. s1: Simple test-time scaling. In Conference on Empirical Methods in Natural Language Processing, 2025.
- [30]Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, Charles Sutton, and Augustus Odena. Show your work: Scratchpads for intermediate computation with language models. arXiv preprint arXiv:2112.00114, 2021.arxiv.org/abs/2112.00114
- [31]Arkil Patel, Satwik Bhattamishra, and Navin Goyal. Are NLP models really able to solve simple math word problems? In Conference of the North American Chapter of the Association for Computational Linguistics, pp. 2080–2094, 2021.
- [32]Jacob Pfau, William Merrill, and Samuel R Bowman. Let’s think dot by dot: Hidden computation in transformer language models. In First Conference on Language Modeling, 2024.arxiv.org/abs/2404.15758
- [33]Subhro Roy and Dan Roth. Solving general arithmetic word problems. In Conference on Empirical Methods in Natural Language Processing, pp. 1743–1752, 2015.arxiv.org/abs/1608.01413
- [35]Nikunj Saunshi, Nishanth Dikkala, Zhiyuan Li, Sanjiv Kumar, and Sashank J Reddi. Reasoning with latent thoughts: On the power of looped transformers. In International Conference on Learning Representations, 2025.arxiv.org/abs/2502.17416
- [36]Zhenyi Shen, Hanqi Yan, Linhai Zhang, Zhanghao Hu, Yali Du, and Yulan He. CODI: Compressing chain-of-thought into continuous space via self-distillation. In Conference on Empirical Methods in Natural Language Processing, Suzhou, China, 2025.arxiv.org/abs/2502.21074
- [37]Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning. In International Conference on Learning Representations, 2025.arxiv.org/abs/2408.03314
- [38]DiJia Su, Hanlin Zhu, Yingchen Xu, Jiantao Jiao, Yuandong Tian, and Qinqing Zheng. Token assorted: Mixing latent and text tokens for improved language model reasoning. In International Conference on Machine Learning, 2025.arxiv.org/abs/2502.03275
- [39]Ayhan Suleymanzade, Halil Alperen Gozeten, Michael Bronstein, Ismail Ilkan Ceylan, and Jinwoo Kim. MUX: Continuous reasoning via multiplexed tokens. arXiv preprint arXiv:2607.18264, 2026.arxiv.org/abs/2607.18264
- [40]Jihoon Tack, Jack Lanchantin, Jane Yu, Andrew Cohen, Ilia Kulikov, Janice Lan, Shibo Hu, Yuandong Tian, Jason Weston, and Xian Li. LLM pretraining with continuous concepts. In International Conference on Learning Representations, 2026.arxiv.org/abs/2502.08524
- [41]Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In International Conference on Learning Representations, 2023.arxiv.org/abs/2203.11171
- [42]Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc V Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, volume 35, pp. 24824–24837, 2022.arxiv.org/abs/2201.11903
- [43]Xilin Wei, Xiaoran Liu, Yuhang Zhang, Xiaoyi Dong, Yuhang Cao, Jiaq i Wang, Xipeng Qiu, and Dahua Lin. SIM-CoT: Supervised implicit chain-of-thought. In International Conference on Learning Representations, 2026.arxiv.org/abs/2509.20317
- [44]Johannes Welbl, Nelson F. Liu, and Matt Gardner. Crowdsourcing multiple choice science questions. In Workshop on Noisy User-generated Text, 2017.arxiv.org/abs/1707.06209
- [45]Chünhùng Wu, Jinliang Lu, Zixuan Ren, Gangqiang Hu, Zhi Wu, Dai Dai, and Hua Wu. LLMs are single-threaded reasoners: Demystifying the working mechanism of soft thinking. arXiv preprint arXiv:2508.03440, 2025.arxiv.org/abs/2508.03440
- [46]Yige Xu, Xu Guo, Zhiwei Zeng, and Chunyuan Miao. SoftCoT: Soft chain-of-thought for efficient reasoning with LLMs. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 23336–23351, Vienna, Austria, 2025.arxiv.org/abs/2502.12134
- [47]An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, et al. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2024.arxiv.org/abs/2412.15115
- [48]Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a machine really finish your sentence? In Annual Meeting of the Association for Computational Linguistics, 2019.arxiv.org/abs/1905.07830
- [49]Zhen Zhang, Xuehai He, Weixian Yan, Ao Shen, Chenyang Zhao, Shuohang Wang, Yelong Shen, and Xin Eric Wang. Soft thinking: Unlocking the reasoning potential of LLMs in continuous concept space. In Advances in Neural Information Processing Systems, 2025.arxiv.org/abs/2505.15778
- [50]Hanlin Zhu, Shibo Hao, Zhiting Hu, Jiantao Jiao, Stuart Russell, and Yuandong Tian. Reasoning by superposition: A theoretical perspective on chain of continuous thought. In Advances in Neural Information Processing Systems, 2025a.arxiv.org/abs/2505.12514
- [51]Rui-Jie Zhu, Tianhao Peng, Tianhao Cheng, Xingwei Qu, Jinfa Huang, Dawei Zhu, Hao Wang, Kaiwen Xue, Xuanliang Zhang, Yong Shan, et al. A survey on latent reasoning. arXiv preprint arXiv:2507.06203, 2025b.arxiv.org/abs/2507.06203












