[Paper Review] Variational Diffusion Models
The paper introduces Variational Diffusion Models (VDMs) that learn a learnable diffusion schedule and use Fourier features to achieve state-of-the-art log-likelihoods on CIFAR-10 and ImageNet density estimation benchmarks, along with theoretical insights into the variational lower bound (VLB) and diffusion process equivalences.
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 .
Motivation & Objective
- Motivate likelihood-based image generation with diffusion models and close the gap to autoregressive models on density estimation benchmarks.
- Introduce a flexible diffusion-based family (VDMs) with learnable diffusion schedules and Fourier features to improve likelihood.
- Provide theoretical analysis of the variational lower bound (VLB) for diffusion models and establish model equivalences in continuous time.
- Demonstrate state-of-the-art log-likelihood results on CIFAR-10 and ImageNet and show lossless compression potential via bits-back coding.
Proposed method
- Define a forward Gaussian diffusion process with z_t conditioned on x as q(z_t|x)=N(alpha_t x, sigma_t^2 I).
- Learn a monotonic noise schedule sigma_t^2 via a neural network gamma_eta(t) such that SNR(t)=exp(-gamma_eta(t)).
- Use a reverse-time generative model with p(z_s|z_t) equal to q(z_s|z_t, x) but with x replaced by a denoised prediction x_hat_theta(z_t; t).
- Parameterize the denoising model through a noise-prediction network epsilon_hat_theta(z_t; t) with x_hat_theta(z_t; t) = (z_t - sigma_t epsilon_hat_theta(z_t; t))/alpha_t.
- Incorporate Fourier features (sin/cos of scaled z_t) into the denoiser to capture fine-scale details and improve likelihood.
- Optimize the variational lower bound (VLB) of p(x), with a diffusion loss L_T(x) that simplifies to a tractable, numerically stable form; extend to continuous-time L_infty(x) and show invariance to the diffusion schedule endpoints.
Experimental results
Research questions
- RQ1Can diffusion-based generative models achieve state-of-the-art likelihoods on standard image density estimation benchmarks?
- RQ2Does jointly optimizing the diffusion process (noise schedule) with the model parameters improve performance over fixed schedules?
- RQ3How does the continuous-time diffusion formulation affect invariance to the forward process and the VLB?
- RQ4What architectural innovations (e.g., Fourier features) and training objectives improve likelihood while maintaining tractable optimization?
- RQ5Can diffusion models be used effectively for lossless compression via bits-back coding?
Key findings
- VDMs achieve state-of-the-art log-likelihoods on CIFAR-10 and ImageNet density estimation benchmarks, surpassing autoregressive models.
- A simple expression for the diffusion loss in discrete time and a continuous-time loss L_infty(x) are derived, clarifying the VLB behavior.
- In continuous time, the VLB is invariant to the diffusion schedule shape and depends only on the SNR endpoints, enabling variance-minimizing schedule optimization.
- Fourier features added to the denoiser substantially improve likelihood, especially when the SNR is learned.
- Learning the SNR endpoints and using a continuous-time, variance-aware schedule speeds up training and reduces estimator variance.
- Experiments show that, with likelihood optimization, the model can perform competitively on perceptual quality metrics (FID) when using weighted diffusion losses, though the focus here is likelihood.
- The model supports lossless compression via bits-back coding, achieving competitive net codelengths on CIFAR-10.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.