# Multi-Token Prediction Done Right

제대로 된 다중 토큰 예측

Jayden Teoh · arXiv · 2026년 10월 28일

- **연구 문제** 표준 MTP의 교차엔트로피 gradient에 섞인 잔차 성분이 NTP와 MTP 학습을 방해하는지 확인합니다.
- **연구 방법** MTP gradient를 KL 자기증류 성분과 잔차 성분으로 분해하고, straight-through 라우팅으로 잔차를 제거한 Soft-MTP를 제안합니다.
- **주요 결과** Soft-MTP는 표준 MTP보다 NTP·MTP 손실, 수락 길이, 1.2B 규모의 zero-shot 정확도와 수학·코드 fine-tuning 결과에서 높은 값을 보고합니다.

## 표준 MTP가 남기는 문제

다중 토큰 예측(Multi-Token Prediction, MTP)은 여러 미래 토큰을 함께 예측하도록 추가 헤드를 학습하는 방법으로, 언어 모델의 다운스트림 성능을 높이고 추론에서는 드래프터로 사용됩니다. 그런데 표준 MTP는 교차엔트로피 손실로 학습되며, 이 교차엔트로피 gradient 안에 모델 자신의 다음 토큰 분포(NTP)를 따라가는 KL 자기증류 성분과, 데이터 정답에서 오는 잔차 성분이 함께 섞여 있습니다. 저자들은 이 잔차 성분이 신호 대 잡음비가 낮고 NTP 학습을 방해한다고 봅니다. 따라서 이 글은 잔차 성분을 어떻게 분리하고, 그것을 제거한 학습이 실제로 무엇을 바꾸는지를 따라갑니다.

## KL gradient 복원과 Soft-MTP의 gradient 라우팅

저자들은 MTP hard gradient가 정확히 g\_KL과 g\_res의 합으로 분해된다고 제시합니다. 여기서 g\_KL은 aligned NTP 분포를 교사로 둔 KL 발산의 gradient이고, g\_res는 NTP 분포와 원-핫 정답의 차이에서 나오는 잔차입니다. KL gradient–recovery trick은 NTP 은닉 상태를 stop-gradient 항으로 증강하여, 순전파 값은 바꾸지 않고 역전파 경로에서 MTP 은닉 상태에 -g\_res를 주입합니다. 그 결과 MTP 헤드와 공유 트렁크는 g\_KL만 받고, 공유 선형 출력 헤드 W\_θ는 교차엔트로피 gradient로 계속 학습됩니다. 이 절차는 명시적 KL 계산이나 vocabulary 크기의 logit 행렬 생성을 요구하지 않습니다.

![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.

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## pre-training과 추론 실험의 설정

실험은 167M에서 1.2B 파라미터 범위의 LLaMA 스타일 모델을 FineWeb-Edu로 60,000 step 동안 학습하는 설정에서 수행되었습니다. MTP는 DeepSeek 스타일 구조를 사용하고 K=3 헤드와 λ\_MTP=1.0을 사용하며, 최적화기는 Muon입니다. 추론 평가는 학습된 MTP 헤드를 드래프터로, 모델 자신의 NTP 헤드를 검증자로 사용하는 self-speculative decoding이며, 수락 길이와 속도 향상을 측정합니다. 이 설정들은 본문 결과를 해석할 때의 기준이며, 다른 데이터나 모델 계열로 일반화하지 않습니다.

![Table 7: Training, model and MTP hyperparameters. The global batch is identical everywhere ( 256×2048 tokens). Both fine-tunes are trained with next-token pred…](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-057640905f4987938dcb614007b2a566.png?thumb=512)

**Table 7** :Training, model and MTP hyperparameters. The global batch is identical everywhere ( 256×2048 tokens). Both fine-tunes are trained with next-token prediction only.

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.

## NTP·MTP 손실과 다운스트림 결과

잔차 성분의 신호 대 잡음비는 KL 성분보다 낮으며, 저자들은 그 차이가 모델 규모가 커질수록 벌어진다고 보고합니다. 제거 실험에서 Soft-MTP는 표준 MTP보다 NTP 손실이 낮고, 689M 파라미터부터는 MTP 손실도 낮아집니다. 1.2B 규모의 zero-shot 평균 정확도는 Soft-MTP 57.31, MTP 56.80, NTP 56.75입니다. 추론 측면에서 Soft-MTP는 여러 규모와 도메인에서 표준 MTP보다 수락 길이와 속도 향상이 높다고 보고합니다. 수학과 코드 fine-tuning 결과에서도 1.2B 모델의 GSM8K는 Soft-MTP 49.66, MTP 48.60이며 MATH-500은 25.00 대 23.20입니다.

![Table 2: Self-speculative decoding performance across domains.KL divergence / TV distance:teacher-forced divergence of the MTP distribution from the model’s ow…](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-ba2429d76b5b71582a5da00c2b119754.png?thumb=512)

**Table 2** :Self-speculative decoding performance across domains.KL divergence / TV distance:teacher-forced divergence of the MTP distribution from the model’s own next-token verifier on FineWeb-Edu validation set (mean over the three MTP heads). Speedup:improvement in inference speed using self-speculative decoding (relative to autoregressive decoding).Acceptance Length (Acc. Len.):average accepted tokens per draft, excluding the next-token prediction which is always accepted. Green: relative improvement of Soft-MTP over MTP. Weboldthe better of MTP and Soft-MTP per column; Soft-MTP wins every metric at every scale.

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Table 3: Downstream language modeling evaluation. Weboldthe stronger result between standard MTP and Soft-MTP for every model scale (NTP results are only for r…](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-9ecc7b876d848022b791aab4bae683a0.png?thumb=512)

**Table 3** :Downstream language modeling evaluation. Weboldthe stronger result between standard MTP and Soft-MTP for every model scale (NTP results are only for reference).

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Table 4: Math and code fine-tuning results. Each 1.2B model is fine-tuned with the NTP loss only, on the Python subset of Stack-Edu for code and on OpenMathIns…](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-126339824ace33a4472a8cbf9f86f83a.png?thumb=512)

