A Geometric Analysis of Density and Amplitude Coupling in Classifier-Free Guidance
Classifier-Free Guidance (CFG) is an essential tool for conditional generation with diffusion and flow-matching models, but at the high guidance scales where prompt alignment is strongest, it has two side effects. First, it changes the density of the samples, i.e., their likelihood under the model, and with it their level of detail, so that density controls can no longer set the detail independently of guidance. Second, it oversaturates the image. We show that guidance directly changes the density only through its component along the conditional score and, as previously observed, oversaturates the image through its component along the clean-image estimate, which increases the amplitude of that estimate. Existing methods correct at most one of these components, and since the two directions are not orthogonal, correcting one after the other partly undoes the first. We therefore project the update orthogonally to both at once, which yields Density-Decoupled CFG ($\text{D}^2$-CFG), in which the guidance scale controls prompt alignment without directly changing the density, and a separate quantile parameter controls the sample density. We prove that the decoupling is exact for…
- arXiv
- 2612.05170
- Authors
- Nicolas Zilberstetin, Kuldeep Purohit, Mojtaba Sahraee-Ardakan, Yuyang Hu, Hossein Talebi and 2 more
- Categories
- cs.CV