Introduction
When Large Language Models (LLMs) utilize Chain-of-Thought (CoT) reasoning, they typically generate intermediate steps one discrete word (token) at a time. However, human cognition is often more fluid. Recent theoretical work suggests that allowing LLMs to reason in a continuous, latent space—using mixtures of tokens rather than rigid, single tokens—could allow them to explore multiple reasoning paths simultaneously in a state of "superposition."
Historically, training models to use continuous CoTs has been notoriously difficult. Previous attempts either applied continuous tokens only at inference time (which often degrades performance) or relied on distilling ground-truth discrete reasoning traces into continuous ones. This distillation requires backpropagating through the entire sequence, an incredibly memory-intensive process that limits the "thought" process to just a handful of tokens.
This paper introduces the first scalable method for training LLMs to reason using continuous ("soft") tokens via Reinforcement Learning (RL). By injecting noise into continuous token embeddings to enable RL exploration, the authors bypass the need for expensive distillation. The result is a model that matches standard discrete training in accuracy, generates more diverse reasoning paths, and better preserves the base model's general knowledge.
Methodology
The authors propose a post-training RL algorithm that operates on continuous token representations, introducing minimal computational overhead compared to standard discrete CoT training.
- Soft and Fuzzy Tokens: Instead of sampling a single discrete token (a "hard" token), the model passes a probability-weighted mixture of token embeddings to the next layer. The authors test two variants: Soft tokens (using a softmax temperature of 0.5 to create a broad mixture) and Fuzzy tokens (using a temperature near 0, making it mathematically continuous but practically very close to a discrete token).
- The Secret Sauce — Noise Injection: Because soft token generation is deterministic, standard RL algorithms cannot naturally explore different outcomes. The authors solve this by injecting Gaussian noise directly into the input embeddings. This noise provides the necessary variation for the RL algorithm (specifically, RLOO) to explore different reasoning manifolds and learn from rewards.
- Decoupled Inference: The training method is decoupled from the inference method. Models are trained using noisy continuous tokens, but at test time, they are evaluated using standard, discrete tokens.
Experimental Setup
The approach was evaluated across several math reasoning datasets, including GSM8K, MATH, and DeepScaleR for training. In-domain evaluation utilized GSM8K, MATH-500, and the highly challenging OlympiadBench. To test if the math fine-tuning degraded the model's general capabilities, Out-of-Domain (OOD) evaluations were conducted on HellaSwag, ARC, and MMLU. The base models tested included Llama 3.2 3B Instruct, Llama 3.1 8B Instruct, and Qwen 2.5 3B Instruct.
Results & Insights
- Pass@1 Parity and Pass@32 Superiority: Soft and fuzzy training match traditional hard-token training for greedy pass@1 accuracy across almost all model and dataset combinations. However, under sampling (pass@32), continuous training consistently outperforms discrete training. This proves that soft training learns a more diverse set of successful reasoning paths.
- Train Soft, Infer Hard: Specialized inference pipelines are not required to reap the benefits of continuous training. The authors found that training in the continuous space but deploying with standard discrete tokens yields the best performance.
- Generalization Rescue: When Llama-8B was trained on GSM8K and tested on the harder MATH dataset, standard hard training collapsed (dropping to 20.2% pass@1). Fuzzy and soft training, however, maintained generalization, scoring ~44.7%.
- A "Softer Touch" on the Base Model: Standard discrete RL fine-tuning often makes models overconfident and degrades their general knowledge (catastrophic forgetting). On ARC and MMLU, models trained with soft/fuzzy tokens had noticeably better Negative Log-Likelihood (NLL) scores for correct answers compared to hard-trained models. Soft training acts as a safer fine-tuning method that preserves the base model's entropy profile.
Limitations and Future Work
Contrary to claims in some prior literature, the authors found that using soft tokens during inference did not improve performance; standard hard inference was always better. Additionally, the placement of the noise is finicky: ablations showed that noise must be injected at the embedding layer, as attempts to add noise to the final hidden states or logits failed to produce meaningful learning.
While this paper focuses on math reasoning and RLOO, this scalable approach opens the door to applying continuous latent reasoning to much longer horizons, different domains (like coding or logic), and more complex RL setups (like PPO) without the massive overhead of backpropagation through time.
Summary updated