[Paper Review] Improving Sampling for Masked Diffusion Models via Information Gain
The paper introduces the Info-Gain Sampler for Masked Diffusion Models (MDMs), balancing immediate uncertainty with future information gain to produce more accurate and coherent generations across reasoning, coding, writing, and image tasks. It leverages the bidirectional nature of MDMs to evaluate information gain in a single forward pass, outperforming greedy certainty-based samplers.
Masked Diffusion Models (MDMs) offer greater flexibility in decoding order than autoregressive models but require careful planning to achieve high-quality generation. Existing samplers typically adopt greedy heuristics, prioritizing positions with the highest local certainty to decode at each step. Through failure case analysis, we identify a fundamental limitation of this approach: it neglects the downstream impact of current decoding choices on subsequent steps and fails to minimize cumulative uncertainty. In particular, these methods do not fully exploit the non-causal nature of MDMs, which enables evaluating how a decoding decision reshapes token probabilities/uncertainty across all remaining masked positions. To bridge this gap, we propose the Info-Gain Sampler, a principled decoding framework that balances immediate uncertainty with information gain over future masked tokens. Extensive evaluations across diverse architectures and tasks (reasoning, coding, creative writing, and image generation) demonstrate that Info-Gain Sampler consistently outperforms existing samplers for MDMs. For instance, it achieves a 3.6% improvement in average accuracy on reasoning tasks and a 63.1% win-rate in creative writing. Notably, on reasoning tasks it reduces cumulative uncertainty from 78.4 to 48.6, outperforming the best baseline by a large margin. The code will be available at https://github.com/yks23/Information-Gain-Sampler.
Motivation & Objective
- Demonstrate the limitations of greedy certainty-based samplers in MDM decoding.
- Introduce a principled decoding objective that accounts for information gain over remaining masked positions.
- Show that Info-Gain Sampler consistently improves performance across diverse tasks and architectures.
Proposed method
- Define state uncertainty as the average marginal entropy over masked positions.
- Define information gain of an action as the reduction in state uncertainty after applying the action.
- Propose the objective J_IG(a_t|z_t) = IG(a_t; z_t) - C(a_t|z_t) to select actions.
- Use a two-stage Action Sampler to generate a candidate set of actions and evaluate them with a single batched forward pass.
- Implement efficiency tricks: block-wise information gain, KV caching, and a high-confidence bypass to reduce latency.
- Compare Info-Gain to baselines across reasoning, coding, writing, and image generation tasks.

Experimental results
Research questions
- RQ1Can greedy certainty-based samplers minimize cumulative uncertainty in MDM decoding?
- RQ2How can MDMs efficiently estimate information gain of decoding actions without prohibitive computation?
- RQ3Does balancing immediate uncertainty with information gain improve generation quality across diverse tasks?
Key findings
- Info-Gain Sampler achieves higher average accuracy than baselines on reasoning tasks (e.g., Dream-7B-Instruct) with modest increases in computation.
- It significantly lowers cumulative entropy per generation, indicating more globally optimized decoding paths.
- Info-Gain improves multimodal text-to-image generation metrics and image fidelity (ImageNet-512) compared to baselines.
- In creative writing, Info-Gain maintains robustness to temperature changes and yields higher win rates.
- Across semi-autoregressive and fully-attention MDMs, Info-Gain consistently outperforms baselines across math, coding, planning, writing, and image generation tasks.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.