High-Resolution Image Synthesis with Latent Diffusion Models
1. Research problem
Pixel-space diffusion is computationally prohibitive at high resolutions and makes conditional generation with text cumbersome.
2. Motivation
The authors wanted to move diffusion into a compressed latent space so high-resolution synthesis becomes affordable and flexible conditioning is easy.
3. Previous approaches
DDPM and score-based models operated in pixel space; earlier two-stage models used autoregressive or adversarial decoders with weaker synthesis quality.
4. Core contribution
Introduced latent diffusion: a pretrained autoencoder maps images to a lower-dimensional latent space where a diffusion model is trained, with cross-attention for flexible conditioning.
5. Mathematical formulation
Train an autoencoder (E,D) with perceptual and adversarial losses, then fit a diffusion model on z = E(x); conditioning uses attention over conditioning embeddings y.
6. Methodology
Two-stage training: first the perceptual autoencoder with KL or quantization regularization, then latent diffusion with cross-attention conditioning.
7. Architecture
Autoencoder with attention, a U-Net diffusion backbone in latent space, and a cross-attention conditioning interface for text or layout.
8. Experimental setup
Text-to-image, class-conditional image synthesis, inpainting, and super-resolution.
9. Datasets
LAION-style web text-image data, ImageNet, and COCO-style caption datasets.
10. Results
High-resolution, high-quality synthesis at far lower compute than pixel-space diffusion, forming the basis of widely deployed text-to-image systems.
11. Limitations
Quality is bounded by the autoencoder's reconstruction fidelity; web data introduces bias and contamination concerns; sampling still uses many steps.
12. Critical analysis
A systems-level architectural insight: compressing before diffusion dramatically improved the practicality of generative image models.
13. Implementation tasks
- 1.Train a small perceptual autoencoder and inspect reconstruction quality on a compact image dataset.
- 2.Train a latent diffusion model on the encoded latents and generate samples.
- 3.Implement cross-attention conditioning with simple class labels.
14. Follow-up work
- 1.Denoising Diffusion Probabilistic Models (Ho et al., 2020)
- 2.Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding (Saharia et al., 2022)
15. Open research questions
- 1.How much detail is irretrievably lost in the autoencoder bottleneck?
- 2.How should text conditioning be evaluated beyond automated scores?