paper-with-me

Papers

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

2024-06-12 · Hyungjin Chung, Jeongsol Kim, Geon Yeong Park, Hyelin Nam, Jong Chul Ye

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/.

📄 PDF Abstract BibTeX arXiv:2406.08070

Code (1)

vision-xl/codes pytorch

Tasks

Image Generationtext-guided-generationText to Image GenerationText-to-Image Generation

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Not All Prediction Targets Keep Training-Free Diffusion Guidance on the Manifold

2026-07-01 · Yunsung Lee, Hyeongmin Lee arxiv

Training-free guidance (TFG) steers a pretrained diffusion model toward a desired attribute at inference. To be effective, this guidance must be applied from the earliest, high-noise steps of sampling. Because its object…

Style Transfer

Manifold-Optimal Guidance: A Unified Riemannian Control View of Diffusion Guidance

2026-03-12 · Zexi Jia, Pengcheng Luo, Zhengyao Fang, Jinchao Zhang 외 arxiv

Classifier-Free Guidance (CFG) serves as the de facto control mechanism for conditional diffusion, yet high guidance scales notoriously induce oversaturation, texture artifacts, and structural collapse. We attribute this…

Improving Classifier-Free Guidance of Flow Matching via Manifold Projection

2026-01-29 · Jian-Feng Cai, Haixia Liu, Zhengyi Su, Chao Wang arxiv

Classifier-free guidance (CFG) is a widely used technique for controllable generation in diffusion and flow-based models. Despite its empirical success, CFG relies on a heuristic linear extrapolation that is often sensit…

Computational Efficiency

Saddle-Free Guidance: Improved On-Manifold Sampling without Labels or Additional Training

2025-11-26 · Eric Yeats, Darryl Hannan, Wilson Fearn, Timothy Doster 외 arxiv

Score-based generative models require guidance in order to generate plausible, on-manifold samples. The most popular guidance method, Classifier-Free Guidance (CFG), is only applicable in settings with labeled data and r…

Be Tangential to Manifold: Discovering Riemannian Metric for Diffusion Models

2025-10-07 · Shinnosuke Saito, Takashi Matsubara arxiv

Diffusion models are powerful deep generative models, but unlike classical models, they lack an explicit low-dimensional latent space that parameterizes the data manifold. This absence makes it difficult to perform manif…