Introduction
Diffusion models, such as Denoising Diffusion Probabilistic Models (DDPM), have revolutionized image synthesis by iteratively refining random noise into coherent images. In conditional generation, where the goal is to produce images belonging to specific categories, researchers typically employ "noise-aware classifiers." These classifiers provide gradients that guide the denoising process toward a target class. However, a critical bottleneck often limits the quality of these generated images: the "vanishing gradient" problem.
The Vanishing Gradient Problem
This paper identifies a fundamental flaw in traditional classifier-guided diffusion: classifiers are often too efficient. Early in the denoising process, when only rough, high-level structures are visible, a classifier can quickly identify the correct class with near-certainty. Once the classifier becomes "overconfident"—predicting a one-hot probability distribution—its gradient vanishes to zero.
As shown in the figure above, when the gradient vanishes, the model stops receiving class-specific guidance for the remaining denoising steps. This causes the generation to "collapse" into an unconditional process. While the resulting images may have the correct general shape, they often lack the fine-grained, class-specific textures—such as the intricate patterns on a bird's beak or a flower's petals—that define high-fidelity synthesis.
Proposed Methods: EDS and ECT
To maintain guidance throughout the entire generation process, the authors introduce two entropy-based solutions that bridge the gap between high-level identification and fine-grained generation.
1. Entropy-Driven Conditional Sampling (EDS)
EDS is an inference-stage technique that adaptively rescales the classifier gradient based on its prediction entropy. High entropy indicates classifier uncertainty, while low entropy signals overconfidence. By monitoring entropy in real-time, EDS increases the scaling factor as entropy drops, effectively "recovering" the semantic guidance that would otherwise vanish. Because diffusion is a stochastic process, every image follows a unique trajectory; EDS is sample-aware, reacting to the specific needs of each image as it forms.
2. Entropy-Constraint Training (ECT)
Complementing EDS, ECT modifies the classifier's training objective. In addition to standard cross-entropy loss, the authors add a term that penalizes the classifier for being overly confident on noisy images. By forcing the classifier to maintain higher entropy (a more uniform distribution) when dealing with noise, the model is constrained to provide gentler, more persistent guidance during the subsequent generation phase.
Key Results and Insights
The proposed schemes were benchmarked on the challenging ImageNet-1000 dataset at 256×256 resolution. The results demonstrate significant quantitative and qualitative improvements:
- FID Improvements: The methods improved the Fréchet Inception Distance (FID) by 10.89% (from 4.59 to 4.09) for conditional models and a substantial 43.5% (from 12.0 to 6.78) for unconditional models using guidance.
- Competitive Performance: The entropy-driven unconditional architecture outperformed BigGAN-deep, marking a significant milestone for diffusion-based guidance methods.
- Visual Fidelity: Qualitative analysis reveals much sharper and more accurate class-specific details. Textures that were previously blurred or generic, such as "junco" bird feathers or "daisy" petals, are rendered with high precision.
Conclusion
By identifying entropy as a metric for "guidance health," this research provides a mathematically grounded way to prevent gradient collapse in conditional diffusion models. While the method introduces some complexity through classifier dependence and hyperparameter tuning, the resulting gains in image fidelity and structural accuracy set a new standard for guided generative modeling. Future work may extend these entropy-driven concepts to other modalities, such as text-to-image generation, to address similar guidance collapse issues.
Summary updated