@misc{shen2026dmtp,
author = {Shen, Yuhao and Huang, Jianuo and Zhang, Yi and Yang, Xu and
Yu, Hao and Wang, Xin and Li, Yucheng and Jiang, Huiqiang and
Lin, Xi and Liu, Di and Zhang, Jun and Liu, Tianyu and
Zheng, Bo and Liu, Dayiheng and Zhang, Jianwei and Wang, Cong},
title = {{DMTP}: A Better First Token for Block Drafting via MTP},
year = {2026},
url = {https://sylvan820.github.io/D-MTP/}
}
DMTP: A Better First Token for Block Drafting via MTP
Piggy Shen · October 2026 · Technical Blog
Model weights, SGLang inference code, and SpecForge training code are open source.
We find that zero-initialized residual injection performs comparably to direct fusion and is better suited to continued fine-tuning from existing DFlash weights. We therefore adopt two anchors with a zero-initialized residual at the first candidate's embedding slot, retaining the original embedding while learning to incorporate MTP's predictive features.
Update · November 4, 2026
We find that single- and dual-anchor layouts perform similarly when trained from scratch, but the dual-anchor layout performs better when fine-tuning from existing DFlash weights. It also achieves higher end-to-end throughput at comparable acceptance lengths. We will therefore adopt the dual-anchor layout for subsequent DMTP models and continue sharing updated results.
Speculative decoding is an important component of LLM inference infrastructure. DFlash demonstrates the potential of parallel candidate prediction, while DeepSeek has deployed DSpark in production and reported gains over MTP. Yet DFlash does not consistently outperform MTP on models with well-trained native MTP modules, such as GLM and Qwen, or on some conversation workloads. We focus on reusing MTP's first-token prediction capability.
Our evaluations and discussions with Domino author Jianuo Huang highlight complementary strengths: native MTP has higher first-token acceptance, particularly on workloads outside the training distribution, while DFlash generates a longer continuation in parallel. This motivates combining pretrained first-token prediction with parallel drafting.
Several approaches address the decline in acceptance at later positions within a DFlash-style block. We focus on a different question: can we improve the first draft token itself? Under prefix verification, rejecting that first candidate prevents the rest of the block from being committed. DMTP starts with a pretrained MTP prediction, then passes its hidden representation to DFlash for the continuation.
We introduce DMTP: pretrained MTP proposes the first candidate token in each drafting round (T1), and DFlash predicts the remaining six candidates (T2–T7) in parallel. Our main method uses two anchors and a zero-initialized residual: retain the emitted token A and first candidate T1, and pass the normalized MTP hidden state through a lightweight adapter whose output is added only to T1's embedding.
The key idea: let MTP start the block and DFlash continue it in parallel. The two models share both a concrete candidate and a predictive representation, while retaining their original backbones.
The Key Observations
Reuse MTP's pretrained first-token capability. We use MTP for the first candidate and DFlash for the next six parallel proposals. Across six workloads, DMTP improves first-token acceptance over DFlash by 5.43–12.46 percentage points, or 7.23%–21.00% relatively.
Pass MTP's pretrained capability to DFlash through hidden states. We use MTP not only to generate T1, but also to fuse the hidden state that predicted it with its token embedding. DFlash can then use both the concrete candidate and features learned during MTP pretraining to predict the continuation in parallel.
The gains extend across long- and short-text tasks. On long-text tasks with Qwen3.6-35B-A3B, DMTP improves acceptance length by 10.68%–28.25% and B32 end-to-end throughput by 17.10%–23.75%, relative to DFlash. On short-text tasks using public Qwen3.6-27B weights and OpenPerfectBlend, DMTP(DFLASH) improves acceptance length by 5.78%–21.55% over DFlash, while DMTP(DFlash2) improves it by 6.54%–21.84% over DFlash2, covering math, code, and chat.
DMTP complements optimizations within MTP and DFlash. We change how the two models cooperate; stronger predictors, training methods, candidate-selection strategies, and inference kernels can all be combined with this framework.
1. First-Token Acceptance and Parallel Drafting
Figure 1 compares DFlash and native MTP using the same target model. DFlash is trained on a mixture of tasks with 32K sequences; MTP uses the pretrained weights bundled with the same target. First-token acceptance is the fraction of rounds in which the target accepts the first proposed candidate.
Both arms use the same Qwen3.6-35B-A3B target and input set across Code, Math, MT-Bench, Agent, SWE and Long-horizon. DMTP itself uses MTP for T1 and DFlash for six parallel continuation candidates.
Figure 1. First-token acceptance across six workloads on Qwen3.6-35B-A3B at a generation temperature of 1.
On Code, first-position acceptance is 71.00% for DFlash and 82.32% for MTP.
We see extensive pretraining as an important source of MTP's first-token advantage. Native MTP learns alongside the target from much more data than our separately trained DFlash draft. That gives us a reason to preserve its first-token predictor rather than train a replacement.
2. DMTP: MTP Starts, DFlash Continues
The division of labor is straightforward:
MTP: propose T1
DFlash: condition on T1 and propose T2–T7 in one forward pass
Target: verify seven candidates and commit the accepted prefix plus correction/bonus
Figure 2. MTP proposes T1 and provides the hidden state that predicted it. We retain A and add a residual only to T1's embedding; DFlash predicts the next six candidates in parallel. A and MASK slots receive no direct residual, and the target-context pathway stays unchanged.
We chose this division of labor for three reasons.
Preserve first-token prediction. We freeze native MTP to retain its pretrained first-step capability and train the parallel continuation separately.
Shorten the prediction distance. Given T1, T2 becomes the first unknown token after the new anchor, from which DFlash predicts the continuation in parallel.
Transfer pretrained features. Alongside T1, we pass the MTP hidden that predicted it so DFlash can use those features to predict subsequent tokens.
Single-Step MTP Drafting
We use MTP only for T1 to control serial drafting cost. Additional MTP candidates require successive forward passes and token selection, whereas DFlash predicts the remaining six in one parallel pass.
3. MTP Hidden-State Integration and Ablations
We use two anchors with a zero-initialized residual at T1's embedding slot, incorporating MTP features while preserving the original token embedding.
Let A=xa be the token already emitted by Target but not yet processed by it. Available target-context features end at xa−1. MTP reads A and the preceding target hidden state to propose T1=xa+1. We use the MTP hidden state that predicts T1, not one obtained after consuming T1.
The normalized MTP hidden passes through a rank-256 bottleneck: down-projection, SiLU, and up-projection. The output projection W_up is zero-initialized, so T1 initially retains E(T1). The released 27B checkpoint uses this adapter. The 120B checkpoint instead normalizes E(T1) and hidden separately, then concatenates and projects them within a zero-initialized residual branch. Both preserve the original embedding and modify only T1.
Neither A nor the six MASK slots receive a direct residual, and no extra hidden-state slot is inserted. Later positions attend to the enhanced T1 and are influenced indirectly. The original target-context projection and key/value cache pathway remain unchanged; MTP KV is not appended.
Two Anchors and Training Boundaries
We retain both A and T1 before the MASK positions, giving eight input slots. A has already been emitted and is not a new proposal. Each round still proposes seven candidates: T1 from MTP and T2–T7 from DFlash in parallel.
MTP is frozen and its hidden state is detached; we train DFlash, the selector, and the residual fusion layer. T1 is a known input, while the six MASK positions predict the continuation.
Hidden-State and Anchor Ablations
Figure 3. Per-verify accepted length, including correction/bonus. Panel (a) compares interfaces on eight identical Code requests; the six-MASK residual is an auxiliary run on the same inputs. Panels (b,c) compare anchor layouts across three datasets.
Conditioning on T1 alone raises Code accepted length from 3.3348 to 3.7574. T1 residual injection reaches 3.8492 (+2.44%), and direct fusion reaches 3.9480 (+5.07%). The six-MASK residual gains 1.98%, while KV blend and MTP-only context change length by -1.65% and -5.60%, respectively.
Dataset
Residual single
Residual dual
Fusion single
Fusion dual
Code
3.4072
3.5234
3.5051
3.5082
Math
3.6522
3.8095
3.8126
3.6301
MT-Bench
2.7921
2.8507
2.8345
3.0591
Keeping A improves residual injection on all three tasks, while direct fusion is more sensitive to the anchor layout. We use dual anchors with a T1 residual to pass MTP features while preserving the token embedding, which also supports adaptation from existing checkpoints.
Compatibility with Existing Drafting Methods
We retain DFlash's backbone, output head, and target-context interface. We adapt existing checkpoints with [A,T1,MASK×6], a zero-initialized residual added only to T1, and supervision on the six continuation positions. Target and MTP remain frozen. This interface is orthogonal to optimizations within either model.
Why Preserve Pretrained MTP?
We also tried repurposing MTP layers for DFlash-style parallel prediction, but saw first-position performance affected and limited convergence gains. We therefore chose to freeze pretrained MTP and train parallel continuation around its T1 proposal.
4. Training DMTP
We use Qwen3.6-35B-A3B with 32K training contexts and approximately 250K records, predominantly from Agent and Long-horizon scenarios. MT-Bench evaluates generalization beyond the training distribution.
We train DFlash and DMTP with the same data, training hyperparameters, and training budget. DMTP adds native MTP's first-token prediction and its predicting hidden state, together with a trainable T1 fusion module.
Training follows three steps:
Extract frozen features. Target processes the training sequence. At each block boundary, MTP consumes A and the preceding target hidden to obtain the representation for predicting T1. DFlash context uses only target features before A.
Build the draft input. Use [A,T1,MASK×6] with the dataset's T1. Add the adapter output from its predicting MTP hidden to E(T1), leaving A and all six MASK embeddings unchanged.
Optimize the continuation. DFlash learns the remaining six candidates with the original position-decayed cross-entropy loss. The target model and MTP stay frozen; only DFlash and the first-candidate fusion module are updated. The known first-candidate input slot receives no draft prediction loss.
We use the first candidate token from the training data during training and the MTP-generated candidate during inference. Hidden-state timing stays consistent: both use the MTP representation that predicts the first candidate, not the hidden state obtained after consuming it.
5. Inference: MTP First, DFlash Second
Each generation round follows the order in Figure 2:
MTP proposes T1. Read the available target hidden and consume pending token A. Keep both the selected T1 and the MTP hidden that predicted it.
DFlash predicts T2–T7. Form [A,T1,MASK×6], add the MTP hidden residual only to E(T1), and run one parallel DFlash forward.
The target model verifies the block. Verify all seven candidates together, commit the accepted prefix and correction or bonus token, then advance to the next round. A bonus token is the extra token generated by the target when all draft candidates are accepted.
The 35B main experiments, original-OPB short-context evaluation, and serving tests use target-only sampling. Regenerated OPB, 3.8-Next checkpoint adaptation, and joint training use exact rejection sampling and are reported separately.
The runtime keeps MTP and DFlash state separate, commits only accepted history, and rolls back rejected candidates.
The additional computation consists of one MTP forward, its vocabulary output layer (LM head), and a lightweight residual adapter. The target-context pathway is unchanged. Dual-anchor input contains A, T1, and six masks: eight slots for seven new candidates.
We next focus on state updates, execution scheduling, and CUDA Graph coverage to reduce the handoff cost between MTP and DFlash.
6. Inference Implementation and Systems Optimizations
We retain the seven-candidate budget and Target's verification rules, and focus our systems changes on MTP state advancement and T1 preparation.
6.1 Separating Prediction from State Advancement
The dashed frame groups the T1 head, embedding, and fusion in one CUDA Graph; the dashed arrow connects adjacent rounds.
Prefill initializes all three models' states. Each steady-state round selects T1 from the cached MTP hidden, then runs embedding, fusion, and the DFlash forward.
After Target verification, we advance MTP state using the accepted prefix, correction/bonus token, and corresponding Target hidden states. We cache the next prediction representation so the following round starts directly at the T1 head.
6.2 Attention: One Backend, Different Visibility Rules
We keep DFlash's existing FlashAttention-3 and CUDA Graph support and use FlashAttention-3 for the added MTP path as well. The two paths need different visibility rules: MTP reads full history causally, while DFlash reads the last 4096 positions relative to the anchor and its draft input block with the visibility used in training.
Temporary DFlash page tables express this visibility without moving persistent key/value caches, changing rotary positional encoding (RoPE) positions, or replacing the anchor-relative window with a query-relative one. The MTP path retains the native FlashAttention-3 operator and prepares fixed-eight-slot metadata on device, avoiding CPU length transfers on normal steps.
6.3 Key/Value Cache Lifetime: History, Pending Tokens, and Temporary Storage
MTP state advancement and commit, illustrated with T1 and T2 accepted and bonus B produced.
We maintain a separate key/value cache for MTP, with an additional pending-token slot, because the two models advance at different times: MTP may have processed the current anchor while the target has not. After verification, we update their boundaries separately and commit only the states that belong in history.
We reserve eight MTP advancement slots per request so different acceptance lengths can reuse the same graphs. Valid rows enter history or the next pending-token slot; extra rows go to private temporary storage (scratch in the figure). The valid-row count determines what we commit and which hidden state predicts the next first candidate. Temporary outputs do not enter subsequent predictions.
6.4 Graph Execution: Preparation and Submission
We pre-capture CUDA Graphs for exact request counts so the fusion matrix multiplication computes only the active rows. During decoding, we prepare data on the device, update fixed buffers, and replay the graph.
We then combine first-candidate vocabulary projection, candidate writing, target-model embedding lookup, and fusion into one graph submission to reduce host scheduling. We merge submissions without changing operator dependencies, precision, highest-probability token selection, or tensor-parallel communication.
Valid rows select history, pending-token, and temporary writes and the predictor hidden state
Dynamic-length layout conversion
6.5 Cost Structure After Optimization
After device-side preparation, fixed layouts, and combined graph execution, the main added computation is one MTP decoder block and the vocabulary output layer that selects the first candidate. The block includes full-history causal attention, projections, normalization, a feed-forward network, and tensor-parallel communication, so its cost varies with context length.
The vocabulary output layer is a priority for further optimization. Even for a single candidate, it reads the large vocabulary matrix and computes scores for every token in the vocabulary.
We plan to explore EAGLE-4's Efficient LM Head, using a low-rank head to shortlist candidates before exact rescoring, as well as drafting-side head quantization to reduce weight traffic and projection cost. Target verification stays unchanged; we will evaluate both acceptance length and throughput.
Measured Per-Round Overhead
We compare DMTP and DFlash on the same four GPUs and target model. Code and SWE each use eight identical inputs, actual batch size eight, and CUDA Graphs. We generate exactly 512 tokens with EOS ignored and exclude the first 16 warmup rounds.
Figure 4. Per-round latency at TP4, batch size 8, with CUDA Graphs.
Stage (ms/round)
Code: DFlash
Code: DMTP
SWE: DFlash
SWE: DMTP
DFlash graph replay
0.386
0.388
0.442
0.427
Additional MTP graph replay
—
0.214
—
0.283
Additional T1 selection, embedding, and fusion
—
0.290
—
0.274
Whole round, including preparation and verification
8.915
9.318
9.645
10.195
DFlash replay time is essentially unchanged; the added stages are mainly MTP and T1 preparation. The whole-round interval increases by 0.403 ms on Code and 0.550 ms on SWE.
7. Main-Method Evaluation Across Workloads
Our evaluation focuses on long-context agent workloads, with additional coverage of Code, Math, and MT-Bench, comparing DMTP against DFlash and native MTP. The first three workloads (Code, Math, MT-Bench) primarily have short inputs and long outputs; the latter three (Agent, SWE, Long-horizon) primarily have long inputs and short outputs. MT-Bench evaluates performance outside the training distribution.
Inputs are capped at 128K tokens and outputs at 64K tokens. All methods use the same inputs at a generation temperature of 1.
Dataset
Native MTP
DFlash
DMTP
Code
3.4854
3.2159
3.8217
Math
3.6054
3.4440
4.0500
MT-Bench
3.0320
2.7852
3.2445
Agent
4.1695
4.5266
5.0986
SWE
3.2618
2.8113
3.6053
Long-horizon
3.9074
3.9424
4.3635
General
3.1931
2.6962
3.2722
Reason
3.5239
3.2907
3.8761
Search
3.0843
2.6909
3.2916
Native MTP proposes four candidates; DFlash and DMTP each propose seven.
Accepted length is per-verify and includes the target correction or bonus token.
DMTP exceeds DFlash and four-step Native MTP on all nine workloads, improving per-verify accepted length over DFlash by 10.68%–28.25%.
Position-Wise Acceptance
Figure 5 shows cumulative acceptance from T1 through T7.
Figure 5. Cumulative acceptance P(L≥k): the fraction of verification rounds accepting the first k draft candidates, excluding correction/bonus tokens. Evaluation settings are unchanged.
First-token acceptance improves by 5.43–12.46 percentage points over DFlash, a relative gain of 7.23%–21.00%. Code increases from 71.00% to 81.81%, Math from 73.73% to 83.72%, and SWE from 59.33% to 71.79%. These gains reflect DMTP's reuse of native MTP's pretrained first-token prediction rather than relearning that capability in DFlash.
DMTP also maintains higher cumulative acceptance at T2–T7: a more reliable first proposal, together with MTP hidden states conditioning parallel continuation, improves acceptance throughout the candidate block.
Conditional acceptance: accepting candidate k given that the first k−1 were accepted
Workload / model
Verify rounds
T1
T2
T3
T4
T5
T6
T7
Code / DFlash
523201
71.00%
70.38%
71.64%
70.79%
70.43%
70.91%
70.97%
Code / DMTP
434780
81.81%
76.83%
74.34%
73.43%
73.00%
73.02%
71.76%
Math / DFlash
473538
73.73%
72.93%
73.82%
73.87%
73.36%
71.90%
70.59%
Math / DMTP
404689
83.72%
78.84%
76.25%
76.36%
75.64%
74.54%
72.62%
MT-Bench / DFlash
54479
61.36%
62.04%
68.34%
73.36%
76.38%
76.11%
74.92%
MT-Bench / DMTP
41259
73.72%
66.90%
67.78%
73.03%
76.24%
76.77%
74.74%
Agent / DFlash
22213
79.53%
81.84%
84.00%
85.87%
87.05%
86.81%
84.74%
Agent / DMTP
17371
86.98%
86.12%
85.51%
86.91%
87.72%
87.34%
86.18%
SWE / DFlash
4795
59.33%
64.25%
68.38%
73.92%
79.65%
80.98%
84.90%
SWE / DMTP
3836
71.79%
72.59%
74.64%
79.69%
84.44%
85.06%
82.20%
Long-horizon / DFlash
2919
75.13%
76.84%
80.18%
80.01%
82.89%
83.71%
84.40%
Long-horizon / DMTP
2798
80.56%
80.66%
79.98%
83.22%
85.04%
86.10%
85.78%
Acceptance Length and End-to-End Throughput
The table uses the B32 reference evaluation: DFlash and DMTP run sequentially on the same four H200 GPUs, with a common SGLang version and TP4. Each workload uses 64 identical inputs, temperature 1, natural EOS, a 28K output cap, and a server context limit of 262144 tokens. Figure 6 extends the throughput comparison across B2–B32.
Dynamic batching allows the active batch to vary as requests complete; Bn specifies its upper limit. Cache is cleared between workloads and batch settings, with normal radix-cache reuse within each case. The table and Figure 6 evaluate the complete serving pipeline separately from the acceptance analysis in the preceding table and Figure 5.
Workload
DFlash per-verify
DMTP per-verify
Code
3.198
3.795
Math
3.429
4.056
MT-Bench
2.706
3.250
Agent
4.249
4.709
SWE
2.794
3.173
Long-horizon
3.641
4.656
Per-verify is 1 + Σ(k × histogram[k]) / Σhistogram, where the additional 1 is the correction or bonus token.
Figure 6. End-to-end throughput of DFlash, native MTP, and DMTP using four-way tensor parallelism (TP4) on Code, Math, and Agent, in tok/s with independent y-axes. The figure label MTP415 denotes four MTP steps, four candidates, and five verification slots. Bn means a batch limit of n.
We add native MTP throughput from public Qwen3.6-35B-A3B weights as a reference: four steps, top-k=1, five verification slots, and four proposed candidates, with overlap disabled. DFlash/DMTP use internal Target weights and seven candidates, with overlap enabled.
Why four MTP steps? In this configuration, three-step MTP (MTP314) has a drafting cost close to five-layer DFlash. DMTP adds one MTP prediction to DFlash, so we use four-step MTP (MTP415) as an approximately cost-matched drafting baseline. Four steps is also a common MTP baseline for Qwen inference.
In the B32 reference evaluation, DMTP improves E2E throughput by 17.10%–23.75% across the three plotted workloads. Code increases from 5526.78 to 6564.08 tok/s (+18.77%) and Math from 6054.42 to 7089.92 tok/s (+17.10%), alongside roughly 18% gains in per-verify acceptance length. Agent increases from 1016.94 to 1258.44 tok/s (+23.75%).
We compute end-to-end throughput as total output tokens divided by workload completion time, including queueing, prompt prefilling, and decoding. Generation stops normally at the end-of-sequence token (EOS).
8. Open-Source Reproduction and Evaluation
To support reproduction and align with open-source settings, we add short-context training and public benchmark evaluation using public Qwen3.6-27B weights and OpenPerfectBlend. We also include drafting methods such as DFlash2 to examine how DMTP complements different DFlash optimizations.
All variants share the same data and training budget, with the target model and native MTP frozen. We use five-layer drafts, dynamic sequences up to 2K, and a global batch size of 128, training on eight GPUs in BF16 for three epochs, or approximately 31K steps.
DFlash retains position-decayed cross-entropy, while DFlash2 combines block-local mixing, path selection, and adaptive loss. We add MTP representation fusion at the first candidate position to each baseline and train the corresponding DMTP model, preserving seven proposals per round.
Acceptance-Length Evaluation
We evaluate with four-way tensor parallelism, a batch limit of 32, temperature 1, a 4K input limit, and up to 1,024 output tokens per turn, stopping at EOS. All models use the target model's chat template with enable_thinking=False and the target-only verification described earlier.
OpenPerfectBlend focuses on math and code, so we also evaluate chat using Alpaca and MT-Bench. We take the first 80 entries from each dataset; MT-Bench retains complete two-turn conversations, carrying each model's own first-turn response into the second turn.
Dataset
Native MTP
DFlash
DMTP(D)
DFlash2
DMTP(D2)
GSM8K
4.373
4.318
5.074
4.595
5.371
MATH500
4.377
4.258
4.968
4.536
5.233
HumanEval
4.698
6.424
6.795
6.609
7.041
MT-Bench
3.599
3.209
3.760
3.535
4.052
Alpaca
3.529
2.763
3.358
2.990
3.643
DMTP improves per-verify mean accepted length over DFlash on all five short-output benchmarks, with gains ranging from 5.78% to 21.55%.
DFlash2 and DMTP are complementary and orthogonal. DFlash2 uses block-local convolution and a path selector to mitigate DFlash's within-block prediction decay; DMTP reuses pretrained MTP to improve first-token acceptance. Combined, they deliver a measured 6.54%–21.84% improvement in mean acceptance length over DFlash2 across the five datasets.
DMTP(D) and DMTP(D2) denote DMTP with DFlash and DFlash2 drafts, respectively. We report per-verify mean accepted length, including the target correction or bonus token, with MT-Bench counted per turn. DFlash, DFlash2, and DMTP(D) use 24,000-step checkpoints. Both DFlash variants and their DMTP counterparts propose seven candidates per round; native MTP415 proposes four.
First-Candidate T1 Acceptance
We compare DFlash and DMTP(DFLASH) using the non-thinking settings and five input sets above. This measures the first draft candidate in each verification round, not the first output token of each request or task accuracy.
Dataset
DFlash
DMTP(DFLASH)
Difference (pp)
GSM8K
79.74%
93.83%
+14.08
HumanEval
90.47%
96.26%
+5.79
MATH500
81.58%
94.80%
+13.21
Alpaca
66.86%
83.45%
+16.59
MT-Bench
67.27%
83.23%
+15.96
First-candidate acceptance is aggregated over verification rounds: 1 − histogram[0] / Σhistogram[k]. Here histogram[0] counts rounds accepting no draft candidates. Target correction or bonus tokens are excluded. Differences are in percentage points, computed before rounding.
9. Future Directions
One limitation of DMTP is its reliance on native MTP's first-token prediction. When MTP is insufficiently trained for a particular setting, its first-token acceptance can be lower than that of a DFlash model fine-tuned on relevant task data. Delegating the first token to MTP may then be the weaker choice. We want to better understand this gap and explore how training and cooperation between the two models can improve those settings.
Building on the exact rejection sampling already supported in DMTP, we plan to explore block verify, evaluating acceptance length, sampling consistency, and end-to-end throughput.
There are several directions we would like to explore:
Adaptive multi-step MTP. Explore adaptively choosing the number of MTP steps before parallel DFlash continuation.
A unified MTP–DFlash formulation. Can we train both within one framework and better understand why their first-token acceptance and later-position decay differ?
Joint training. MTP does not have to stay frozen. We can train it together with DFlash and study how to improve block prediction while preserving its first-token strength.
Multi-layer MTP for block prediction. Can multiple MTP layers learn to predict a block, combining pretrained MTP capabilities with parallel drafting?
Larger models. Extend DMTP to larger target models and explore different MTP–DFlash combinations to evaluate its generalization and acceleration potential at scale.
DMTP is still an initial exploration. We will share results across more models and settings, with weights, SGLang inference code, and SpecForge training code already open source. We welcome reproductions, findings from different models and tasks, and contributions to both training methods and inference implementations. We hope to explore this direction together with the community.
We thank the Qwen Team, the Domino Team, the Qwen Application Team, and the SpecForge Team for their support and discussions. This work was carried out during my internship with the Qwen Infra team.
Qwen Team: Yuhao Shen, Di Liu, Yucheng Li, Hao Yu, Xin Wang, Yang Xu, Xi Lin, Yi Zhang.
Domino Team: Jianuo Huang.
Qwen Application Team: Tianyu Liu, Jun Zhang.
SpecForge Team: Jiaping Wang.
Citation
If you find this work useful, please consider citing our paper:
@misc{shen2026dmtp,
author = {Shen, Yuhao and Huang, Jianuo and Zhang, Yi and Yang, Xu and
Yu, Hao and Wang, Xin and Li, Yucheng and Jiang, Huiqiang and
Lin, Xi and Liu, Di and Zhang, Jun and Liu, Tianyu and
Zheng, Bo and Liu, Dayiheng and Zhang, Jianwei and Wang, Cong},
title = {{DMTP}: A Better First Token for Block Drafting via MTP},
year = {2026},
url = {https://sylvan820.github.io/D-MTP/}
}