mlsanityData to 7 Oct 2026

Improving Variable-Length Generation in Diffusion Language Models via Length Regularization

arXiv 2602.07546 ↗First posted 7 Feb 2026cs.CL cs.LGcited by 4

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Diffusion Large Language Models (DLLMs) are inherently ill-suited for variable-length generation, as their inference is defined on a fixed-length canvas and implicitly assumes a known target length. When the length is unknown, as in realistic completion and infilling, naively comparing confidence across mask lengths becomes systematically biased, leading to under-generation or redundant continuations. In this paper, we show that this failure arises from an intrinsic lengthinduced bias in generation confidence estimates, leaving existing DLLMs without a robust way to determine generation length and making variablelength inference unreliable. To address this issue, we propose LR-DLLM, a length-regularized inference framework for DLLMs that treats generation length as an explicit variable and achieves reliable length determination at inference time. It decouples semantic compatibility from lengthinduced uncertainty through an explicit length regularization that corrects biased confidence estimates. Based on this, LR-DLLM enables dynamic expansion or contraction of the generation span without modifying the underlying DLLM or its training procedure. Experiments show that LRDLLM achieves 51.3% Pass@1 on HumanEvalInfilling under fully unknown lengths (+13.4% vs. DreamOn) and 51.5% average Pass@1 on four-language McEval (+14.3% vs. DreamOn).

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 22 of its 26 references that are in the map. First posted on arXiv 7 Feb 2026.

Builds on

22 of 26 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas1 Feb
  2. 2025LLaDA-MoE: A Sparse MoE Diffusion Language Model29 Sep
  3. 2025Dream-Coder 7B: An Open Diffusion Language Model for Code1 Sep
  4. 2025Any-Order Flexible Length Masked Diffusion31 Aug
  5. 2025Dream 7B: Diffusion Large Language Models21 Aug
  6. 2025DPad: Efficient Diffusion Language Models with Suffix Dropout19 Aug
  7. 2025Flexible-length Text Infilling for Discrete Diffusion Models16 Jun
  8. 2025Theoretical Benefit and Limitation of Diffusion Language Model13 Feb

Other references · 14

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2023Let's Verify Step by Stepcited by 3,598
  5. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
  6. 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 273
  7. 2022Efficient Training of Language Models to Fill in the Middlecited by 248
  8. 2025Sparse-dLLM: Accelerating Diffusion LLMs with Dynamic Cache Evictioncited by 64
  9. 2025Beyond Fixed: Training-Free Variable-Length Denoising for Diffusion Large Language Modelscited by 32
  10. 2025Bee: A High-Quality Corpus and Full-Stack Suite to Unlock Advanced Fully Open MLLMscited by 27
  11. 2025Diffusion LLM with Native Variable Generation Lengths: Let [EOS] Lead the Waycited by 22
  12. 2025Unveiling the Potential of Diffusion Large Language Model in Controllable Generationcited by 14
2 more
  1. 2025UltraLLaDA: Scaling the Context Length to 128K for Diffusion Large Language Modelscited by 13
  2. 2025DEER: Draft with Diffusion, Verify with Autoregressive Modelscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Predict, Don't Iterate: Efficient Adaptive-Length Infilling for Diffusion Language Models
  2. 2026Survival-Guided Length Control for Efficient Diffusion Language Models
  3. 2026Diffusion Language Models Are Natively Length-Aware
  4. 2026Semantic DLM+: Improving Diffusion Language Models through Bias-variance Trade-off in Transition Kernel Design
  5. 2026Diffusion Language Models: An Experimental Analysis
  6. 2026Prefilling-dLLM: Predictive Prefilling for Long-Context Inference in Diffusion Language Models
  7. 2026Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding
  8. 2026ES-dLLM: Efficient Inference for Diffusion Large Language Models by Early-Skipping