[KongchangAI]
ConceptClassifier-Free Guidance / CFG

Classifier-Free Guidance

A conditional generation technique used in diffusion models that strengthens conditional control without requiring a separate classifier network. During training, conditioning information is randomly dropped; during inference, the model blends conditional and unconditional predictions to steer generation toward the desired condition.

Core Facts

Timeline (last 90 days)

Nov 26

The singular point corresponds to the conditional sample starting from zero noise, and as guidance strength increases the distribution mass concentrates exponentially toward this point, suppressing other modes and directly causing mode collapse.

Unverified50%
Nov 26

Mode collapse manifests as a sharp drop in the diversity of generated samples as guidance strength increases, gradually converging to a few or even a single mode.

Unverified50%
Nov 26

The flow induced by this Gaussian mixture distribution is closed under scaling transformations, enabling the authors to derive an analytical closed-form solution for the guided distribution at all noise scales and guidance strengths, which is the first exact analytical expression for CFG.

Unverified50%
Nov 26

The analytical solution shows that the effect of CFG can be decomposed into two parts: a shift along the direction of the mean axis and a persistent bias toward and concentration at a singular point.

Unverified50%
Nov 26

Theoretical understanding of CFG lags behind practice, and the core difficulty is that solving the transport equation for arbitrary normalizing flows is extremely difficult, making the effects of CFG hard to characterize in analytical form.

Unverified50%
Oct 16

Classifier-Free Guidance (CFG) is one of the most mainstream guidance techniques in diffusion models and flow matching models, discarding conditions with a certain probability during training and, during sampling, subtracting the unconditional prediction from the conditional one via a formula and amplifying the guidance strength.

Verified75%
Oct 14

Classifier-free guidance (CFG) originally came from diffusion generative models; the approach is to compute both conditional and unconditional predictions during sampling, then use a weight w to amplify the difference between them, with the formula ε = ε_uncond + w·(ε_cond − ε_uncond).

Unverified70%
Oct 12

Guided diffusion applies gradients at each step of the reverse denoising process; common guidance approaches include classifier guidance and classifier-free guidance.

Unverified50%

All Facts (8)

Verified

Classifier-Free Guidance (CFG) is one of the most mainstream guidance techniques in diffusion models and flow matching models, discarding conditions with a certain probability during training and, during sampling, subtracting the unconditional prediction from the conditional one via a formula and amplifying the guidance strength.

75%
Unverified

Classifier-free guidance (CFG) originally came from diffusion generative models; the approach is to compute both conditional and unconditional predictions during sampling, then use a weight w to amplify the difference between them, with the formula ε = ε_uncond + w·(ε_cond − ε_uncond).

70%
Unverified

Mode collapse manifests as a sharp drop in the diversity of generated samples as guidance strength increases, gradually converging to a few or even a single mode.

50%
Unverified

The flow induced by this Gaussian mixture distribution is closed under scaling transformations, enabling the authors to derive an analytical closed-form solution for the guided distribution at all noise scales and guidance strengths, which is the first exact analytical expression for CFG.

50%
Unverified

The analytical solution shows that the effect of CFG can be decomposed into two parts: a shift along the direction of the mean axis and a persistent bias toward and concentration at a singular point.

50%
Unverified

The singular point corresponds to the conditional sample starting from zero noise, and as guidance strength increases the distribution mass concentrates exponentially toward this point, suppressing other modes and directly causing mode collapse.

50%
Unverified

Theoretical understanding of CFG lags behind practice, and the core difficulty is that solving the transport equation for arbitrary normalizing flows is extremely difficult, making the effects of CFG hard to characterize in analytical form.

50%
Unverified

Guided diffusion applies gradients at each step of the reverse denoising process; common guidance approaches include classifier guidance and classifier-free guidance.

50%

Source Articles