TL;DR
Classifier-Free Guidance (CFG) is the secret sauce behind modern diffusion models, but its rigid, constant guidance scale destroys sample diversity and causes over-saturation. This paper introduces FeedBack Guidance (FBG), a principled framework that dynamically self-regulates the guidance scale during inference based on prompt complexity and the current trajectory's needs. By treating guidance as a closed-loop control problem, FBG significantly improves the quality-diversity trade-off without requiring any model retraining.
What Problem Does This Paper Address?
Conditional diffusion models rely heavily on guidance mechanisms (like CFG) to ensure generated images align tightly with text prompts or class labels. However, standard CFG applies a fixed global hyperparameter—the guidance scale—across the entire generation process, regardless of whether a specific image actually needs correction.
This "one-size-fits-all" approach has major downsides. It over-saturates simple or memorized prompts, reduces sample diversity, and can cause the model to hallucinate artifacts. While recent works have introduced time-varying schedules (like turning guidance off at the end of a trajectory), these methods are still "open-loop"—they cannot adapt to the actual state of the specific image being generated in real time.
Methods
The authors re-derive diffusion guidance from first principles by changing the underlying error assumption. While CFG implicitly assumes that the learned conditional distribution is a multiplicative mixture of the true conditional and unconditional distributions, FBG assumes an additive mixture (i.e., the conditional signal is linearly corrupted by unconditional data).
This mathematical shift allows the authors to formulate guidance as a closed-loop control system. FBG estimates the "quality" or class alignment of the current generation at each step by tracking the posterior likelihood along the diffusion Markov chain.
If a trajectory drifts away from the target condition, the feedback loop automatically cranks up the guidance scale to pull it back on track. Conversely, if the sample is already well-aligned, the guidance drops to near-one to preserve natural textures and diversity.
To make this practical, the authors:
- Introduce a linear bias term ($-\delta$) to prevent the model from being overly confident in its own predictions (self-reference bias).
- Reparameterize abstract hyperparameters into intuitive time-based parameters ($t_0$ and $t_1$) representing when guidance should peak and fade.
Datasets
The approach was validated using several datasets:
- ImageNet ($512\times512$): Used with the EDM2-XS architecture for class-conditional image generation benchmarks.
- MS-COCO: A standard benchmark of 3,000 prompts used with Stable Diffusion v2 for text-to-image (T2I) evaluation.
- New Prompt Dataset: The authors introduced a curated dataset of 60 prompts explicitly categorized into four difficulty levels: memorized (famous artworks/logos), basic, intermediate (highly unlikely combinations), and hard (highly detailed descriptions). This benchmark specifically evaluates how well the guidance scale adapts to prompt complexity.
Key Insights and Ideas
- Guidance is a Dynamic State, Not a Constant: Instead of treating guidance as a fixed hyperparameter, it should be treated as a state-dependent variable that responds to the generation's real-time needs.
- The Commutativity Fix: Mathematically, CFG's multiplicative assumption fails at high noise levels because multiplication and convolution do not commute. FBG's additive assumption fixes this, meaning the generated samples actually follow the predefined forward diffusion process.
- Prompt & Trajectory Specificity: FBG exhibits two beautiful properties. It automatically applies stronger guidance for complex prompts than for simple/memorized ones (prompt specificity). Furthermore, even for the same prompt, it applies different guidance scales depending on whether a specific random trajectory happens to be on track or drifting (trajectory specificity).
Key Results
- ImageNet Performance: FBG significantly outperformed standard CFG. Using a stochastic sampler, FBG achieved a Frechet Inception Distance (FID) of 3.76 and an $\text{FD}_{\text{DinoV2}}$ of 89.0 (compared to CFG's 5.00 and 100.2). It also proved highly competitive with Limited Interval Guidance (LIG).
- Better Quality-Diversity Balance: Precision-Recall curves show that FBG achieves CFG-like recall (diversity) but with substantially higher precision (fidelity), striking a superior overall balance.
- Text-to-Image Improvements: On MS-COCO with Stable Diffusion v2, FBG pure and its hybrid variant ($\text{FBG}_{\text{CFG}}$) outperformed CFG, LinCFG, and LIG across FID, $\text{FD}_{\text{DinoV2}}$, and Aesthetic Scores (achieving an Aesthetic Score of 5.75 vs CFG's 5.65).
- Qualitative Defeating of Artifacts: For simple or memorized prompts, FBG successfully avoids the over-saturated colors and unnaturally smooth textures typical of high-scale CFG by deactivating guidance when the conditional prediction is already accurate.
Limitations and Future Work
- Simplified Error Model: The additive mixture model was chosen for mathematical simplicity, but it may not perfectly capture the complex, non-linear systematic biases present in real-world trained models.
- Scale of Evaluation: The current evaluation is restricted to smaller models (EDM2-XS and Stable Diffusion v2). Future work needs to validate FBG on larger architectures like EDM2-L or Diffusion Transformers (DiT), and on massive text-to-image datasets like LAION5B.
Summary updated