# Multi-Token Prediction Done Right

DevFeed: [Multi-Token Prediction Done Right](<https://devfeed.tech/articles/multi-token-prediction-done-right-108682.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38331>)

Author: Jayden Teoh

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [kl-divergence](<https://devfeed.tech/tags/kl-divergence.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [learning](<https://devfeed.tech/tags/learning.md>), [linear](<https://devfeed.tech/tags/linear.md>), [math](<https://devfeed.tech/tags/math.md>), [meta](<https://devfeed.tech/tags/meta.md>), [model](<https://devfeed.tech/tags/model.md>), [next](<https://devfeed.tech/tags/next.md>), [next-token-prediction](<https://devfeed.tech/tags/next-token-prediction.md>), [noise](<https://devfeed.tech/tags/noise.md>), [ntp](<https://devfeed.tech/tags/ntp.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [perplexity](<https://devfeed.tech/tags/perplexity.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [speculative-decoding](<https://devfeed.tech/tags/speculative-decoding.md>), [token](<https://devfeed.tech/tags/token.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

The authors argue that standard multi-token prediction (MTP) gradients contain a noisy residual that interferes with next-token and multi-token learning. Their Soft-MTP approach uses straight-through gradient routing to recover the KL self-distillation gradient from existing cross-entropy computations, avoiding vocabulary-sized logit matrices and remaining compatible with fused cross-entropy kernels. Described as a one-line change, it supports DeepSeek- and Meta-style MTP, adds no parameters, and has no measurable overhead. In experiments from 167M to 1.2B parameters, it reports lower next-token perplexity, faster speculative decoding and higher zero-shot accuracy than standard MTP at every scale; MTP perplexity is lower from 689M onward. At 1.2B, fine-tuning also yields stronger math and code reasoning. The abstract says Soft-MTP matches or exceeds direct KL minimization on most metrics.

## Source excerpt

arXiv:2610.38331v1 Announce Type: new 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.