DFlash: Block Diffusion for Flash Speculative Decoding
Abstract
Lay Summary
Large language models, such as chatbots and coding assistants, are powerful but often slow because they generate text one word at a time. This sequential process makes inference expensive and prevents modern GPUs from being fully used, especially when models need to produce long answers or reasoning traces. This paper introduces DFlash, a method that makes large language model generation faster without changing the final output quality. DFlash uses a lightweight diffusion model to propose a block of future words in parallel. The large model then checks these proposed words in parallel and keeps only the correct ones. To make these guesses more accurate, DFlash also uses internal information from the large model to guide the smaller draft model. Our experiments show that DFlash can significantly speed up generation across different models and tasks, including math, coding, and chat. By reducing inference time and serving cost, DFlash can make large language models more efficient, more accessible, and easier to deploy in real-world applications.