🤖 AI Summary
The mechanistic role of classifier-free guidance (CFG) in conditional generation remains poorly understood, hindering principled improvements. Method: This work introduces a classifier-centric unified analytical framework, revealing that both classifier guidance and CFG fundamentally steer denoising trajectories away from classification decision boundaries to enforce conditional control. Leveraging this insight, the authors propose the first flow-matching-based general post-processing method to calibrate pre-trained diffusion models’ generation bias near decision boundaries—without model fine-tuning or training modifications. Contribution/Results: Extensive experiments across multiple image datasets demonstrate that the method significantly enhances class-discriminative robustness and detail fidelity of generated samples. It establishes a novel paradigm for interpreting and improving CFG, offering both theoretical insight and a practical, plug-and-play tool for enhancing conditional generation quality.
📝 Abstract
Classifier-free guidance has become a staple for conditional generation with denoising diffusion models. However, a comprehensive understanding of classifier-free guidance is still missing. In this work, we carry out an empirical study to provide a fresh perspective on classifier-free guidance. Concretely, instead of solely focusing on classifier-free guidance, we trace back to the root, i.e., classifier guidance, pinpoint the key assumption for the derivation, and conduct a systematic study to understand the role of the classifier. We find that both classifier guidance and classifier-free guidance achieve conditional generation by pushing the denoising diffusion trajectories away from decision boundaries, i.e., areas where conditional information is usually entangled and is hard to learn. Based on this classifier-centric understanding, we propose a generic postprocessing step built upon flow-matching to shrink the gap between the learned distribution for a pre-trained denoising diffusion model and the real data distribution, majorly around the decision boundaries. Experiments on various datasets verify the effectiveness of the proposed approach.