Speculative Diffusion Decoding: Accelerating Language Generation through Diffusion
Jacob K Christopher, Brian R Bartoldson, Tal Ben-Nun, Michael Cardei, Bhavya Kailkhura, Ferdinando Fioretto
TL;DR
SpecDiff introduces discrete diffusion language models as drafters in speculative decoding to enable parallel drafting and verification, addressing the sequential bottleneck of autoregressive drafting. By generating entire draft sequences in parallel and using a diffusion-based acceptance mechanism, it achieves up to 7.2x speedups over standard generation and up to 1.75x over existing speculative methods, while maintaining high-quality outputs. The approach leverages MDLM as a drafter and analyzes the trade-offs between diffusion steps and draft length, demonstrating strong performance across CNN/DM, OpenWebText, and MT Bench with reduced FLOPs and memory. However, it faces limitations in diffusion-drafter calibration, tokenizer compatibility, performance on short tasks, and deterministic sampling, pointing to future work in calibration, broader tokenizers, and stochastic generation scenarios.
Abstract
Speculative decoding has emerged as a widely adopted method to accelerate large language model inference without sacrificing the quality of the model outputs. While this technique has facilitated notable speed improvements by enabling parallel sequence verification, its efficiency remains inherently limited by the reliance on incremental token generation in existing draft models. To overcome this limitation, this paper proposes an adaptation of speculative decoding which uses discrete diffusion models to generate draft sequences. This allows parallelization of both the drafting and verification steps, providing significant speedups to the inference process. Our proposed approach, $\textit{Speculative Diffusion Decoding (SpecDiff)}$, is validated on standard language generation benchmarks and empirically demonstrated to provide up to 7.2x speedups over standard generation processes and up to 1.75x speedups over existing speculative decoding approaches.
