Skip to main content
QUICK REVIEW

[论文解读] Denoising Diffusion Samplers

Francisco Vargas, Will Grathwohl|arXiv (Cornell University)|Feb 27, 2023
Machine Learning in HealthcareComputer Science被引用 3
一句话总结

去噪扩散采样器(DDS)提出了一种新颖的蒙特卡洛方法,用于通过利用扩散过程从非归一化目标密度中进行近似贝叶斯推断和归一化常数估计。通过近似将目标分布转化为高斯分布的前向过程的时间反演扩散过程,DDS 在无需分数匹配的情况下,利用可微分证据下界(ELBO)和保持不变分布的数值积分器,实现了高效的采样和归一化常数估计。

ABSTRACT

Denoising diffusion models are a popular class of generative models providing state-of-the-art results in many domains. One adds gradually noise to data using a diffusion to transform the data distribution into a Gaussian distribution. Samples from the generative model are then obtained by simulating an approximation of the time-reversal of this diffusion initialized by Gaussian samples. Practically, the intractable score terms appearing in the time-reversed process are approximated using score matching techniques. We explore here a similar idea to sample approximately from unnormalized probability density functions and estimate their normalizing constants. We consider a process where the target density diffuses towards a Gaussian. Denoising Diffusion Samplers (DDS) are obtained by approximating the corresponding time-reversal. While score matching is not applicable in this context, we can leverage many of the ideas introduced in generative modeling for Monte Carlo sampling. Existing theoretical results from denoising diffusion models also provide theoretical guarantees for DDS. We discuss the connections between DDS, optimal control and Schrödinger bridges and finally demonstrate DDS experimentally on a variety of challenging sampling tasks.

研究动机与目标

  • 开发一种适用于归一化常数不可求解的非归一化概率密度的采样方法。
  • 在不依赖分数匹配的前提下,估计目标密度 $ \pi(x) = \gamma(x)/Z $ 的归一化常数 $ Z $。
  • 利用去噪扩散生成模型的思想,实现贝叶斯推断中的蒙特卡洛采样。
  • 通过变分推断和基于参考过程的有效证据下界(ELBO),提供理论保证。
  • 设计保持参考过程不变分布的数值积分器,以确保训练稳定。

提出的方法

  • 构建一个前向扩散过程,随时间将目标分布 $ \pi $ 转化为标准高斯分布。
  • 使用变分族 $ q^\theta(x,u) $ 近似时间反演过程,通过最小化 $ \mathrm{KL}(q^\theta || p) $ 来最大化 ELBO。
  • 引入辅助参考过程,以实现 ELBO 及其梯度的低方差估计。
  • 利用概率流常微分方程(ODE)和欠阻尼朗之万动力学,定义前向去噪过程并引导时间反演。
  • 设计用于 SDE/ODE 的数值积分器,以保持参考过程的不变分布,确保离散时间下 ELBO 的有效性。
  • 在漂移函数中应用梯度裁剪和可学习参数,以稳定训练并提升采样质量。

实验结果

研究问题

  • RQ1能否在不使用分数匹配的情况下,将基于扩散的采样方法适配到非归一化密度上?
  • RQ2当初始状态不可求解时,如何为时间反演扩散过程构建有效的 ELBO?
  • RQ3哪些数值积分器能保持不变分布,并在离散时间下确保有效的变分目标?
  • RQ4DDS 在采样质量和归一化常数估计方面与 AIS、SMC 及其他最先进的蒙特卡洛方法相比如何?
  • RQ5去噪扩散模型中的理论保证能否推广到一般的蒙特卡洛推断任务中?

主要发现

  • DDS 在多种任务中实现了具有竞争力的采样质量和归一化常数估计性能,涵盖漏斗分布、lgcp、ion、sonar 和 vae 分布。
  • 在有效样本量和对数似然估计方面,该方法优于或至少与最先进的方法(如 PIS 和 UDMP)相当。
  • 通过使用参考过程,实现了低方差的梯度估计,这对变分目标的稳定训练至关重要。
  • 所提出的积分器保持了不变分布,确保了在离散时间下 ELBO 的有效性,而标准的 Euler–Maruyama 方法则无法做到这一点。
  • 在多个数据集上进行超参数调优后,使用 Adam 优化器和梯度裁剪,训练过程表现出一致且稳定的性能。
  • 通过为 DDS 和 PIS 使用相同的优化设置,确保了实验的可重现性,从而实现了公平比较。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。