AI
Novel Decoding Method Accelerates Diffusion Language Models While Boosting Accuracy
Researchers introduce Latent Refinement Decoding, a two-stage framework that speeds up parallel text generation and improves performance on reasoning and coding benchmarks.
Autoregressive language models have long dominated natural language generation, but their token-by-token sequential decoding creates a fundamental efficiency bottleneck at inference time. Recent parallel-generation alternatives like LLaDA and Dream promise faster output, yet they introduce new problems: important predictive information gets discarded when tokens haven't been finalized, and individual token choices don't align well across the entire output.
Addressing Diffusion Model Limitations#
Diffusion-inspired language models generate text in parallel rather than sequentially, which cuts inference time dramatically. However, this speed comes at a cost. During each refinement step, the models lose valuable signals about which tokens are most likely, since only finalized decisions are kept and uncertain predictions are thrown away. Additionally, the way these systems commit to individual tokens isn't coordinated globally—local choices can conflict with the model's higher-level understanding.
The Latent Refinement Decoding Approach#
Researchers propose Latent Refinement Decoding (LRD), a two-phase framework designed to repair these weaknesses. The method operates as follows:
- Phase 1 (Latent Refinement): Rather than immediately replacing uncertain positions with mask tokens, LRD preserves them as weighted combinations of predicted tokens and the mask embedding. This allows the model to develop more coherent, globally consistent beliefs before committing.
- Phase 2 (Predictive Feedback Loop): The system progressively commits high-confidence tokens while keeping uncertain ones in play for further refinement. Convergence is measured using KL-divergence dynamics, providing both a stability criterion and a principled early-stopping rule.
Performance Gains Across Multiple Tasks#
Experiments demonstrate consistent improvements across both coding and reasoning domains:
- Coding benchmarks: HumanEval improves by 6.3 points, MBPP by 2.6 points
- Reasoning benchmarks: GSM8K improves by 2.9 points, MATH500 by 3.8 points
- Speed: LRD achieves up to 10.6x overall speedup compared to standard decoding
The method integrates seamlessly with existing optimization techniques, including single-token decoding and multi-token threshold commitment. When paired with Fast-dLLM (a system-level accelerator), LRD reaches up to 18.4x speedup while further improving accuracy.

