# Multi-Token Prediction Done Right

Soft-MTP trains multi-token heads on the model's own next-token distribution

Jayden Teoh · arXiv · 2026-10-28

- **Problem** Standard multi-token prediction training mixes a useful self-distillation signal with a noisy residual that interferes with learning. Explicit KL distillation has not been practical because it needs vocabulary-sized logit matrices, which clash with fused cross-entropy kernels.
- **Method** Soft-MTP is a one-line change that reuses the existing cross-entropy computations. Straight-through routing sends only the KL self-distillation gradient to the MTP heads and trunk, while the shared output head keeps learning from data.
- **Results** At 1.2B parameters, Soft-MTP averaged 57.31 zero-shot accuracy, compared with 56.80 for standard MTP. It adds no parameters and no measurable overhead.

## Where standard MTP gets stuck

Multi-token prediction (MTP) adds heads that predict several future tokens beyond the next one. Its heads can also draft tokens for speculative decoding, and a draft survives only if it agrees with the model's own next-token prediction. Training each MTP head to imitate the model's own next-token distribution looks natural, and that is the self-distillation idea.

The obstacle is cost, because an explicit KL divergence needs vocabulary-sized logit tensors for both teacher and student. Fused cross-entropy kernels are designed to avoid building those full logit matrices, so an explicit KL clashes with them.

The authors observe that standard MTP cross-entropy already carries this self-distillation signal, buried inside the gradient. The MTP gradient splits exactly into a KL term that pulls the MTP head toward the model's own NTP distribution. The same gradient also contains a residual term, which comes from the next-token cross-entropy on the data.

The authors report that this residual has a low signal-to-noise ratio (SNR). They argue that the residual interferes with both next-token and multi-token learning, and more so as scale grows. Because the head is shared, the KL gradient can be recovered from the cross-entropy gradients without materializing any logits.

## Splitting the MTP gradient in two

The MTP cross-entropy gradient for the k-th head splits exactly into a self-distillation term and a residual. The hard MTP gradient is the output-head transpose applied to the MTP probabilities minus the one-hot target. The aligned NTP distribution q(k)t predicts the same token x(t+k+1) and serves as the reference point for the split. Adding and subtracting q(k)t gives a gKL term built from p(k)t minus q(k)t, and a gres term built from q(k)t minus the one-hot target.

The gKL term is the gradient of the forward KL from the stop-gradient aligned NTP distribution to the MTP distribution. Because the MTP head sees the same data with shifted positions and shares the output head, gKL already pushes the head toward self-distillation.

![Figure 2: Illustration of position-aligned NTP distributions](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-117fd1255476aadd827f8de184dee546.png?thumb=512)

**Figure 2** :Illustration of position-aligned NTP distributions.

