Rethinking the Spatial Inconsistency in Classifier-Free Diffusion Guidance
Dazhong Shen, Guanglu Song, Zeyue Xue, Fu-Yun Wang, Yu Liu
摘要
Classifier-Free Guidance (CFG) has been widely used in text-to-image diffusion models, where the CFG scale is introduced to control the strength of text guidance on the whole image space. However, we argue that a global CFG scale results in spatial inconsistency on varying semantic strengths and suboptimal image quality. To address this problem, we present a novel approach, Semantic-aware Classifier-Free Guidance (S-CFG), to customize the guidance degrees for different semantic units in text-to-image diffusion models. Specifically, we first design a training-free semantic segmentation method to partition the latent image into relatively independent semantic regions at each denoising step. In particular, the cross-attention map in the denoising U-net backbone is renormalized for assigning each patch to the corresponding token, while the self-attention map is used to complete the semantic regions. Then, to balance the amplification of diverse semantic units, we adaptively adjust the CFG scales across different semantic regions to rescale the text guidance degrees into a uniform level. Finally, extensive experiments demonstrate the superiority of S-CFG over the original CFG strategy on various text-to-image diffusion models, without requiring any extra training cost. our codes are available at https://github.com/SmilesDZgk/S-CFG.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Implicit Models
- Learn to Guide Your Diffusion Model 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Learn to Guide Your Diffusion Model 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learn to Guide Your Diffusion Model 引用了 Denoising Diffusion Probabilistic Models
- Learn to Guide Your Diffusion Model 引用了 Denoising Diffusion Implicit Models
- Learn to Guide Your Diffusion Model 引用了 Feedback Guidance of Diffusion Models
- Learn to Guide Your Diffusion Model 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Phased Consistency Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Phased Consistency Models 引用了 Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models
- Phased Consistency Models 引用了 CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching
- Phased Consistency Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Phased Consistency Models 引用了 Denoising Diffusion Implicit Models
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models 引用了 CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching
- CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching 引用了 Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching 引用了 Learning Transferable Visual Models From Natural Language Supervision
- CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching 引用了 Denoising Diffusion Probabilistic Models
- CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Denoising Diffusion Implicit Models 引用了 Denoising Diffusion Probabilistic Models
- Feedback Guidance of Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Feedback Guidance of Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- Feedback Guidance of Diffusion Models 引用了 Denoising Diffusion Implicit Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Denoising Diffusion Implicit Models
引用它的顶会 Paper25
- Phased Consistency ModelsFu-Yun Wang, Zhaoyang Huang, Alexander William Bergman, Dazhong Shen 等NeurIPS 2024 · 86 次引用
- CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept MatchingDongzhi Jiang, Guanglu Song, Xiaoshi Wu, Renrui Zhang 等NeurIPS 2024 · 75 次引用
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion ModelsBingqi Ma, Zhuofan Zong, Guanglu Song, Hongsheng Li 等NeurIPS 2024 · 57 次引用
- Feedback Guidance of Diffusion ModelsFelix Koulischer, Florian Handke, Johannes Deleu, Thomas Demeester 等NeurIPS 2025 · 16 次引用
- Learn to Guide Your Diffusion ModelAlexandre Galashov, Ashwini Pokle, Arnaud Doucet, Arthur Gretton 等ICLR 2026 · 12 次引用
它引用的 Paper25
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 次引用
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li 等NeurIPS 2022 · 8,965 次引用
相关 Paper
- Steering Guidance for Personalized Text-to-Image Diffusion ModelsSunghyun Park, Seokeon Choi, Hyoungwoo Park, Sungrack YunICCV 2025 · 2 次引用
- Guiding Diffusion Models with Semantically Degraded ConditionsShilong Han, Yuming Zhang, Hongxia WangCVPR 2026 · 1 次引用
- Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim ImpactKevin Rojas, Ye He, Chieh-Hsin Lai, Yuhta Takida 等ICLR 2026 · 11 次引用
- Guiding a Diffusion Model by Swapping Its TokensWeijia Zhang, Yuehao Liu, Shanyan Guan, Wu Ran 等CVPR 2026 · 2 次引用
- Stochastic Self-Guidance for Training-Free Enhancement of Diffusion ModelsChubin Chen, Jiashu Zhu, Xiaokun Feng, Nisha Huang 等ICLR 2026 · 44 次引用
