DiffuseVAE
DiffuseVAE refines blurry VAE samples with a conditional diffusion model while keeping a low-dimensional latent code.
Diffusion and generative · 1,000 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 43.7M
- Operations
- 1,000
- Framework
- PyTorch
- Recurrent
- No
- Published
- TMLR (arXiv 2022)
- Cited by
- 51 (as of 23 October 2026)
- Authors
- Kushagra Pandey, Avideep Mukherjee, Piyush Rai, Abhishek Kumar
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16136
- Graph hash
- b96636738e4b4a0c2b73385e47d635e9f9994f9d949dbcbfc74d266e4b0d9df5
- Skeleton hash
- 2386eb908eac15844573a9c45ba4528588ace081a4f2c06fb4fd461ab78248d8
- Architecture hash
- a5af752cbe98e66859ddea2cfba4f6e8fc20f5ac6b09e4b0b763951ed4cb3562
- Diagram SHA-256
- 2b48f61f0e7589cc7121a10bd7fbfcb19a77de1a8586b231791d7665d9da63ce
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DiffuseVAE is an image generator that puts a variational autoencoder (VAE) inside a diffusion model framework. The paper's motivation is that diffusion models lack a low-dimensional, interpretable latent space and are slow at generation, while standard VAEs have such a latent space but poor sample quality.
Training runs in two stages: a VAE is first fit to the training images, and a diffusion model (DDPM) is then trained conditioned on the VAE's reconstructions. The VAE encoder and decoder are frozen during the second stage. The paper calls this a generator-refiner framework, in which the Stage-1 VAE generates a sample and the Stage-2 DDPM refines it. It considers two ways of conditioning the DDPM; in the first, the VAE reconstruction is concatenated to the noisy image at every reverse step. In the second, the forward noising process is itself designed to incorporate the reconstruction.
The low-dimensional VAE latent code can then be used for downstream tasks such as controllable synthesis. The paper also reports a better speed versus quality tradeoff than standard unconditional DDPM/DDIM models, for instance an FID of 16.47 against 34.36 for a standard DDIM on the CelebA-HQ-128 benchmark with T=10 reverse process steps. On that same benchmark it reports that DiffuseVAE improves the FID score of a baseline VAE by about eight times.
Key idea. DiffuseVAE trains a VAE and then a diffusion model conditioned on the VAE's reconstructions, which gives diffusion sampling a low-dimensional latent code.
- diffusevae
- diffuse vae
- vae diffusion hybrid
- generator-refiner
- conditional diffusion refiner
- image generation
- controllable synthesis
- low-dimensional latent
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{pandey2022diffusevaeefficientcontrollablehighfidelity,
title={DiffuseVAE: Efficient, Controllable and High-Fidelity Generation from Low-Dimensional Latents},
author={Kushagra Pandey and Avideep Mukherjee and Piyush Rai and Abhishek Kumar},
year={2022},
eprint={2201.00308},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2201.00308},
}