← Back to blogs

Diffusion Models and DiT: Noise Schedules, DDIM, and Scalable Transformers

Denoising diffusion and transformer backbones for generation

A diffusion system is five separable parts. A perceptual compressor maps pixels into the space the model works in. A probability path and its training objective say what the network regresses at each noise level. A backbone computes that regression. A sampler integrates the learned field back to data. A conditioning path carries the class label, the prompt, or the control image into the backbone. The literature in this chapter is almost entirely a record of papers that change one of these and hold the others fixed, and that is why its numbers can be compared at all. DDIM changes only the sampler and reuses the DDPM weights untouched. Flow matching changes only the loss and reuses the EDM U-Net unchanged. DiT changes only the backbone and inherits LDM's frozen VAE. ControlNet, Video LDM and AnimateDiff change only the conditioning path and freeze the image model underneath. Table tbl:dit-what-changed indexes the milestones by which part each one moved, and Table tab:diffusion-sota gives the reported quality, scale and sampling cost of the same lineage. Read together they answer a question a leaderboard alone cannot, which is not which model is best but which component the gain came from.

The chapter's spine. Each milestone is placed by which of the five components it changes and what it holds fixed. The last column names the comparison the isolation makes possible. Works appearing in more than one row change more than one component, and those are the papers whose reported gains are hardest to attribute.
Work Component changed Held fixed What the isolation buys
DDIM (Song et al. 2021) sampler weights, objective speedup attributable to integration alone, no retraining
DPM-Solver++ (Lu et al. 2022) sampler (solver order) weights, objective solver order versus step count at fixed model
Consistency distill. (Song et al. 2023) sampler folded into weights teacher, data cost of collapsing the step ladder into one forward pass
EDM (Karras et al. 2022) objective weighting, preconditioning architecture, data parameterization choice shown to be moot under preconditioning
Flow matching (Lipman et al. 2023) probability path (loss) EDM U-Net, data same model, different loss, so path is the only variable
Improved DDPM (Nichol and Dhariwal 2021) noise schedule, learned Σ\Sigma architecture family schedule shape separated from capacity
LDM (Rombach et al. 2022) perceptual compressor objective, U-Net family compute saved by compression, at a decoder-imposed quality ceiling
DiT (Peebles and Xie 2023) backbone frozen SD VAE, ϵ\epsilon-objective FID as a function of backbone compute, nothing else moving
U-ViT (Bao et al. 2023) backbone (skips, token cond.) frozen VAE, objective skip connections versus specialized conditioning
MM-DiT (Esser et al. 2024) backbone and path none of the two gains not separable between architecture and rectified flow
DALL-E 3 (Betker et al. 2023) training captions architecture undisclosed data quality isolated from every other lever
ControlNet (Zhang et al. 2023) conditioning path frozen base denoiser control added with the base model provably unbroken
Video LDM, SVD (Blattmann, Rombach, et al. 2023) conditioning (temporal layers) frozen image LDM temporal coherence priced separately from image quality
AnimateDiff (Guo et al. 2024) conditioning (motion module) frozen personalized SD motion prior shown to be independent of appearance prior
Selected diffusion / flow / transformer milestones on standard benchmarks. FID rows mix ImageNet 256×256 (class-conditional), CIFAR-10, and zero-shot MS-COCO (text-to-image) at the resolution called out by each paper. The CIFAR-10 rows are unconditional for DDPM, DDIM and consistency distillation, and class-conditional for EDM, which is the setting its 1.79 belongs to; EDM's unconditional figure is 1.97. FVD covers UCF-101 zero-shot text-to-video. NFE = inference function evaluations at the reported FID. Citations point to the original sources cataloged in subsequent sections. The ImageNet 256 rows are quoted from the common re-benchmark in the DiT paper's Table 2 rather than from each original paper, so they are commensurable with each other. Two figures often mis-quoted at this resolution are corrected here. BigGAN's widely repeated 7.4 FID is its 128×128 number, and at 256×256 BigGAN-deep is 6.95. ADM's 2.97 is ImageNet 128×128 with classifier guidance, and the ADM cascade at 256×256 is 3.94. The bits/dim rows report likelihood rather than FID, and the 2.94 for Improved DDPM is its CIFAR-10 figure; its ImageNet 64×64 likelihood is 3.53. Four rows carry n/a in the FID column (SDXL, PixArt-α\alpha, DALL-E 3, SD3): these papers report no FID on a benchmark commensurable with the rows above, so they are listed for backbone, scale and sampling budget only and must not be read as a quality ranking against the FID rows.
Model Year Backbone Resolution / Task FID NFE Params
BigGAN-deep (GAN base.) (Brock et al. 2019) 2018 GAN ImageNet 256 6.95 1 158M
DDPM (Ho et al. 2020) 2020 U-Net CIFAR-10 uncond 3.17 1000 36M
DDIM (Song et al. 2021) 2021 U-Net CIFAR-10 (S=50) 4.67 50 36M
Improved DDPM (Nichol and Dhariwal 2021) 2021 U-Net CIFAR-10 (bpd 2.94) - 250 100M
ADM-G (Dhariwal and Nichol 2021) 2021 U-Net ImageNet 256 cls-cond 4.59 250 554M
ADM-G + ADM-U (Dhariwal and Nichol 2021) 2021 U-Net casc. ImageNet 256 cls-cond 3.94 ~ 250 ~1.0B
EDM (Karras et al. 2022) 2022 U-Net CIFAR-10 cls-cond 1.79 35 56M
LDM-4-G (Rombach et al. 2022) 2022 U-Net ImageNet 256 (cfg=1.5) 3.60 250 400M
GLIDE (Nichol et al. 2022) 2022 U-Net MS-COCO zero-shot 12.2 250 3.5B
Imagen (Saharia et al. 2022) 2022 U-Net casc. MS-COCO zero-shot 7.27 ~ 256 ~7.6B
DALL-E 2 (Ramesh et al. 2022) 2022 U-Net casc. MS-COCO zero-shot 10.4 ~ 250 4.5B
eDiff-I (Balaji et al. 2023) 2023 U-Net casc. MS-COCO zero-shot 6.95 ~ 250 ~9B
DiT-XL/2 (Peebles and Xie 2023) 2023 DiT ImageNet 256 (cfg=1.5) 2.27 250 675M
U-ViT (Bao et al. 2023) 2023 U-ViT ImageNet 256 cls-cond 2.29 250 501M
SDXL (Podell et al. 2023) 2023 U-Net T2I 1024 (PartiPrompt) n/a 50 2.6B
PixArt-α\alpha (Chen et al. 2023) 2023 DiT T2I 1024 (DrawBench) n/a 20 600M
DALL-E 3 (Betker et al. 2023) 2023 LDM DrawBench GPT-4V judge n/a ~ 50 undisc.
Consistency D. (Song et al. 2023) 2023 EDM-init CIFAR-10 (1 step) 3.55 1 56M
Flow Matching (Lipman et al. 2023) 2023 EDM-net ImageNet 64 (bpd 3.31) - 142 62M
SD3 (MM-DiT) (Esser et al. 2024) 2024 MM-DiT T2I 1024 (GenEval) n/a 28 8B
SVD (Blattmann, Dockhorn, et al. 2023) 2023 LDM+temp. UCF-101 zero-shot (FVD) 242 25 1.5B

