SemMask: Semantic-Prioritized Progressive Masking for Diffusion Language Models
Qi Chen, Zifeng Cheng, Zhiwei Jiang, Qing Gu
Abstract
Diffusion Language Models (DLMs) are designed to enable globally parallel generation. However, in practice, they often exhibit pseudo-autoregressive behavior and a function-word-first bias, which undermines their performance on tasks such as text writing and code generation that benefit from global planning and parallel decoding. To address this, we propose SemMask, a novel fine-tuning paradigm that leverages a semantic-prioritized progressive masking strategy to encourage the model to decode high-information semantic tokens early and globally, thereby enhancing its global planning and parallel generation capabilities. Specifically, we first use the gradients of the original DLM with respect to each token to identify semantic tokens. During masking, these semantic tokens are preserved with priority, establishing a progressive generation order in which semantic tokens are decoded prior to function tokens. Meanwhile, we adjust the loss weight for semantic tokens to further reinforce their early prediction. Experimental results show that SemMask achieves quality comparable to strong autoregressive baselines on both text writing and code generation tasks, while providing superior semantic coherence. Notably, SemMask achieves higher accuracy with substantially fewer decoding steps, indicating that the early establishment of semantic structure improves the efficiency--accuracy trade-off.
Create a lesson
Related papers
See Every Block Once: Variance-Reduced Post-Training for Masked Diffusion Language Models
Shared title terminology · Yunzhen He, Hiroaki Yamagiwa, Hidetoshi Shimodaira
Auditing Post-Training Unlearning in Diffusion Language Models using Sparse Autoencoders
Shared title terminology · Yunha Seo, Changhoon Kim
Open CDLM: A Benchmark and Library for Continuous Diffusion Language Models
Shared title terminology · Hao Jiang, Ruixi Chen, Jiayi Han et al.
Language-Oriented Semantic Modeling for Target Language Extraction
Shared title terminology · Mehmet Sinan Yıldırım, Ke Zhang, Shuai Wang et al.
dLoop: Looped Diffusion Language Models via Recurrent Latent Refinement
Shared title terminology · Handa Li, Pengxiang Li, Mingyu Cao et al.
Closing Performance Gap for Diffusion Language Models under Low Inference Budgets
Shared title terminology · Hao Wu, Sipeng Chen, Jingwen Fu et al.