Introduction
The prevailing paradigm for training Large Language Models (LLMs) relies on "next-token prediction." While this approach has powered the current generation of AI, it is inherently limited by its focus on local, short-term patterns. Because models are trained using teacher forcing—where they are always provided with the ground truth for the preceding token—they often struggle to develop the global coherence and long-term planning required for complex reasoning and programming tasks. Furthermore, this method is remarkably sample-inefficient compared to human learning.
This paper proposes a shift toward multi-token prediction (MTP). By training models to predict multiple future tokens simultaneously, the authors demonstrate significant improvements in both model performance on generative tasks and inference speed.
The Multi-Token Prediction Architecture
The MTP architecture modifies the standard transformer design to predict $n$ future tokens at every position in the training corpus.
Shared Trunk and Independent Heads
The model consists of a shared transformer "trunk" that generates a latent representation of the current context. On top of this trunk, $n$ independent output heads are added. Each head is a single transformer layer responsible for predicting a specific future token (e.g., Head 1 predicts $t+1$, Head 2 predicts $t+2$, and so on).
Memory-Efficient Implementation
A primary challenge of MTP is the memory overhead associated with managing logits for multiple heads. To mitigate this, the authors implement a memory-efficient training strategy. Instead of computing all heads in parallel, the model performs the forward and backward passes for each head sequentially. Gradients are accumulated at the shared trunk, and head-specific logits are discarded immediately after use. This approach keeps the memory footprint nearly identical to standard next-token training.
Efficient Inference via Self-Speculative Decoding
Beyond training benefits, MTP enables a significant boost in inference speed through self-speculative decoding. In standard models, tokens are generated one by one. With MTP, the additional heads can suggest multiple future tokens in parallel. The primary head then verifies these suggestions in a single step. This "built-in" speculative decoding eliminates the need for a separate, smaller draft model and results in a 3.0x speedup on code generation and a 2.7x speedup on natural language tasks for 7B parameter models.
Performance and Scaling
The authors evaluated MTP across various scales, up to 13B parameters, and on 1 trillion tokens of data.
Coding and Reasoning Gains
The most pronounced improvements were observed in coding and mathematical reasoning. A 13B parameter model trained with 4-token prediction solved 12% more problems on HumanEval and 17% more on MBPP compared to a standard Llama-style baseline. On synthetic math tasks, MTP improved out-of-distribution generalization more effectively than simply tripling the model's parameter count.
The Scaling Threshold
An important finding is that the benefits of MTP are scale-dependent. While multi-token prediction actually degrades the performance of very small models, the advantages emerge at the 7B parameter scale and grow more significant at 13B. This suggests that the ability to "plan ahead" is an emergent capability that requires a baseline level of model capacity.
Theoretical Insights: Choice Points and Induction
The paper introduces the "Choice Point" Hypothesis to explain why MTP works. In any sequence, some tokens are "inconsequential" (e.g., syntax like semicolons), while others are "choice points" (e.g., the logic of an algorithm). MTP implicitly weights these choice points more heavily. If a model makes an error at a critical junction, it will likely fail to predict the subsequent $n$ tokens correctly, leading to a much higher loss than a single-token error. This forces the model to focus on the most important structural decisions.
Additionally, MTP accelerates the development of induction heads—the neural circuits responsible for in-context learning. These circuits appear much earlier in the training process compared to standard models.
Limitations and Future Work
While MTP excels in generative and reasoning tasks, its impact on standard multiple-choice NLP benchmarks (like MMLU) is more modest, and in some cases, slightly negative. This suggests that the benefits of MTP are most relevant for tasks requiring structural planning rather than simple fact retrieval.
Future research directions include optimizing vocabulary sizes for multi-token targets and exploring dynamic prediction horizons, where the number of predicted tokens varies based on the complexity of the context.
Conclusion
Multi-token prediction represents a simple yet powerful architectural shift. By encouraging models to look further ahead during training, MTP improves sample efficiency, enhances reasoning capabilities, and provides a path toward significantly faster inference without sacrificing model quality.
Summary updated