Diffusion models are now the most widely used family of generative models, surpassing GANs in image quality while offering stable training and mode coverage. The foundational work on Denoising Diffusion Probabilistic Models (DDPM) (Ho et al. 2020) showed that iteratively denoising samples from Gaussian noise produces high-quality images, reporting an FID of 3.17 on CIFAR-10, the lowest published at the time, and competitive results on LSUN.[fn:s0-ddpm-impl] This work established the connection between diffusion models and denoising score matching, providing both theoretical grounding and practical training recipes.

Subsequent work focused on accelerating sampling, which originally required 1000+ steps. Denoising Diffusion Implicit Models (DDIM) (Song et al. 2021) introduced a non-Markovian formulation enabling 10-50× faster sampling by treating the reverse process as solving an ODE rather than simulating an SDE. Improved DDPM (Nichol and Dhariwal 2021) showed that learning the variance schedule and using fewer steps maintains quality while reducing computation. DPM-Solver++ (Lu et al. 2022) further improved sampling efficiency through high-order ODE solvers specifically designed for guided diffusion, enabling 15-20 step generation.

The architecture evolution moved from U-Net to Transformer backbones. Diffusion Models Beat GANs (Dhariwal and Nichol 2021) showed that architectural improvements (attention at multiple resolutions, adaptive group normalization) and classifier guidance enable diffusion models to surpass BigGAN on ImageNet. The EDM framework (Karras et al. 2022) unified the design space, reaching an FID of 1.79 on class-conditional CIFAR-10 (1.97 unconditional) through careful analysis of noise schedules, preconditioning, and sampling.

