Manuscript Offprint

arXiv:2608.31069

A Model with No Head and Many Thoughts

Nikita Koriagin, Yaroslav Aksenov, George Bredis, Gleb Gerasimov, Nikita Balagansky, Daniil Gavrilov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 consequences: 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 hth_t to coefficients over a learned latent basis of size K≪VK \ll V, and directly synthesizes the next reasoning state in embedding space:

ht↦at∈RK,zt=Bat∈Rd,h_{t}\mapsto a_{t}\in\mathbb{R}^{K},\qquad z_{t}=B a_{t}\in\mathbb{R}^{d},

where B∈Rd×KB \in \mathbb{R}^{d \times K} is the latent basis and ztz_t is the continuous reasoning state fed to the next step. For stability, we initialize BB from frequent domain token embeddings, but we allow both BB 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 VV-way projection to a KK-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

(a)(a)

Figure

(b)

Figure

(c)

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-Qwen-1.5B (DeepSeek-AI, 2025) and LLaMA-3.2-3B-Instruct (Grattafiori et al., 2024) across five mathematical reasoning benchmarks. Compared to Soft-GRPO, 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.

References (17)