mlsanityData to 14 Oct 2026

Rectified Diffusion Guidance for Conditional Generation

arXiv 2410.18737 ↗First posted 24 Oct 2024cs.CVcited by 18

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Classifier-Free Guidance (CFG), which combines the conditional and unconditional score functions with two coefficients summing to one, serves as a practical technique for diffusion model sampling. Theoretically, however, denoising with CFG textitcannot be expressed as a reciprocal diffusion process, which may consequently leave some hidden risks during use. In this work, we revisit the theory behind CFG and rigorously confirm that the improper configuration of the combination coefficients (textiti.e., the widely used summing-to-one version) brings about expectation shift of the generative distribution. To rectify this issue, we propose ReCFG with a relaxation on the guidance coefficients such that denoising with method strictly aligns with the diffusion theory. We further show that our approach enjoys a textbftextitclosed-form solution given the guidance strength. That way, the rectified coefficients can be readily pre-computed via traversing the observed data, leaving the sampling speed barely affected. Empirical evidence on real-world data demonstrate the compatibility of our post-hoc design with existing state-of-the-art diffusion models, including both class-conditioned ones (textite.g., EDM2 on ImageNet) and text-conditioned ones (textite.g., SD3 on CC12M), without any retraining. Code is available at hrefhttps://github.com/thuxmf/recfghttps://github.com/thuxmf/recfg.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 28 of its 31 references that are in the map. First posted on arXiv 24 Oct 2024.

Builds on

28 of 31 references.

Closest ancestors · 17

Same direction, newest first

  1. 2024What does guidance do? A fine-grained analysis in a simple setting19 Sep
  2. 2024Classifier-Free Guidance is a Predictor-Corrector16 Aug
  3. 2024Guiding a Diffusion Model with a Bad Version of Itself4 Jun
  4. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesis5 Mar
  5. 2023Analyzing and Improving the Training Dynamics of Diffusion Models5 Dec
  6. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis4 Jul
  7. 2023Common Diffusion Noise Schedules and Sample Steps are Flawed15 May
  8. 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMC22 Feb
  9. 2022Scalable Diffusion Models with Transformers19 Dec
  10. 2022Classifier-Free Diffusion Guidance26 Jul
  11. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  12. 2021ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models6 Aug
5 more
  1. 2021Variational Diffusion Models1 Jul
  2. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
  4. 2020Denoising Diffusion Implicit Models6 Oct
  5. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 11

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  4. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
  5. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  6. 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,216
  7. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
  8. 2023Composer: Creative and Controllable Image Synthesis with Composable Conditionscited by 304
  9. 2021Projected GANs Converge Fastercited by 208
  10. 2023Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion modelscited by 205
  11. 2024Learning Multi-dimensional Human Preference for Text-to-Image Generationcited by 106

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 10; 2026: 8.

18 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim Impact
  2. 2025Conditional Diffusion Models with Classifier-Free Gibbs-like Guidance
  3. 2025CFG-OEC: Classifier Free Guidance with Orthogonal Error Correction
  4. 2023Bridging the Gap: Addressing Discrepancies in Diffusion Model Training for Classifier-Free Guidance
  5. 2025Diffusion Sampling Path Tells More: An Efficient Plug-and-Play Strategy for Sample Filtering
  6. 2024No Training, No Problem: Rethinking Classifier-Free Guidance for Diffusion Models
  7. 2026C2FG: Control Classifier-Free Guidance via Score Discrepancy Analysis
  8. 2025Unconditional Priors Matter! Improving Conditional Generation of Fine-Tuned Diffusion Models