The Diffusion Transformer (DiT) (Peebles and Xie 2023) replaced U-Net with a Vision Transformer operating on latent patches, showing clean scaling laws: higher compute (GFLOPs) consistently yields lower FID. DiT-XL/2 achieved 2.27 FID on ImageNet 256×256, establishing transformers as viable diffusion backbones. U-ViT (Bao et al. 2023) showed that treating time, condition, and image patches uniformly as tokens with long skip connections achieves comparable results with simpler architecture.

Text-to-image synthesis scaled these techniques to billions of parameters and web-scale data. Latent Diffusion Models (LDM) (Rombach et al. 2022) moved diffusion to the latent space of a pretrained autoencoder, reducing computation by 4-16× while maintaining quality. GLIDE (Nichol et al. 2022) showed classifier-free guidance outperforms CLIP guidance for photorealism. Imagen (Saharia et al. 2022) showed that scaling the text encoder (T5-XXL) matters more than scaling the image model, and reported markedly better text-image alignment on DrawBench. DALL-E 2 (Ramesh et al. 2022) used a two-stage approach, a CLIP prior generating image embeddings followed by a diffusion decoder.

The Stable Diffusion family made text-to-image generation widely available through open weights. SDXL (Podell et al. 2023) scaled to 3× larger U-Net with dual text encoders, achieving quality competitive with closed-source models. PixArt-α\alpha (Chen et al. 2023) showed efficient training by decomposing into stages (pixel dependency, text alignment, aesthetics), requiring only 10.8% of Stable Diffusion's training compute. Stable Diffusion 3 (Esser et al. 2024) introduced the MM-DiT architecture with separate weights for image and text modalities and rectified flow formulation.

Video generation extended these techniques temporally. The mechanism is the same in all four papers below. A frame-wise image denoiser already exists and works, so the video model keeps it and inserts an operator that mixes information across frames at each spatial position. What separates the papers is where that operator sits, what is trainable, and how the model is stretched past its training window. Video Diffusion Models (Ho, Salimans, et al. 2022) added 3D attention for temporal coherence, training the whole stack jointly on a mixture of images and clips. Imagen Video (Ho, Chan, et al. 2022) used cascaded diffusion with spatial and temporal super-resolution, so temporal mixing is spread over seven separately trained models. Video LDM (Blattmann, Rombach, et al. 2023) inserted temporal layers into pretrained image LDMs and trained only those layers, freezing the spatial weights. Stable Video Diffusion (Blattmann, Dockhorn, et al. 2023) kept that recipe and moved the variable to the data, showing the importance of curation for video quality. AnimateDiff (Guo et al. 2024) pushed the separation furthest and showed motion modules can animate any personalized text-to-image model without retraining, which is the claim that motion and appearance are learned in disjoint parameter sets.

