Skip to main content
QUICK REVIEW

[Paper Review] Understanding Diffusion Models: A Unified Perspective

Calvin Luo|arXiv (Cornell University)|Aug 25, 2022
Generative Adversarial Networks and Image SynthesisComputer Science112 citations
TL;DR

The paper presents diffusion models from likelihood-based and score-based viewpoints, derives the ELBO for variational diffusion models, and offers multiple equivalent interpretations to deepen understanding and guide training and sampling.

ABSTRACT

Diffusion models have shown incredible capabilities as generative models; indeed, they power the current state-of-the-art models on text-conditioned image generation such as Imagen and DALL-E 2. In this work we review, demystify, and unify the understanding of diffusion models across both variational and score-based perspectives. We first derive Variational Diffusion Models (VDM) as a special case of a Markovian Hierarchical Variational Autoencoder, where three key assumptions enable tractable computation and scalable optimization of the ELBO. We then prove that optimizing a VDM boils down to learning a neural network to predict one of three potential objectives: the original source input from any arbitrary noisification of it, the original source noise from any arbitrarily noisified input, or the score function of a noisified input at any arbitrary noise level. We then dive deeper into what it means to learn the score function, and connect the variational perspective of a diffusion model explicitly with the Score-based Generative Modeling perspective through Tweedie's Formula. Lastly, we cover how to learn a conditional distribution using diffusion models via guidance.

Motivation & Objective

  • Clarify how diffusion models fit within likelihood-based and score-based generative frameworks.
  • Derive and explain the Evidence Lower Bound (ELBO) for Variational Diffusion Models (VDMs).
  • Show multiple interpretable perspectives (reconstruction, prior matching, consistency) for diffusion model training.
  • Relate diffusion models to Variational Autoencoders and Hierarchical Variational Autoencoders to unify perspectives.
  • Discuss practical implications for training, sampling, and variance considerations in ELBO estimates.

Proposed method

  • Present the ELBO derivation for standard latent variable models and extend to Hierarchical Variational Autoencoders (HVAE) and Markovian HVAE.
  • Introduce Variational Diffusion Models (VDMs) as a Markovian HVAE with fixed Gaussian encoder structure and time-varying noise schedule.
  • Derive a low-variance ELBO form for VDMs by reparameterizing encoder transitions to depend on single random variables.
  • Decompose the ELBO into interpretable terms: reconstruction, prior matching, and denoising consistency.
  • Explain how to sample with VDMs by starting from standard Gaussian noise and applying denoising transitions.
  • Connect diffusion processes to three equivalent interpretations: likelihood-based, score-based, and guided/Classifier-Free guidance frameworks.

Experimental results

Research questions

  • RQ1How can diffusion models be understood within both likelihood-based and score-based generative modeling frameworks?
  • RQ2What is the correct ELBO formulation for diffusion-based generative models and how can it be computed efficiently?
  • RQ3What are the interpretable components of the diffusion ELBO, and how do they relate to training objectives such as reconstruction and prior matching?
  • RQ4How do Variational Autoencoders and Hierarchical Variational Autoencoders relate to diffusion models in a unified perspective?
  • RQ5What practical implications arise for training and sampling from diffusion models when using the proposed ELBO decompositions and guidance mechanisms?

Key findings

  • VDMs provide a unified view by casting diffusion models as Markovian HVAE with a Gaussian encoder and a standard Gaussian final latent.
  • The ELBO for VDMs can be decomposed into a reconstruction term, a prior-matching term, and a denoising-consistency term, enabling low-variance Monte Carlo estimation.
  • A reparameterization trick-based reformulation yields an ELBO where each term is an expectation over a single random variable, reducing variance in practice.
  • The derivations reveal three equivalent interpretations of diffusion models: likelihood-based, score-based, and guidance-based (classifier guidance and classifier-free guidance).
  • Training dynamics are driven by aligning backward denoising transitions with forward Gaussian corruptions, with the final latent distribution matching the standard Gaussian prior as T grows large.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.