DFlash: Block Diffusion for Flash Speculative Decoding
Summary
Speculative decoding caps out at ~2–3× because autoregressive drafters are sequential and shallow. DFlash replaces the AR drafter with a lightweight block-diffusion model (5 layers) that proposes an entire token block in one forward pass. The key design: the target model's hidden features — extracted from 5 uniformly sampled layers and fused — are KV-injected into every draft layer (not just fused at the input like EAGLE-3), so acceptance length scales with draft depth. The drafter trains on the target model's own outputs (random anchor-token block construction, early-position-weighted CE, shared frozen embedding/LM head), and verification keeps generation lossless. On Qwen3-8B (greedy): up to 6.1× speedup over autoregressive baseline (avg ~4.9×) and ~2.4× over EAGLE-3, with acceptance lengths ~6.5 vs ~3. In SGLang serving: 4.8× at concurrency 1, 2.9× at concurrency 32. Z-Lab × Modal joint retrains (40k context, sliding-window attention): Qwen3.5-122B-A10B — baseline ~260 tok/s → 1,088.9 tok/s on HumanEval (4.21×), 1,041.2 tok/s on math500, accept lengths up to 8.7 (4×B200); Qwen3.6-35B-A3B — up to 3.61× speedup (1,116.3 tok/s math500) on a single B200, beating Qwen's built-in MTP path everywhere. DFlash 2 (Inco AI, Qwen3.8-27B): per-position top-candidate selection plus two-tap dynamic convolutions; accept lengths 4.1–5.5 vs MTP 3.7–5.0, throughput 2.7–3.4×. Limitations: draft models trained on ~800K Nemotron+CodeAlpaca samples at ≤30B-A3B scale in the paper; retrain benchmark cards are same-domain (GSM8K/MATH/HumanEval/MBPP/MT-Bench); the X post's production-traffic-training claim for the Modal retrains is not stated on any model card.
- Venue
- arXiv:2602.06036 / ICML 2026
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 14, 2026
- Verified
- Oct 14, 2026
- Found via
- #DailyDoseOfDS_
Research notes
- Discovery: shared by @DailyDoseOfDS_ on 2026-10-14 — post summarized Modal's new DFlash draft releases with no paper link; claims verified against the paper and HF model cards where possible. Post's flagship "122B from ~250 to 1000+ tok/s" is CONFIRMED on the joint-retrain card; the 1.86×/3.57×/5.62× ladder and "trained on production traffic" claims are third-party and not independently verified. Relevance: (1) Modal is a company he tracks (queued #23, their mixed-hardware RL post; the Modal team is thanked in the DFlash repo for the SGLang integration); (2) inference efficiency for serving his own models — lossless 3–4× speedups via a drop-in drafter with zero quality change; (3) Qwen3.6-35B-A3B appears in his threads (Vela #37 used it, AutoEnvScaling #31 self-played it) and it has a joint-retrain draft ready; (4) diffusion-flavored non-AR decoding — connects to queued #24 (Flow LMs) and #35 (NCM): DFlash is the third diffusion-for-language play in two weeks, but the only one shipping in production serving stacks. Cluster: speculative decoding (EAGLE-3, Medusa, MTP), diffusion LMs for drafting, inference efficiency.
- License: CC BY 4.0 (arXiv). Code MIT at https://github.com/z-lab/dflash. DFlash model checkpoints under Z-Lab's HF releases; model-card licenses per repo.
Similar entries
- Paper Unlocking Lossless Speedups in LLMs via Discrete Diffusion
- Model DSpark for DeepSeek-V4-Flash-0731 GGUFs
- Paper Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models
- Paper Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards
- Paper DiffusionBlocks: Block-wise Neural Network Training via Diffusion Interpretation
- Thread Attention Drift in Speculative Decoding (drafter attention sink → recent tokens)