Flow matching (Lipman et al. 2023) provided an alternative training objective for continuous normalizing flows. Instead of learning a score function, flow matching directly regresses a velocity field that transports noise to data; the score ∇xlog⁡pt(x)\nabla_x \log p_t(x) is replaced by a learned velocity vθ(x,t)v_\theta(x, t) generating a probability path ptp_t interpolating between noise p0=𝒩(0,I)p_0 = \mathcal{N}(0, I) and data p1=pdatap_1 = p_{\text{data}}. The conditional flow matching (CFM) objective is: ℒCFM=𝔼t,x1,xt∥vθ(xt,t)−ut(xt|x1)∥2\begin{equation} \mathcal{L}{\text{CFM}} = \mathbb{E}{t, x_1, x_t} \|v_\theta(x_t, t) - u_t(x_t | x_1)\|^2 \end{equation} where ut(xt|x1)u_t(x_t | x_1) is the target velocity for the conditional path xt=(1−t)x0+tx1x_t = (1-t)x_0 + t x_1 (linear interpolation with OT paths). Compared to score matching, CFM yields straighter trajectories that require fewer integration steps at inference (typically 20-50 NFEs vs. 100-1000 for standard diffusion). The OT variant uses xt=(1−(1−σmin)t)x0+tx1x_t = (1-(1-\sigma_{\min})t)x_0 + tx_1, producing nearly straight paths that can be sampled with Euler integration in as few as 5 steps. Consistency models (Song et al. 2023) learn to directly map any noisy xtx_t to x0x_0 via a self-consistency constraint fθ(xt,t)=fθ(xt′,t′)f_\theta(x_t, t) = f_\theta(x_{t'}, t') for all t,t′t, t' on the same trajectory, enabling one-step generation.

Controllable generation became practical with ControlNet (Zhang et al. 2023), which adds spatial conditioning (edges, depth, pose) to pretrained models via trainable copies of encoder blocks connected with zero convolutions. InstructPix2Pix (Brooks et al. 2023) enabled instruction-based editing by training on synthetic edit pairs. Prompt-to-Prompt (Hertz et al. 2022) showed that manipulating cross-attention maps enables localized editing without retraining.

Sora (SORA 2024) carries the same separation into video at scale, keeping the DiT backbone and replacing image patches with spacetime patches. It generates minute-long clips with 3D consistency and object permanence that nobody wrote a prior for, which is the observation behind the world simulator phrasing. The phrasing is a claim about emergent behaviour under scale, not a demonstration that physics was learned, and OpenAI's own report lists the counterexamples: glass that shatters wrongly, a bitten cookie with no bite mark, hands with the wrong finger count. Section Sora takes those failures up in detail.

References

Balaji, Yogesh, Seungjun Nah, Xun Huang, et al. 2023. eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers. arXiv. https://doi.org/10.48550/arXiv.2211.01324.
Bao, Fan, Shen Nie, Kaiwen Xue, et al. 2023. All Are Worth Words: A ViT Backbone for Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2209.12152.
Betker, James, Gabriel Goh, Li Jing, et al. 2023. Improving Image Generation with Better Captions.
Blattmann, Andreas, Tim Dockhorn, Sumith Kulal, et al. 2023. Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets. arXiv. https://doi.org/10.48550/arXiv.2311.15127.
Blattmann, Andreas, Robin Rombach, Huan Ling, et al. 2023. Align Your Latents: High-Resolution Video Synthesis with Latent Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2304.08818.
Brock, Andrew, Jeff Donahue, and Karen Simonyan. 2019. "Large Scale GAN Training for High Fidelity Natural Image Synthesis." International Conference on Learning Representations, February. https://doi.org/10.48550/arXiv.1809.11096.
Brooks, Tim, Aleksander Holynski, and Alexei A. Efros. 2023. InstructPix2Pix: Learning to Follow Image Editing Instructions. arXiv. https://doi.org/10.48550/arXiv.2211.09800.
Chen, Junsong, Jincheng Yu, Chongjian Ge, et al. 2023. PixArt-$α$: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesis. arXiv. https://doi.org/10.48550/arXiv.2310.00426.
Dhariwal, Prafulla, and Alex Nichol. 2021. Diffusion Models Beat GANs on Image Synthesis. arXiv. https://doi.org/10.48550/arXiv.2105.05233.
Esser, Patrick, Sumith Kulal, Andreas Blattmann, et al. 2024. Scaling Rectified Flow Transformers for High-Resolution Image Synthesis. arXiv. https://doi.org/10.48550/arXiv.2403.03206.
Guo, Yuwei, Ceyuan Yang, Anyi Rao, et al. 2024. AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models Without Specific Tuning. arXiv. https://doi.org/10.48550/arXiv.2307.04725.
Hertz, Amir, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. 2022. Prompt-to-Prompt Image Editing with Cross Attention Control. arXiv. https://doi.org/10.48550/arXiv.2208.01626.
Ho, Jonathan, William Chan, Chitwan Saharia, et al. 2022. Imagen Video: High Definition Video Generation with Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2210.02303.
Ho, Jonathan, Ajay Jain, and Pieter Abbeel. 2020. "Denoising Diffusion Probabilistic Models." Advances in Neural Information Processing Systems, December. https://doi.org/10.48550/arXiv.2006.11239.
Ho, Jonathan, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J. Fleet. 2022. Video Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2204.03458.
Karras, Tero, Miika Aittala, Timo Aila, and Samuli Laine. 2022. Elucidating the Design Space of Diffusion-Based Generative Models. arXiv. https://doi.org/10.48550/arXiv.2206.00364.
Lipman, Yaron, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. 2023. Flow Matching for Generative Modeling. arXiv. https://doi.org/10.48550/arXiv.2210.02747.
Lu, Cheng, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, and Jun Zhu. 2022. "DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models." Machine Intelligence Research 22 (4): 730-51. https://doi.org/10.1007/s11633-025-1562-4.
Nichol, Alex, and Prafulla Dhariwal. 2021. Improved Denoising Diffusion Probabilistic Models. arXiv. https://doi.org/10.48550/arXiv.2102.09672.
Nichol, Alex, Prafulla Dhariwal, Aditya Ramesh, et al. 2022. GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2112.10741.
Peebles, William, and Saining Xie. 2023. Scalable Diffusion Models with Transformers. arXiv. https://doi.org/10.48550/arXiv.2212.09748.
Podell, Dustin, Zion English, Kyle Lacey, et al. 2023. SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis. arXiv. https://doi.org/10.48550/arXiv.2307.01952.
Ramesh, Aditya, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. 2022. Hierarchical Text-Conditional Image Generation with CLIP Latents. arXiv. https://doi.org/10.48550/arXiv.2204.06125.
Rombach, Robin, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-Resolution Image Synthesis with Latent Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2112.10752.
Saharia, Chitwan, William Chan, Saurabh Saxena, et al. 2022. Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding. arXiv. https://doi.org/10.48550/arXiv.2205.11487.
Song, Jiaming, Chenlin Meng, and Stefano Ermon. 2021. "Denoising Diffusion Implicit Models." International Conference on Learning Representations, October. https://doi.org/10.48550/arXiv.2010.02502.
Song, Yang, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. 2023. Consistency Models. arXiv. https://doi.org/10.48550/arXiv.2303.01469.
SORA: Video Generation Models as World Simulators. 2024. https://openai.com/index/video-generation-models-as-world-simulators/.
Zhang, Lvmin, Anyi Rao, and Maneesh Agrawala. 2023. Adding Conditional Control to Text-to-Image Diffusion Models. arXiv. https://doi.org/10.48550/arXiv.2302.05543.