Classifier-Free Diffusion Guidance
Jonathan Ho, Tim Salimans

TL;DR
This paper introduces classifier-free guidance, a method that enables conditional diffusion models to trade off sample diversity and quality without needing a separate classifier, by jointly training conditional and unconditional models.
Contribution
The paper proposes a novel classifier-free guidance technique that removes the need for a separate classifier in conditional diffusion models, simplifying the training process.
Findings
Achieves comparable trade-offs between sample quality and diversity as classifier guidance.
Eliminates the need for training an external classifier.
Demonstrates effective joint training of conditional and unconditional diffusion models.
Abstract
Classifier guidance is a recently introduced method to trade off mode coverage and sample fidelity in conditional diffusion models post training, in the same spirit as low temperature sampling or truncation in other types of generative models. Classifier guidance combines the score estimate of a diffusion model with the gradient of an image classifier and thereby requires training an image classifier separate from the diffusion model. It also raises the question of whether guidance can be performed without a classifier. We show that guidance can be indeed performed by a pure generative model without such a classifier: in what we call classifier-free guidance, we jointly train a conditional and an unconditional diffusion model, and we combine the resulting conditional and unconditional score estimates to attain a trade-off between sample quality and diversity similar to that obtained…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗stable-diffusion-v1-5/stable-diffusion-v1-5model· 1.7M dl· ♡ 10661.7M dl♡ 1066
- 🤗CompVis/stable-diffusion-v1-4model· 468k dl· ♡ 6991468k dl♡ 6991
- 🤗CompVis/stable-diffusion-v-1-4-originalmodel· ♡ 2843♡ 2843
- 🤗CompVis/stable-diffusion-v-1-1-originalmodel· ♡ 19♡ 19
- 🤗CompVis/stable-diffusion-v-1-2-originalmodel· ♡ 14♡ 14
- 🤗CompVis/stable-diffusion-v-1-3-originalmodel· 24 dl· ♡ 1924 dl♡ 19
- 🤗CompVis/stable-diffusionmodel· ♡ 967♡ 967
- 🤗CompVis/stable-diffusion-v1-3model· 50 dl· ♡ 3950 dl♡ 39
- 🤗CompVis/stable-diffusion-v1-1model· 1.5k dl· ♡ 811.5k dl♡ 81
- 🤗CompVis/stable-diffusion-v1-2model· 61 dl· ♡ 4061 dl♡ 40
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Generative Adversarial Networks and Image Synthesis
MethodsDiffusion
