TL;DR
Soft Teacher Forcing (Soft-TF) is a simple training algorithm that improves LLM reasoning by training on random mixtures of ground-truth embeddings and "soft tokens"—the model's own predicted probability distributions. By staying close to standard teacher forcing while incorporating continuous model signals, Soft-TF consistently outperforms standard supervised fine-tuning (SFT) across multiple math benchmarks and model families (Gemma, Llama, Mistral) without adding parameters or changing the inference process.
What Problem Does This Paper Address?
Supervised Fine-Tuning (SFT) on Chain-of-Thought (CoT) data is the standard way to teach Large Language Models (LLMs) to reason. However, SFT relies on Teacher Forcing (TF), where the model is always conditioned on ground-truth tokens during training. This creates a "distribution shift" at inference time, as the model must rely on its own (potentially erroneous) previous outputs.
A separate line of research has explored latent reasoning, where models generate continuous "soft tokens" (hidden states) instead of discrete words. While theoretically more expressive, these methods are computationally expensive—requiring sequential forward passes that break the parallel nature of Transformers— and often underperform standard SFT on real-world math benchmarks. The authors of this paper ask a clever question: instead of trying to replace discrete reasoning with soft tokens, can we use soft tokens to improve standard SFT?
Methods
The authors introduce Soft Teacher Forcing (Soft-TF), which consists of two main steps:
- Teacher-forced soft sequence computation: The model performs a single parallel forward pass over the ground-truth training sequence. At every position, it generates a probability distribution over the vocabulary. This distribution is mapped back through the embedding matrix to create a "soft token."
- Training with Soft-TF: During the actual training step, the input embedding at each position is replaced by a random convex combination of the ground-truth embedding and the soft token generated in step 1.
Mathematically, the input becomes $E^{final} = \alpha E^{soft} + (1 - \alpha) E^{GT}$, where $\alpha$ is sampled from a Beta distribution. This ensures the model sees a mix of "perfect" data and its own "beliefs." Crucially, because the soft tokens are computed in one parallel pass, it avoids the massive overhead of recursive latent reasoning methods.
Datasets
The researchers evaluated Soft-TF on four major mathematical reasoning benchmarks:
- GSM8K: Grade school math word problems.
- MATH: Challenging competition-level mathematics.
- MathQA: A large-scale dataset of math word problems with operation-based rationales.
- AQuA: Algebraic word problems with multiple-choice answers.
They tested the method across seven different models, including the Gemma 2/3, Llama 3.2, and Mistral 7B families.
Key Insights and Ideas
- Proximity to Teacher Forcing: The authors argue that latent reasoning methods fail because they drift too far from the Teacher Forcing regime the models were pretrained on. Soft-TF succeeds by staying "anchored" to the ground truth while introducing model-generated signals.
- The Convex Hull Constraint: By constructing soft tokens as convex combinations of vocabulary embeddings, Soft-TF ensures the model never encounters a point outside the "convex hull" of its known vocabulary. This prevents the model from entering out-of-distribution regimes that occur when using raw hidden states.
- Parallelism vs. Recursion: An ablation study showed that performance actually degrades as you make the soft token computation more sequential (increasing $K$ passes). A single parallel pass ($K=1$) is not just faster; it's more effective.
Key Results
Soft-TF consistently outperformed standard SFT and other regularization techniques like label smoothing and scheduled sampling.
- Broad Gains: On GSM8K, Soft-TF improved performance by +2.1 to +4.1 points across all seven models tested.
- State-of-the-Art Baselines: As shown in Table 1, Soft-TF achieved 49.28% on GSM8K (using Gemma2-2B), significantly higher than the standard SFT baseline of 44.70%.
- Model Agnostic: The method provided consistent boosts regardless of the model architecture or size (up to 9B parameters).

Limitations and Future Work
- Training Overhead: Soft-TF requires one additional forward pass per training step, resulting in roughly +42% wall-clock time and +14% peak memory usage. However, this is a fixed cost that does not grow with sequence length.
- Domain Specificity: The evaluation was limited to mathematical reasoning. It remains to be seen if Soft-TF provides similar benefits for code generation or general instruction following.
- Model Scale: The study focused on models up to 9B parameters; the impact on "frontier" models (70B+) is yet to be explored.
- Future Directions: The authors suggest exploring Soft-TF during the initial pretraining phase of LLMs, rather than just during fine-tuning.
Summary updated