Remasking Discrete Diffusion Models with Inference-Time Scaling
本文提出了一种名为ReMDM的重新掩码扩散模型采样器,该采样器可以应用于预训练的掩码扩散模型,并允许在生成过程中进行重新掩码,从而提高样本质量,尤其是在语言建模和分子设计等科学领域。
更新于 2026-11-17。作者:Guanghan Wang、Yair Schiff、Subham Sekhar Sahoo、Volodymyr Kuleshov。
中文摘要
扩散模型成功的一部分源于它们能够进行迭代优化,即在生成过程中反复纠正输出。然而,现代掩码离散扩散模型缺乏这种能力:当一个标记生成后,即使它引入了错误,也无法再次更新。在这里,我们通过引入重掩码扩散模型(ReMDM)采样器来解决这个问题,这是一种可以以原则性方式应用于预训练掩码扩散模型的方法,并且它来源于具有自定义重掩码反向过程的离散扩散模型。最有趣的是,ReMDM赋予了离散扩散一种推理时计算缩放的形式。通过增加采样步数,ReMDM生成的自然语言输出接近自回归模型的质量,而当计算预算有限时,ReMDM能更好地保持质量。ReMDM还提高了离散图像掩码扩散模型的样本质量,在科学领域如分子设计,ReMDM促进了扩散引导,并将相对于经典掩码和均匀噪声扩散的可控性帕累托前沿向前推进。我们已在项目页面上提供了代码和博客文章:https://remdm.github.io。
英文摘要
Part of the success of diffusion models stems from their ability to perform iterative refinement, i.e., repeatedly correcting outputs during generation. However, modern masked discrete diffusion lacks this capability: when a token is generated, it cannot be updated again, even when it introduces an error. Here, we address this limitation by introducing the remasking diffusion model (ReMDM) sampler, a method that can be applied to pretrained masked diffusion models in a principled way and that is derived from a discrete diffusion model with a custom remasking backward process. Most interestingly, ReMDM endows discrete diffusion with a form of inference-time compute scaling. By increasing the number of sampling steps, ReMDM generates natural language outputs that approach the quality of autoregressive models, whereas when the computation budget is limited, ReMDM better maintains quality. ReMDM also improves sample quality of masked diffusion models for discretized images, and in scientific domains such as molecule design, ReMDM facilitates diffusion guidance and pushes the Pareto frontier of controllability relative to classical masking and uniform noise diffusion. We provide the code along with a blog post on the project page: https://remdm.github.io.
解读
一句话总结
本文提出了一种名为ReMDM的重新掩码扩散模型采样器,该采样器可以应用于预训练的掩码扩散模型,并允许在生成过程中进行重新掩码,从而提高样本质量,尤其是在语言建模和分子设计等科学领域。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现代掩码离散扩散模型在生成过程中无法迭代地修正输出,导致生成的样本质量受限。
- 现有方案不足:现有的掩码扩散模型在生成过程中无法更新已生成的标记,限制了生成质量、采样速度和可控性。
- 研究目标:提出一种名为ReMDM的重新掩码扩散模型采样器,允许在生成过程中进行重新掩码,以提高样本质量和可控性。
问题2:论文的核心创新点是什么?
- 技术创新:ReMDM采样器允许在生成过程中进行重新掩码,从而提高了样本质量和可控性。
- 方法改进:ReMDM采样器通过引入重新掩码机制,克服了现有掩码扩散模型的局限性。
- 优势:ReMDM采样器在提高样本质量的同时,保持了较高的采样速度和可控性。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在自然语言、离散图像和分子字符串表示等多个领域进行了实验。
- 性能提升:ReMDM采样器在自然语言生成任务中实现了更高的样本质量,接近自回归模型的表现;在图像生成任务中,ReMDM采样器在有限的计算预算下,保持了较高的样本质量。
- 对比结果:ReMDM采样器在自然语言生成和图像生成任务中均优于现有的掩码扩散模型。
问题4:这个研究的实际应用价值是什么?
- 应用场景:自然语言生成、图像生成、分子设计等。
- 实施建议:ReMDM采样器可以应用于预训练的掩码扩散模型,以提升生成质量。
- 局限与展望:ReMDM采样器在处理长序列和复杂任务时,可能存在性能瓶颈。未来研究可以探索更有效的重新掩码策略,以进一步提高ReMDM采样器的性能。
来源
机器可读索引:llms.txt