Multi-Token Prediction Draft Models: A Practical Guide to Speculative Decoding for LLM Inference Acceleration
This article explains why LLM inference is often limited by memory bandwidth rather than compute, then introduces speculative decoding and multi-token prediction draft models as a practical acceleration approach. It covers the draft-verify workflow, three key optimizations—target activations, KV cache sharing, and an efficient embedder—and deployment considerations for maintaining output quality while improving throughput.
1. Background: Why LLM Inference Is Slow on Memory Bandwidth
Mainstream large language models generate text autoregressively: at each step, the model outputs one token, appends that token to the context, and then runs the next forward pass. This token-by-token serial generation pattern exposes a critical bottleneck on large models: the memory bandwidth bottleneck.
Specifically, every time a token is generated, the model must load all model weights from GPU memory (or system memory) into the compute units. For a model with billions of parameters, the computation in each decoding step is actually small—when batch size is 1, compute utilization is often below 10%—but the amount of weight data that must be moved is very large. The inference process is therefore a classic memory-bound workload: much of the GPU’s compute capacity sits idle, and the real bottleneck is data movement speed rather than computation speed.
In other words: compute is abundant, but bandwidth is scarce. If the system can perform more computation within one memory access cycle and produce more tokens per weight load, generation throughput can be significantly improved. This is the starting point for speculative decoding and multi-token prediction (MTP).
2. Speculative Decoding: The Draft-Verify Paradigm
The core idea of speculative decoding can be summarized as “a small model drafts, and the large model verifies“:
- Draft phase: A lightweight draft model much smaller than the main model quickly predicts k candidate tokens autoregressively, forming a “draft” segment.
- Verification phase: The main model concatenates these k candidate tokens with the original context and performs one forward pass, validating all candidate positions in parallel.
- Acceptance and rollback: The draft tokens are compared with the main model’s probability distribution from left to right. If they match completely, all are accepted. At the first mismatch, the tokens before that position are accepted, the mismatching position is replaced with the main model’s own prediction, and all subsequent draft tokens are discarded.
Because the main model distribution used in verification is exactly the same as in direct generation, and because the acceptance criterion preserves the output distribution, the final output is statistically identical to independent generation by the main model—acceleration does not come at the cost of quality. The overall speedup depends on two factors: the draft model’s hit rate (the proportion of draft tokens accepted by the main model) and the latency ratio of the draft model to the main model. With a high hit rate and a sufficiently lightweight draft model, a single main-model forward pass can “pay for” multiple tokens, equivalent to generating multiple tokens per memory access.
3. MTP Draft Models: From “Guessing One” to “Guessing Several at Once”
In conventional speculative decoding, the draft model usually drafts using the same token-by-token autoregressive approach as the main model, so the draft phase itself incurs multiple serial steps. Multi-token prediction draft models make a key improvement: the draft model predicts multiple subsequent tokens in a single forward pass rather than generating them one by one.
A typical mechanism works as follows: based on the current context, the draft model first predicts the next token; then, without running a full main-model forward pass again, it uses intermediate representations to iteratively propose candidate tokens for several subsequent positions. This design provides two benefits:
- Very short draft-phase latency: The draft model can produce multiple candidate tokens in much less time than the main model takes to process a single token, making drafting overhead almost negligible.
- A wider verification window: More candidate tokens are sent to the main model for verification at once. If the hit rate is high, a single main-model forward pass can confirm multiple tokens. When the entire draft is accepted, the main model also produces one additional new token, further amplifying the speedup.
In engineering practice, such draft models are usually trained or adapted together with the main model. The two share the same vocabulary and context format so they can work together seamlessly. A well-validated multi-token prediction scheme can achieve end-to-end generation speedups of up to about 3x while preserving output quality.
4. Three Key Optimizations
To make the draft-verify workflow truly fast, the paradigm alone is not enough; a set of supporting system-level optimizations is also required.
4.1 Target Activations
Draft models have fewer parameters and weaker representational capacity, so their prediction accuracy is naturally limited. Hit rate directly determines the speedup. Target activation concatenation improves draft quality by borrowing strength from the main model:
- The hidden representation (embedding) output by the main model’s last layer is concatenated with the draft model’s current token embedding.
- The concatenated vector is projected through a linear mapping to the draft model’s hidden dimension and used as an enhanced input to the draft model.
- In multi-round iterative prediction, later rounds concatenate the draft model’s own output representation from the previous round.
In this way, each prediction step of the draft model carries deep semantic information from the main model—equivalent to “guessing tokens while standing on the main model’s shoulders”—and the hit rate improves significantly. The more draft tokens that are accepted, the fewer full forward passes the main model needs to execute.
4.2 KV Cache Sharing
If the main model recomputes all attention states for draft tokens during verification, it incurs substantial redundant computation. KV cache sharing lets the draft model directly reuse attention caches already computed by the main model:
- Local attention layers: The draft model reuses the target model’s most recent local KV cache. Local attention only focuses on neighboring tokens within a fixed window, and the context seen by the draft model and the main model within that window is highly consistent, so direct reuse is nearly lossless.
- Global attention layers: The draft model’s queries connect directly to the global KV cache of the main model’s last layer, avoiding repeated Key/Value projection over the full historical context.
This optimization reduces the draft model’s time overhead to an extreme—the draft phase becomes an almost “free” operation—while also substantially lowering peak memory usage, which is especially important for on-device and resource-constrained scenarios.
4.3 Efficient Embedder
In on-device deployment, there is another easily overlooked bottleneck: the output-layer LM head. The final decoding step requires a matrix multiplication between the hidden state and the full-vocabulary embedding matrix. Vocabularies often contain over one hundred thousand tokens, and this step’s compute and memory access overhead accounts for a high proportion on lightweight models. The efficient embedder approach works as follows:
- Use clustering to group token embeddings offline, placing semantically similar tokens into the same cluster.
- At inference time, first use cluster-level representative embeddings for coarse filtering to quickly locate a small number of candidate clusters.
- Then perform fine scoring only within the candidate clusters, reducing the full-vocabulary matrix multiplication to a small-scale computation.
This technique is especially beneficial for draft models: they must produce multiple tokens in a very short time, so the output layer accounts for a higher share of overhead. A trimmed output layer is an important part of maintaining draft speed.
5. Deployment Best Practices
When deploying a multi-token prediction acceleration scheme in practice, consider the following points:
- Framework and runtime support: Mainstream inference frameworks generally support speculative-decoding-style decoding loops. Confirm that the version in use supports “parallel verification of multiple candidates” and custom draft model loading.
- Draft model matched to the main model: The draft model must be strictly aligned with the main model’s vocabulary, tokenizer, and context template; otherwise, the hit rate will drop sharply.
- Configurable draft length k: If k is too small, acceleration is limited; if k is too large, verification waste increases and the rejection rate rises. In practice, tune k between 3 and 6, and adjust dynamically by task type (code generation usually has a higher hit rate than free-form text).
- Trade-offs in batched scenarios: With larger batch sizes, the main model’s compute is already well utilized, and the marginal benefit of speculative decoding decreases. It is therefore preferable to enable it first in low-concurrency, interactive scenarios.
- Quality regression testing: Although the output distribution is theoretically unchanged, it is still advisable to compare generation results with MTP enabled and disabled on an evaluation set with fixed seeds to verify end-to-end consistency.
- Combined on-device optimizations: On resource-constrained devices, MTP can be combined with general techniques such as quantization, KV cache quantization, and continuous batching, while managing the memory budget holistically.
6. Conclusion and Outlook
Multi-token prediction draft models represent a pragmatic path to inference acceleration: without modifying the main model or sacrificing generation quality, they convert idle compute into actual throughput through “lightweight drafting + parallel verification + cache sharing.” Target activations improve draft hit rate, KV cache sharing eliminates redundant computation, and the efficient embedder removes hidden output-layer overhead. Together, these three turn the theoretical speculative decoding framework into a deployable engineering solution.
As draft model training methods, acceptance criteria, and cache reuse mechanisms continue to evolve, “producing multiple tokens per forward pass” is expected to move from an optional optimization to a standard capability of inference engines. For generative applications facing high latency and cost pressure, understanding and adopting this draft-verify system is one of the most cost-effective inference optimization directions available today.
