Multi-token prediction (MTP)

Multi-token prediction trains a language model to predict several upcoming tokens at each position instead of only the next one, which can improve what it learns and lets the extra predictions speed up generation.

Language models are normally trained on one task: given the text so far, predict the next token. Multi-token prediction adds more targets. At each position the model also predicts the token after next, and possibly further ahead, and the errors on all these predictions are added together during training. The model gets a denser training signal from the same text and is encouraged to look further ahead.

An April 2024 paper by Fabian Gloeckle, Badr Youbi Idrissi, Baptiste Rozière, David Lopez-Paz and Gabriel Synnaeve tested this at scale. Their models shared one main network and added several independent output heads, each predicting a different future token. The authors reported no extra training cost, and their 13 billion parameter models solved 12% more HumanEval and 17% more MBPP coding problems than comparable next-token models. The benefit grew with model size, and models trained to predict four tokens ran up to three times faster at inference.

DeepSeek-V3, published in December 2024, made the technique well known. It predicted one extra token using a small module; the design chains such modules in sequence, each building on the step before, which keeps the order of cause and effect intact rather than predicting each future token independently. The extra modules can be discarded after training so the model runs normally. They can also be kept for speculative decoding: DeepSeek reported that the second predicted token was accepted 85% to 90% of the time, giving about 1.8 times as many tokens per second.

The speed-up works because checking guesses is cheaper than producing tokens one by one. The extra predictions act as a built-in draft, and the main model verifies them in a single pass, keeping only the ones it agrees with. In practice, multi-token prediction offers two separate benefits, a better-trained model and faster output, and a technical report may claim either or both.

Common questions

What is multi-token prediction?

It is a training method in which a language model learns to predict several future tokens at each point in the text, not just the next one. It gives the model more to learn from each example and can be used to speed up text generation.

Does multi-token prediction make models faster?

It can. The extra predictions serve as guesses that the main model checks in one go, a form of speculative decoding. DeepSeek reported about 1.8 times more tokens per second for DeepSeek-V3, and an April 2024 study reported up to three times faster inference for models trained to predict four tokens.

How did DeepSeek-V3 use multi-token prediction?

DeepSeek-V3 was trained to predict one extra token at each position, using a small additional module chained to the main model. The module can be dropped after training or reused for speculative decoding, where its guess was accepted 85% to 90% of the time.

Finding more

Search for "multi-token prediction language models", "MTP DeepSeek-V3" or "speculative decoding" to see how training and inference uses connect. The April 2024 paper and the DeepSeek-V3 technical report on arXiv are the primary sources. Inference engine documentation explains how multi-token prediction modules are used to speed up serving.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.