**Table 4** : Math and code fine-tuning results. Each 1.2B model is fine-tuned with the NTP loss only, on the Python subset of Stack-Edu for code and on OpenMathInstruct-2 for math. For code, we sample with top- p= 1.0 and no top-k, sweep the temperature over {0.1,0.2, . . . ,1.0}, and report the best pass@k, with the chosen temperature indicated in gray. For math, we evaluate 0-shot with greedy decoding. Weboldthe best result between MTP and Soft-MTP (NTP is shown for reference).

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## KL-MTP와의 비용 및 출력 헤드 비교

명시적 KL 최소화 방식인 KL-MTP는 교사와 학생의 vocabulary 크기 분포를 함께 materialize해야 하므로 비용이 큽니다. 1.2B 측정에서 Soft-MTP의 처리량은 49,748 tok/s이고 표준 MTP는 49,783 tok/s로 차이가 0.07% 이내입니다. KL-MTP는 처리량과 MFU가 가장 낮고 피크 메모리가 가장 높게 보고됩니다. 성능 측면에서 Soft-MTP는 KL-MTP와 대부분의 지표에서 비슷하거나 더 높습니다. 저자들은 이 차이를 출력 헤드가 교차엔트로피로 학습되는 점과 연결하여 해석합니다. 다만 이 해석은 저자의 설명이며, Soft-MTP가 출력 헤드 자체에 KL gradient를 전달하지는 않습니다.

![Table 5: Training cost by objective at the 1.2B model with K= 3 MTP heads, measured on a single NVIDIA H200 GPU. Throughput and MFU are measured at the largest…](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-c03dd10297a0de9083fc1b609b2d4394.png?thumb=512)

**Table 5** :Training cost by objective at the 1.2B model with K= 3 MTP heads, measured on a single NVIDIA H200 GPU. Throughput and MFU are measured at the largest micro-batch size each objective fits. Peak memory is reported at a matched micro-batch of 19.Soft-MTP’s KL recovery is free: identical FLOPs, MFU and fused-CE peak memory to standard MTP, with throughput within 0.07%.KL-MTP is worst on every axis—lowest throughput and MFU, and the highest peak memory—and is the only objective that does not benefit much from using fused cross-entropy kernels.

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

![Table 6: Comparison against KL-MTP at 1.2B parameters.Weboldthe best of the three MTP objectives (NTP is shown for reference).Language modeling (LM):perplexity…](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020/figures/figure-42fa509a9aba8208b7d2259975ef76e2.png?thumb=512)

**Table 6** : Comparison against KL-MTP at 1.2B parameters.Weboldthe best of the three MTP objectives (NTP is shown for reference).Language modeling (LM):perplexity metrics and average zero-shot accuracy overLM-EVALtasks.Speculative decoding (Spec. dec.):self-speculative decoding on FineWeb-Edu; acceptance length excludes the next-token prediction, which is always accepted.Fine-tuning (Math / Code):performance after NTP-only fine-tuning on math and code.

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

