Understanding Mode Collapse in Diffusion Models under Classifier-Free Guidance
Daniel Pfrommer, Chenyang Yuan, Frank Permenter, Ali Jadbabaie
Abstract
The use of classifier-free guidance in diffusion and flow models has proven critical to their empirical success, as it allows for the controllable generation of lower-temperature and higher-fidelity samples. Despite its widespread use, classifier-free guidance remains both empirically and theoretically poorly understood, owing to the difficulty of solving the associated transport equations for arbitrary normalizing flows. In this paper, we observe that the effects of classifier-free guidance arise from a mismatch between the representation capabilities of the conditional and unconditional distributions, wherein the conditional distribution exhibits higher complexity and fidelity. We propose an analytical model to capture this observation: the conditional distribution is a Gaussian mixture whose means lie on an ellipsoid, and the unconditional distribution is a single Gaussian approximating the mixture. The flows arising from this mixture are closed under scaling, enabling us to derive analytic closed-form solutions for the guided distribution at all noise scales and guidance levels. Our analytic solution shows that classifier-free guidance induces (a) a shift along a mean-axis direction and (b) a persistent skew toward, and concentration around, a singular point corresponding to the conditional sample starting from zero noise. We validate our theoretical predictions on pretrained, large-scale image diffusion models.
Create a lesson
Metadata
- Comments
- 39 pages, 20 figures
Related papers
DiffER^2: Diffusion Ensembles for Retrosynthesis Prediction with SMILES Adapted Particle Guidance
Shared title terminologycs.LGSean Current, Daniel Adu-Ampratwum, Xia Ning et al.
AlignPre: Skill-Aligned Post-Training for Latent-Free Generative Precipitation Nowcasting
Shared title terminologycs.LGDemin Yu, Kenghong Lin, Xutao Li
Kolpona: An Agentic Framework with Gradient-Free Neuron Programming for RTL Generation
Shared title terminologycs.LGMusa Tur Farazi, Md Nasir Uddin, Soumik Bhattacharjee et al.
FEAST: Fair and Efficient Adaptive Sampling for Task-Free On-Policy Learning
Shared title terminologycs.LGYongxi Zhu, Ziyi Wang, Yichen Wu et al.
Understanding Failure Patterns in LLM-Based Mathematical Optimization Modeling
Shared title terminologycs.LGRyoichi Takase, Xian Yeow Lee, Hikaru Tomonari et al.
Understanding Clipping In Zeroth-Order Optimization
Shared title terminologycs.LGSaket Gollapudi, Elisa Bertino, Sewoong Oh