Accelerated Diffusion Models via Speculative Sampling
Valentin De Bortoli, Alexandre Galashov, Arthur Gretton, Arnaud Doucet
TL;DR
The paper extends speculative sampling from discrete token generation to continuous diffusion processes, introducing a training-free draft strategy and a reflection maximal coupling-based adjusted rejection step to preserve exact diffusion samples. It provides a theoretical analysis of complexity and acceptance, and demonstrates substantial speedups (often halving function evaluations) on CIFAR-10, LSUN, and a robotic PushT task without sacrificing sample quality. The approach supports independent or frozen-draft models, includes Langevin-diffusion adaptations, and offers practical avenues for combining with parallel sampling and distillation techniques. Overall, the work advances efficient diffusion-model inference with rigorous optimality properties and broad potential applications.
Abstract
Speculative sampling is a popular technique for accelerating inference in Large Language Models by generating candidate tokens using a fast draft model and accepting or rejecting them based on the target model's distribution. While speculative sampling was previously limited to discrete sequences, we extend it to diffusion models, which generate samples via continuous, vector-valued Markov chains. In this context, the target model is a high-quality but computationally expensive diffusion model. We propose various drafting strategies, including a simple and effective approach that does not require training a draft model and is applicable out of the box to any diffusion model. Our experiments demonstrate significant generation speedup on various diffusion models, halving the number of function evaluations, while generating exact samples from the target model.
