Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Beyond Fixed: Training-Free Variable-Length Denoising for Diffusion Large Language Models

About

Diffusion Large Language Models (DLLMs) are emerging as a powerful alternative to the dominant Autoregressive Large Language Models, offering efficient parallel generation and capable global context modeling. However, the practical application of DLLMs is hindered by a critical architectural constraint: the need for a statically predefined generation length. This static length allocation leads to a problematic trade-off: insufficient lengths cripple performance on complex tasks, while excessive lengths incur significant computational overhead and sometimes result in performance degradation. While the inference framework is rigid, we observe that the model itself possesses internal signals that correlate with the optimal response length for a given task. To bridge this gap, we leverage these latent signals and introduce DAEDAL, a novel training-free denoising strategy that enables Dynamic Adaptive Length Expansion for Diffusion Large Language Models. DAEDAL operates in two phases: 1) Before the denoising process, DAEDAL starts from a short initial length and iteratively expands it to a coarse task-appropriate length, guided by a sequence completion metric. 2) During the denoising process, DAEDAL dynamically intervenes by pinpointing and expanding insufficient generation regions through mask token insertion, ensuring the final output is fully developed. Extensive experiments on DLLMs demonstrate that DAEDAL achieves performance comparable, and in some cases superior, to meticulously tuned fixed-length baselines, while simultaneously enhancing computational efficiency by achieving a higher effective token ratio. By resolving the static length constraint, DAEDAL unlocks new potential for DLLMs, bridging a critical gap with their Autoregressive counterparts and paving the way for more efficient and capable generation.

Jinsong Li, Xiaoyi Dong, Yuhang Zang, Yuhang Cao, Jiaqi Wang, Dahua Lin• 2025

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K
Accuracy74.3
1398
Mathematical ReasoningMATH500 (test)
Accuracy42.6
895
Code GenerationMBPP (test)--
405
CodingHumanEval
Pass@139.02
168
MathematicsMATH 500
Pass@138.6
122
Mathematical Problem SolvingMATH500
Accuracy40
83
CodeMBPP
Pass@136
73
Code GenerationMBPP
Pass@154.4
58
General KnowledgeHellaSwag
Accuracy75.6
36
General KnowledgeMMLU
pass@162.58
31
Showing 10 of 18 rows

Other info

Follow for update