[论文解读] Improving Sampling for Masked Diffusion Models via Information Gain
该论文为遮罩扩散模型(MDMs)引入 Info-Gain 采样器,在即时不确定性与未来信息增益之间取得平衡,从而在推理、编码、写作和图像任务中产生更为准确和连贯的生成。它利用 MDM 的双向性质,在单次前向传递中评估信息增益,性能超过基于贪婪确定性的采样器。
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.
研究动机与目标
- 证明贪婪确定性基采样在 MDM 解码中的局限性。
- 引入一个 principled 解码目标,考虑对剩余遮罩位置的信息增益。
- 表明 Info-Gain 采样器在多样化任务和架构上持续提升性能。
提出的方法
- 将状态不确定性定义为遮罩位置上的平均边际熵。
- 将一个行动的信息增益定义为应用该行动后状态不确定性的降低。
- 提出目标函数 J_IG(a_t|z_t) = IG(a_t; z_t) - C(a_t|z_t) 以选择行动。
- 使用两阶段行动采样器生成候选行动集,并通过单次批量前向传播对其进行评估。
- 实现高效技巧:分块信息增益、KV 缓存,以及高置信绕过以降低延迟。
- 在推理、编码、写作和图像生成任务中将 Info-Gain 与基线进行比较。

实验结果
研究问题
- RQ1贪婪确定性基采样在 MDM 解码中是否能最小化累积不确定性?
- RQ2MDMs 如何在不进行高代价计算的情况下高效估计解码行动的信息增益?
- RQ3在即时不确定性与信息增益之间取得平衡是否提升多样任务的生成质量?
主要发现
- Info-Gain 采样器在推理任务(如 Dream-7B-Instruct)上相比基线达到更高的平均准确率,计算量增幅适中。
- 显著降低每次生成的累积熵,表明解码路径更具全局优化性。
- Info-Gain 在多模态文本到图像生成指标和图像保真度(ImageNet-512)方面相较基线有改进。
- 在创意写作中,Info-Gain 对温度变化保持鲁棒性并且获得更高的胜率。
- 在半自回归和全注意力的 MDM 中,Info-Gain 在数学、编码、规划、写作和图像生成任务上持续优于基线。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。