Hierarchical Masked Diffusion Language Models
Parul Gupta, Satwik, Avni Aggarwal, Bhavesh Gurnani, Arnab Kumar Mondal, Dinesh Khandelwal, Dinesh Garg, Parag Singla
Abstract
Masked diffusion language models have emerged as an alternative to autoregressive models, enabling parallel token generation. However, standard masked diffusion language models use a shared noise schedule across positions without explicitly encoding which positions should be resolved first. Many tasks exhibit a natural priority among positions: document titles and section headings can guide the generation of body text, while Sudoku cells determined directly from the initial clues can help resolve more difficult cells. To incorporate this notion of priority (or hierarchy) among token positions, we introduce the Hierarchical Masked Diffusion Language Model (HMDLM), which augments each token position with a hierarchy level available as part of the training data, and requires zero or minimal additional annotations. It factors generation into two passes: the first predicts a hierarchy distribution over masked positions, the second predicts token distributions conditioned on it. Giving each hierarchy level its own noise schedule induces a soft, controllable preference for revealing higher-priority positions earlier while keeping decoding fully parallel. Our formulation is mathematically grounded, and we re-derive the forward and reverse processes and the NELBO for this factorization. Our evaluation shows that for the task of language generation on LM1B, HMDLM reduces perplexity by more than 1.5 points over Anchored Diffusion Language Model (ADLM), a recently proposed strong diffusion baseline; on WikiHow, we see a drop in perplexity of up to 4.4 pts on ADLM and up to 7 pts against MDLM. An LLM judge on WikiHow prefers HMDLM generations (the two variants combined) more than as often as the baseline. On the task of solving Sudoku puzzles requiring multi-step reasoning, it improves solution accuracy by up to absolute points over existing diffusion baselines.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
TAP: Policy Interfaces for Diffusion Language Models
Shared title terminologycs.CLPreeti, Ankita Kushwaha, Kiran Ravish et al.
The Answer Is Not the State: Trajectory-Level Corrigibility in Diffusion Language Models
Shared title terminologycs.CLJunchi Liao, Wentao Li
Diversity in Unity, Theory in Practice: Hierarchical Multitask Benchmarks for Chinese Minority Languages
Shared title terminologycs.CLYijie Li, Xi Cao, Yuan Sun et al.
RES: Accelerating Diffusion Language Models with Rolling Entropy Sampling
Shared title terminologycs.CLPatrick Pynadath, Nicolas Perez-Nieves, Bobak Shahriari et al.
Cola2: Co-Adaptive Hierarchical Language Modeling with Continuous Semantic Compression and Balanced Discrete Generation
Shared title terminologycs.CLHongcan Guo, Yian Zhao, Feng Wang et al.
Once a Tree, Always a Tree? Cross-lingual Transfer of Hierarchical Generalization in Language Models
Shared title terminologycs.CLShin Yamaguchi, Masaya Taniguchi, Tatsuki Kuribayashi et al.