Free Draft-and-Verification: Toward Lossless Parallel Decoding for Diffusion Large Language Models

Shutong Wu, Jiawei Zhang

TL;DR

Diffusion Large Language Models (DLLMs) offer an exciting alternative to autoregressive models, but their iterative denoising requires hundreds to thousands of sequential forward passes. FreeDave (Free Draft-and-Verification) is a training-free decoding algorithm that enables lossless parallel decoding without external draft models or retraining. By turning the DLLM into its own verifier via batched candidate evaluation, FreeDave matches static decoding quality while speeding up inference throughput by up to $3.78\times$.

What Problem Does This Paper Address?

Masked Diffusion Language Models generate text by progressively unmasking absorbing mask tokens ($\texttt{<mask\>}$) into words. To maintain high generation fidelity, the standard practice—known as static decoding—unmasks only one token (or a very small fixed block) per step, requiring a number of sampling steps roughly equal to the sequence length $L$. Because bidirectional attention makes standard Key-Value (KV) caching tricky, running hundreds of full passes makes DLLM inference painfully slow.

Heuristic speedups like threshold-based parallel decoding unmask all tokens above a confidence threshold simultaneously. However, this causes severe degradation in complex reasoning and coding tasks (e.g., dropping accuracy by up to 19.5% on HumanEval). Existing speculative decoding frameworks fix this for autoregressive models, but typically require training separate, smaller draft models. FreeDave asks: Can a DLLM perform verifiable, multi-step parallel decoding completely on its own, with zero loss in output quality?

Methods

FreeDave introduces a speculative draft-and-verification loop directly within the diffusion reverse process:

  1. Self-Drafting via the Remasking Scheduler: At time step $t_i$, the DLLM outputs an estimated token distribution $\tilde{x}_0$. Instead of taking only one step, the remasking scheduler projects $k \in \{1, \dots, d\}$ steps into the future, creating a batch of $d$ draft candidate sequences ($X_{\text{draft}}$) simultaneously.
  2. Parallel Self-Verification: In the very next step, the DLLM evaluates all $d$ candidates together in a single batched forward pass. For each candidate, the remasking scheduler tests what the next step would have been ($X_{\text{target}}$).
  3. Lossless Acceptance Criterion: If candidate $X_{\text{draft}}^{k+1}$ matches the verified target $X_{\text{target}}^k$, the candidate is accepted. The decoding loop then jumps forward by $m + 1$ steps at once.

Crucially, Theorem 1 proves that this search procedure traces a feasible path through the decoding state space, mathematically guaranteeing that FreeDave generates the exact same sequence as the step-by-step oracle (static decoding) without adding any auxiliary models or extra training stages.

       [ Step t_i ] DLLM forward pass
              │
              ▼
   Remasking Scheduler generates d drafts
     (X_draft: lookahead k = 1 ... d)
              │
              ▼
   [ Step t_{i+1} ] Batched DLLM forward
              │
              ▼
    Verify: Does X_draft[k+1] == X_target[k]?
         ├── Yes ──► Jump forward m+1 steps
         └── No  ──► Fallback to last valid state

Datasets

The authors evaluated FreeDave across five standard reasoning and code benchmarks:

  • Mathematical Reasoning: MATH500, GSM8K, and AIME2024.
  • Code Generation: HumanEval and MBPP.

Experiments were conducted across three recent open DLLMs: Dream-7B-Instruct, TraDo-4B-Instruct, and TraDo-8B-Instruct, running on an NVIDIA L40S GPU.

Key Insights and Ideas

  • Your DLLM is secretly an internal draft engine: Because DLLMs predict full-sequence distributions at every step, the remasking scheduler can simulate multi-step trajectories ahead of time essentially for free.
  • Verification without latency penalties: In classic speculative decoding, an inaccurate draft model costs extra latency. In FreeDave, the draft verification happens during the primary batched forward pass; in the worst-case scenario where all speculative tokens are rejected, it safely falls back to standard single-step decoding.
  • The "Optimal Path" Concept: Static decoding represents the longest, most conservative path ($N$ steps). FreeDave dynamically discovers shorter, equivalent paths through the discrete state space, pruning redundant function evaluations without altering the target distribution.

Key Results

  • High Speedup Across Benchmarks: FreeDave boosted throughput over Number of Function Evaluations (NFEs) by up to $3.78\times$ on AIME2024 and achieved practical wall-clock throughput speedups typically between $1.3\times$ and $2.3\times$ (e.g., TraDo-4B on MATH500 rose from 7.26 tokens/s to 16.36 tokens/s).
  • True Lossless Decoding: Unlike threshold-based parallel decoding—which plunged TraDo-4B's MATH500 accuracy from 74.20% down to 68.80%—FreeDave maintained original accuracy across all benchmarks (MATH500: 76.40%; GSM8K: 91.05%; HumanEval: 60.98%).
  • Draft Depth Trade-offs: Ablations on $d \in \{1, 2, 4, 8, 16, 32\}$ showed that while larger $d$ values maximize token throughput per NFE, practical wall-clock throughput peaks around $d=8$ for TraDo models before GPU memory bandwidth and batch-computation saturation take over.

Limitations and Future Work

  • Batch Size and Memory Constraints: Larger draft horizons ($d$) consume more GPU VRAM and increase forward pass time per step. Scaling to larger drafts will require multi-GPU Tensor Parallelism (TP) or Data Parallelism (DP).
  • GPU Kernel Non-Determinism: While FreeDave is mathematically proven to reproduce static decoding outputs, slight discrepancies in generated text were observed in practice. The authors attribute this to non-batch-invariant floating-point operations in underlying GPU kernels.
  • Hybrid Threshold Decoding: While FreeDave was built on top of static decoding, early experiments suggest it can be combined with threshold-based decoding for even greater acceleration—a direction left for future research.

Summary updated

BibTeX
@inproceedings{wu2026free,
  author = {Shutong Wu and Jiawei Zhang},
  title = {{Free Draft-and-Verification: Toward Lossless Parallel Decoding for Diffusion Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ICXpR98ax5},
}
Figure