[Original paper](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · Original paper figure · Extracted the figure area from page 4 of the original PDF.

The residual gres splits further into an NTP error term and a one-hot sampling noise term. The sampling noise has zero mean because the expectation of the one-hot target equals the true distribution pi(k)t. The hard MTP gradient is unbiased, but it carries the full one-hot sampling variance. Dropping gres removes that variance, but it biases gKL toward the NTP distribution rather than the data distribution.

The NTP error term is the teacher's own prediction error, and it keeps shrinking as the base model scales or trains longer. The one-hot sampling variance is irreducible, so no amount of scale or training removes it. The trade therefore becomes more favorable at scale, and Section 6.1 tests that with signal-to-noise ratios. Since MTP mainly accelerates inference, biasing the MTP heads toward the NTP distribution helps speculative decoding acceptance.

Pinsker's inequality links the TV distance to KL, which the authors use as an upper bound on the acceptance rate.

## Recovering the KL gradient with straight-through routing

The trick gets the KL gradient without ever computing the KL divergence or building its logits. Soft-MTP adds a stop-gradient term to each NTP hidden state, built from earlier MTP hidden states. That added term is numerically zero, so the forward values and the NTP loss don't change. Because the NTP loss stays the same, the NTP update is unaltered.

Its gradient, however, injects a negative g\_res into the MTP hidden state h(k)t. Adding that injected term to the ordinary hard MTP gradient leaves exactly g\_KL.

The routing relies on the stop-gradient identity, which the authors compare to straight-through estimators. Unlike a straight-through estimator, the authors use it to derive a gradient they can compute, not to approximate one. Figure 1 shows the routing as a one-line change in the training code. In that code, each detached MTP difference is added into the NTP hidden state, and the NTP loss is computed on it.

The gradients come from cross-entropy losses that standard MTP already computes, so no extra logit matrices are built. The shared output head keeps receiving cross-entropy gradients, while the MTP heads and the trunk receive only g\_KL. The method adds no parameters, and the authors report no measurable overhead.

## How strongly the residual drowns the signal

The authors measure gradient signal-to-noise ratio (SNR) on 256 independent batches, each with 4 sequences of length 2048. They define the signal as the squared norm of the expected gradient direction, and the noise as the total variance around that direction.

The residual carries roughly 4× lower SNR than the KL component throughout training. The gap widens from 4.1× at 167M to 4.6× at 1.2B. The authors tie this to the bias–variance view: the one-hot sampling noise never shrinks, while the NTP error does. Even so, the residual accounts for roughly 80% of the MTP gradient that reaches the shared trunk.

The authors read this as the high-SNR KL signal being present but buried under high-variance updates.

A unit step along the KL component lowers the NTP loss, whereas a step along the residual raises it. This is a proxy: the step re-evaluates NTP loss through the frozen output head. The realized update to the trunk also depends on the optimizer, so the authors don't claim it as a direct training effect. Training confirms the picture: Soft-MTP lowers NTP loss, and the gap grows with scale.

## Soft-MTP against standard MTP

Speculative decoding was tested on FineWeb-Edu, Wikipedia, Books, Science and Math, with 256 prompts of length 512 per domain. The three MTP heads draft tokens, and the model's own next-token head verifies them over 512-token continuations. Averaged over the five domains, Soft-MTP raised acceptance length by 1.8–2.2% and speedup by 1.4–1.5% at each scale.

The authors read this as the bias from their gradient analysis working in their favour.

On zero-shot tasks, standard MTP doesn't beat NTP on multiple-choice accuracy at small scales. At 1.2B, Soft-MTP averaged 57.31 zero-shot accuracy, against 56.80 for standard MTP. The gap is about 0.1 points at 167M and 332M. The gap grows to about 0.5 points at 689M and 1.2B. Soft-MTP overtakes NTP in zero-shot accuracy at 689M and 1.2B.

At 1.2B, Soft-MTP also has the best WikiText and LAMBADA perplexity of the three models.

The authors dropped the MTP heads and fine-tuned the 1.2B models with NTP loss alone. The fine-tuning used 4.2B math tokens and 21.0B Python code tokens. On HumanEval pass@64, Soft-MTP reached 43.90, compared to 40.85 for standard MTP. That margin is 3.1 percentage points. On MBPP pass@64, Soft-MTP was 1.2 points above standard MTP. On math, Soft-MTP led standard MTP by 1.1 points on GSM8K.

Its lead on MATH-500 was 1.8 points.

## Soft-MTP against explicit KL self-distillation

At 1.2B, KL-MTP adds 1.5% matmul FLOPs over standard MTP, at 10.43 GFLOP/token against 10.28. Its throughput drops to 46,990 tok/s, 5.6% below standard MTP at 49,783 tok/s. Soft-MTP keeps the FLOPs of standard MTP and runs within 0.07% of its throughput, at 49,748 tok/s.

Table 6 compares the three MTP objectives at 1.2B, with NTP shown as a reference. Soft-MTP ties or wins every perplexity metric, with FW-Edu at 10.74 for both methods.

In speculative decoding the two methods are close, and KL-MTP is ahead by at most 0.01 on FineWeb-Edu. The two objectives differ only in the gradient that updates the output head.

![Figure 6: Effective rank of the logit map Wγ. Soft-MTP stays closest to the next-token readout](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-c3586da14306dfcbe246fa7db7c0518a.png?thumb=512)

**Figure 6** : Effective rank of the logit map Wγ. Soft-MTP stays closest to the next-token readout.

[Original paper](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

The output head is shared, so under KL-MTP the head fits predictions that it computes itself. This gives the KL a shortcut, because it can shrink by making the readout less sensitive to directions where MTP and NTP states differ. The effective rank of the logit map is 496 for NTP, 131 for standard MTP, 321 for KL-MTP and 437 for Soft-MTP.

Soft-MTP and KL-MTP send the same KL gradient through the trunk, so the gap between them comes from cross-entropy at the head.

## Limits of the trick and of the evidence

The recovered KL gradient reaches only the MTP heads and the shared trunk, because Soft-MTP keeps updating the output head with cross-entropy. So the head stays tied to the data, but the exact KL signal never shapes the readout itself. Soft-MTP drops the NTP-error term, so the KL gradient it keeps leans toward the NTP distribution and away from the data distribution.

The authors read this bias as useful for speculative decoding, because drafts have to match the verifier.

The bias term comes from the NTP teacher's own prediction error, and it shrinks as the base model scales or trains longer. The one-hot sampling variance does not shrink with scale or training, since it is irreducible noise from sampling the target. Acceptance depends on the TV distance, so KL reaches it only through Pinsker's inequality as an indirect upper bound.

The authors still call KL the more appropriate training loss, because it is smooth where TV is not. They didn't measure the bias directly, so the scale trend rests on the SNR gap they report.

The total of approximately 31.5B training tokens sits near 1.3× Chinchilla-optimal for the largest model. The models use the Muon optimizer, so the results come from that optimizer setting. The SNR estimates use M=256 independent batches, each with 4 sequences of length 2048, which limits how far the SNR numbers generalize.

The Meta-style MTP result appears only in an appendix, while the main study uses the DeepSeek-style architecture. The parallelism and frontier-scale compatibility are argued from the algorithm, not measured on large training runs.

## Paper info

- **Authors**: Jayden Teoh
- **Venue**: arXiv · Preprint
- **First published**: 2026-10-28
- **Added**: 2026-10-31
- **Updated**: 2026-10-28
- **Version**: v1
- **arXiv**: 2610.38331
- **Category**: cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2610.38331v1) · [PDF ↗](https://arxiv.org/pdf/2610.38331v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Multi-Token Prediction (MTP) is now a common ingredient in language-model pre-training, as it improves downstream performance and enables faster inference through speculative decoding. We identify a flaw in standard MTP training, in which a residual component of the MTP gradient interferes with both next-token and multi-token learning, increasingly so with scale. Specifically, the MTP cross-entropy gradient can be decomposed exactly into a KL self-distillation term that pulls each MTP head toward the model's own next-token prediction (NTP) distribution and improves speculative decoding, and a residual that has a low signal-to-noise ratio and buries the useful KL signal. We introduce the KL gradient-recovery trick: when two distributions share a linear output head, the gradient of their KL divergence can be recovered exactly by combining their cross-entropy gradients through straight-through gradient routing. Unlike minimizing the KL directly, this trick requires no vocabulary-sized logit matrices and is compatible with standard fused cross-entropy kernels. This enables Soft Multi-Token Prediction (Soft-MTP), a one-line code change to MTP that removes the noisy residual and backpropagates only the KL self-distillation signal by reusing the existing NTP and MTP cross-entropy computations. Soft-MTP supports both DeepSeek- and Meta-style MTP, adds no parameters, and incurs no measurable overhead. From 167M to 1.2B parameters, Soft-MTP improves over standard MTP with lower NTP perplexity, faster speculative decoding and higher zero-shot accuracy at every scale, lower MTP perplexity from 689M onward, and stronger math and code reasoning after fine-tuning at 1.2B. Soft-MTP also matches, if not exceeds, direct KL divergence minimization on most metrics. Soft-MTP is, in effect, a free lunch for MTP optimization. Our code can be found at https://github.com/JaydenTeoh/Soft-MTP.

## Quote from the paper

Jayden Teoh (2026). Multi-Token Prediction Done Right. arXiv:2610.38331v1. https://arxiv.org/abs/2610.38331v1

**BibTeX**

```
@misc{teoh2026multi,
  title = {{Multi-Token Prediction Done Right}},
  author = {Jayden Teoh},
  year = {2026},
  eprint = {2610.38331},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.38331v1}
}
```

## Related papers

- [DeepSeek-V3 Technical Report](https://refivu.com/en/papers/761895a4-08f3-446f-98de-60152a184c97-deepseek-v3-technical-report.md)
- [TTB: Test-time Baking for Efficient Rendering of Decoder-only View Synthesis Models](https://refivu.com/en/papers/f34fe5c7-9006-4cfd-9121-be1fdd53118f-ttb-test-time-baking-for-efficient-rendering-of.md)
- [Understanding the Role of Reasoning Data in Pretraining](https://refivu.com/en/papers/c130a474-a6eb-4156-877e-f96974963a74-understanding-the-role-of-reasoning-data-in-pretraining.md)
- [Fast at the Frontier, Wrong at the Fallback: A Commit-Level Analysis of Threshold Decoding in Diffusion Language Models](https://refivu.com/en/papers/ee708681-d281-4f0d-af44-191c6b588143-fast-at-the-frontier-wrong-at-the-fallback.md)
- [Multi-Branch Transformer](https://refivu.com/en/papers/41db7368-f02a-4b93-a29d-688fd514713c-multi-branch-transformer.md)
- [Program Synthesis with Large Language Models](https://refivu.com/en/papers/91ec5a25-4d41-4e97-96c5-09d1f9e9480e-program-synthesis-with-large-language-models.md)

## Other paper commentary

- [Near-Optimal Consistency-Robustness Trade-Offs for Learning-Augmented Online Knapsack Problems](https://refivu.com/en/papers/7433999f-8924-4307-bafb-589d81cd9d20-near-optimal-consistency-robustness-trade-offs-for-learning.md)
- [Compositional Risk Minimization](https://refivu.com/en/papers/7f0b2d82-eb6c-417e-a42e-8b6899343b6c-compositional-risk-minimization.md)
- [Learning-Order Autoregressive Models with Application to Molecular Graph Generation](https://refivu.com/en/papers/504d6ec4-8539-4bc7-b02b-fe990e79896e-learning-order-autoregressive-models-with-application-to.md)
- [Subgroups Matter for Robust Bias Mitigation](https://refivu.com/en/papers/2a39c8a2-c675-4178-942e-a231ced5722f-subgroups-matter-for-robust-bias-mitigation.md)
- [Stochastic Encodings for Active Feature Acquisition](https://refivu.com/en/papers/dafe6547-b3c0-4ca9-a7fe-82ee925a0c88-stochastic-encodings-for-active-feature-acquisition.md)
- [Scalable Gaussian Processes with Latent Kronecker Structure](https://refivu.com/en/papers/1d5b6ab1-f72e-49ab-842e-cf71b44106cd-scalable-gaussian-processes-with-latent-kronecker-structure.md)
- [Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound](https://refivu.com/en/papers/bb7ed38f-7636-44c4-921c-7a661fe6cf0f-solving-probabilistic-verification-problems-of-neural.md)
- [Feature Learning beyond the Lazy-Rich Dichotomy: Insights from Representational Geometry](https://refivu.com/en/papers/145cac59-29af-46bd-915b-28b2501ff19d-feature-learning-beyond-the-lazy-rich-dichotomy-insights.md)
- [Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers](https://refivu.com/en/papers/d0ed8609-fa25-4225-88a2-81bbc32dbac9-lower-bounds-for-chain-of-thought-reasoning-in.md)
- [DataDecide: How to Predict Best Pretraining Data with Small Experiments](https://refivu.com/en/papers/b2e5b927-f525-4063-8956-246603aff1fb-datadecide-how-to-predict-best-pretraining-data-with.md)

## Terms in this paper

- [perplexity](https://refivu.com/en/terms/2b204e513801-perplexity)
- [MBPP](https://refivu.com/en/terms/717e657dd0b2-mbpp)
- [pass@k](https://refivu.com/en/terms/c162514bd507-pass-k)
- [next-token prediction](https://refivu.com/en/terms/48ea406e7dd8-next-token-prediction)
- [zero-shot accuracy](https://refivu.com/en/terms/51018930c0be-zero-shot-accuracy)
- [effective rank](https://refivu.com/en/terms/d2e71b349aa1-effective-rank)
- [signal-to-noise ratio](https://refivu.com/en/terms/9b3a8b590fb6-signal-to-noise-ratio)
- [Multi-Token Prediction](https://refivu.com/en/terms/62388dcd8f67-multi-token-prediction)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/96cce8ac-487a-47a2-8b3b-075193f1d020-multi-token-prediction-done-right)
