FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Prediction

Yuxuan Cai, Xiaozhuan Liang, Xinghua Wang, Jin Ma, Haijin Liang, Jinwen Luo, Xinyu Zuo, Lisheng Duan, Yuyang Yin, Xi Chen · DOI

Abstract

FastMTP is a lightweight framework that more than doubles the inference speed of Large Language Models (LLMs) without any loss in output quality. By fine-tuning a single, shared-weight Multi-Token Prediction (MTP) head on self-distilled data and employing language-aware vocabulary compression, it achieves an average 2.03x speedup, significantly outperforming standard speculative decoding approaches.

The Autoregressive Bottleneck

The primary bottleneck in deploying LLMs is their autoregressive nature: they generate text one token at a time. Each token requires a full forward pass through the massive model, making generation slow and computationally expensive, especially for long "Chain-of-Thought" reasoning tasks.

Speculative decoding attempts to solve this by using a smaller, faster "draft model" to guess several future tokens, which the large "target model" then verifies in a single parallel pass. However, existing draft models often struggle with a trade-off: they are either too small to be accurate (leading to low "acceptance rates") or too large to be fast. While Multi-Token Prediction (MTP) modules—which train a model to predict multiple future tokens at once—have been used to improve training efficiency, they usually fail during inference. This is because they aren't trained to handle the recursive, multi-step patterns required for effective drafting, causing their accuracy to "collapse" after the very first predicted token.

Methods: Turning MTP into an Inference Accelerator

FastMTP introduces three key innovations to turn MTP into a high-performance inference accelerator:

  1. Shared-Weight MTP Head: Instead of using multiple independent heads for different future positions, FastMTP uses a single MTP head with shared weights. This forces the head to learn the dependencies between consecutive future tokens, maintaining causality and reducing memory overhead.
  2. Self-Distillation Training: The authors fine-tune the MTP head using data generated by the target model itself (self-distillation) rather than original dataset labels. This ensures the draft head is perfectly aligned with the specific "distribution" and quirks of the model it is trying to mimic.
  3. Language-Aware Dynamic Vocabulary Compression: Predicting across a full vocabulary (often 150k+ tokens) is slow. FastMTP identifies high-frequency token subsets based on the input language (e.g., different sets for English vs. Chinese). By restricting the draft head to these subsets, it slashes computational costs with negligible impact on accuracy.
  4. Recursive Drafting (EAGLE-style): During inference, the MTP head operates autoregressively, using its own previous hidden states and predicted tokens to generate a sequence of "draft" tokens before the main model verifies them.
Overview of the FastMTP training and inference architectures.

Datasets and Evaluation

  • Training: The authors curated a 389.4K sample self-distilled dataset spanning general knowledge (42%), mathematical reasoning (18%), code generation (13%), and Chinese text (27%).
  • Evaluation: Performance was tested across seven diverse benchmarks from the Spec-Bench suite, including MT-Bench (Multi-turn conversation), LiveCodeBench-v6 (Coding), MATH-500 (Mathematics), Natural Questions (QA and RAG), CNN/Daily Mail (Summarization), and C-Eval (Chinese knowledge).

Key Insights: The Alignment Breakthrough

The "aha" moment is that vanilla MTP fails at inference because of a training-inference mismatch. By training the head to predict recursively on the model's own output, the acceptance rate for the third draft token jumped from a measly 2% to 36%. Furthermore, FastMTP is remarkably efficient; it updates less than 3% of the total model parameters and can be trained in less than one day on a single H20 server.

Key Results: Doubling Inference Speed

FastMTP achieved an average 2.03x speedup over standard next-token prediction, outperforming standard MTP-based drafting by 82% in terms of speed. On mathematical tasks, the model achieved an average acceptance length ($\tau$) of 3.16 at a draft depth of $K=3$, meaning it successfully generated over three tokens per main model pass on average. Crucially, because the main model verifies every token, the output is mathematically identical to standard autoregressive generation.

Decoding speed (token/s) vs. draft depth (K), showing the peak performance at K=3.

Limitations and Future Work

The authors found that speedups peak at a draft depth of $K=3$. Beyond this, the time spent generating the draft begins to outweigh the gains from accepting more tokens. While tested on widely used NVIDIA A10 and A100 GPUs, the specific speedup ratios may vary based on the memory bandwidth and compute capabilities of different hardware. Future work could explore how this approach scales to even larger models (70B+) or how it interacts with other optimization techniques like quantization and KV-cache pruning.

Summary updated

BibTeX
@misc{cai2025fastmtp,
  author = {Yuxuan Cai and Xiaozhuan Liang and Xinghua Wang and Jin Ma and Haijin Liang and Jinwen Luo and Xinyu Zuo and Lisheng Duan and Yuyang Yin and Xi Chen},
  title = {{FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Prediction}},
  year = {2025},
  eprint = {2509.18362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.18362},
}
Figure