Fail Fast, Win Big: Rethinking the Drafting Strategy in Speculative Decoding via Diffusion LLMs
Rui Pan, Zhuofu Chen, Ravi Netravali
TL;DR
This work tackles the latency–quality tension of diffusion LLMs (dLLMs) when used as drafts in speculative decoding by proposing FailFast, a dynamic drafting framework that leverages dLLMs as ultra-fast but error-prone drafters. FailFast minimizes draft compute in hard regions (fail fast) and aggressively extends speculation in easy regions (win big), guided by a confidence signal to reduce verification rounds with autoregressive verifiers. Key contributions include a practical algorithm for adaptive speculation length, a confidence-based difficulty signal, and end-to-end speedups up to $4.9\times$ over vanilla decoding without any fine-tuning, validated across multiple benchmarks and target models. The approach demonstrates that dLLMs are well-suited for drafting in speculative decoding when paired with runtime adaptation, offering a significant practical impact for low-latency LLM inference. The work is complemented by an open-source release to enable replication and broader adoption.
Abstract
Diffusion Large Language Models (dLLMs) offer fast, parallel token generation, but their standalone use is plagued by an inherent efficiency-quality tradeoff. We show that, if carefully applied, the attributes of dLLMs can actually be a strength for drafters in speculative decoding with autoregressive (AR) verifiers. Our core insight is that dLLM's speed from parallel decoding drastically lowers the risk of costly rejections, providing a practical mechanism to effectively realize the (elusive) lengthy drafts that lead to large speedups with speculative decoding. We present FailFast, a dLLM-based speculative decoding framework that realizes this approach by dynamically adapting its speculation length. It "fails fast" by spending minimal compute in hard-to-speculate regions to shrink speculation latency and "wins big" by aggressively extending draft lengths in easier regions to reduce verification latency (in many cases, speculating and accepting 70 tokens at a time!). Without any fine-tuning, FailFast delivers lossless acceleration of AR LLMs and achieves up to 4.9$\times$ speedup over vanilla decoding, 1.7$\times$ over the best naive dLLM drafter, and 1.4$\times$ over EAGLE-3 across diverse models and workloads. We open-source FailFast at https://github.com/ruipeterpan/failfast.
