Denoising Diffusion Variational Inference: Diffusion Models as Expressive Variational Posteriors
Organizations: Department of Computer Science, Cornell University · The Jacobs Technion-Cornell Institute, Cornell Tech
Abstract
We propose denoising diffusion variational inference (DDVI), a black-box variational inference algorithm for latent variable models which relies on diffusion models as flexible approximate posteriors. Specifically, our method introduces an expressive class of diffusion-based variational posteriors that perform iterative refinement in latent space; we train these posteriors with a novel regularized evidence lower bound (ELBO) on the marginal likelihood inspired by the wake-sleep algorithm. Our method is easy to implement (it fits a regularized extension of the ELBO), is compatible with black-box variational inference, and generally outperforms alternative classes of approximate posteriors based on normalizing flows or adversarial networks. We find that DDVI improves inference and learning in deep latent variable models across common benchmarks as well as on a motivating task in biology---inferring latent ancestry from human genomes---where it outperforms strong baselines on the 1000 Genomes dataset.
Figures & tables
| Method | Cluster Purity | Cluster Completeness | NMI |
| AEVB | |||
| AEVB-IAF | |||
| AAEB | |||
| DDVI |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Diffusion Samplers | GFlowNet-based | DDVI (ours) | |
| ( Berner, Richter, and Ullrich 2022 ; Zhang and Chen 2021 ; Vargas, Grathwohl, and Doucet 2023 ; Richter, Berner, and Liu 2023 ; Akhound-Sadegh et al. 2024 ) | ( Zhang et al. 2023 ; Sendera et al. 2024 ; Malkin et al. 2022 ) | ||
| Tasks | Sampling, density estimation | Sampling, density estimation | Learning, Sampling, Dimensionality reduction |
| Model Family for | Any energy-based | Any energy-based | Latent with tractable |
| Model Family for | Markov chain | Markov chain | Markov chain |
| Objective | with regularizer | Trajectory balance objective | with ELBO |
| Algorithm | Gradient descent (with reference process), importance sampling | RL-motivated off-policy optimization (replay buffers, Thompson sampling, etc.) | Gradient descent with wake-sleep |
Variational Inference
Variational inference approximates complex Bayesian posteriors with tractable distributions that support faster inference and uncertainty estimates.
See all 151 papers