Seedlabs
Source research

DFlash: Block Diffusion for Flash Speculative Decoding

Jian Chen, Yesheng Liang, Zhijian Liu · 2026 · 232 citationsRead the paper

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.

What the full text shows

Working prototype
  • DFlash achieves lossless acceleration over autoregressive baselines across various tasks. — over 6x (Across a range of models and tasks)
  • DFlash provides higher speedup compared to the state-of-the-art speculative decoding method EAGLE-3. — up to 2.5x higher speedup (Evaluated on Qwen3-8B using Transformers backend)
  • DFlash outperforms EAGLE-3 under greedy decoding (temperature = 0) on Qwen3 models. — 2.4x improvement over EAGLE-3 (16) (Greedy decoding, Qwen3 models)
  • DFlash outperforms EAGLE-3 under non-greedy sampling (temperature = 1) on Qwen3 models. — 2.2x improvement over EAGLE-3 (Temperature = 1, Qwen3 models)
  • DFlash maintains high efficiency for reasoning models with thinking mode enabled. — 3.64x to 4.64x speedup (Qwen3-4B and 8B on GPQA, MATH-500, and AIME25)
  • Increasing the number of target hidden features improves draft quality. — 5-H outperforms 3-H (e.g., 4.69x vs 4.49x speedup on Math500) (3-layer draft model, block size 16)
Setup
Tested on LLaMA-3.1 Instruct (8B) and Qwen3 (4B, 8B, Coder-30B) using NVIDIA H200 and B200 GPUs; trained on ~800K samples from Nemotron Post-Training Dataset V2 and CodeAlpaca.
How
DFlash uses a lightweight block diffusion model for parallel drafting, generating token blocks in a single forward pass. It conditions the draft model by injecting fused hidden representations from the target model directly into the Key and Value projections of every draft layer.
Limitations
Storage required to cache target hidden states increases linearly with the number of extracted features during offline training. · Optimal number of draft layers requires a trade-off between drafting cost and quality (5-layer found optimal for speedup).

Summarized by Gemma 4 from the open-access full text · 26 Nov 2026. Read it