Latent diffusion models

Generative models · generative · 2022 · images · video

What it is

Run the diffusion process inside a VQ-VAE latent space instead of pixel space, cutting cost by orders of magnitude.

When to use it

Stable Diffusion and most practical text-to-image/video generation on consumer hardware.

Caveats

Quality is capped by the autoencoder, which loses fine detail such as small text and faces. Like all diffusion models it needs many sampling steps unless distilled, and it inherits the biases of its web-scale training data.

Key ideas

  • Runs diffusion in the compressed latent space of a pretrained autoencoder
  • Cuts compute enough to train and sample at high resolution
  • Conditions on text through cross-attention
  • The design behind Stable Diffusion

Related architectures

Original paper

High-Resolution Image Synthesis with Latent Diffusion Models (2021, arXiv)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted