arXiv:2610.31576cs.AIOct 2026

Manuscript Offprint

arXiv:2610.31576

What Makes a Good Unmasking Policy? A Controlled Study of Learned Unmasking in Diffusion Language Models

Jinya Sakurai, Xun Xu, Jaehong Yoon

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Masked diffusion language models generate tokens in parallel, but their efficiency depends on which predictions are committed. Learned unmasking policies improve the speed–accuracy trade-off, yet differ in supervision, inputs, and capacity, obscuring which choices matter. We view supervised policies as distilling a decoding procedure through a teacher and examine independently what the teacher labels as committable, on which states the policy imitates it, what the policy observes, and how much the number of function evaluations (NFE) must decrease to offset policy overhead. We find that labeling predictions matching the final output is overly permissive at low NFE, and hidden states are weak alone but can complement confidence. About a 10% NFE reduction suffices to offset policy overhead for policies up to 7.5M parameters across tested settings. We therefore train a policy on trajectory-contraction targets, which accept only commitments staying on a reference trajectory, using confidence and hidden states. On LLaDA-8B-Instruct, the resulting 856K-parameter policy achieves the best accuracy–NFE frontier and highest throughput on GSM8K, is competitive at moderate targets on MATH-500 and HumanEval, and largely transfers to Dream-7B-Instruct.

Code

1 Introduction

Building on discrete diffusion models (Hoogeboom et al., 2021; Austin et al., 2021a; Campbell et al., 2022; Lou et al., 2024), masked diffusion language models (dLLMs) (Sahoo et al., 2024; Shi et al., 2024; Nie et al., 2025; Ye et al., 2025; Sakurai et al., 2026) provide an alternative to the left-to-right generation of autoregressive models (Brown et al., 2020; Grattafori et al., 2024; Qwen et al., 2025) by iteratively refining partially masked sequences and committing multiple tokens in parallel. Their efficiency, however, depends strongly on the unmasking policy, which decides which positions to commit at each step. Conservative policies require many denoising evaluations, whereas unmasking many tokens at once can produce mutually inconsistent tokens, as they are predicted independently given the same state. Such errors persist, since committed tokens are not revised later (Wu et al., 2026; Jazbec et al., 2026; Bao et al., 2026; Xu et al., 2026). Recent work therefore adapts the number of committed tokens to the decoding state. Training-free methods do so using confidence (Wu et al., 2026) or entropy-based dependence control (Ben-Hamu et al., 2025), while learned policies are trained from data (Jazbec et al., 2026; Bao et al., 2026; Xu et al., 2026; Sun et al., 2026).

Despite this progress, learned unmasking policies differ in several design choices at once: which positions are labeled as safe to commit, which decoding states are used for training, and what information the policy observes, often together with policy capacity. For example, whether backbone hidden states help cannot be judged, since the policies that use them also differ in size or supervision. Prior work reports the number of function evaluations (NFE) and throughput, but the NFE reduction needed to offset policy overhead across policy sizes, caching, and prompt lengths remains unclear.

We therefore revisit learned unmasking policies from a distillation perspective. Existing supervised policies (Bao et al., 2026; Sun et al., 2026) can be viewed as distilling a fixed decoding procedure: the procedure is run on training prompts to obtain reference trajectories, a teacher derived from them labels which positions may be committed, and the policy imitates this teacher. This view separates what the teacher labels, on which states the policy imitates it, and what the policy observes; we vary one at a time, comparing choices from prior work

†^{\dagger}Corresponding author.

with new candidates. First, existing teachers label a prediction as committable whenever it matches the final output. A correct token, however, is not necessarily safe to commit early, since its commitment changes the input to subsequent steps. We therefore introduce trajectory contraction, which labels a commitment as valid only when it directly reaches a later state of the reference trajectory, and compare it jointly with the choice of training states: reference trajectories or those induced by the labels. Second, as policy inputs, we compare confidence, probability margins, hidden representations, and confidence combined with hidden representations. Third, we measure both NFE and end-to-end throughput in tokens per second (TPS), and profile the policy overhead.

Our study shows that matching the final output is an overly permissive label in the low-NFE regime, with 28.7% of such positives leaving the reference trajectory when committed early, and that hidden representations are weak alone but can complement confidence. It also shows that, across the tested settings, a policy of up to 7.5M parameters pays off in throughput once it reduces NFE by more than about 10%. Based on these findings, we train a policy with trajectory-contraction targets on reference trajectories, taking confidence and hidden representations as input; it has only 856K parameters, about 0.01% of the backbone.

On LLaDA-8B-Instruct (Nie et al., 2025), our policy achieves the best accuracy–NFE frontier on GSM8K (Cobbe et al., 2021), where it also attains the highest TPS at every accuracy target. On MATH-500 (Hendrycks et al., 2021; Lightman et al., 2024) and HumanEval (Chen et al., 2021), it reaches moderate accuracy targets with the fewest NFE and the highest TPS, whereas training-free methods are more efficient at the highest targets, and on MBPP (Austin et al., 2021b) it performs comparably to the strongest baselines. Its advantage largely carries over to Dream-7B-Instruct (Ye et al., 2025) and, on mathematical reasoning, to unseen generation lengths.

Our contributions are:

• We show that matching the final output is an overly permissive commitment label in the low-NFE regime, and introduce trajectory contraction, which improves the accuracy–NFE frontier, with a further out-of-domain gain from supervision on reference trajectories.

• We show that backbone hidden states alone are a weak input, but can improve the frontier at high accuracy targets when combined with token confidence, and build on this an 856K-parameter policy.

• By profiling per-step latency, we show that policies of up to 7.5M parameters pay off in throughput once they reduce NFE by more than about 10% in the tested settings, and evaluate our policy across tasks, backbones, and generation lengths.