![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.

[원문](https://arxiv.org/abs/2610.38331v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jayden Teoh · Multi-Token Prediction Done Right · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 질문

이 결과는 측정에 사용된 모델 규모, FineWeb-Edu pre-training, DeepSeek 스타일 MTP, self-speculative decoding 설정에서 얻어졌습니다. 신호 대 잡음비와 gradient 점유율은 frozen checkpoint에서 오프라인으로 측정되었습니다. 출력 헤드는 교차엔트로피로 학습되므로 KL 자기증류가 출력 헤드까지 전달되지 않는다는 점도 분명합니다. 또한 저자들은 MTP의 장기적 위상과 다른 post-training 드래프터와의 관계를 열린 질문으로 남깁니다.

## 논문 정보

- **저자**: Jayden Teoh
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 10월 28일
- **등록일**: 2026년 10월 31일
- **수정일**: 2026년 10월 28일
- **버전**: v1
- **arXiv**: 2610.38331
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2610.38331v1) · [원문 PDF ↗](https://arxiv.org/pdf/2610.38331v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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.

## 원문 인용

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

## 이 논문의 용어

- [GSM8K](https://refivu.com/terms/e48f0e01064d-gsm8k)
- [Perplexity](https://refivu.com/terms/2b204e513801-perplexity)
- [HumanEval](https://refivu.com/terms/3c3dbcadfdda-humaneval)
- [MATH-500](https://refivu.com/terms/7e6fbbc4b736-math-500)
- [MBPP](https://refivu.com/terms/717e657dd0b2-mbpp)
- [Speculative decoding](https://refivu.com/terms/2496d9bbec40-speculative-decoding)
- [effective rank](https://refivu.com/terms/d2e71b349aa1-effective-rank)
- [signal-to-noise ratio](https://refivu.com/terms/9b3a8b590fb6-signal-to-noise-ratio)
- [FineWeb-Edu](https://refivu.com/terms/ec01acbdc208-fineweb-edu)
- [next-token prediction](https://refivu.com/terms/48ea406e7dd8-next-token-prediction)
- [Multi-Token Prediction](https://refivu.com/terms/62388dcd8f67-multi-token-prediction)
- [Forward KL divergence](https://refivu.com/terms/916a2164fa9b-forward-kl-divergence)
- [Muon optimizer](https://refivu.com/terms/7c8619edf554-muon-optimizer)
- [OpenMathInstruct-2](https://refivu.com/terms/9a7864697d60-openmathinstruct-2)
- [Stack-Edu](https://refivu.com/terms/1f3e01e485c3-stack-edu)
- [stop-gradient operator](https://refivu.com/terms/6b7f309cae22-stop-gradient-operator)

## 다른 논문 해설

- [PASS: Private Attributes Protection with Stochastic Data Substitution](https://refivu.com/papers/34feec86-b267-4fe2-b6b9-6cd8eb33d445-pass-private-attributes-protection-with-stochastic-data.md)
- [Near-Optimal Consistency-Robustness Trade-Offs for Learning-Augmented Online Knapsack Problems](https://refivu.com/papers/7433999f-8924-4307-bafb-589d81cd9d20-near-optimal-consistency-robustness-trade-offs-for-learning.md)
- [Grokking Beyond the Euclidean Norm of Model Parameters](https://refivu.com/papers/a98bc35e-3dca-4bb4-9a6a-c8c6c67f0449-grokking-beyond-the-euclidean-norm-of-model-parameters.md)
- [Parametric Scaling Law of Tuning Bias in Conformal Prediction](https://refivu.com/papers/0674079b-4ab1-4af6-b745-c0c79aa777d5-parametric-scaling-law-of-tuning-bias-in-conformal.md)
- [Compositional Risk Minimization](https://refivu.com/papers/7f0b2d82-eb6c-417e-a42e-8b6899343b6c-compositional-risk-minimization.md)
- [PAC-Bayes Analysis for Recalibration in Classification](https://refivu.com/papers/c812df67-5999-48ba-9a96-a7d6f04d7b8f-pac-bayes-analysis-for-recalibration-in-classification.md)
- [Self-Augmenting Retrieval for Diffusion Language Models](https://refivu.com/papers/c54b0ecc-cda3-4866-9fe4-17476d3585db-self-augmenting-retrieval-for-diffusion-language-models.md)
- [Semantic-Enriched Latent Visual Reasoning](https://refivu.com/papers/179da31f-c150-4b65-afdd-c3ac7c092e99-semantic-enriched-latent-visual-reasoning.md)
- [WorkFactory: Turning Professional Intents into Executable Work for Scalable Agent Training](https://refivu.com/papers/7f68f92c-6233-4acb-99f8-60cfed2ea174-workfactory-turning-professional-intents-into-executable.md)
- [Addressing Imbalanced Domain-Incremental Learning through Dual-Balance Collaborative Experts](https://refivu.com/papers/67007668-b220-4a2a-94e9-d2cb4c1d6646-addressing-imbalanced-domain-incremental-learning-through.md)
- [MetaOptimize: A Framework for Optimizing Step Sizes and Other Meta-parameters](https://refivu.com/papers/6ec471d2-bc5c-4b78-bf23-c8d8eabfa50a-metaoptimize-a-framework-for-optimizing-step-sizes-and.md)
- [Sparse Causal Discovery with Generative Intervention for Unsupervised Graph Domain Adaptation](https://refivu.com/papers/d8a2312a-d929-4f6e-9670-27e7b383b111-sparse-causal-discovery-with-generative-intervention-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/96cce8ac-487a-47a2-8b3b-075193f1d020-multi-token-prediction-done-right)
