Autoregressive inference in large transformer models is limited by token-level sequential execution, resulting in high latency and low GPU utilization. Speculative decoding (SD) mitigates this bottleneck by introducing a draft-and-verifier model. However, the drafting stage remains sequential, leaving the verifier idle and underutilizing compute. To address this, we propose a plug-and-play drafting adaptive drafting method that parallelizes inference across transformer layers during draft generation. Starting from a shared hidden state, our approach evaluates multiple layers in parallel and verifies consistency by measuring divergence in hidden-state space. Layer-wise draft states are accepted when deviations are small; otherwise, a correction step is applied. By exploiting redundancy across transformer layers, our method accelerates draft generation and improves hardware utilization without modifying architectures or requiring retraining. Experimental results on NLP tasks show that our method speeds up the drafting stage by up to 1.65× with minimal degradation in accuracy, while maintaining the same performance as SD.
Figures & tables
Figure 1
Figure 2: Vanilla versus Adaptive Layer-parallel Drafting (ALD). Vanilla drafting executes layers sequentially, leaving parallel compute underutilized. ALD evaluates future layer transformations concurrently using proxy hidden states and adaptively controls their advancement through a similarity check, reducing drafting latency while preserving draft quality.
Dataset
Method
Qwen-4B → 30B
LLaMA-3B → 70B
Accept.
E2E Spd.
Draft Time
Accept.
E2E Spd.
Draft Time
(s/100 tok.)
(s/100 tok.)
WMT
SD
0.40
2.47 ×
30.2 (1.00 × )
0.50
1.91 ×
48.5 (1.00 × )
EasySpec
0.32
2.72 ×
19.4 (1.56 × )
0.44
2.08 ×
34.4 (1.41 × )
LayerSkip
0.25
2.54 ×
18.1 (1.67 × )
0.31
1.96 ×
30.8 (1.57 × )
ALD
0.38
2.95 ×
18.7 (1.62 × )
0.46
2.29 ×
32.5 (1.49 × )
Table 1: Acceptance rate, end-to-end (E2E) speedup, and draft time across datasets. E2E speedup is relative to autoregressive target-model decoding; draft time is in seconds per 100 tokens, with parenthetical values denoting speedup over standard SD.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Task
Method
Qwen-4B → 30B
LLaMA-3B → 70B
Accept.
E2E Spd.
Accept.
E2E Spd.
MT
SD
0.38
2.15 ×
0.47
1.98 ×
EasySpec
0.31
2.52 ×
0.39
2.18 ×
LayerSkip
0.26
2.31 ×
0.36
2.05 ×
ALD
0.35
2.75 ×
0.42
2.25 ×
TL
SD
0.41
2.34 ×
0.41
1.84 ×
Appendix
Table 2: Acceptance rate and end-to-end decoding speedup on SpecBench. E2E speedup is measured relative to standard autoregressive decoding with the corresponding target model. The draft models are Qwen-4B and LLaMA-3B for the Qwen-30B and LLaMA-70B target models, respectively.
Figure 3: Effect of the similarity threshold τ on drafting speedup and draft-model quality, measured using BLEU-4 and ROUGE-L. Lower τ permits more aggressive layer-parallel proxy execution and increases speedup, while higher τ produces more conservative execution and better preserves draft quality. The default setting τ=0.95 provides a favorable operating point between these objectives.
Model
WMT
MMLU
MGSM
IF-Eval
Math
Qwen-4B
15.2 / 36
18.5 / 36
14.8 / 36
15.4 / 36
16.3 / 36
LLaMA-3B
12.9 / 28
13.6 / 28
10.8 / 28
13.7 / 28
12.0 / 28
Appendix
Table 3: Average reduction in effective sequential layer depth achieved by ALD across datasets. Values are reported as parallelized layer advances relative to the total number of draft-model layers. Larger values indicate that ALD advances farther through the model using layer-parallel proxy execution before refreshing the committed representation.
K
Acceptance Rate
E2E Speedup
Draft Time (s/100 tok.)
5
0.42
2.81×
20.4
10
0.38
2.95×
18.7
15
0.36
2.99×
18.2
20
0.35
3.01×
18.0
L−1
0.34
3.03×
17.7
Appendix
Table 4: Sensitivity to the maximum parallel window K . Increasing K exposes more candidate layer transformations to parallel execution. The similarity criterion limits how much of this additional parallelism is actually committed, leading to diminishing speedup gains beyond K=10 .
Batch Size
Vanilla Drafting
ALD
Improvement
1
43.5%
57.4%
+13.9 pts
8
87.9%
98.4%
+10.5 pts
Appendix
Table 5: GPU utilization during draft generation. ALD increases utilization even at batch size one, indicating that its benefit does not depend exclusively on request-level batching.
Batch Size
Peak Additional Memory
% of Drafter Weights
1
2.7 MB
0.03%
8
22.0 MB
0.27%
Appendix
Table 6: Peak additional GPU memory introduced by ALD. The percentage is measured relative to the approximately 8 GB drafter weight footprint.
Stage
Batch 1
Batch 8
Proxy construction
0.33 ms
0.31 ms
Proxy layer evaluation ( K=10 )
11.8 ms
41.9 ms
Similarity check
2.0 ms
2.3 ms
Vanilla single-layer forward
5.8 ms
15.6 ms
Appendix
Table 7: Runtime breakdown of ALD operations. Proxy layer evaluation evaluates up to K=10 candidate layer transformations concurrently.
Dataset
Acceptance Rate
E2E Speedup
WMT
0.38±0.0000
2.95±0.0057×
MMLU
0.36±0.0000
2.77±0.0037×
MGSM
0.35±0.0000
2.61±0.0077×
Math
0.39±0.0000
3.75±0.0087×
Appendix
Table 8: Repeated ALD measurements with a fixed random seed. Values report mean ± standard deviation over five runs.
Dataset
Acceptance Rate
E2E Speedup
WMT
0.39±0.1062
2.95±0.2165×
MMLU
0.36±0.0663
2.76±0.1559×
MGSM
0.35±0.0679
2.60±0.0816×
Math
0.38±0.0951
3.77±0.2538×
Appendix
Table 9: Robustness across random seeds. Values report mean ± standard deviation over five independent seeds.
Dataset
Method
Acceptance
E2E Speedup
Draft Time (s/100 tok.)
MMLU
SD
0.45
1.79×
8.5 ( 1.00× )
ALD
0.41
2.05×
5.1 ( 1.67× )
Math
SD
0.52
1.93×
8.2 ( 1.00× )
ALD
0.50
2.15×
4.7 ( 1.75× )
Appendix
Table 10: Generalization to the Gemma model family using Gemma-3-1B → Gemma-3-27B. Draft-time values in parentheses denote acceleration relative to standard SD drafting.
LLM inference acceleration develops algorithms and systems that reduce language-model latency, memory use, and serving cost while preserving output quality.
Speculative decoding (SD) accelerates large language model inference by using a smaller draft model to propose draft tokens that are subsequently verified by a larger target model. However, the performance of standard SD is often limited by the strictly sequential execution of these drafting and verification stages. To address this, this paper proposes MineDraft, a batch parallel speculative decoding (PSD) framework designed to effectively hide drafting latency by overlapping it with verification. Our theoretical analysis shows that PSD is substantially more efficient than standard SD. MineDraft realizes the PSD through a novel batch-parallel design that maintains two batches of requests, overlapping drafting for one batch with verification for the other. Our experimental results show significant improvements of \alg{} in both throughput (up to 75%) and end-to-end latency (up to 39%) over standard SD. Furthermore, we have implemented MineDraft as a plugin for vLLM, demonstrating its practicality for production-ready inference systems.
Zhenwei Tang, Arun Verma, Zijian Zhou +4
College of Computing and Data Science, Nanyang Technological University, Republic of Singapore · Singapore-MIT Alliance for Research and Technology Centre · Department of Computer Science, National University of Singapore, Republic of Singapore +1
Speculative decoding accelerates autoregressive large language model inference by drafting multiple tokens and verifying them in a single target-model forward pass. Recent diffusion-based drafters generate an entire block of tokens in parallel but usually commit to a single draft sequence per verification: once the first mismatch occurs, all subsequent draft tokens are discarded, resulting in a limited acceptance rate. Naively batching more draft candidate sequences only introduces a marginal improvement, as redundant or poorly placed branches increase the cost of drafting and verification without proportionally increasing the number of accepted tokens. We propose D^2SD, a dual diffusion draft speculative decoding framework that organizes candidates into a confidence-guided prefix tree, where the first diffusion drafter generates a block along with per-position confidence scores that are used to identify the most likely rejection boundary and select the top-K prefix ranges for recovery; the second variable-prefix diffusion drafter re-anchors at each selected prefix and proposes alternative continuations in one batched pass; the resulting shared-prefix candidates are jointly verified via cascade attention. Empirically, D^2SD shows clear improvements over both the underlying diffusion approach and strong autoregressive speculative decoding baselines.
Liyuan Zhang, Jiarui Zhang, Jinwei Yao +6
Peking University · Tsinghua University · HKUST +2
Autoregressive language models suffer from high inference latency due to their sequential decoding nature. Speculative decoding (SD) mitigates this by employing a lightweight draft model to propose candidate tokens, which are selectively verified by a larger target model. While existing methods either adopt multi-draft strategies to increase acceptance rates or block verification techniques to jointly verify multiple tokens, they remain limited by treating these improvements in isolation. In this work, we propose SpecTr-GBV, a novel SD method that unifies multi-draft and greedy block verification (GBV) into a single framework. By formulating the verification step as an optimal transport problem over draft and target token blocks, SpecTr-GBV improves both theoretical efficiency and empirical performance. We theoretically prove that SpecTr-GBV achieves the optimal expected acceptance length physically attainable within the framework of i.i.d. draft generation, and this bound improves as the number of drafts increases. Empirically, we evaluate SpecTr-GBV across five datasets and four baselines. Our method achieves superior speedup and significantly higher block efficiency while preserving output quality. In addition, we perform comprehensive ablation studies to evaluate the impact of various hyperparameters in the model.
Yijun Lin, Jinhao Sheng, Qingyue Cai +1
Center for Applied Statistics and School of Statistics, Renmin University of China · School of Intelligent Medicine, China Medical University · Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing