[论文解读] GENIE: Higher-Order Denoising Diffusion Solvers
GENIE 引入了用于去噪扩散模型的二阶常微分方程求解器,利用更高阶梯度项(通过蒸馏的雅可比向量乘积)来加速采样并在较少步骤下提高图像生成质量。
Denoising diffusion models (DDMs) have emerged as a powerful class of generative models. A forward diffusion process slowly perturbs the data, while a deep model learns to gradually denoise. Synthesis amounts to solving a differential equation (DE) defined by the learnt model. Solving the DE requires slow iterative solvers for high-quality generation. In this work, we propose Higher-Order Denoising Diffusion Solvers (GENIE): Based on truncated Taylor methods, we derive a novel higher-order solver that significantly accelerates synthesis. Our solver relies on higher-order gradients of the perturbed data distribution, that is, higher-order score functions. In practice, only Jacobian-vector products (JVPs) are required and we propose to extract them from the first-order score network via automatic differentiation. We then distill the JVPs into a separate neural network that allows us to efficiently compute the necessary higher-order terms for our novel sampler during synthesis. We only need to train a small additional head on top of the first-order score network. We validate GENIE on multiple image generation benchmarks and demonstrate that GENIE outperforms all previous solvers. Unlike recent methods that fundamentally alter the generation process in DDMs, our GENIE solves the true generative DE and still enables applications such as encoding and guided sampling. Project page and code: https://nv-tlabs.github.io/GENIE.
研究动机与目标
- 通过利用关于生成型 ODE 的高阶信息,推动去噪扩散模型(DDMs)更快且更准确的采样。
- 开发一个实用的二阶 ODE 求解器用于 DDIM ODE,在步数效率方面超越基于 Euler 的方法。
- 通过从一阶分数模型中提取雅可比向量积,消除显式高维高阶分数的需要。
- 提出一种基于蒸馏的方式,用一个轻量级神经头预测所需的高阶项。
- 在多个图像生成基准上展示最先进的性能,同时保持编码和引导采样的能力。
提出的方法
- 推导应用于 DDIM ODE 的二阶时间泰勒方法(TTM),通过包含二阶导数项实现更大步长。
- 将一阶分数模型关于扩散时间的全导数计算出来,分解为两个雅可比向量积(JVP)和一个时间导数项。
- 通过对学习得到的一阶分数函数进行自动微分来获得 JVP,并避免显式形成高阶分数。
- 将所需的高阶梯度信息蒸馏到位于一阶分数网络之上的小型神经头 kψ,重复使用内部表示。
- 使用混合参数化来建模 dγt εθ,可表示为对应于 JVP 组成部分的三个预测头的加权组合。
- 用一个有原理的 L2 损失训练蒸馏头,使蒸馏目标与真实高阶梯度相匹配,从而实现快速推理。
- 将该方法应用到不同的图像数据集,并在先前求解器的基础上展示显著的加速采样和准确性提升。
实验结果
研究问题
- RQ1受扰动数据分布的高阶梯度信息是否可以提升扩散模型采样器的效率和准确性?
- RQ2是否有可能从一阶分数模型中提取并利用二阶项(JVPs)而无需显式计算高维的高阶分数?
- RQ3将高阶梯度信息蒸馏到一个小型神经头中是否提供一个实用、快速的推理路径,在标准基准上超过现有求解器?
- RQ4这些高阶求解器是否保留将数据编码到潜在空间的能力,并支持引导采样和编码任务?
主要发现
- GENIE 通过基于截断泰勒方法的二阶 ODE 求解器实现了更高的采样效率。
- GENIE 推导并利用两个雅可比向量积和一个时间导数项来捕捉分数梯度的局部曲率,从而使步长增大。
- 所需的高阶项通过对一阶分数模型进行自动微分提取,并蒸馏到分数网络之上的一个小头上。
- 一个轻量级蒸馏头 (kψ) 增加极少的开销,在合成期间提供准确的高阶梯度估计。
- GENIE 在多个图像生成基准上的若干数据集的少步设置(NFEs)中优于先前的求解器。
- 该方法保持原始生成 ODE 公式,支持编码和分类器引导采样,与某些改变生成过程的竞争方法形成对比。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。