Vision & Multimodal Dec 2021

High-Resolution Image Synthesis with Latent Diffusion Models

Robin Rombach et al. · CVPR 2022

arXiv:2112.10752

In short

Diffusion models working directly on pixels need hundreds of GPU-days to train and are slow to sample. This paper runs diffusion inside the compressed latent space of a pretrained autoencoder instead, which keeps image quality while cutting the cost, and adds cross-attention so text or other inputs can steer what gets generated.

Why it matters

It’s the architecture behind Stable Diffusion, which put high-quality text-to-image generation on ordinary GPUs.

Read first

The 3 Field Guide ideas this paper leans on.

Starting from scratch? The full route 11 ideas · basics first
  1. Machine Learning ✓ understood

    Building systems that learn patterns from data instead of following hand-written rules, getting better at a task as they see more examples.

  2. Neural Network ✓ understood

    A computational model inspired by biological neural networks, consisting of interconnected nodes (neurons) organized in layers that process information through weighted connections.

  3. Diffusion Model · read first ✓ understood

    A generative model that learns to denoise data, achieving state-of-the-art image generation (Stable Diffusion, DALL-E 2).

  4. Unsupervised Learning ✓ understood

    Learning from unlabeled data to discover hidden patterns, structures, or relationships without explicit target outputs.

  5. Autoencoder · read first ✓ understood

    An unsupervised neural network that learns to compress data into a latent representation and reconstruct it, useful for dimensionality reduction.

  6. Dataset ✓ understood

    A collection of data examples used for training, validating, or testing machine learning models.

  7. Feature ✓ understood

    A single measurable property of an example, such as a house's floor area or how many links an email contains, used as an input to a model.

  8. Deep Learning ✓ understood

    A subset of machine learning that uses neural networks with multiple layers (deep neural networks) to learn hierarchical representations of data.

  9. Representation Learning ✓ understood

    Learning useful features or representations of data automatically, rather than hand-crafting them.

  10. Embedding ✓ understood

    A list of numbers (a vector) that represents a word, sentence, image or other item, learned so that similar items end up close together.

  11. Latent Space · read first ✓ understood

    A compressed, learned representation space where similar data points are close together, used in autoencoders and VAEs.

Nearby papers

Summary in our own words; read the paper for the details. ← All papers