arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.00229stat.MLcs.LGmath.OC
收藏

扩散模型与流模型微调及采样的统一视角

A unified perspective on fine-tuning and sampling with diffusion and flow models

Microsoft Research New England(微软研究新英格兰实验室);Harvard University(哈佛大学)

Carles Domingo-Enrich, Yuanqi Du, Michael S. Albergo

AI总结:

本研究提出扩散与流模型微调及采样的统一框架,涵盖随机最优控制与非平衡热力学视角的方法,给出偏差-方差分解等三项理论贡献,并通过Stable Diffusion系列模型的奖励微调实验验证分析。

摘要:

我们研究训练扩散生成模型与流生成模型,以从由基密度的指数倾斜定义的目标分布中采样的问题;该公式涵盖了从非归一化密度采样以及预训练模型的奖励微调两种场景。这一问题可从随机最优控制(SOC)视角出发,采用基于伴随的方法或得分匹配方法求解,也可从非平衡热力学视角展开研究。我们提出了一个涵盖上述方法的统一框架,并作出三项主要贡献:(i)偏差-方差分解表明,伴随匹配/采样与新型得分匹配具有有限的梯度方差,而目标得分匹配与条件得分匹配则不具备这一特性;(ii)关于精益伴随常微分方程(ODE)的范数界,从理论上支撑了基于伴随的方法的有效性;(iii)将CMCD与NETS损失函数,以及全新的Crooks恒等式与Jarzynski恒等式,适配到指数倾斜场景中。我们通过在Stable Diffusion 1.5与3上开展的奖励微调实验,验证了上述分析的正确性。

英文摘要:

We study the problem of training diffusion and flow generative models to sample from target distributions defined by an exponential tilting of a base density; a formulation that subsumes both sampling from unnormalized densities and reward fine-tuning of pre-trained models. This problem can be approached from a stochastic optimal control (SOC) perspective, using adjoint-based or score matching methods, or from a non-equilibrium thermodynamics perspective. We provide a unified framework encompassing these approaches and make three main contributions: (i) bias-variance decompositions revealing that Adjoint Matching/Sampling and Novel Score Matching have finite gradient variance, while Target and Conditional Score Matching do not; (ii) norm bounds on the lean adjoint ODE that theoretically support the effectiveness of adjoint-based methods; and (iii) adaptations of the CMCD and NETS loss functions, along with novel Crooks and Jarzynski identities, to the exponential tilting setting. We validate our analysis with reward fine-tuning experiments on Stable Diffusion 1.5 and 3.

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

↑