DFlash: Block Diffusion for Flash Speculative Decoding
Jian Chen, Yesheng Liang, Zhijian Liu
TL;DR
Autoregressive LLM inference is inherently sequential, causing high latency and poor GPU utilization. DFlash introduces a lightweight block diffusion drafter that is conditioned on rich target-model hidden features via KV injection, enabling parallel drafting of token blocks and high acceptance rates. Empirical results show lossless speedups up to around 6× on Qwen3-8B and consistent gains over state-of-the-art EAGLE-3 across math, code, and chat tasks, with efficient long-context training. By reframing diffusion LLMs as fast, specialized drafters for speculative decoding, DFlash demonstrates a practical, scalable approach to accelerating real-world LLM serving.
Abstract
Autoregressive large language models (LLMs) deliver strong performance but require inherently sequential decoding, leading to high inference latency and poor GPU utilization. Speculative decoding mitigates this bottleneck by using a fast draft model whose outputs are verified in parallel by the target LLM; however, existing methods still rely on autoregressive drafting, which remains sequential and limits practical speedups. Diffusion LLMs offer a promising alternative by enabling parallel generation, but current diffusion models typically underperform compared with autoregressive models. In this paper, we introduce DFlash, a speculative decoding framework that employs a lightweight block diffusion model for parallel drafting. By generating draft tokens in a single forward pass and conditioning the draft model on context features extracted from the target model, DFlash enables efficient drafting with high-quality outputs and higher acceptance rates. Experiments show that DFlash achieves over 6x lossless acceleration across a range of models and tasks, delivering up to 2.5x higher speedup than the state-of-the-art speculative decoding method EAGLE-3.
