On-Device MTP Benchmark: Why Multi-Token Prediction Often Fails to Speed Up LLM Decoding
This article examines multi-token prediction (MTP) for on-device LLM decoding using a 12B dense model and a 26B MoE model with about 4B active parameters on a unified-memory platform. It compares token throughput, latency, and draft acceptance rates across task categories, explains why MTP2 and MTP3 often regress despite saving forward passes, and offers practical guidance on task-specific MTP policies, KV cache management, and edge-cloud collaboration.
Large language models are increasingly being deployed on edge devices. Limited compute and memory bandwidth make decoding speed one of the first bottlenecks. Multi-token prediction (MTP) is a class of methods for improving decoding throughput. The basic idea is to let the model predict several future tokens in a single forward pass. These predictions are drafts that must be verified by the main model one by one. Accepted tokens can be emitted together, saving several forward passes. Rejected drafts waste compute.
The final benefit of MTP therefore depends on two factors. The first is acceptance rate: the share of drafts accepted by the main model. The second is the extra overhead of generating and verifying drafts. In this article, MTP2 means predicting two subsequent tokens per round, and MTP3 means predicting three. More drafts can save more forward passes per round, but rejection becomes more costly. Whether the theoretical speedup materializes depends on whether the actual acceptance rate covers that overhead.
Test setup and background
An open-source model family recently released an approximately 12B-parameter dense model. It fills the gap between 4B-class small models and a 26B mixture-of-experts (MoE) model, making it suitable for edge devices with a certain amount of memory. The 26B MoE model activates only about 4B parameters per inference, denoted as A4B.
The test environment was an edge computing platform with a unified memory architecture. The CPU and GPU share the same high-bandwidth physical memory, which reduces data-copy overhead and is suitable for local deployment of large models. The tests used a commonly used open-source inference engine and benchmarked the 12B dense model and the 26B MoE model with MTP enabled and disabled. Tasks covered coding, humanities, math, question answering, retrieval-augmented generation (RAG), logical reasoning, writing, multilingual tasks, summarization, and role-play.
It should be noted that the original test materials did not list the specific hardware model, quantization precision, context length, batch size, engine version, sample count, or the statistical definitions of speed and latency. The data below is therefore suitable for horizontal comparison within the same environment. Reproducing the results would require filling in these parameters first.
12B dense model: where MTP helps
In conventional autoregressive decoding (MTP0, one token per prediction), the 12B dense model averaged about 36.4 tokens/s across task categories. The common expectation is that enabling MTP2 should bring a near-doubling speedup by reducing the number of forward passes. The measured results differed clearly from that expectation.
First, coding tasks were the only scenario with a clear positive gain. With MTP2 enabled, coding tasks reached 42.83 tokens/s, about 1.18x. Average latency dropped from 28.69 seconds to 24.48 seconds, and the acceptance rate reached 0.76. Code has strong formatting constraints and predictability, so the draft hit rate is high, and the saved forward passes exceed the extra overhead of drafting.
Second, MTP2 slowed inference on most other tasks. In writing, for example, speed dropped from 34.66 tokens/s to 25.75 tokens/s, only 0.74x of the original. Latency increased by nearly 12 seconds, and the acceptance rate was only 0.58. Humanities, math, question answering, and reasoning tasks showed similar regressions.
Third, overall acceptance across all tasks was 0.6355. When a draft is accepted, one forward pass can be saved. When a draft is rejected, no time is saved, and extra computation is spent generating the draft. An acceptance rate of 0.6355 was not enough to offset the engine’s MTP implementation overhead. On a unified-memory device, memory bandwidth is shared by the CPU and GPU, and this contention may further amplify the overhead.
The reasons for this result can only be judged directionally at present. Possible factors include the efficiency of the engine’s MTP implementation, the management cost of multi-branch KV cache, and bandwidth contention on shared memory. Confirming the specific cause would require profiling under the same version and parameters, observing the time spent on draft generation, verification, and KV cache operations.
26B MoE model: faster baseline, but MTP is still unstable
With MTP disabled, the 26B MoE model averaged close to 80 tokens/s, more than twice that of the 12B dense model. With MTP3 enabled, most tasks also showed performance regressions, with acceptance rates fluctuating between 0.5 and 0.7. Even with MTP enabled, however, the MoE model remained clearly faster than the 12B dense model.
The MoE model’s advantage comes mainly from sparse activation. Each forward pass activates only part of the expert networks, so FLOPs are clearly lower than those of a dense model with the same total parameter scale. The high bandwidth of the unified memory architecture can also load activated expert weights quickly. As a result, for edge deployment, models with MoE structures are often more cost-effective than smaller dense models.
There is an important caveat here. The data in this article compares only speed and acceptance rate. It does not provide a comparison of output quality between the two model types. When choosing a model, teams should also validate whether quality meets requirements on their own business data, not just compare speed.
Practical recommendations
1. Decide whether to enable MTP on a per-task basis. A global one-size-fits-all MTP switch is not recommended. Tasks with strict formatting and high predictability, such as code completion, are suitable for enabling MTP. Divergent tasks such as creative writing should disable it to avoid unnecessary computation. Before launch, measure latency with MTP on and off for each task category, and record acceptance rates at the same time. The pseudocode below illustrates the decision logic:
# Pseudocode: interfaces are hypothetical; adapt to the actual inference engine API; not directly runnable.# Threshold 0.65 is only an example; recalibrate for your own tasks and hardware.def choose_mtp_policy(model_path, task_categories, accept_threshold=0.65):policy = {}for task in task_categories:base = run_benchmark(model_path, task, mtp_depth=0)spec = run_benchmark(model_path, task, mtp_depth=2)# Enable MTP only when latency actually drops and acceptance is high enough.if spec.avg_latency < base.avg_latency and spec.accept_rate > accept_threshold:policy[task] = "ENABLE_MTP"else:policy[task] = "DISABLE_MTP"return policy
The key is to compare latency and acceptance rate together. Looking only at acceptance rate may ignore draft overhead; looking only at single-run speed may ignore stability during long-running operation.
2. Optimize KV cache management under unified memory. On unified-memory devices such as Apple Silicon, memory bandwidth is often the core bottleneck. MTP maintains KV cache for multiple candidate branches at the same time. If the allocation strategy is poor, it can easily cause memory fragmentation and intensify bandwidth contention. Developers can check whether the engine supports finer-grained cache allocation and monitor memory usage changes during long stress tests.
3. Edge-cloud collaboration is an option, not the only path. Edge devices have limits on compute and memory. When the local model shows obvious latency in long-context RAG or complex logical reasoning, consider sending those requests to the cloud. Many cloud platforms provide container compute instances and managed LLM hosting, and support GPU memory optimizations such as PagedAttention, making them suitable for high-concurrency and long-context requests.
Edge-cloud collaboration also has costs. It introduces network latency and usage fees, involves data transfer and privacy compliance issues, and cannot be used in offline scenarios. A more prudent approach is to keep a lightweight model on the edge for intent recognition and simple question answering, and upload only complex requests that truly need it. Whether to adopt this approach should be based on actual latency, cost, and compliance requirements.
Applicability boundaries and alternatives
Based on the test results, the following boundaries can guide model selection.
- Code completion, structured output, and similar tasks: prioritize testing MTP, and use measured latency as the deciding factor.
- Writing, open-ended question answering, role-play, and similar tasks: disable MTP by default and leave resources for main-model inference.
- High speed requirements with acceptable quality: compare MoE models and dense models; MoE is usually a better starting point.
- Memory- or bandwidth-constrained devices: in addition to MTP, evaluate quantization schemes to reduce memory usage and bandwidth pressure.
- Long-context or complex reasoning that exceeds local capability: then consider edge-cloud collaboration, after confirming cost and compliance conditions.
Conclusion
MTP offers a new acceleration approach for edge inference, but its benefit depends on the balance between acceptance rate and extra overhead. In this test, the 12B dense model achieved a stable positive gain only on coding tasks, while most tasks became slower. The 26B MoE model had a faster baseline, but MTP was also unstable when enabled.
For developers, a more prudent approach is to abandon a one-size-fits-all switch, benchmark each task, and decide dynamically whether to enable MTP. Memory management and the edge-cloud division of labor should also be included in the design. As inference engines continue to optimize for unified memory architectures, the acceleration potential of MTP may be further unlocked.
