논문 해설
Multi-Token Prediction Done Right
제대로 된 다중 토큰 예측
- 연구 문제 표준 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.
원문 · CC 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 prediction only.
원문 · CC 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 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.
원문 · CC 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 reference).
원문 · CC 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 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).
원문 · CC 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 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.
원문 · CC 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 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.
원문 · CC 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.
원문 · CC 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
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
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}
}