On the Importance of Hidden-State Refinement in Masked Diffusion Language Models

Linhao Zhong, Bozhen Fang, Xuehao Wang, Zekai Luo, Liyang Li +3 more
11/24/2026
cs.CL
diffusion-flow

No official code found. Best implementation: zhongzero/Recurrent-DLLM (21 stars, Python, Apache-2.0, last commit 2026-11-25).

Abstract

Masked diffusion language models (MDLMs) generate text by iteratively denoising masked or corrupted token sequences, allowing token predictions to condition on bidirectional context and update multiple positions in parallel. While each denoising step produces a rich layer-wise hidden-state trajectory, prior work typically focuses only on token-level information and discards these continuous hidden states, leaving their refinement dynamics underexplored.

Show full abstract

In this work, we analyze hidden-state dynamics in MDLMs and find clear evidence of layer-wise and cross-step refinement: smooth evolution across adjacent layers, greater predictive power in deeper layers, gradual degradation under transformer block removal, and strong final-state alignment across consecutive denoising steps. Motivated by these observations, we propose Cross-Step Recurrent Refinement (CSRR), a mechanism that carries hidden-state information across denoising steps to enhance generation. Extensive experiments show that CSRR improves text generation quality, highlighting the critical role of continuous hidden-state refinement in MDLMs. Project page: https://zhongzero.github.io/Recurrent-DLLM/

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for On the Importance of Hidden-State Refinement in Masked Diffusion Language Models.

210Python, ShellNov 24, 20266 days agoApache-2.0

Similar Papers

Cite this paper

@article{zhong2026importance,
  title  = {On the Importance of Hidden-State Refinement in Masked Diffusion Language Models},
  author = {Linhao Zhong and Bozhen Fang and Xuehao Wang and Zekai Luo and Liyang Li and Hourong Li and Chenchen Jing and Hao Chen},
  year   = {2026},
  eprint = {2611.32416},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.32416v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.32416.svg)](https://codeofpaper.com/paper/2611.32416)

Discussion