DEER: Draft with Diffusion, Verify with Autoregressive Models

Zicong Cheng, Guo-Wei Yang, Jia Li, Zhijie Deng, Meng-Hao Guo, Shi-Min HuarXiv 2025 · DOI

Introduction: The Sequential Bottleneck

Speculative decoding has emerged as a critical technique for accelerating Large Language Model (LLM) inference. By using a small, fast "drafter" model to propose tokens that a large "target" model verifies in parallel, systems can bypass the high latency of large-model autoregression. However, traditional drafters are themselves autoregressive (AR), leading to two primary bottlenecks: sequential latency within the drafter and the "Collapse of Trust."

In AR drafting, errors propagate and amplify. A minor deviation at the start of a draft causes the drafter to drift significantly from the target model's distribution by the end of the sequence. This results in a sharp decay in accuracy as the draft length increases, forcing the verifier to reject the tail of the draft and capping potential speedups.

Accuracy decay and loss increase over draft positions illustrate the 'collapse of trust' in sequential drafting.

The DEER Framework

DEER (Draft with Diffusion, Verify with Autoregressive Models) addresses these limitations by replacing sequential AR drafters with a parallel discrete-space diffusion LLM (dLLM). Unlike AR models, DEER generates an entire block of tokens (up to 32 or more) simultaneously in a single diffusion step.

To align the diffusion drafter with the autoregressive target, the authors developed a two-stage Diffusion-to-Autoregressive (D2A) Alignment pipeline:

  1. AR-Style Distillation: Finetunes the dLLM to act as a continuation model, ensuring it respects the provided prefix.
  2. Scribe Refinement: Uses an exponentially weighted loss to prioritize hyper-accuracy at the "verification boundary" (the tokens immediately following the prefix), ensuring the draft begins correctly.

Because the dLLM generates the entire block based only on the verified prefix, it decouples token dependencies within the draft, effectively preventing error propagation.

Key Results and Performance

DEER was evaluated across code generation and mathematical reasoning tasks using the Qwen model series (4B to 30B parameters). The framework consistently outperformed state-of-the-art methods like EAGLE-3 in both raw speed and draft quality.

Comparison of Speedup and Acceptance Length between DEER and EAGLE-3 across various Qwen model sizes.

Key findings include:

  • Significant Speedups: DEER achieved up to a 5.54× speedup on HumanEval with Qwen3-30B-A3B, significantly higher than the 2.41× achieved by EAGLE-3.
  • Extended Acceptance Length: While AR-based methods typically plateau at 7–10 tokens, DEER reached maximum acceptance lengths of 32 tokens.
  • Scalability: The performance advantage of DEER grows with the size of the target model, making it ideal for large-scale production environments.
  • Mathematical Losslessness: The authors formally proved that DEER's sampling procedure preserves the exact output distribution of the target model.

Conclusion and Future Work

By shifting from sequential to parallel drafting, DEER overcomes the fundamental limitations of speculative decoding. While current implementations face challenges regarding KV cache integration in standard inference frameworks and training complexity, the massive gains in speed and draft length represent a significant step forward for efficient LLM deployment. Future work aims to further optimize reasoning tasks and integrate dLLMs into batched inference pipelines.

Summary updated

BibTeX
@misc{cheng2025deer,
  author = {Zicong Cheng and Guo-Wei Yang and Jia Li and Zhijie Deng and Meng-Hao Guo and Shi-Min Hu},
  title = {{DEER: Draft with Diffusion, Verify with Autoregressive Models}},
  year = {2025},
  eprint = {2512.15176},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.15176},
}
Figure