DART: Diffusion-Inspired Speculative Decoding for Fast LLM Inference
Fuliang Liu, Xue Li, Ketai Zhao, Yinxi Gao, Ziyan Zhou, Zhonghui Zhang, Zhibin Wang, Wanchun Dou, Sheng Zhong, Chen Tian
TL;DR
DART targets the drafting bottleneck in speculative decoding by adopting a diffusion-inspired approach that predicts multiple future logits in parallel from the target model's hidden states. It combines a lightweight, prefix-conditioned draft model with shifted logits prediction and an efficient, continuity-aware N-gram tree pruning to construct a high-quality draft token tree for verification, eliminating autoregressive drafting rollout. Training uses prefix-shared masked objectives and an annealed KL divergence to align draft distributions with the target model, enabling stable, parallel supervision. Empirically, DART achieves 2.03×–3.44× end-to-end speedups and up to 6.8× drafting-forward speedups over prior methods like EAGLE3, with code available to reproduce and deploy this faster speculative decoding framework.
Abstract
Speculative decoding is an effective and lossless approach for accelerating LLM inference. However, existing widely adopted model-based draft designs, such as EAGLE3, improve accuracy at the cost of multi-step autoregressive inference, resulting in high drafting latency and ultimately rendering the drafting stage itself a performance bottleneck. Inspired by diffusion-based large language models (dLLMs), we propose DART, which leverages parallel generation to reduce drafting latency. DART predicts logits for multiple future masked positions in parallel within a single forward pass based on hidden states of the target model, thereby eliminating autoregressive rollouts in the draft model while preserving a lightweight design. Based on these parallel logit predictions, we further introduce an efficient tree pruning algorithm that constructs high-quality draft token trees with N-gram-enforced semantic continuity. DART substantially reduces draft-stage overhead while preserving high draft accuracy, leading to significantly improved end-to-end decoding speed. Experimental results demonstrate that DART achieves a 2.03x--3.44x wall-clock time speedup across multiple datasets, surpassing EAGLE3 by 30% on average and offering a practical speculative decoding framework. Code is released at https://github.com/fvliang/DART.
