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.

PropertyStable DiffusionStyleGAN (Style-Based Generator)
FamilyDiffusion ModelsGenerative Adversarial Networks
Year of appearance20222018
ResearchersRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, Björn Ommer…Tero Karras, Samuli Laine, Timo Aila
Architecture typeText-conditioned latent diffusion modelStyle-based GAN generator
Learning mechanismself-supervisedunsupervised
Compared configurationStable Diffusion v1 (512×512, latent 4×64×64)StyleGAN ‏(FFHQ 1024×1024)
Input shapeText + z_T ∈ ℝ^{4×64×64}z ∈ ℝ⁵¹²
Output shape3×512×5123×1024×1024
DepthU-Net with four resolutions (320, 640, 1280, 1280)8 mapping layers + 18 synthesis layers
Parameters (computed)1,066,235,307
≈1.07B
Unspecified
Parameters (published)860,000,000
≈860M
Unspecified
MACs401,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.
Unspecified
Not computed: depends on implementation details not stated in the text of the paper.
Complexity50 × 2 × U-Net + VAE decoder per image.—
TasksText-to-image generation, Image editing, Image inpaintingImage generation, Image editing
Main advantageOpen weightsVery high image quality
Main limitationBiases and controversial training data“Water droplet” artefacts, fixed by the second version
Review statusNeeds reviewNeeds review
Calculation assumptionsUNet2DConditionModel 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 parameter count of the mapping network (8 × 512) and the 4×4×512 constant are from the paper; the parameters of the synthesis network, the transforms and the discriminator are left “unspecified”.

Recorded relations between the compared models

  • Stable Diffusion Alternative StyleGAN (Style-Based Generator) — Latent diffusion models are a recent competitor.