Unified-Memory LLMs: Why MTP Speculative Decoding Can Be Slower Despite Decent Acceptance Rates
Speculative decoding with Multi-Token Prediction (MTP) is often treated as an automatic speed boost, but on unified-memory devices where CPU and GPU share the same memory, it can actually run slower than the no-speculation baseline. This article explains why: decode is bandwidth-bound, and speculative decoding trades some of that bandwidth cost for compute, scheduling, and draft overhead. It clarifies what "acceptance rate" actually means (three different definitions that are easy to confuse), walks through illustrative data showing which tasks benefit (code, RAG) and which regress (writing, role-play, math, reasoning), and shows with a simple model how draft cost determines the break-even point. It also covers why MTP acceptance can stay low, why MoE models tend to do better on unified memory (active parameters matter more than total parameters), and how to build reproducible baselines, pick per-scenario settings, and move toward runtime-adaptive tuning.
1. Bottom Line First: MTP Speculative Decoding Is Not an Unconditional Speed Boost
Here, “slower” or “the more you enable it, the slower it gets” means slower than the no-speculation baseline, not that it degrades the longer a run goes. MTP (Multi-Token Prediction) speculative decoding is not an unconditional speed boost. On unified-memory devices where the CPU and GPU share memory, memory bandwidth is often the core constraint during decoding. MTP may speed things up only for a few tasks such as code and retrieval-augmented question answering; for long-chain generation tasks such as writing, role-play, math, and reasoning, it frequently produces negative returns because of insufficient draft acceptance, added verification cost, and high draft-stage overhead.
During token-by-token decoding on a unified-memory device, each step reads a large volume of model weights. Compute is not necessarily saturated, but data movement has already become the bottleneck. Speculative decoding tries to reduce the number of target-model forward passes through “guess first, verify later,” but it shifts part of the bandwidth cost onto compute, scheduling, and draft cost. If those extra costs cannot be offset by a high acceptance rate, you get the phenomenon of “the acceptance rate looks decent, but end-to-end speed is slower.”
Therefore, when evaluating MTP or any speculative decoding scheme, you cannot look only at the draft acceptance rate. You also need to look at end-to-end tokens/s, single-request latency, task type, hardware bandwidth, the model’s active parameter count, and implementation stability.
2. Unified Terminology: What Does “Acceptance Rate” Actually Mean
When discussing speculative decoding, a common source of confusion is the “acceptance rate.” It can refer to at least three different things:
- Per-draft-token conditional acceptance probability: given the context and the previously verified tokens, the probability that a particular draft token is accepted. In practice, the conditional probability usually differs at each position.
- Average number of accepted draft tokens: in one verification step, the average number of draft tokens that get accepted. If the draft length is K, this value ranges from 0 to K.
- Overall hit rate: the average number of accepted draft tokens divided by the number of draft tokens, i.e., the average fraction of candidate draft positions accepted. This article denotes it as r̄.
To avoid misreadings, this article consistently interprets “acceptance rate” in the tables under the overall-hit-rate definition. It is worth emphasizing: the overall definition is r̄ = average accepted draft tokens / K, whereas the p in the formulas is only a position-level acceptance-probability approximation used to simplify estimation. It cannot be directly mixed with the average number of accepted draft tokens or the overall hit rate. For production evaluation, prioritize directly measuring the average number of accepted draft tokens and end-to-end speed.
The difference between MTP and ordinary speculative decoding is mainly not “guess first, verify later,” but the source of the draft. Ordinary speculative decoding can use an independent small model, a draft head, or an external approximator; MTP is usually part of the target model’s training objective, shares the backbone with the target model, and additionally outputs several predicted positions. Its advantages are more natural distribution alignment and potentially lower draft cost; its disadvantage is that if the inference framework’s implementation of the MTP head, hidden states, vocabulary, positional encoding, or rejection sampling is inconsistent, draft quality degrades quickly. Compared with schemes such as EAGLE and Medusa, MTP relies more on adapting to the target model’s structure and more on whether implementation details are strictly aligned.
3. Illustrative Data: Which Tasks May Be More Worthwhile
The following two groups are illustrative data (not real measurements), used to explain the methodology and not to be extrapolated.
Table 1 conditions: 12B dense model; unified-memory platform with no specific memory bandwidth specified; inference framework and MTP implementation versions unlabeled; draft length K=2; sampling parameters temperature=0.7, top_p=0.9; t/s in the table denotes decode-phase tokens/s and excludes time-to-first-token; decoding speedup = speculative t/s ÷ no-speculation t/s; acceptance rate uses the overall-hit-rate definition.
Table 1: 12B dense model illustration, speculation off vs. MTP, draft length 2
| Task category | Speculation off t/s | Speculation on t/s | Speculation vs. off | Acceptance rate r̄ |
|---|---|---|---|---|
| Code | 36.15 | 42.83 | 1.18x | 0.7608 |
| Retrieval-augmented QA | 37.08 | 36.26 | 0.98x | 0.8086 |
| Multilingual | 36.65 | 30.47 | 0.83x | 0.7235 |
| Writing | 34.66 | 25.75 | 0.74x | 0.5820 |
| Role-play | 34.26 | 29.41 | 0.86x | 0.6142 |
| Overall | 36.42 | 31.67 | 0.87x | 0.6355 |
Table 2 conditions: 26B sparse-expert model with roughly 4B parameters activated per pass; unified-memory platform with no specific memory bandwidth specified; inference framework and MTP implementation versions unlabeled; draft length K=3; sampling parameters same as Table 1; t/s in the table denotes decode-phase tokens/s and excludes time-to-first-token; acceptance rate uses the overall-hit-rate definition. The acceptance rate for reasoning was not shown in the original record, so no judgment can be made about its returns.
Table 2: 26B sparse-expert model illustration, ~4B activated, speculation off vs. MTP, draft length 3
| Task category | Speculation off t/s | Speculation on t/s | Speculation vs. off | Acceptance rate r̄ |
|---|---|---|---|---|
| Code | 79.82 | 80.10 | 1.00x | 0.7070 |
| Retrieval-augmented QA | 80.50 | 89.13 | 1.11x | 0.7856 |
| Math | 80.87 | 63.18 | 0.78x | 0.4675 |
| Reasoning | 80.45 | 63.85 | 0.79x | Not recorded |
From the illustrative data, code and retrieval-augmented QA are more likely to benefit, while writing, role-play, math, and reasoning are more likely to show negative returns. Math in particular, with an acceptance rate of only 0.4675 in the MoE illustration, discards more than half the draft tokens and leads to a clear speed drop. Note that although MoE activates fewer parameters, attention, routing, and KV-cache costs still affect real-world performance, so it cannot be simply equated with “guaranteed to be faster.”
4. Technical Principles: Why Unified Memory Makes Speculative Decoding Work Awkwardly
4.1 Token-by-token decoding is fundamentally bandwidth-bound
During autoregressive decoding, generating each token usually requires reading the model weights. If the model has P parameters, precision of b bits, and memory bandwidth BW, the theoretical time for a single forward pass is approximately:
T ≈ P × b / BW
When the batch is small and each weight element participates in only a limited number of computations, arithmetic intensity is low, and inference easily falls into the bandwidth-bound region of the Roofline model. Put plainly, the processor is not entirely “computing” but waiting for data to be moved over from memory.
Unified-memory devices usually have a large memory capacity, but the ratio among bandwidth, latency, memory-controller efficiency, and processor compute is not necessarily suited to speculative decoding. So token-by-token decoding is already bandwidth-hungry, and if speculative decoding introduces extra draft generation and verification overhead, it easily amplifies the already-tight bandwidth and scheduling resources.
4.2 Speculative decoding shifts part of the bandwidth cost onto compute cost
Suppose the draft length is K and one target-model forward pass can verify K+1 positions. If the target model is still in the bandwidth-bound region, the cost of reading weights for a single verification may be close to that of reading weights once, i.e.:
Target-model single forward pass time ≈ P × b / BW
But the compute side increases noticeably. Matrix multiplication shifts from approximately matrix-vector to matrix-matrix, and the amount of computation may scale up by roughly K+1; the query, key, and value projections of attention, as well as the attention computation itself, also grow with the length of the verification sequence. For edge or unified-memory devices with insufficient compute headroom, this extra computation turns from “verify along the way” into an “extra burden.”
This is also an important reason why the acceptance rate is not especially low yet speed still drops: speculative decoding does not simply reduce the number of forward passes; it changes the computation structure. If the device cannot efficiently execute larger matrix operations, or if the verification phase introduces additional memory accesses, the benefit is offset.
4.3 Draft cost determines the break-even point
If the draft stage also requires token-by-token generation, then every extra guessed token means one more draft forward pass. Let c be the cost of the draft stage relative to a single target-model forward pass, and let the draft length be K. Under simplified assumptions, you can estimate the expected speedup with the following formula:
def decode_speedup(p: float, k: int, c: float) -> float:"""Estimate the expected speedup of speculative decoding.p: a simplified approximation of the per-draft-token conditional acceptance probabilityk: number of draft tokensc: cost of one draft-stage forward pass / cost of one target-model forward passaccept: average number of accepted draft tokens"""accept = sum(p ** i for i in range(1, k + 1))return (1 + accept) / (1 + k * c)
It needs to be emphasized that this formula is an idealized estimate, not a strict performance model. It assumes that draft positions can be approximated with the same acceptance probability, and it ignores engineering factors such as batching, cache hits, memory-access patterns, sampling overhead, the rejection-sampling implementation during verification, and context reconstruction. The p in the formula is a simplified parameter and cannot be directly mixed with the overall hit rate r̄ in the tables or with the measured average number of accepted draft tokens.
Take Table 1’s overall row as an example: K=2, r̄=0.6355. If you substitute r̄ directly into the formula’s p as an approximation, then:
accept ≈ p + p² = 0.6355 + 0.6355² ≈ 1.039
But if you compute the average number of accepted draft tokens directly under the overall-hit-rate definition, it is:
average accepted draft tokens = K × r̄ = 2 × 0.6355 = 1.271
The two values come from different definitions and cannot be mixed. If you back-solve Table 1’s overall 0.87x with the simplified formula, then:
0.87 ≈ (1 + 1.039) / (1 + 2c)
That is:
1 + 2c ≈ 2.039 / 0.87 ≈ 2.34
So:
c ≈ 0.67
This shows that, under the illustrative conditions, the combined cost of drafting and verification is already close to 0.67× the cost of a single target-model forward pass. Even with a not-low overall acceptance rate, end-to-end speed can still drop.
In engineering, you can express the break-even point using the average number of accepted draft tokens A. If the speedup is to be ≥ 1, then:
1 + A ≥ 1 + K × c
That is:
A* = K × c
If you use the simplest assumption A = K × r̄, then r̄* ≈ c. But accounting for rejection sampling, draft correlation, verification overhead, and memory-access changes, the actual threshold is usually higher. Taking K=2 as an example, for c = 0.25, 0.5, 0.75, 1, the rough overall-hit-rate r̄ thresholds can be estimated at about 0.42, 0.67, 0.84, and 1.0. These thresholds are only for engineering back-of-the-envelope estimates; the final verdict should still be based on measured wall-clock tokens/s.
In a strict implementation, if the verification phase uses rejection sampling or an equivalent correction mechanism and the implementation is correct, the output distribution can still match the target model. In that case, the acceptance rate mainly affects speed, not generation quality. But if the implementation does not strictly handle rejection sampling, vocabulary alignment, hidden-state passing, or positional encoding, it may affect both quality and speed.
Regarding c in the formula:
- When c=1, the cost of each draft token is comparable to one target-model forward pass. At this point, when draft cost equals the target-model forward pass, there is no speedup, at best a wash; when p<1, the formula above yields a speedup below 1, indicating that when draft and verification cannot be effectively parallelized or the extra overhead cannot be hidden, end-to-end speed is usually slower.
- When c≈0.5, draft cost is relatively controllable, but the break-even acceptance rate rises noticeably. When draft hits are insufficient, the extra computation in the verification phase eats up the gains.
- When c approaches 0.25, the draft is light enough that speculative decoding is more likely to hold, but the MTP head, routing, attention, and other factors can still bring hidden overhead.
- Even with a high acceptance rate, one target-model verification can output at most K+1 tokens, so the theoretical upper bound is also limited by the draft length and the verification structure.
In other words, speculative decoding is not “if you guess right, you save time”; rather, “the gain from guessing right must cover the cost of draft generation, verification, discarding, and scheduling.”
5. Why the Acceptance Rate Cannot Go Higher: Draft Alignment, Task, and Hardware Costs
For a draft mechanism like MTP that shares the backbone with the target model and is highly aligned in its training objective, the acceptance rate should normally not be too low. If the measured acceptance rate is low, possible causes include:
- Implementation adaptation issues: some inference frameworks may not be fully consistent in how they handle the MTP head’s hidden-state passing, vocabulary mapping, logits alignment, position indexing, or sampling parameters, causing draft quality to be misaligned with the target model’s distribution. Signals: large divergence between draft output and the target model’s high-frequency output under the same prompt; an abnormal rejection-sampling trigger ratio; an abrupt acceptance-rate change after switching framework versions.
- Distribution difference between draft and target model: the draft head has limited capacity and is more likely to drift from the target model’s distribution in open-ended generation tasks such as writing and role-play. Signals: higher acceptance on code and structured QA, but a clear drop in acceptance on open-ended tasks under high-temperature sampling.
- Early-error amplification in long-chain tasks: math and reasoning tasks depend strongly on preceding tokens, so once an early draft error occurs, several subsequent draft tokens may be rejected in a row. Signals: acceptance is normal in the front part of the sequence, but consecutive rejections appear in the middle and later parts; longer outputs are more likely to show negative speedup than shorter ones.
- Underestimated draft-stage overhead: if the draft stage needs to reprocess context, or if the MTP head does not share enough computation with the target model, the actual c rises markedly. Signals: when the draft reuses the target model’s KV cache, c is usually low; when the draft does an independent forward pass, when the draft head is itself an MoE, or when it requires extra routing, c is usually high.
- Hardware scheduling overhead: verifying large matrices, extra attention computation, and changes in memory-access patterns can all make a single verification slower than theory predicts. Signals: draft forward-pass time is not high, but verification-phase time is a large share; it is still clearly slower at small batch sizes; memory-bandwidth utilization is saturated while compute utilization is not high.
So instead of only asking “why isn’t the acceptance rate high enough,” you should also ask engineering questions such as “is draft cost low enough,” “is the verification phase efficient,” and “is the hardware suited to larger-batch matrix computation.”
6. Why MoE Models Have an Advantage on Unified-Memory Devices
Sparse-expert models have a large total parameter count, but each token routes to only a few experts, so the weights actually read per forward pass are far fewer than the total parameter count. When a 26B MoE model activates only about 4B parameters per pass, in the bandwidth-bound decode phase its weight-reading volume may be only a fraction of that of a dense model with the same total parameter count.
This leads to an important conclusion: on unified-memory devices, what often determines decode speed is the active parameter count, not the total parameter count. The total parameter count mainly affects memory footprint and whether the model fits; the active parameter count more directly affects the scale of weights read per token and determines how fast the model runs.
However, MoE does not necessarily deliver a proportional speedup. The reasons include:
- Attention computation does not necessarily shrink with the active parameters. Even if the expert part is very sparse, attention still has to process the context and the current position, which is especially noticeable with long contexts.
- Routing overhead carries extra cost. The router, expert selection, and dispatch/aggregation can all increase scheduling complexity.
- KV-cache cost cannot be ignored. MoE reduces some weight reading, but the longer the context, the more likely KV-cache reads/writes and attention computation become the new bottleneck.
- The draft mechanism can amplify MoE cost. If the draft head is also an MoE structure, each draft token must go through routing and expert computation, and c may be higher.
- When math and reasoning tasks have a low acceptance rate, MoE’s compute headroom is also hard-pressed to offset the large number of wasted draft tokens.
So MoE is suited to unified-memory devices, but in selection you should still pay attention to actual active parameters, attention cost, KV-cache pressure, routing implementation, and task acceptance rate. When attention cost is a large share, when the context is very long, or when the routing implementation is unstable, MoE’s advantage may not hold.
7. Practical Recommendations: How to Evaluate and Deploy Scientifically
7.1 Layered evaluation: acceptance rate is not equal to end-to-end speed
It is recommended to track at least three metrics simultaneously:
- Acceptance rate or average accepted draft tokens: reflects draft quality but is not a sufficient condition.
- End-to-end decode speed: measured in tokens/s or single-request latency, which is what users actually perceive.
- Task dimension: generation patterns differ greatly across tasks, and overall averages can hide weaknesses.
Code and retrieval-augmented QA tend to be more structurally stable, and drafts are easier to hit; writing, role-play, math, and reasoning rely more on long-chain consistency and are prone to consecutive draft failures caused by early deviations.
7.2 Establish a baseline: measure “speculation off” first, then talk about optimization
Any optimization should be built on a reproducible baseline. A recommended process:
- On the target device, test both the speculation-off and speculation-on configurations separately.
- Fix the model version, prompt template, sampling parameters, maximum output length, and context length.
- Run multiple rounds of tests for decode speed, time-to-first-token, and single-request latency, and take the median or a stable distribution.
- Record draft length, acceptance rate, draft cost, and verification time; avoid looking only at overall throughput.
It is recommended to log at least the following instrumentation fields: accepted draft tokens per verification round, draft forward-pass time, verification forward-pass time, wall-clock tokens/s, number of rejection-sampling triggers, sequence length, context length, batch size, and memory-bandwidth utilization or occupancy. If the MTP implementation is not yet stable, at minimum ensure the speculation-off baseline is reproducible before deciding whether enabling it is worthwhile.
7.3 Choose by scenario: when to enable, when to disable
Based on the illustrative data, some empirical guidance:
- Code generation: may be near a wash or a slight gain on both dense and MoE models. It is recommended to try K=2 or 3 and test output lengths of 512 to 2048 tokens first, as a priority.
- Retrieval-augmented QA: when the context is highly structured, the draft hit rate is relatively stable, and a more noticeable gain may appear on MoE. It is recommended to try K=2 or 3 and test output lengths of 512 to 1024 tokens.
- Writing and role-play: open-ended generation fluctuates widely, so it is recommended to disable speculation first, or keep only a small draft length. It is recommended to try K=2 and test long text with output lengths above 1024 tokens.
- Math and reasoning: strong long-chain dependencies, with early errors easily amplified; unless both draft cost and acceptance rate have been rigorously validated, it is recommended to enable cautiously. It is recommended to try K=2, test output lengths of 1024 to 4096 tokens, and focus on observing the rejection rate in the middle and later parts.
7.4 Go-live checklist
Before formally enabling MTP or speculative decoding, it is recommended to check each item:
- Reproducible baseline: are tokens/s and latency stable when speculation is off?
- Draft cost c: does the draft stage include extra context processing or multiple forward passes? Does the draft reuse the target model’s KV cache?
- Acceptance-rate definition: is it per-token conditional probability, average accepted tokens, or overall hit rate?
- Task grouping: have code, QA, writing, math, and reasoning been tested separately?
- Rollback strategy: when r̄ falls below the break-even-converted threshold (e.g., accept*/K), can K be shortened first? It is recommended to set a debounce of consecutive N rounds of triggering, for example acting only after 20 consecutive rounds below the threshold.
- Quality check: are strict verification and rejection sampling implemented correctly? Are the vocabulary, hidden states, and position indices consistent?
- Monitoring metrics: are decode speed, acceptance rate, latency, error rate, draft forward-pass time, and verification forward-pass time wired into monitoring?
7.5 From static configuration to adaptive tuning
A static on/off switch is hard-pressed to cover all tasks. A more engineering-oriented approach is runtime adaptation:
- Maintain a sliding window and track the average accepted draft tokens over the most recent N verification rounds.
- When the acceptance rate stays below the break-even threshold, automatically shorten the draft length.
- When the acceptance rate stays too low, disable speculation directly.
- When the acceptance rate recovers, gradually loosen the draft length again.
A troubleshooting path:
- High acceptance but slow speed: check c and verification overhead first. Look at draft forward-pass time, verification forward-pass time, memory-bandwidth utilization, and whether the matrix size has grown.
- Low acceptance but fast speed: this usually means draft cost is extremely low or the task structure is very simple, but you still need to monitor for quality regressions and long-text stability.
This effectively turns a one-off benchmark into continuous runtime tuning, reducing performance jitter across different tasks and loads.
8. Production Deployment: Local Inference vs. Cloud Services
Inference on unified-memory devices is mainly constrained by bandwidth, while cloud-service scenarios are more complex.
- Batching is a key variable: as concurrent requests increase, the model can form batches for parallel inference, arithmetic intensity rises, and inference may shift from bandwidth-bound to compute-bound, so the cost-effectiveness of speculative decoding needs to be re-evaluated.
- Elasticity and isolation: with container platforms and elastic scaling, you can allocate independent resource pools for different models to avoid load interference.
- Observability: it is recommended to wire decode speed, acceptance rate, request latency, and error rate into logging services and monitoring/alerting systems to catch performance regressions promptly.
- Model-hardware matching: total parameter count determines whether it fits, active parameter count determines how fast it runs, memory bandwidth determines sustained throughput, and attention and KV cache determine long-context cost; all three need to be judged together.
9. Summary: Don’t Let Speedup Turn into Slowdown
The analysis around MTP speculative decoding can be summarized in three points:
- Acceptance rate is a necessary condition, not a sufficient one. The part of a draft that gets discarded after verification still fundamentally consumes compute and scheduling resources.
- Selection often matters more than parameter tuning. On unified-memory devices, an MoE model with fewer active parameters may be faster than a dense model with a larger total parameter count, but attention, KV cache, and routing cost still matter.
- Optimization must be built on a reproducible baseline. When the MTP implementation is not yet stable, get the speculation-off baseline accurate first, then discuss draft length, acceptance-rate thresholds, and task-grouping strategy.
For developers deploying large models locally, the most important takeaway is this: speculative decoding is not a free speed boost; it merely trades the per-token bandwidth cost for the compute and scheduling cost of batch verification. The trade pays off only when compute has headroom, drafts are accurate, tasks match, and the implementation is stable.
