Feedback Guidance of Diffusion Models

Felix Koulischer, Florian Handke, Johannes Deleu, Thomas Demeester, Luca Ambrogioni

Abstract

Standard diffusion models typically utilize a fixed guidance scale during inference, a practice that often compromises image diversity and leads to artifacts such as oversaturation. This paper introduces FeedBack Guidance (FBG), a novel framework that reformulates guidance as a dynamic, closed-loop control system. By interpreting guidance through an additive error model, FBG automatically adjusts the guidance scale at each diffusion step based on the current state of the generation and the complexity of the prompt. Experimental results on ImageNet and MS-COCO demonstrate that FBG achieves a superior balance between image fidelity and sample diversity, outperforming traditional Classifier-Free Guidance (CFG).

Introduction

In generative modeling, Classifier-Free Guidance (CFG) is widely employed to align generated images with text prompts. However, CFG operates as an "open-loop" controller, applying a constant correction factor regardless of the model's internal state or the prompt's difficulty. This rigid approach frequently results in a significant loss of diversity, as the model is forced toward a limited set of high-probability modes. Furthermore, for well-learned or simple prompts, excessive guidance can introduce unwanted artifacts and "deep-fried" textures.

To address these limitations, we propose moving from static hyperparameters to a state-dependent guidance system. FBG intervenes only when necessary, preserving the model's natural generative capacity while ensuring strict adherence to complex conditional constraints.

Methods

The fundamental innovation of FBG lies in its theoretical shift from a multiplicative error assumption to an additive error model. While CFG implicitly assumes the learned distribution is a multiplicative blend of signal and noise, FBG posits that the model's output is an additive mixture. By inverting this model, we derive a guidance scale ($\lambda$) that is a function of the posterior likelihood, measuring how well the current noisy image aligns with the conditional prompt.

Closed-Loop Feedback Mechanism

Unlike standard open-loop methods, FBG utilizes a feedback loop to monitor the diffusion process. It tracks the diffusion Markov chain during inference to estimate the posterior. If the model demonstrates high confidence in its trajectory, the guidance scale remains minimal. Conversely, if the model drifts toward an unconditional state, the system automatically ramps up the guidance scale to provide corrective steering.

The FBG algorithm implements a closed-loop system where the guidance scale is updated based on the current scores and state.

This dynamic scaling results in a bespoke guidance profile for every generation, adapting not only to different prompts but also to different random seeds for the same prompt.

Key Insights

  • Guidance as Error Correction: FBG reinterprets guidance as a mathematical tool to rectify systematic biases in conditional distribution learning.
  • Prompt and Trajectory Sensitivity: FBG distinguishes between simple prompts (e.g., memorized artworks) and complex descriptions, applying guidance proportionally. It also provides unique guidance paths for different trajectories, intervening only when a specific generation path begins to fail.
  • Theoretical Foundation for LIG: FBG provides a first-principles framework that explains the empirical success of Limited Interval Guidance (LIG), which restricts guidance to specific intervals of the diffusion process.

Results and Evaluation

We evaluated FBG across several benchmarks, including ImageNet 512x512 (using EDM2-XS) and MS-COCO (using Stable Diffusion v2).

Quantitative Performance

On ImageNet, FBG significantly outperformed CFG in terms of FID and FDDinoV2. A critical finding is FBG's performance on the Precision-Recall curve: it achieves high quality (Precision) while maintaining substantially higher sample diversity (Recall) than CFG.

Precision and Recall curves showing that FBG achieves a better trade-off between quality and diversity compared to CFG and LIG.

Text-to-Image Improvements

On the MS-COCO dataset, FBG improved the FID from 19.64 (CFG) to 18.63 and enhanced overall Aesthetic Scores. Qualitative analysis confirms that FBG avoids the oversmoothing and oversaturation typical of high-scale CFG, yielding more natural and detailed imagery.

Conclusion and Future Work

FeedBack Guidance represents a significant step toward more intelligent and adaptive generative models. While the current additive error model is a simplification, it provides a robust foundation for dynamic control. Future research will explore more complex error models and the behavior of feedback loops in larger architectures such as Diffusion Transformers (DiT). Although FBG introduces new parameters ($\pi, t_0, t_1$), they offer a more intuitive and effective means of control than a single, static guidance scale.

Summary updated

BibTeX
@inproceedings{koulischer2025feedback,
  author = {Felix Koulischer and Florian Handke and Johannes Deleu and Thomas Demeester and Luca Ambrogioni},
  title = {{Feedback Guidance of Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=8ySOcf7UpM},
}
Figure