Model comparison
This page compares specific configurations (such as ResNet-50 or BERT-base), not general families; each number is tied to the configuration named at the top of its column. “Unspecified” means the number is not documented in the atlas.
| Property | Stable Diffusion | Denoising Diffusion Implicit Models |
|---|---|---|
| Family | Diffusion Models | Diffusion Models |
| Year of appearance | 2022 | 2020 |
| Researchers | Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, Björn Ommer… | Jiaming Song, Chenlin Meng, Stefano Ermon |
| Architecture type | Text-conditioned latent diffusion model | Non-Markovian diffusion sampler |
| Learning mechanism | self-supervised | unsupervised |
| Compared configuration | Stable Diffusion v1 (512×512, latent 4×64×64) | DDIM on CIFAR-10 with S = 50 steps (η = 0) |
| Input shape | Text + z_T ∈ ℝ^{4×64×64} | x_T |
| Output shape | 3×512×512 | 3×32×32 |
| Depth | U-Net with four resolutions (320, 640, 1280, 1280) | U-Net from DDPM |
| Parameters (computed) | 1,066,235,307 ≈1.07B | 35,746,307 ≈35.75M |
| Parameters (published) | 860,000,000 ≈860M | Unspecified |
| MACs | 401,636,720,640 ≈401.64B For a single U-Net pass (401.6 billion). Classifier-free guidance doubles it, and 50 steps multiply it by 50; the VAE decoder once ≈ 1257 billion; the text encoder ≈ 6.6 billion. | 311,092,838,400 ≈311.09B 50 network passes per sample (versus 1000 in DDPM). |
| Complexity | 50 × 2 × U-Net + VAE decoder per image. | S × the cost of the U-Net; 10–50 times faster than DDPM. |
| Tasks | Text-to-image generation, Image editing, Image inpainting | Image generation, Latent-space interpolation |
| Main advantage | Open weights | 10–50 times faster |
| Main limitation | Biases and controversial training data | Quality drops with very few steps |
| Review status | Needs review | Needs review |
| Calculation assumptions | UNet2DConditionModel with the default configuration and cross_attention_dim = 768, AutoencoderKL with the SD v1 configuration, and CLIPTextModel with the ViT-L/14 configuration; computed on the meta device. | The network counts come from the DDPM configuration on CIFAR-10; DDIM used the same trained networks. |
Recorded relations between the compared models
- Stable Diffusion Related Denoising Diffusion Implicit Models — One of the best-known sampling methods in Stable Diffusion.
