HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Variational Diffusion Models

Diederik P. Kingma Tim Salimans Ben Poole Jonathan Ho

Variational Diffusion Models

Abstract

Diffusion-based generative models have demonstrated a capacity for perceptually impressive synthesis, but can they also be great likelihood-based models? We answer this in the affirmative, and introduce a family of diffusion-based generative models that obtain state-of-the-art likelihoods on standard image density estimation benchmarks. Unlike other diffusion-based models, our method allows for efficient optimization of the noise schedule jointly with the rest of the model. We show that the variational lower bound (VLB) simplifies to a remarkably short expression in terms of the signal-to-noise ratio of the diffused data, thereby improving our theoretical understanding of this model class. Using this insight, we prove an equivalence between several models proposed in the literature. In addition, we show that the continuous-time VLB is invariant to the noise schedule, except for the signal-to-noise ratio at its endpoints. This enables us to learn a noise schedule that minimizes the variance of the resulting VLB estimator, leading to faster optimization. Combining these advances with architectural improvements, we obtain state-of-the-art likelihoods on image density estimation benchmarks, outperforming autoregressive models that have dominated these benchmarks for many years, with often significantly faster optimization. In addition, we show how to use the model as part of a bits-back compression scheme, and demonstrate lossless compression rates close to the theoretical optimum. Code is available at https://github.com/google-research/vdm .

Code Repositories

addtt/variational-diffusion-models
pytorch
Mentioned in GitHub
google-research/vdm
Official
jax
Mentioned in GitHub
martenlienen/bsi
jax
Mentioned in GitHub
revsic/jax-variational-diffwave
jax
Mentioned in GitHub
yoyololicon/variational-diffwave
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
density-estimation-on-cifar-10VDM
NLL (bits/dim): 2.65
density-estimation-on-imagenet-32x32-1VDM
NLL (bits/dim): 3.72
image-generation-on-imagenet-32x32VDM
bpd: 3.72
image-generation-on-imagenet-64x64VDM
Bits per dim: 3.40

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Variational Diffusion Models | Papers | HyperAI