A Variational Perspective on Diffusion-Based Generative Models and Score Matching

Chin-Wei Huang, Jae Hyun Lim, Aaron Courville
6/5/2021
cs.LG
diffusion-flow

Official code: CW-Huang/sdeflow-light (131 stars, Python, MIT, last commit 2021-08-18).

Abstract

Discrete-time diffusion-based generative models and score matching methods have shown promising results in modeling high-dimensional image data. Recently, Song et al. (2021) show that diffusion processes that transform data into noise can be reversed via learning the score function, i.e. the gradient of the log-density of the perturbed data.

Show full abstract

They propose to plug the learned score function into an inverse formula to define a generative diffusion process. Despite the empirical success, a theoretical underpinning of this procedure is still lacking. In this work, we approach the (continuous-time) generative diffusion directly and derive a variational framework for likelihood estimation, which includes continuous-time normalizing flows as a special case, and can be seen as an infinitely deep variational autoencoder. Under this framework, we show that minimizing the score-matching loss is equivalent to maximizing a lower bound of the likelihood of the plug-in reverse SDE proposed by Song et al. (2021), bridging the theoretical gap.

View on arXivView PDF

Code Implementations(1)

MIT

A minimalist implementation of score-based diffusion model

13119PythonJun 10, 20215 years agoMIT

Similar Papers

Cite this paper

@article{huang2021variational,
  title  = {A Variational Perspective on Diffusion-Based Generative Models and Score Matching},
  author = {Chin-Wei Huang and Jae Hyun Lim and Aaron Courville},
  year   = {2021},
  eprint = {2106.02808},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02808}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.02808.svg)](https://codeofpaper.com/paper/2106.02808)

Discussion