arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.10403cs.LG
收藏

离散费曼-科茨校正器

Discrete Feynman-Kac Correctors

Université de Montréal(蒙特利尔大学);Mila;Imperial College London(帝国理工学院);Harvard University(哈佛大学);University of Toronto(多伦多大学);Vector Institute(向量研究所);NVIDIA(英伟达);Institut Courtois(库尔图瓦研究所)

Mohsin Hasan, Viktor Ohanesian, Artem Gazizov, Yoshua Bengio, Alán Aspuru-Guzik, Roberto Bondesan, Marta Skreta, Kirill Neklyudov

AI总结:

本研究提出离散费曼-科茨校正器,通过序贯蒙特卡洛算法在推理时控制离散扩散模型的生成分布,实现高效采样和奖励优化。

摘要:

离散扩散模型最近出现作为一种生成离散序列的有前途的替代方案。通过渐进去噪或去掩蔽过程进行采样,使它们能够捕捉数据中的分层非顺序依赖性。然而,这些定制过程却不假设对生成样本分布具有灵活的控制。我们提出了离散费曼-科茨校正器,一个框架,允许在推理时控制离散掩蔽扩散模型的生成分布。我们推导出序贯蒙特卡洛(SMC)算法,给定训练好的离散扩散模型,可以控制采样分布的温度(即进行退火),从多个扩散过程的边缘分布乘积中采样(例如不同条件的过程),以及从边缘分布与外部奖励函数的乘积中采样,产生从目标分布中具有高奖励的可能样本。值得注意的是,我们的框架不需要对额外模型进行任何训练或对原始模型进行微调。我们展示了该框架在多个应用中的实用性,包括:高效地从伊辛模型的退火玻尔兹曼分布中采样,改进语言模型在代码生成和幅员学习中的性能,以及奖励倾斜的蛋白质序列生成。

英文摘要:

Discrete diffusion models have recently emerged as a promising alternative to the autoregressive approach for generating discrete sequences. Sample generation via gradual denoising or demasking processes allows them to capture hierarchical non-sequential interdependencies in the data. These custom processes, however, do not assume a flexible control over the distribution of generated samples. We propose Discrete Feynman-Kac Correctors, a framework that allows for controlling the generated distribution of discrete masked diffusion models at inference time. We derive Sequential Monte Carlo (SMC) algorithms that, given a trained discrete diffusion model, control the temperature of the sampled distribution (i.e. perform annealing), sample from the product of marginals of several diffusion processes (e.g. differently conditioned processes), and sample from the product of the marginal with an external reward function, producing likely samples from the target distribution that also have high reward. Notably, our framework does not require any training of additional models or fine-tuning of the original model. We illustrate the utility of our framework in several applications including: efficient sampling from the annealed Boltzmann distribution of the Ising model, improving the performance of language models for code generation and amortized learning, as well as reward-tilted protein sequence generation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