Survival-Guided Length Control for Efficient Diffusion Language Models

arXiv:2608.26374 · cs.CL · Submitted 2026-08-26 · Read on arXiv

cs.CL

Submitted: 2026-08-26

Updated: 2026-08-26

Comments: EMNLP 2026 (Main Conference)

Code: https://github.com/DreamLM/Dream

License: http://creativecommons.org/licenses/by/4.0/

The gist: Diffusion language models (DLMs) generate text by iteratively denoising masked sequences, but standard decoding either fixes the sequence length or relies on ad hoc stopping rules, often leading to

Terminology

Abstract

Diffusion language models (DLMs) generate text by iteratively denoising masked sequences, but standard decoding either fixes the sequence length or relies on ad hoc stopping rules, often leading to unnecessary denoising steps. We recast length selection as a discrete-time survival problem over the end-of-sequence token and propose a plug-in, training-free length predictor that can be added to any existing DLM. Across reasoning and code-generation benchmarks, survival-guided length decoding speeds up inference by up to 7 times while preserving task accuracy. We further find that predicted lengths vary widely even within the same dataset, making model performance sensitive to the chosen length.

Sources

Related papers