Lune

ICLR2025Top-tier venue

CFG++: Manifold-constrained Classifier Free Guidance for Diffusion Models

Hyungjin Chung, Jeongsol Kim, Geon Yeong Park, Hyelin Nam, Jong Chul Ye

Abstract

Classifier-free guidance (CFG) is a fundamental tool in modern diffusion models for text-guided generation. Although effective, CFG has notable drawbacks. For instance, DDIM with CFG lacks invertibility, complicating image editing; furthermore, high guidance scales, essential for high-quality outputs, frequently result in issues like mode collapse. Contrary to the widespread belief that these are inherent limitations of diffusion models, this paper reveals that the problems actually stem from the off-manifold phenomenon associated with CFG, rather than the diffusion models themselves. More specifically, inspired by the recent advancements of diffusion model-based inverse problem solvers (DIS), we reformulate text-guidance as an inverse problem with a text-conditioned score matching loss and develop CFG++, a novel approach that tackles the off-manifold challenges inherent in traditional CFG. CFG++ features a surprisingly simple fix to CFG, yet it offers significant improvements, including better sample quality for text-to-image generation, invertibility, smaller guidance scales, reduced mode collapse, etc. Furthermore, CFG++ enables seamless interpolation between unconditional and conditional sampling at lower guidance scales, consistently outperforming traditional CFG at all scales. Moreover, CFG++ can be easily integrated into high-order diffusion solvers and naturally extends to distilled diffusion models. Experimental results confirm that our method significantly enhances performance in text-to-image generation, DDIM inversion, editing, and solving inverse problems, suggesting a wide-ranging impact and potential applications in various fields that utilize text guidance. Project Page: https://cfgpp-diffusion.github.io/.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

70 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • A Noise is Worth Diffusion Guidance cites High-Resolution Image Synthesis with Latent Diffusion Models
  • A Noise is Worth Diffusion Guidance cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • A Noise is Worth Diffusion Guidance cites Denoising Diffusion Probabilistic Models
  • A Noise is Worth Diffusion Guidance cites Denoising Diffusion Implicit Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Diffusion Models Beat GANs on Image Synthesis
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Denoising Diffusion Probabilistic Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Denoising Diffusion Implicit Models
  • Aligning Text to Image in Diffusion Models is Easier Than You Think cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Aligning Text to Image in Diffusion Models is Easier Than You Think cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • Aligning Text to Image in Diffusion Models is Easier Than You Think cites Denoising Diffusion Implicit Models
  • Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models cites Taming Preference Mode Collapse via Directional Decoupling Alignment in Diffusion Reinforcement Learning
  • Taming Preference Mode Collapse via Directional Decoupling Alignment in Diffusion Reinforcement Learning cites Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models
  • Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models cites Denoising Diffusion Implicit Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • Taming Preference Mode Collapse via Directional Decoupling Alignment in Diffusion Reinforcement Learning cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Taming Preference Mode Collapse via Directional Decoupling Alignment in Diffusion Reinforcement Learning cites Denoising Diffusion Probabilistic Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Rectified CFG++ for Flow Based Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Rectified CFG++ for Flow Based Models cites Diffusion Models Beat GANs on Image Synthesis
  • Rectified CFG++ for Flow Based Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers70

  1. A Noise is Worth Diffusion GuidanceDonghoon Ahn, Jiwon Kang, Sanghyun Lee, Jaewon Min et al.ICLR 2026 · 44 citations
  2. Stochastic Self-Guidance for Training-Free Enhancement of Diffusion ModelsChubin Chen, Jiashu Zhu, Xiaokun Feng, Nisha Huang et al.ICLR 2026 · 44 citations
  3. Taming Preference Mode Collapse via Directional Decoupling Alignment in Diffusion Reinforcement LearningChubin Chen, Sujie Hu, Jiashu Zhu, Meiqi Wu et al.CVPR 2026 · 28 citations
  4. Aligning Text to Image in Diffusion Models is Easier Than You ThinkJaa-Yeon Lee, Byunghee Cha, Jeongsol Kim, Jong Chul YeNeurIPS 2025 · 23 citations
  5. Rectified CFG++ for Flow Based ModelsShreshth Saini, Shashank Gupta, Alan BovikNeurIPS 2025 · 20 citations

Builds on24

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations

Related papers

  1. Factored Classifier-Free GuidanceTian Xia, Fabio De Sousa Ribeiro, Rajat Rasal, Avinash Kori et al.ICML 2026
  2. Rectified Diffusion Guidance for Conditional GenerationMengfei Xia, Nan Xue, Yujun Shen, Ran Yi et al.CVPR 2025
  3. Improving Classifier-Free Guidance of Flow Matching via Manifold ProjectionJian-Feng Cai, Haixia Liu, Zhengyi Su, Chao WangICML 2026
  4. Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim ImpactKevin Rojas, Ye He, Chieh-Hsin Lai, Yuhta Takida et al.ICLR 2026 · 11 citations
  5. TCFG: Tangential Damping Classifier-free GuidanceMingi Kwon, Shin seong Kim, Jaeseok Jeong, Yi Ting Hsiao et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines