用广义费曼-卡茨校正器构建与引导扩散模型
Composing and Steering Diffusion Models with Generalized Feynman-Kac Correctors
AI总结:
本研究提出广义费曼-卡茨校正器(GFKC)框架,用于从多个预训练扩散模型的任意目标函数采样,无需重新训练即可实现生成校正与奖励引导,在高斯模型和MNIST扩散模型上验证了有效性。
摘要:
扩散模型已成为生成建模的主流范式,但许多应用需要从并非任何单个预训练模型的分布中采样,而是通过多个模型的组合定义,可能偏向于下游奖励的高值。直接组合模型的分数会产生不正确的样本,而现有的校正方法仅限于特定的目标族。在这项工作中,我们引入了广义费曼-卡茨校正器(GFKC),这是一个用于从多个预训练扩散模型的任意目标函数中采样的原则性框架。我们证明,任意初始函数与模型目标函数之间的几何插值满足费曼-卡茨偏微分方程,并推导出其闭式势。为了在生成过程中评估该势,我们进一步推广了对数概率常微分方程,以跟踪每个模型在由不同速度场驱动的轨迹上的密度。所得算法完全在对数域中运行,无需额外的概念成本即可纳入基于奖励的引导,并在运行时校正生成,无需重新训练或微调模型。我们在解析高斯模型上验证了该方法,其与真实目标紧密匹配;在MNIST上训练的扩散模型上,它从模型的非平凡组合中采样并实现了有效的引导。
英文摘要:
Diffusion models have become the leading paradigm in generative modeling, yet many applications require sampling from distributions that are not those of any single pretrained model, but are instead defined through combinations of several models, possibly tilted toward high values of a downstream reward. Naively combining the scores of the models yields incorrect samples, while existing corrections are restricted to specific families of targets. In this work, we introduce the generalized Feynman-Kac correctors (GFKC), a principled framework for sampling from an arbitrary target function of several pretrained diffusion models. We show that the geometric interpolation between an arbitrary initial function and the target function of the models satisfies a Feynman--Kac partial differential equation, and derive its potential in closed form. To evaluate this potential during generation, we further generalize the log-probability ODE to track the density of each model along trajectories driven by a different velocity field. The resulting algorithm operates entirely in the log domain, incorporates reward-based steering at no additional conceptual cost, and corrects the generation on the fly, without retraining or fine-tuning the models. We validate the method on analytic Gaussian models, where it closely matches the ground-truth targets, and on diffusion models trained on MNIST, where it samples from non-trivial combinations of the models and enables effective steering.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。