Multi-Token Prediction Draft Models: Principles, Conditions, and Deployment Essentials
This article covers why autoregressive decoding limits LLM inference speed and how speculative decoding uses draft models to process several tokens per forward pass. It explains the relationship between MTP prediction heads and draft models, the verification and acceptance rules for greedy and sampling decoding, a simplified speedup estimate, the constraints of three key techniques, and a checklist for measuring and deploying the approach.
1. Why LLM Decoding Is Slow
Large language models generate text autoregressive, one token at a time. For each new token, the model runs a full forward pass, appends the token to the context, and then starts the next step. The computation in each step is small. Most of the time goes to moving the model weights and the KV cache from GPU memory to the compute units. This is a typical memory bandwidth bottleneck.
Under this pattern, GPU compute sits largely idle during decoding because each step processes only one token, so utilization stays low. Speculative decoding aims to let a single forward pass process multiple tokens without changing the parameters or the output distribution of the main model. The goal is to improve hardware utilization.
2. How Speculative Decoding Relates to MTP
The roles in speculative decoding are clear. The draft model proposes candidate tokens, and the main model decides which candidates to keep.
Multi-token prediction (MTP) was first a training objective. It trains the model to predict several future tokens from a given position at the same time. In practice, a common approach adds a few extra prediction heads alongside the main model. Each head can produce one draft block, so these heads can serve as a source of drafts for speculative decoding. However, they speed up generation only when they are specifically designed and work together with the verification step. A draft can also come from a separate small model. MTP prediction heads and speculative decoding draft models are not interchangeable. Their training methods, interfaces, and scope of use differ.
3. Verification and Acceptance Rules
Suppose a draft block contains k tokens, denoted d1 through dk. The main model receives the existing context plus d1 through dk in one pass and produces an output distribution p1 through p(k+1) at each position. This step runs in parallel because the draft tokens are already known. Computing each position does not have to wait for the actual generated result of the previous position.
The acceptance check still runs in sequence. Starting from position 1, each draft token is checked in order until the first rejected position, j. The token at position j is replaced with the token the main model produces at that position. All drafts after position j are discarded. If all k draft tokens are accepted, the main model also yields one extra token at position k+1.
With greedy decoding, the rule is simple. A draft token is accepted if it matches the main model’s highest-probability token at that position.
With sampling decoding, a common method accepts draft token d at position i with probability min(1, p(d)/q(d)). Here, q is the draft distribution and p is the main model’s distribution. If the token is rejected, a new token is sampled from the normalized distribution of max(0, p − q). This procedure produces an output distribution that matches sampling from the main model alone. The guarantee has one condition: p must be the distribution the main model actually uses. Sampling parameters such as temperature and top-p must apply to both the main model and the draft. If the inference framework handles these parameters differently on each side, the distributions no longer match.
4. Estimating the Speedup
A simplified model can estimate the speedup. Assume each token is accepted independently with probability α, and the draft length is k. The average number of tokens produced per step is:
E = (1 − α^(k+1)) / (1 − α)
For example, with α = 0.8 and k = 4, E is about 3.36 tokens. Suppose drafting one block costs c times the time of one main model step, and this cost grows linearly with draft length. The total time per step is then about 1 + k·c. With c = 0.05, the speedup is about 2.8x.
These numbers come from an idealized model. Real acceptance rates decline at later draft positions and vary by task. A figure of “about 3x” holds only under these specific assumptions and is not a guarantee. To judge the benefit, measure the acceptance rate and latency on your own workload.
5. Three Key Techniques and Their Limits
5.1 Target Activation Concatenation
This technique concatenates the last-layer hidden state h of the main model with the embedding e of the draft model’s current token. A projection layer then maps the result to the hidden dimension of the draft model, and the output serves as the draft model’s input. The draft model can use the deeper semantic information from the main model, which usually raises the hit rate of candidate tokens.
Three points matter in implementation. First, when the hidden dimensions of the main and draft models differ, the projection layer must handle the dimension mapping. Second, training usually freezes the main model and trains only the draft model and the projection layer. Third, during multi-step drafting, later positions concatenate the draft model’s own output from the previous step. Errors can accumulate over steps, so the acceptance rate generally drops at later draft positions.
5.2 KV Cache Sharing
The KV cache at each layer consists of the K and V values computed from that layer’s own weights. The K and V values of the same layer in two different models cannot be swapped unless the two models have identical structure, weights, and layer partitioning. KV cache sharing therefore depends on the case:
- If the draft model has the same origin as the main model and shares the corresponding layers, those layers’ caches can be reused directly.
- A small draft model with a different architecture must maintain its own KV cache and compute K and V for each of its layers.
- If only some attention layers have identical structures, only those layers’ caches can be reused. The other layers must still compute their own K and V.
Reusing a cache incorrectly carries a high risk. Such errors often raise no exception. They usually appear as an unusually low acceptance rate or degraded output quality, and they are costly to debug. In addition, after each rejection, the cache must roll back to the last accepted position. This makes cache lifecycle management more complex and increases GPU memory usage.
5.3 Approximate Acceleration of the Output Layer
The output layer (LM Head) performs a matrix multiplication over the entire vocabulary. A larger vocabulary means a higher cost for this step, which is especially noticeable on edge devices. One approximation clusters the vocabulary. It first uses a representative vector for each cluster to screen out candidate clusters, then computes exact scores only for tokens inside those candidate clusters.
This is an approximate computation. It can miss the correct token and it changes the probability distribution. Do not describe it as causing almost no loss in accuracy. Before using it, take three steps. First, compare the approximate output with the full LM Head output on a fixed test set and measure the agreement rate. Second, check task metrics, such as code pass rate, question-answering accuracy, or perplexity, to confirm that quality does not drop noticeably. Third, define a fallback: if a quality metric falls below a preset threshold, switch back to full computation.
6. Deployment Checklist
| Metric | Measurement Method | Purpose |
|---|---|---|
| Acceptance rate | Count accepted tokens divided by proposed tokens, broken down by draft position and task type | Judge whether the draft is effective and decide whether to adjust draft length |
| Draft length | Sweep different values of k and record tokens produced per step and total latency | Find the length with the highest benefit |
| GPU memory budget | Measure peak memory, including weights, KV cache, and the extra overhead of the draft model | Confirm that concurrent requests will not run out of memory |
| Throughput and latency | Measure time to first token (TTFT) and time per output token (TPOT) separately, using a real request distribution | Evaluate the benefit users actually perceive |
| Quality regression | Compare outputs under greedy decoding; use task metrics and manual spot checks for sampling | Confirm that acceleration does not harm results |
7. Fallback Strategy and Scenario Selection
Set fallback rules before deployment. If the acceptance rate stays below the threshold, first shorten the draft block. If shortening it still brings no benefit, disable speculative decoding and return to standard decoding.
Code generation, structured outputs such as JSON, and templated text are highly predictable, so their acceptance rates are usually high. Open-ended creative writing works the opposite way. Its acceptance rate is low, so the benefit is limited. Also, as batch size grows, the main model’s compute utilization already rises, which reduces the relative benefit of speculative decoding. Before launching a high-concurrency service, run load tests to confirm the actual gain.
The choice of draft model also matters. A draft model should ideally share an origin with the main model or follow a similar training distribution, so that its output distribution stays close to the main model’s. Its parameter count should also be much smaller than the main model’s. Otherwise, the drafting cost can cancel out the speedup.
8. Conclusion
A multi-token prediction draft model converts serial decoding into batched verification without changing the output distribution of the main model. Its benefit depends on the acceptance rate, the drafting cost, and how predictable the task is. Before enabling it, teams should measure the acceptance rate, latency, and output quality on their own request distribution, and they should keep the ability to roll back at any time.
