Confidence driven decoding speeds up diffusion language models safely
PV-Decoding: Progressive Verification Decoding with Decode Gating for Diffusion Language Models
Computation and Language
Summary
Making text with some AI programs can be slow when they check each guess carefully to avoid mistakes. The authors created a new way to decide which parts of the text to trust right away and which to check more carefully, speeding up the process. This method uses two levels of confidence to sort the words and checks guessed words in steps from quick to thorough. Their tests show it can make generating text faster by up to 37% with only a tiny drop in accuracy. This approach helps balance speed and correctness when using advanced language models that generate many words at once.
What this means in practice
- •For ai infrastructure teams: Increase throughput of diffusion-based language models during deployment by using progressive verification to reduce computation without hurting accuracy.
- •For software developers: Integrate accelerated decoding methods into applications relying on diffusion language models to improve response times with minimal accuracy loss.
Authors
Renxi Liu, Yiming Li, Shengyin Sun, Chen Chen, Xian Wang, Shuai Yang, Huiling Zhen, Xianzhi Yu, Yaoyuan Wang, Weizhe Lin, Xiaosong Li
Abstract
Discrete diffusion language models (dLLMs) offer an attractive alternative to autoregressive generation by updating multiple tokens in parallel, but their inference efficiency is still limited by the cost of safely committing tentative predictions. In particular, speculative decoding for dLLMs is challenging because speculative tokens within the same diffusion block may depend on one another, making aggressive acceptance prone to error propagation and strict verification computationally expensive. We present PV-Decoding, a confidence-driven speculative decoding framework with progressive verification for block diffusion inference. PV-Decoding partitions masked positions into directly decoded tokens, speculative tokens, and unresolved tokens using two confidence thresholds, and then verifies speculative tokens with progressively stronger policies, including single-batch, dual-batch, and multi-batch verification. This design exposes a practical accuracy--efficiency trade-off: weaker verification minimizes overhead, whereas stronger verification improves acceptance precision and robustness. Experiments on three diffusion language models across GSM8K, MBPP, and HumanEval show that PV-Decoding reduces sequential model forward passes (MFPs) by 8%--37% relative to confidence-based decoding, while keeping the largest observed accuracy drop to 1.3%. On Dream-7B-Instruct/GSM8K, PV-Decoding (1-batch) and PV-Decoding (2-batch) improve throughput by 7.0%--13.6% under the same hardware budget, whereas PV-Decoding (multi-batch) is slower under the current runtime. These results suggest that confidence-guided speculation with structured verification is a practical path toward efficient and reliable dLLM inference.