arXiv:2610.38331cs.LGOct 2026

Manuscript Offprint

arXiv:2610.38331

Multi-Token Prediction Done Right

Jayden Teoh

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

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.

Figure

Figure 1: Soft-MTP's illustration, pseudocode, and loss performance compared to MTP. Blue line is the one-line code change. We refer readers to Algorithm 1 for the full code implementation of Soft-MTP, including the MTP loss weighting.

Correspondence to: jayden_t@mit.edu

1 Introduction

Next-token prediction (NTP) has become a general recipe for training large language models (LLMs), yielding models with remarkable capabilities across a wide range of tasks [Radford et al., 2019]. One might argue that the NTP objective is sufficient—any distribution over token sequences can, in theory, be factorized autoregressively and modeled by a sufficiently expressive next-token predictor [Sutskever, 2023].

Yet, Multi-Token Prediction (MTP) [Stern et al., 2018, Qi et al., 2020, Gloeckle et al., 2024], which trains a model to predict multiple future tokens, has now been widely adopted in modern LLM training, including in DeepSeek-V3/4 [DeepSeek-AI, 2024, 2026a], Nemotron 3 [NVIDIA, 2025], GLM-5 [GLM-5-Team, 2026], and Kimi K3 [Kimi Team, 2026], just to name a few. MTP offers two main advantages over NTP—better model performance and more efficient inference. As a learning objective, MTP has been shown to alleviate the myopic nature of the next-token supervision [Bachmann and Nagarajan, 2024, Gloeckle et al., 2024, Nagarajan et al., 2025, Huang et al., 2026], leading to stronger downstream performance on long-horizon domains such as mathematics and code. More importantly, MTP heads can also be used for speculative decoding [Leviathan et al., 2022, Chen et al., 2023] to accelerate model inference.

Despite the wide adoption of MTP, we still understand little about how it interacts with next-token prediction and which objective is best for training the MTP heads. During speculative decoding, a token drafted by MTP is accepted only if it agrees with the model's own next-token prediction. If the goal is to improve speculative decoding, shouldn't we directly train the model's MTP heads to match its own NTP distribution via self-distillation? Recent work does exactly this [Teoh et al., 2025, Zhao et al., 2026a], but naively minimizing an explicit KL divergence requires materializing vocabulary-sized logit tensors for both the teacher and the student, which is costly in memory and incompatible with the standard fused cross-entropy kernels used in modern pre-training [Hsu et al., 2025, Wijmans et al., 2025]. In practice, frontier models still train their MTP heads with standard cross-entropy against the data.

In this paper, we show that the standard MTP cross-entropy gradient already contains this self-distillation signal. The MTP gradient decomposes exactly into a KL term gKLg_{KL}, which pulls the MTP head toward the model's own next-token distribution, and a residual gresg_{res}, which is the NTP cross-entropy gradient against the data (see Section 4). We provide evidence that this residual in the MTP loss gradient has a low signal-to-noise ratio (SNR) and interferes with both NTP and MTP learning, especially as scale increases. We then introduce the KL gradient–recovery trick: when two distributions share a linear output head, the gradient of their KL divergence can be recovered exactly from their cross-entropy gradients through straight-through gradient routing [Bengio et al., 2013, van den Oord et al., 2017], without explicitly computing the KL or materializing any logits. This trick enables Soft Multi-Token Prediction (Soft-MTP), which removes the residual and sends only the useful KL self-distillation gradient through the MTP heads and the shared model trunk, with a one-line code change (see Figure 1).

From 167M to 1.2B parameters, Soft-MTP improves over standard MTP with lower NTP perplexity, faster self-speculative decoding in every domain we test, and higher zero-shot accuracy at every scale, as well as stronger code and math reasoning after fine-tuning. It also reaches lower MTP loss from 689M parameters onward. Soft-MTP matches or exceeds the costly explicit KL self-distillation on most metrics, at no extra cost over standard MTP. Soft-MTP supports both DeepSeek-style [DeepSeek-AI, 2024] and Meta-style [Gloeckle et al., 2024] MTP architectures, adds no parameters, has negligible overhead, and remains compatible with fused cross-entropy kernels and the parallelism used in frontier pre-training. Soft-MTP is, in effect, a free lunch for MTP optimization.

References (90)