DFlash: Block Diffusion for Flash Speculative Decoding

Jian Chen, Yesheng Liang, Zhijian Liu
2/5/2026
cs.CL

No official code found. Best implementation: z-lab/dflash (6,105 stars, MIT, last commit 2026-04-26).

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.

View on arXivView PDF

Code Implementations(1)

z-lab/dflashCommunity72%
MIT

DFlash: Block Diffusion for Flash Speculative Decoding

6,105432PythonJan 4, 20265 months agoMIT

Similar Papers

Cite this paper

@article{chen2026dflash,
  title  = {DFlash: Block Diffusion for Flash Speculative Decoding},
  author = {Jian Chen and Yesheng Liang and Zhijian Liu},
  year   = {2026},
  eprint = {2602.06036},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.06036v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.06036.svg)](https://codeofpaper.com/paper/2602.06036)

Discussion