08 Multi-token prediction (MTP)

Train the model to predict several future tokens at once; at inference the extra predictions become drafts that can be accepted for free.

VideoThe idea in a few minutes

The problem

Next-token prediction: one token per forward pass, one training signal per position.

VisualizationOne pass → one token

The idea

Extra prediction heads / modules for tokens t+2, t+3, ….

VisualizationHeads predicting the next k tokens

The trade-off

Acceptance rate vs. speed-up when the drafts are used for speculative decoding.

VisualizationDraft → verify → accept animation

Sources

Papers and model reports.