Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policies
Chunsan Hong, Seonho An, Min-Soo Kim, Jong Chul Ye
TL;DR
This work addresses the sensitivity of discrete diffusion models to unmasking order in language generation. It reframes denoising as a KL-regularized MDP with an explicit reference policy and learns a parametric unmasking policy via GRPO, providing theoretical guarantees of policy improvement and tighter alignment to the data distribution than heuristic references. The authors derive tractable surrogates like $\mathcal{L}_{\rm output}$, $\mathcal{L}_{\rm token}$, and $\mathcal{L}_{\rm KL}$, enabling memory-efficient training of a compact policy model that augments a frozen MDM. Empirically, the learned policy consistently outperforms strong baselines across Sudoku, Zebra, GSM8K, and Math500 benchmarks, with notable gains on logic puzzles and competitive results on reasoning tasks, illustrating the practical impact of optimized unmasking strategies for discrete diffusion models.
Abstract
Masked diffusion models (MDMs) have recently emerged as a novel framework for language modeling. MDMs generate sentences by iteratively denoising masked sequences, filling in [MASK] tokens step by step. Although MDMs support any-order sampling, performance is highly sensitive to the choice of which position to unmask next. Prior work typically relies on rule-based schedules (e.g., max-confidence, max-margin), which provide ad hoc improvements. In contrast, we replace these heuristics with a learned scheduler. Specifically, we cast denoising as a KL-regularized Markov decision process (MDP) with an explicit reference policy and optimize a regularized objective that admits policy improvement and convergence guarantees under standard assumptions. We prove that the optimized policy under this framework generates samples that more closely match the data distribution than heuristic schedules. Empirically, across four benchmarks, our learned policy consistently outperforms max-confidence: for example, on SUDOKU, where unmasking order is critical, it yields a 20.1% gain over random and a 11.2% gain over max-confidence.
