Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim Impact
Kevin Rojas, Ye He, Chieh-Hsin Lai, Yuhta Takida, Yuki Mitsufuji, Molei Tao
摘要
Classifier-Free Guidance (CFG) is a widely used technique for conditional generation and improving sample quality in continuous diffusion models, and its extensions to discrete diffusion has recently started to be investigated. In order to improve the algorithms in a principled way, this paper starts by analyzing the exact effect of CFG in the context of a low-dimensional masked diffusion model, with a special emphasis on the guidance schedule. Our analysis shows that high guidance early in sampling (when inputs are heavily masked) harms generation quality, while late-stage guidance improves it. These findings provide a theoretical explanation for empirical observations in recent studies on guidance schedules. The analysis also reveals an imperfection of the current CFG implementations. These implementations can unintentionally cause imbalanced transitions, such as unmasking too rapidly during the early stages of generation, which degrades the quality of the resulting samples. To address this, we draw insight from the analysis and propose a novel classifier-free guidance mechanism. Intuitively, our method smooths the transport between the data distribution and the initial (masked) distribution, resulting in improved sample quality. Remarkably, our method is achievable via a simple one-line code change. Experiments on conditional image and text generation empirically confirm the efficacy of our method. Figure 1 : We proposed an improved guidance mechanism through column normalization. Our method produces sharper images while being more stable to the guidance strength. Notably, it requires only a minor code modification.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Large Language Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- Large Language Diffusion Models 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization 引用了 Large Language Diffusion Models
- Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization 引用了 Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control 引用了 Large Language Diffusion Models
- MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control 引用了 Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization
- MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control 引用了 Denoising Diffusion Probabilistic Models
- MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control 引用了 Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Score-Based Generative Modeling through Stochastic Differential Equations 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper2
它引用的 Paper21
- 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 次引用
- Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari 等ICML 2024 · 3,620 次引用
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar 等ICLR 2021 · 1,270 次引用
- Large Language Diffusion ModelsShen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang 等NeurIPS 2025 · 949 次引用
相关 Paper
- Stage-wise Dynamics of Classifier-Free Guidance in Diffusion ModelsCheng Jin, Qitan Shi, Yuantao GuICLR 2026 · 13 次引用
- Inner Classifier-Free Guidance and Its Taylor Expansion for Diffusion ModelsShikun Sun, Longhui Wei, Zhicai Wang, Zixuan Wang 等ICLR 2024 · 2 次引用
- No Training, No Problem: Rethinking Classifier-Free Guidance for Diffusion ModelsSeyedmorteza Sadat, Manuel Kansy, Otmar Hilliges, Romann M. WeberICLR 2025
- Overshoot and Shrinkage in Classifier-Free Guidance: From Theory to PracticeKrunoslav Lehman Pavasovic, Jakob Verbeek, Giulio Biroli, Marc MezardICLR 2026
- Guiding a Diffusion Model by Swapping Its TokensWeijia Zhang, Yuehao Liu, Shanyan Guan, Wu Ran 等CVPR 2026 · 2 次引用
