Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Multi-Token Prediction Done Right

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

  • 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

Figure 2 :Illustration of position-aligned NTP distributions.

Original paper · CC 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

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

Original paper · CC 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
What we show
Paper info, commentary and permitted figures from the original paper

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}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up