A Model with No Head and Many Thoughts
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
A Model with No Head and Many Thoughts Nikita Koriagin1,* , Yaroslav Aksenov2,† , George Bredis2 , Gleb Gerasimov2 , Nikita Balagansky2 , Daniil Gavrilov2 1 Yandex, 2 T-Tech *
Work done while at T-Tech. † Correspondence: Yaroslav Aksenov, y.o.aksenov@t-tech.dev
arXiv:2608.31069v1 [cs.LG] 31 Aug 2026
Abstract Large language models decode by projecting hidden states through a large vocabulary head at every step. This operation is computationally costly and forces all reasoning to be expressed in discrete tokens. We introduce Soft Latent Thinking, a method that replaces the LM head during reasoning with a lightweight projector, enabling autoregressive rollout in embedding space where reasoning steps remain continuous rather than tokenized. Experiments on DeepSeek-Qwen-1.5B and LLaMA-3.2-3B show that Soft Latent Thinking consistently improves pass@k across all k while reducing per-step compute during chain-of-thought. Our method achieves the highest pass@32 among all soft-thinking approaches, demonstrating that effective reasoning can be carried out in continuous space without discrete token generation.
1
Introduction
Chain-of-thought (CoT) reasoning improves language model performance on complex problems by allocating extra computation to intermediate steps before producing a final answer. Soft thinking (Zhang et al., 2025) generalizes CoT by carrying out these intermediate steps in continuous embedding space rather than emitting discrete tokens, enabling richer state transitions and more flexible credit assignment. Recent methods (Butt et al., 2025; Zheng et al., 2025) further combine soft thinking with reinforcement learning (RL), yielding consistent gains over discrete-token RL on reasoning tasks. A key limitation of existing soft-thinking approaches is that they still route every reasoning step through the full vocabulary head. Concretely, at each step they form a V -way distribution, and use it to produce a weighted mixture of token embeddings. This design has two undesirable conse-
quences: it (i) ties latent reasoning states to discrete token semantics (since the state must lie in the span of token embeddings), and (ii) keeps the dominant computational cost of the V -dimensional projection and normalization, which becomes a bottleneck for long reasoning traces. We introduce Soft Latent Thinking (SLT), a soft-thinking variant that replaces the vocabulary projection only during reasoning with a compact latent projector. Instead of producing a distribution over V tokens, SLT maps a hidden state ht to coefficients over a learned latent basis of size K ≪ V , and directly synthesizes the next reasoning state in embedding space: ht 7→ at ∈ RK ,
zt = Bat ∈ Rd ,
where B ∈ Rd×K is the latent basis and zt is the continuous reasoning state fed to the next step. For stability, we initialize B from frequent domain token embeddings, but we allow both B and the projector to evolve under RL. For the final response, we keep standard token decoding unchanged; SLT only alters the internal reasoning operator. This replacement reduces per-step compute from a V -way projection to a K-dimensional mapping, and removes the requirement that intermediate reasoning states must be expressible as mixtures of discrete token embeddings. To make SLT trainable under RL, we define a tractable per-step likelihood for the latent reasoning action via the sampled Gumbel variables used in the continuous selection over the K basis directions. This provides a well-defined policy for policy-gradient updates despite operating on continuous intermediate states. In practice, we find that training is reliable with lightweight adaptation: updating only the SLT projector (and basis) or optionally combining it with LoRA (Hu et al., 2021) on a set of backbone weights, without full model retraining.
Figure 1: Comparison of decoding methods. (a) Standard decoding projects hidden states through the LM head to sample discrete tokens. (b) Soft thinking computes vocabulary probabilities via the LM head, then forms soft embeddings as weighted mixtures over all tokens. (c) Our method replaces the LM head with a lightweight projector (encoder-decoder) producing soft embeddings directly without full vocabulary projection.
We evaluate SLT on DeepSeek-R1-Distill-Qwen1.5B (DeepSeek-AI, 2025) and LLaMA-3.2-3BInstruct (Grattafiori et al., 2024) across five mathematical reasoning benchmarks. Compared to SofTGRPO, SLT improves average pass@32 while using fewer reasoning tokens and a cheaper per-step reasoning operator. We also analyze the diversity– accuracy tradeoff induced by the latent operator: individual samples can be slightly less precise than full-vocabulary soft thinking, but the increased diversity across rollouts improves coverage at higher k, which primarily drives the pass@32 gains.
2
Related Work
Chain-of-thought (CoT) prompting improves language model performance on complex reasoning tasks by encouraging step-by-step intermediate computations before producing final answers (Wei et al., 2022; Kojima et al., 2022). These works showed that allocating multiple steps of internal reasoning often leads to better outcomes than direct prediction. Recent work has explored reasoning in continuous embedding space rather than generating discrete tokens at each step. These methods allow models to maintain latent reasoning trajectories without committing to surface forms during intermediate steps. Coconut (Hao et al., 2024) introduces a recurrent hidden-state reasoning loop, where each hidden state is fed back as the next input, while Diffusion-of-Thought (Ye et al., 2024) refines reasoning through continuous denoising. A distinct class of approaches, known as soft thinking,
constructs intermediate steps as weighted mixtures of token embeddings (Zhang et al., 2025). This allows smooth transitions across token semantics but can lead to degenerate deterministic behavior. Wu et al. address this by applying Gumbel-Softmax sampling to promote diversity in reasoning paths (Wu et al., 2025; Jang et al., 2017). Recent work applies reinforcement learning with verifiable rewards (RLVR) to enhance CoT reasoning. Group Relative Policy Optimization (GRPO) (Shao et al., 2024) samples groups of trajectories per query and updates the policy to favor higherreward samples, yielding strong results on reasoning benchmarks. Initial attempts to combine soft thinking with GRPO underperform discrete-token counterparts (Butt et al., 2025), as soft tokens are deterministic given the logits, limiting exploration of alternative reasoning paths. SofT-GRPO (Zheng et al., 2025) addresses this through Gumbel reparameterization, introducing stochasticity while enabling policy gradients. We build on SofT-GRPO but introduce a dedicated projector that decouples soft token generation from the LM head, reducing per-step compute while improving sample diversity.
3
Background
3.1
Overview
Standard autoregressive decoding computes at each step: p(xt |x<t ) = softmax(Whead · ht ),
where ht ∈ Rd is the hidden state and Whead ∈ RV ×d projects to the full vocabulary. 3.2
Soft Thinking Methods
Soft Thinking. Zhang et al. (2025) propose generating soft tokens as probability-weighted mixtures of embeddings. At each step: st =
V X
pt,i · ei ,
density directly to st . Instead, it assigns likelihood to the underlying Gumbel variables (equivalently, to gt ). Given a candidate policy πθ producing pt,i = πθ (i | ct ), the stored gt,i is distributed as a standard Gumbel shifted by log pt,i , which yields the per-step log-likelihood
log pθ (gt | ct ) =
Stochastic Soft Thinking. Wu et al. (2025) identify that vanilla soft thinking suffers from a greedy pitfall—models rely predominantly on the highest-probability token. They introduce Gumbel-Softmax sampling to encourage exploration of diverse reasoning paths. Given logprobabilities log pt,i ∈ RV over the vocabulary, Gumbel-Softmax sampling computes:
i − exp − (gt,i − log pt,i ) . (3) Crucially, during the update gt,i is treated as fixed because it is part of the sampled trajectory produced in rollout (under θold ). Equivalently, the underlying noise ϵt,i = gt,i − log pold t,i is fixed. Therefore gt,i does not depend on θ inside the gradient computation: the only θ-dependent quantity above is pt,i = πθ (i | ct ). Finally, SofT-GRPO plugs this likelihood into a GRPO/PPO-style importance ratio for the softthinking steps: log rt = log pθ (gt | ct ) − log pθold (gt | ct ) V h X = − (gt,i − log pt,i )
gt,i = log pt,i + ϵt,i , ϵt,i ∼ Gumbel(0, 1), (1) exp(gt,i /τg ) , (2) yt,i = PV j=1 exp(gt,j /τg )
i=1
− exp − (gt,i − log pt,i )
where τg is a temperature parameter. The soft token P is then st = Vi=1 yt,i · ei . SofT-GRPO. Zheng et al. (2025) adapt GRPOstyle RL to the soft-thinking setting, where each reasoning step outputs a continuous vector st ∈ Rd instead of a discrete token. Two issues must be solved to make policy gradients workable: (i) plain soft thinking is effectively deterministic given the logits, so there is little exploration of alternative reasoning paths; and (ii) GRPO/PPO (Schulman et al., 2017) needs a per-step log-probability (or importance ratio), but a soft token st is not sampled from a categorical distribution. To obtain stochastic but valid soft tokens, SofTGRPO samples a Gumbel–Softmax mixture over the vocabulary and then maps it to an embedding. For a context ct = [Q, (s1 , . . . , st−1 )], rollout uses the behavior policy πθold to form token probabilities, injects i.i.d. Gumbel noise, and produces a soft token. The central trick for gradient evaluation is that SofT-GRPO does not try to assign a probability
− (gt,i − log pt,i )
i=1
i=1
where ei is the embedding of token i, and pt = softmax(Whead · ht ) ∈ RV . The soft token st is fed as input to the next step. This enables continuous reasoning without training, but computes a full softmax over V at each step.
V h X
−
V h X
i
i − ϵt,i − exp(−ϵt,i ) .
(4)
i=1
The second sum is constant with respect to θ, so optimizing the GRPO surrogate increases the likelihood of the stored Gumbel variables (and thus the stored soft-thinking trajectory) under πθ when its final answer receives higher reward. Answer tokens A are handled exactly as in standard GRPO (categorical log-probabilities and ratios), while only the soft-thinking prefix uses the Gumbel-based ratio above; clipping and a KL penalty to a reference policy are then applied in the usual way to stabilize updates.
4
Soft Latent Thinking
Our method, Soft Latent Thinking, replaces the expensive vocabulary projection during reasoning with a dedicated latent projector that maps the model hidden state directly to a soft embedding. Unlike SofT-GRPO (Zheng et al., 2025), which
Table 1: Performance comparison on five mathematical reasoning benchmarks. We evaluate two base models under discrete-token chain-of-thought and soft-thinking reasoning patterns. Metrics @1 denote Mean@32 (average Pass@1 across 32 runs), while @16 and @32 denote Pass@16 and Pass@32 respectively. Best result per metric/dataset is underlined, best average is bolded, second-best average is shaded. All values scaled by 100. Dataset Metrics
@1
AIME2024 @16 @32
@1
AIME2025 @16 @32
@1
AMC23 @16 @32
MATH-500 @1 @16 @32
@1
GSM8K @16 @32
@1
Average @16 @32
DeepSeek-R1-Distill-Qwen-1.5B Base LLM Discrete-Token CoT Reasoning Pattern No-Finetune + GRPO
30.6 31.8
70.0 66.7
73.3 76.7
23.0 25.3
46.7 46.7
53.3 46.7
No-Finetune + GRPO + SofT-GRPO + Ours
27.3 29.2 32.6 28.7
66.7 70.0 76.7 74.3
70.0 73.3 80.0 80.0
23.8 25.4 26.1 20.5
46.7 46.7 50.0 48.3
53.3 53.3 53.3 56.0
70.7 77.3
92.5 95.0
95.0 95.0
84.6 87.1
97.8 97.4
97.8 97.8
81.5 84.9
95.8 95.1
96.7 95.8
58.09 61.28
80.54 80.16
83.23 82.39
96.6 98.2 98.0 97.6
81.0 84.9 85.5 81.2
94.6 95.6 96.1 96.5
97.1 96.4 97.0 97.5
56.28 60.31 61.39 57.32
79.23 80.81 83.54 82.66
82.41 83.26 85.18 86.22
84.0 82.6
67.9 79.6
92.1 95.4
94.6 96.5
25.79 32.60
50.61 52.35
56.26 55.32
81.4 81.8 83.4 84.6
66.9 79.2 77.6 66.8
91.6 94.8 96.4 95.5
94.7 96.3 97.7 97.2
24.96 32.60 32.83 26.58
52.18 53.00 54.96 54.28
55.39 57.28 57.06 60.70
Soft-Thinking Reasoning Pattern 69.9 75.8 76.4 72.3
95.0 95.0 97.5 97.5
95.0 95.0 97.5 100.0
79.4 86.3 86.3 83.9
93.2 96.8 97.4 96.7
LLaMA-3.2-3B-Instruct Base LLM Discrete-Token CoT Reasoning Pattern No-Finetune + GRPO
4.4 7.3
20.0 23.3
26.7 26.7
0.3 0.5
0.3 3.3
1.0 3.3
No-Finetune + GRPO + SofT-GRPO + Ours
3.4 8.0 7.7 7.1
16.7 20.0 23.3 28.1
16.7 23.3 26.7 36.7
0.2 0.7 0.3 0.3
6.7 3.3 10.0 5.0
6.7 10.0 10.0 10.0
18.3 27.3
65.0 62.5
75.0 67.5
38.1 48.3
75.6 77.2
Soft-Thinking Reasoning Pattern 17.6 27.3 31.3 19.1
70.0 70.0 67.5 64.2
forms soft tokens as mixtures over the full vocabulary embeddings, our projector learns an independent, lower-cardinality latent space of size K ≪ V and decodes it back to Rd . This decoupling allows soft tokens to carry information that is not constrained to discrete token semantics, while reducing per-step compute by operating over K ≈ 12k–24k instead of V ≈ 150k. At soft-thinking step t, let ht ∈ Rd denote the last-layer hidden state (before the LM head) produced by the base model given the current context. The projector produces a soft embedding st ∈ Rd via a compressed softmax and Gumbel–Softmax sampling: Encoder. The encoder is a single linear map that compresses the hidden state into K logits: zt = Wenc ht . Sampling. We first compute probabilities from the encoder logits: exp(zt,i ) pt,i = PK . j=1 exp(zt,j )
36.7 47.8 47.2 39.6
76.0 76.8 77.6 78.6
Algorithm 1 Soft Latent Thinking training step. Require: prompt Q, policies θold , θ, projectors old old (Wenc , Wdec ) and (Wenc , Wdec ), temperature τg Rollout 1: c1 ← Q, B ← ∅ 2: for t = 1, . . . , Tmax do 3: ht ← fθold (ct ) old 4: pt ← softmax(Wenc ht ) 5: ϵt ∼ Gumbel(0, 1)K , gt ← log pt + ϵt 6: yt ← softmax(gt /τg ) old ⊤ 7: st ← (Wdec ) yt 8: B ← B ∪ {(ct , gt , ϵt , st )}, ct+1 ← [ct ; st ] 9: if stop(st ) then ▷ aligned with </think> or \boxed 10: break 11: end if 12: end for 13: Decode answer with LM head; receive reward R Update 14: for (ct , gt , ϵt , st ) ∈ B do 15: hθt ← fθ (ct ) 16: pθt ← softmax(Wenc hθt ) 17: log rt ← log pθ (gt | ct ) − log pθold (gt | ct ) ▷ Eq. 3 18: end for 19: Optimize clipped GRPO objective using {log rt }, answertoken ratios, and R
(5)
We then apply Gumbel-Softmax (Eqs. 1–2) over K categories, yielding mixture weights yt ∈ RK . Decoder. The decoder maps the latent mixture yt back to the model embedding space: ⊤ st = Wdec yt .
77.5 75.0 67.5 75.0
(6)
4.1
Initialization
Let K = {k1 , . . . , kK } be the indices of the K most frequent tokens in the target domain (or another chosen token subset). We initialize the projector from the pretrained LM head Whead ∈ RV ×d and the input embedding table E ∈ RV ×d by copy-
1.0 0.9892
0.9969
0.9989
(gt,1 , . . . , gt,K ) under the current policy and evaluate the Gumbel likelihood (Eq. 3 with V replaced by K). In this computation, gt,i is treated as fixed because it is part of the sampled trajectory produced during rollout (under θold ); only pt,i depends on θ. The corresponding per-step importance ratio used by the GRPO surrogate is
0.9995
Cumulative coverage
0.8
0.6
0.4
0.2
0.0
0
5000
10000
Token rank
15000
20000
25000
log rt = log pθ (gt | ct ) − log pθold (gt | ct ), (9)
Figure 2: Cumulative distribution of token frequencies on mathematical reasoning data. A small subset of tokens covers most occurrences: the top 5000 tokens account for almost 99% of the distribution.
where the second term is constant w.r.t. θ for a fixed rollout sample. For the final answer tokens, we use the standard categorical log-probability ratios from the LM head, as in discrete-token GRPO.
ing the corresponding rows:
4.3
Wenc [i, :] ← Whead [ki , :], Wdec [i, :] ← E[ki , :],
(7) i ∈ {1, . . . , K}. (8)
After initialization, Wenc and Wdec are trained and are not tied to Whead or E. The token-frequency distribution used for initialization is shown in Figure 2; it is computed on mathematical reasoning data (the math subset of OpenThoughts-114k (Guha et al., 2025), containing DeepSeek-generated (DeepSeek-AI, 2025) reasoning traces). The distribution is highly concentrated, but although the top 5k tokens cover over 99% of occurrences, our ablations (Table 7) show that K ≈ 12k yields optimal performance, suggesting the model benefits from access to rarer tokens during reasoning. 4.2
Generation begins with a <think> token when available. At each reasoning step, the projector produces a soft embedding st , which is fed to the next model step. Reasoning terminates when the soft embedding is sufficiently aligned with the </think> token embedding: cos st , e</think> > δ. (10) The model then switches to standard autoregressive decoding to generate the final answer. For models without explicit thinking boundary tokens (e.g., some LLaMA-style checkpoints), we use an alternative stopping criterion. Reasoning terminates when the soft embedding is sufficiently close to the \boxed token embedding: cos(st , e\boxed ) > γ.
Training
We train with the SofT-GRPO objective (Zheng et al., 2025). During rollout, we sample softthinking trajectories using the policy parameters θold . At each soft-thinking step t, we compute encoder logits ztold = Wenc (θold )ht , apply GumbelSoftmax sampling, and store the perturbed log probs gt together with the decoder produced soft embedding st (which is used as the next-step input). During the policy update, we replay the stored soft embeddings (s1 , . . . , st−1 ) to form the same context and recompute the projector probabilities under the current parameters θ: zt = Wenc (θ) ht , exp(zt,i ) pt,i = PK . j=1 exp(zt,j ) Following SofT-GRPO, we evaluate the likelihood of the stored Gumbel-perturbed log probs gt =
Inference
(11)
Stopping-threshold sensitivity. The stopping rule uses a cosine-similarity threshold to decide when the latent reasoning phase should hand control back to ordinary token decoding. In preliminary sensitivity checks, we observed that the cosine similarity to the boundary embedding stays low during intermediate reasoning, typically below 0.2, and rises sharply near the point where the model begins to produce the final answer. This makes the stopping rule relatively insensitive to moderate changes in δ or γ, although a full sweep over thresholds remains an important robustness check.
5
Experiments
We implement Soft Latent Thinking on two base models: DeepSeek-R1-Distill-Qwen-1.5B (DeepSeek-AI, 2025) and LLaMA-3.2-3B-Instruct (Grattafiori et al., 2024).
Table 2: Token efficiency on mathematical reasoning benchmarks . #Token represents total tokens generated across all queries, while #Tokenc represents tokens generated for correctly solved queries only. Dataset Metrics
AIME2024 #Token #Token_c
AIME2025 #Token #Token_c
AMC23 #Token #Token_c
MATH-500 #Token #Token_c
GSM8K #Token #Token_c
Average #Token #Token_c
5368.1 2958.5
1839.3 1417.1
1772.5 1370.6
10033.2 5298.3
8996.3 4790.3
3888.3 3131.7 3399.2 2815.0
1699.3 1385.5 1577.6 1646.9
1649.9 1349.9 1542.5 1342.6
10482.5 5442.7 6517.3 6073.0
9358.8 5127.2 5831.9 4643.6
DeepSeek-R1-Distill-Qwen-1.5B Base LLM Discrete-Token CoT Reasoning Pattern No-Finetune + GRPO
16241.6 8927.6
14997.8 8535.6
16416.3 8039.4
13448.8 6414.2
No-Finetune + GRPO + SofT-GRPO + Ours
17857.8 9383.2 11039.6 10280.8
16191.3 8934.5 10756.1 7006.2
17569.4 8007.2 10519.6 9805.2
14582.4 7325.8 7831.3 7630.9
10052.2 5001.3
9394.2 4672.8
5616.6 3106.1
Soft-Thinking Reasoning Pattern 11269.9 5203.7 5900.2 5252.6
Projector. The projector consists of an encoder Wenc ∈ RK×d and decoder Wdec ∈ RK×d . We set K = 8d, giving K = 12288 for Qwen (d = 1536) and K = 24576 for LLaMA (d = 3072).
10482.0 4894.4 5630.4 4423.4
4015.9 3233.6 3549.5 3379.5
Table 3: Preliminary AIME2024 larger-model sanity check on Qwen3.5-9B. Results are from one untuned configuration and should be interpreted as evidence of transfer stability rather than as a definitive scaling study. Model
Training. We train on the DeepScaleR dataset (Luo et al., 2025) using Soft-GRPO with outcomebased rewards. For both models we freeze the backbone and train LoRA adapters (rank 64) on all attention and MLP modules jointly with the projector. Baselines. We compare against: (1) the base model without fine-tuning, (2) the base model trained with standard GRPO, (3) Soft-Thinking without fine-tuning (Zhang et al., 2025), (4) SoftThinking with GRPO, and (5) SofT-GRPO (Zheng et al., 2025). 5.1
Main Results
The main results of Soft Latent Thinking are shown in Table 1. We evaluate on five mathematical reasoning benchmarks: AIME2024, AIME2025 (Art of Problem Solving, 2025), AMC23 (AI-MO, 2024), MATH-500 (Hendrycks et al., 2021), and GSM8K (Cobbe et al., 2021). Soft Latent Thinking primarily improves the multi-sample accuracy–efficiency tradeoff rather than uniformly dominating at every sampling budget. On DeepSeek-R1-Distill-Qwen-1.5B, we achieve 86.22 average pass@32 compared to 83.23 for the base model and 85.18 for SofT-GRPO. On LLaMA-3.2-3B-Instruct, we achieve 60.70 average pass@32 compared to 56.26 for the base model and 57.06 for SofT-GRPO. The gains are most pronounced at higher k, suggesting that decoupling soft token generation from the LM head—combined with Gumbel-Softmax sampling—encourages more diverse reasoning
Qwen3.5-9B + projector Base Qwen3.5-9B
Avg. tokens
Correct tokens
Pass@1
Pass@16
Pass@32
9288.1 23292.1
7378.2 21778.6
68.4 76.4
92.8 93.2
93.3 93.3
paths across rollouts. This also clarifies the deployment regime: SLT is most useful when multiple rollouts are affordable or already required, such as RL training and pass@k inference. 5.2
Preliminary Larger-Model Check
To probe whether the behavior transfers beyond the 1.5B–3B setting, we additionally ran a single untuned experiment on Qwen3.5-9B (Qwen Team, 2026). This check is not intended as a full-scale evaluation, because we did not perform scale-specific hyperparameter tuning or a complete baseline sweep. Nevertheless, as Table 3 shows, it reproduces the qualitative pattern observed in smaller models: the projector model is weaker at low k, but reaches the same pass@32 while using substantially fewer reasoning tokens. 5.3
Out-of-Domain Evaluation
We evaluate out-of-domain behavior on GPQA Diamond (science) (Rein et al., 2024) and HumanEval (code) (Chen et al., 2021). The corresponding pass@k curves are shown in Figure 3, and the full numerical results are reported in Table 9. We evaluate three settings: base model, LoRA with projector enabled, and LoRA with standard soft thinking (full vocabulary, no projector). On GPQA, the projector transfers well, achieving accuracy comparable to baselines. We attribute this to vocabulary overlap between mathematical and scientific reasoning (shared use of numbers,
GPQA: pass@k Comparison
1.0
HumanEval: pass@k Comparison
1.0
0.9 0.9
0.8
0.7
pass@k
pass@k
0.8
0.6
0.7
0.5
NoFT-Discrete NoFT-Soft GRPO-Discrete GRPO-Soft SofT-GRPO SLT SLT
0.4 0.3
1
2
4
k
8
16
32
NoFT-Discrete NoFT-Soft GRPO-Discrete GRPO-Soft SofT-GRPO SLT SLT
0.6
0.5
1
2
4
k
8
16
32
Figure 3: Out-of-domain evaluation on GPQA Diamond (science reasoning) and HumanEval (code generation) using DeepSeek-R1-Distill-Qwen-1.5B trained on mathematical reasoning tasks. SLT† indicates the projector is disabled at inference time, reverting to standard soft thinking with full-vocabulary decoding.
symbols, and formal notation). On HumanEval, the math-initialized projector degrades performance, as code requires different vocabulary (keywords, syntax, identifiers). However, disabling the projector and using standard soft thinking with the jointly trained LoRA achieves performance comparable to the strongest baselines. This demonstrates that LoRA adapters trained jointly with the projector remain effective for outof-domain tasks when the projector is bypassed. Mechanistically, the degradation is expected: code generation relies on Python keywords, identifiers, syntax tokens, and indentation markers, whereas the projector is initialized from tokens frequent in mathematical reasoning. Crucially, when the projector is disabled, performance matches or exceeds SofT-GRPO on outof-domain tasks (97.0 vs 95.5 on GPQA, 92.7 vs 94.5 on HumanEval). This enables a practical deployment strategy: use the projector for in-domain tasks to gain efficiency and pass@k improvements, and disable it for out-of-domain tasks with no performance penalty relative to the strongest baseline. The full numerical results are reported in Table 9. 5.4
Token Efficiency
Table 2 presents token usage across benchmarks. Soft Latent Thinking uses fewer tokens on average compared to SofT-GRPO, while achieving higher pass@k at higher k. This suggests that reasoning in continuous embedding space allows for more compact reasoning chains without sacrificing accuracy. The reduced token count, combined with the lower per-step FLOPs from bypassing the full vocabulary projection, results in overall computational savings during chain-of-thought generation.
5.5
Computational Efficiency
The primary advantage of Soft Latent Thinking is reduced compute during chain-of-thought generation. At each reasoning step, the standard approach computes: LM head FLOPs = 2 × d × V Our projector instead computes: Projector FLOPs = 2×d×K +2×K ×d = 4dK For d = 1536, V = 150k, and K = 16k, this V 2dV yields a reduction of 4dK = 2K ≈ 5× on the vocabulary projection step. We also measured prototype serving throughput in a mini-SGLang (Zheng et al., 2024) implementation. To be conservative, Table 4 reports projector scale 8, the largest and least favorable projector among the tested settings. Even in this setting, throughput remains above the vanilla baseline across the tested models and batch sizes. We separate these end-to-end serving numbers from graph-level decode speed: the latter shows an approximately 1.05× decode speedup across tested models and is the cleaner measurement of the algorithmic gain from replacing the LM-head reasoning step. Table 4: Prototype serving throughput with projector scale 8. TPS denotes generated tokens per second. Model Llama-3.2-1B Llama-3.2-1B Llama-3.2-1B Llama-3.2-3B Llama-3.2-3B Llama-3.2-3B Llama-3.1-8B Llama-3.1-8B Llama-3.1-8B
Batch
Vanilla TPS
Ours TPS
Speedup
1 4 8 1 4 8 1 4 8
675.4 2637.1 5038.2 299.3 1176.7 2317.8 160.2 519.9 1113.7
723.3 2823.1 5349.2 314.7 1236.2 2436.6 165.3 652.9 1266.1
1.071× 1.071× 1.062× 1.051× 1.051× 1.051× 1.032× 1.256× 1.137×
5.6
Table 6: Vocabulary compression at inference without training.
Ablations
All ablation studies are conducted on AIME2024 using DeepSeek-R1-Distill-Qwen-1.5B unless otherwise specified.
Setting
@1
We also compare our projector against standard soft thinking using the same LoRA weights (Table 5). Full vocabulary soft thinking achieves higher pass@1 but lower pass@16, with similar pass@32. This suggests the compressed vocabulary introduces beneficial stochasticity: while individual samples may be less precise, diversity across samples improves, yielding better coverage at higher k.
Table 5: Projector variant ablation with fixed LoRA weights. Full ST uses standard soft thinking over full vocabulary V . Setting
@1
@16
@32
#Token
Ours (trained projector) Init projector Full ST
28.7 28.3 29.5
74.3 70.1 72.3
80.0 76.7 80.0
10280 11383 11242
Vocabulary compression at inference. We evaluate vocabulary compression without training by using an initialized projector (pruned LM head and embedding table to K tokens) at inference time. Table 6 compares this against the full vocabulary baseline. Without fine-tuning, the pruned projector degrades performance compared to full vocabulary soft thinking, indicating that vocabulary compression alone hurts. When applied to the SofT-GRPO checkpoint, the pruned projector shows the same degradation. This demonstrates that vocabulary compression at inference alone is insufficient—the model must be trained with the compressed vocabulary to effectively reason through the bottleneck.
@32
#Token
70.0 63.3
17858 6370
No fine-tuning Full ST Init projector
Effect of projector training. We ablate the projector by replacing trained weights with initial ones (Eq. 7) while keeping LoRA fixed. As shown in Table 5, this degrades performance across all pass@k and increases response length, indicating the projector learns more efficient reasoning paths despite minimal weight change.
@16
27.3 11.3
66.7 56.3
SofT-GRPO checkpoint Full ST Init projector
32.6 15.8
76.7 60.6
80.0 70.0
11039 6408
Projector size. Table 7 ablates the projector size K. Small K ≈ 1.5k underperforms due to limited capacity. K ≈ 6k achieves the best pass@1, while K ≈ 12k achieves the best pass@16 and pass@32. This suggests a trade-off: smaller projectors produce more focused selections benefiting single attempts, while larger projectors enable greater diversity for multi-sample evaluation. Table 7: Ablation on projector size K.
K
@1
@16
@32
#Token
1*1536 4*1536 8*1536
20.4 29.7 28.7
58.2 62.0 74.3
66.7 66.7 80.0
18694 14881 10280
Projector and backbone training. Table 8 ablates the training configuration. Training only the projector with a frozen backbone yields weaker performance than the base model, as the backbone cannot adapt to process soft embeddings. Joint training of projector and LoRA achieves the best results, allowing both components to co-adapt. We do not evaluate freezing the projector while training only LoRA, as this reduces to SofT-GRPO constrained to K tokens—strictly less expressive than full vocabulary SofT-GRPO. Table 8: Projector and backbone training ablation. Projector
Backbone
@1
@16
@32
#Token
Trained Trained Init
LoRA Frozen Frozen
28.7 26.0 11.3
74.3 65.4 56.3
80.0 70.0 63.3
10280 12256 6370
Temperature. We explored the Gumbel-Softmax temperature τg during training and inference. For training, τg = 0.1 worked best for LLaMA-3.2-3BInstruct while τg = 0.5 worked best for DeepSeekR1-Distill-Qwen-1.5B, suggesting that the opti-
Table 9: Out-of-domain evaluation on GPQA Diamond and HumanEval. † indicates projector disabled, reverting to full-vocabulary soft thinking. Dataset Metrics
GPQA Diamond @1 @8 @32
@1
HumanEval @8 @32
DeepSeek-R1-Distill-Qwen-1.5B Discrete-Token CoT Reasoning No-Finetune + GRPO
36.7 35.4
84.3 77.8
96.0 93.4
68.1 72.2
87.2 90.9
93.9 94.5
89.6 89.0 88.4 77.9 88.0
92.7 95.1 94.5 87.2 92.7
Soft-Thinking Reasoning No-Finetune + GRPO + SofT-GRPO + Ours + Ours†
36.0 36.5 37.3 34.2 35.4
83.8 81.3 82.8 82.7 83.0
97.0 94.4 95.5 95.5 97.0
67.2 71.8 71.2 54.0 70.0
mal training temperature may depend on the base model. For inference, both models performed best with τg = 0.5, indicating that moderate stochasticity during generation encourages exploration of diverse reasoning paths.
6
Discussion
Training efficiency. Replacing the full vocabulary projection (V ≈ 150k) with a compressed projector (K ≈ 12–24k) reduces this operation by ∼5–10× per reasoning step. End-to-end gains are smaller because attention and MLP layers remain, but the savings compound over long traces and many GRPO rollouts. Decoupled embeddings. Standard soft thinking uses the embedding table both for latent reasoning and discrete output, which may constrain expressiveness. Our projector decouples these roles: its decoder learns embeddings optimized for latent reasoning rather than token identity. LoRA as decoding adapter. LoRA adapts the frozen backbone to process projector-generated soft embeddings instead of discrete token embeddings. This helps explain why out-of-domain knowledge is preserved when the projector is disabled. Modularity. Our approach separates reasoning capacity (projector) from domain adaptation (LoRA). This enables a plug-and-play setup: different projectors can be trained for different domains (math, code, science) while sharing the same frozen backbone. At inference, users can select the appropriate projector for their task or disable it entirely for general-purpose use.
Exploration via stochasticity. The GumbelSoftmax mechanism introduces controlled stochasticity during both training and inference. Our results show this benefits pass@k at higher k, as the model explores diverse reasoning paths across samples. This contrasts with full vocabulary soft thinking, which achieves higher pass@1 but lower pass@16 due to more deterministic selections.
7
Conclusion
We introduced Soft Latent Thinking, a method that enables language models to reason in continuous embedding space through a lightweight projector operating over a compressed vocabulary. By replacing the full vocabulary projection with a small learned projector, we reduce per-step FLOPs during chain-of-thought while achieving competitive or superior performance. Our experiments on DeepSeek-R1-Distill-Qwen1.5B and LLaMA-3.2-3B-Instruct demonstrate that Soft Latent Thinking outperforms SofT-GRPO and other baselines at higher pass@k, with improved token efficiency. The approach requires only LoRA adapters on a frozen backbone, preserving out-ofdomain capabilities and enabling modular deployment. Our analysis reveals that the projector learns subtle but impactful adjustments to token selection, and that the compressed vocabulary introduces beneficial stochasticity for exploring diverse reasoning paths.
8
Limitations
The projector is initialized on domain-specific tokens (e.g., mathematical vocabulary), which limits out-of-domain transfer when the projector is enabled. On HumanEval (code), performance degrades with the math-initialized projector, though disabling it and using standard soft thinking with LoRA preserves performance. Future work could explore multi-domain projectors and better domainagnostic initializations. A preliminary PCA/SVD initialization over the embedding table performed poorly in our early experiments, suggesting that useful reasoning traces may occupy a specialized subspace rather than a high-variance global embedding subspace.
References AI-MO. 2024. AIMO validation AMC dataset. https://huggingface.co/datasets/AI-MO/ aimo-validation-amc. Art of Problem Solving. 2025. AIME problems and solutions. https://artofproblemsolving. com/wiki/index.php/AIME_Problems_and_ Solutions. Natasha Butt, Ariel Kwiatkowski, Ismail Labiad, Julia Kempe, and Yann Ollivier. 2025. Soft tokens, hard truths. arXiv preprint arXiv:2509.19170. Mark Chen et al. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. DeepSeek-AI. 2025. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081):633–638. Aaron Grattafiori et al. 2024. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783. Etash Guha et al. 2025. OpenThoughts: Data recipes for reasoning models. arXiv preprint arXiv:2506.04178. Shibo Hao, Sainbayar Sukhbaatar, DiJia Su, Xian Li, Zhiting Hu, Jason Weston, and Yuandong Tian. 2024. Training large language models to reason in a continuous latent space. arXiv preprint arXiv:2412.06769. Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. 2021. Measuring mathematical problem solving with the MATH dataset. arXiv preprint arXiv:2103.03874. Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021. LoRA: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685. Eric Jang, Shixiang Gu, and Ben Poole. 2017. Categorical reparameterization with Gumbel-Softmax. In International Conference on Learning Representations. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916. Michael Luo, Sijun Tan, Justin Wong, Xiaoxiang Shi, William Y. Tang, Manan Roongta, Colin Cai, Jeffrey Luo, Tianjun Zhang, Li Erran Li, Raluca Ada Popa,
and Ion Stoica. 2025. DeepScaleR: Surpassing O1Preview with a 1.5B model by scaling RL. Notion Blog. Qwen Team. 2026. Qwen3.5: Towards native multimodal agents. Qwen Blog. David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, and Samuel R. Bowman. 2024. GPQA: A graduate-level google-proof q&a benchmark. In First Conference on Language Modeling. John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain-of-thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903. Junhong Wu, Jinliang Lu, Zixuan Ren, Gangqiang Hu, Zhi Wu, Dai Dai, and Hua Wu. 2025. LLMs are single-threaded reasoners: Demystifying the working mechanism of soft thinking. arXiv preprint arXiv:2508.03440. Jiacheng Ye, Shansan Gong, Liheng Chen, Lin Zheng, Jiahui Gao, Han Shi, Chuan Wu, Xin Jiang, Zhenguo Li, Wei Bi, and Lingpeng Kong. 2024. Diffusion of thoughts: Chain-of-thought reasoning in diffusion language models. arXiv preprint arXiv:2402.07754. Zhen Zhang, Xuehai He, Weixiang Yan, Ao Shen, Chenyang Zhao, Shuohang Wang, Yelong Shen, and Xin Eric Wang. 2025. Soft thinking: Unlocking the reasoning potential of LLMs in continuous concept space. arXiv preprint arXiv:2505.15778. Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun, Jeff Huang, Cody Hao Yu, Shiyi Cao, Christos Kozyrakis, Ion Stoica, Joseph E. Gonzalez, Clark Barrett, and Ying Sheng. 2024. SGLang: Efficient execution of structured language model programs. arXiv preprint arXiv:2312.07104. Zhi Zheng, Yu Gu, Wei Liu, Yee Whye Teh, and Wee Sun Lee. 2025. SofT-GRPO: Surpassing discrete-token LLM reinforcement learning via gumbel-reparameterized soft-thinking policy optimization. arXiv preprint arXiv:2511.06411.
Related documents
- Models and minds#767346
- Making Sense of Models and Modelling in Science Education: Atomic Models and Contributions from Mario Bunge’s Epistemology#77337
- Explanation and Understanding in a Model-Based Model of Cognition#761149
- Outline of a Theory of the Perceptive Ground#699788
- Comparison Between Angelito Malicse's Universal Formula and Fritjof Capra's Systems Thinking#81160
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive