Free Draft-and-Verification: Toward Lossless Parallel Decoding for Diffusion Large Language Models
Shutong Wu, Jiawei Zhang
TL;DR
The paper tackles the bottleneck of DLLM inference speed while preserving generation quality. It introduces Free Dave, a training-free, model-free algorithm that uses the DLLM itself to draft and verify multiple candidate unmasking steps in parallel, resulting in lossless decoding. The authors prove that, with sufficient compute and memory, the method achieves the fewest forward calls under the lossless constraint and demonstrates up to $3.78\times$ throughput gains across math reasoning and code-generation benchmarks. Empirically, FreeDave outperforms threshold-based parallel decoding, maintains accuracy across tasks, and integrates with existing KV-cache frameworks to boost practical performance.
Abstract
Diffusion Large Language Models (DLLMs) have emerged as a new paradigm of language modeling beyond autoregressive next-token prediction. Thanks to their bidirectional attention mechanism, DLLMs are more capable of capturing the connection of context, and thus show unique advantages in challenges like the famous "reversal curse" or learning under data-constrained scenarios. In addition, taking advantage of their inherent modeling foundations, DLLMs have the great potential of efficient inference with parallel decoding algorithms, which enable multi-token prediction per step. However, the high generation quality often requires the number of decoding steps equal to the sequence length, which performs a one-token-per-step decoding, and existing parallel decoding algorithms, which yield suboptimal decoding paths, bring inference speedup at the cost of non-negligible performance degradation. To overcome this challenge, we introduce Free Draft-and-Verification (FreeDave), a novel fast decoding algorithm tailored for DLLMs that achieves lossless parallel decoding without any model modification or extra modules. Specifically, we propose an algorithm of parallel-decoded candidate generation and verification, which is theoretically guaranteed to use the fewest model forward calls to reproduce the same sequence generated by static decoding when enough computation and memory budget is provided. By extensive evaluations on math reasoning and code generation benchmarks across different DLLMs, FreeDave is proven to boost the inference throughput up to $3.78\times$ without performance degradation.
