Conditional Diffusion Models with Classifier-Free Iterative Guidance

Badr Moufad, Yazid Janati, Ahmed Ghorbel, Alain Oliviero Durmus, Eric Moulines, Jimmy OlssonOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper reveals that the industry-standard "Classifier-Free Guidance" (CFG) is mathematically incomplete, missing a "repulsive force" (the gradient of a Rényi divergence) that prevents samples from collapsing into a few predictable modes. To fix this without expensive retraining, the authors introduce Classifier-Free Iterative Guidance (CFIG), a sampling method that starts with a diverse, unguided image and iteratively "refines" it into a high-quality, prompt-aligned result by cycling through low-noise states.

What Problem Does This Paper Address?

If you’ve ever used Stable Diffusion or Midjourney, you’ve used Classifier-Free Guidance (CFG). It is the "magic knob" (the guidance scale $w$) that forces the model to actually listen to your prompt. Mathematically, CFG works by taking a weighted average of a conditional prediction (with your prompt) and an unconditional one (without it).

However, CFG has a notorious "diversity-quality" trade-off. As you turn up the guidance scale to get sharper, more accurate images, the model starts producing very similar-looking outputs, effectively "collapsing" the variety of the data. The authors of this paper ask a fundamental question: Is CFG actually a valid diffusion process? They find that the answer is "no"—CFG doesn't actually sample from the "tilted" distribution it claims to, which is why it struggles to maintain diversity.

Methods

The paper approaches the problem in two steps: a theoretical diagnosis and an algorithmic cure.

1. The Theoretical Diagnosis

The authors prove that for CFG to be mathematically consistent with a proper Denoising Diffusion Model (DDM), it needs an extra term: the gradient of a Rényi divergence.

  • The "Repulsive Force": This missing term acts as a repulsive force. It pushes samples away from each other in areas where the conditional and unconditional distributions differ most, naturally preserving diversity.
  • The Low-Noise Insight: Crucially, they show that this missing term becomes negligible as the noise level approaches zero. This means CFG is "mostly correct" at the very end of the generation process, but "very wrong" at the beginning (high-noise stages).

2. The Algorithmic Cure: CFIG

Based on the insight that CFG is fine for low-noise refinement, they propose Classifier-Free Iterative Guidance (CFIG):

  1. Initialization: Generate a sample using little or no guidance. This ensures the sample is diverse and "explores" the full range of the data, even if it's a bit blurry or poorly aligned.
  2. Iterative Refinement: Take that sample, add a small amount of noise back into it (up to a level $\sigma_*$), and then "denoise" it again using CFG.
  3. Repeat: By repeating this "noise-then-denoise" cycle, the model progressively "sharpens" the image and aligns it with the prompt without losing the initial diversity.

Datasets

The authors validated CFIG across three distinct modalities to prove its generality:

  • Class-Conditional Image Generation: Evaluated on ImageNet-512 using the EDM2-S and EDM2-XXL models.
  • Text-to-Image Generation: Evaluated on the MS-COCO 2017 validation set (5k prompts) using Stable Diffusion XL (SDXL).
  • Text-to-Audio Generation: Evaluated on the AudioCaps test set using AudioLDM 2.

Key Insights and Ideas

  • CFG is a "Biased" Sampler: The paper provides a rigorous proof that CFG trajectories tend to collapse toward single modes because they lack the "repulsive" mathematical term needed to fill out the distribution.
  • The Power of Iteration: Instead of a single "one-way" trip from noise to image, CFIG treats guidance as a refinement process. This allows the model to "fix" its alignment with the prompt over several small steps.
  • Theoretical Grounding for "Time-Travel": While "noising-denoising" (sometimes called "time-travel" or SDEdit) has been used heuristically before, this paper provides the first solid probabilistic justification for why it works so well specifically for guidance.

Key Results

CFIG consistently outperformed standard CFG and several state-of-the-art baselines (like INTERVAL-CFG and CFG++):

  • Better Diversity: On ImageNet, CFIG achieved significantly higher Recall and Coverage scores compared to CFG, meaning it produced a much wider variety of images for the same prompt.
  • Higher Quality: It achieved better FID (Fréchet Inception Distance) scores across the board. For example, on ImageNet with the EDM2-XXL model, CFIG reached an FID of 1.48, outperforming standard CFG (1.81).
  • Prompt Alignment: In text-to-audio and text-to-image tasks, CFIG maintained or improved alignment (measured by CLIP-Score and Inception Score) while producing more realistic textures and details.
  • Efficiency: CFIG achieves these results without increasing the total number of function evaluations (NFEs), making it a "drop-in" improvement for existing pipelines.

Limitations and Future Work

  • Hyperparameter Sensitivity: CFIG introduces new parameters, specifically the noise level for refinement ($\sigma_*$) and the number of iterations ($R$). While the authors provide guidelines, optimal values can vary between models.
  • Slow Mixing: If the refinement noise level $\sigma_*$ is set too low, the Markov Chain moves very slowly, requiring more iterations to see a change.
  • Future Training Objectives: The authors suggest that since they've identified the "missing" Rényi term, future research could involve training models to explicitly predict this term, potentially creating a "Perfect CFG" that doesn't require iterative refinement.

Summary updated

Abstract

Classifier-Free Guidance (CFG) is a widely used technique for improving conditional diffusion models by linearly combining the outputs of conditional and unconditional denoisers. While CFG enhances visual quality and improves alignment with prompts, it often reduces sample diversity, leading to a challenging trade-off between quality and diversity. To address this issue, we make two key contributions. First, CFG generally does not correspond to a well-defined denoising diffusion model (DDM). In particular, contrary to common intuition, CFG does not yield samples from the target distribution associated with the limiting CFG score as the noise level approaches zero—where the data distribution is tilted by a power $w>1$ of the conditional distribution. We identify the missing component: a Rényi divergence term that acts as a repulsive force and is required to correct CFG and render it consistent with a proper DDM. Our analysis shows that this correction term vanishes in the low-noise limit. Second, motivated by this insight, we propose a novel sampling procedure to draw samples from the desired tilted distribution. This method starts with an initial sample from the conditional diffusion model without CFG and iteratively refines it, preserving diversity while progressively enhancing sample quality. We evaluate our approach on both image and text-to-audio generation tasks, demonstrating substantial improvements over CFG across all considered metrics.
BibTeX
@misc{moufad2026conditional,
  author = {Badr MOUFAD and Yazid Janati and Ahmed Ghorbel and Alain Oliviero Durmus and Eric Moulines and Jimmy Olsson},
  title = {{Conditional Diffusion Models with Classifier-Free Iterative Guidance}},
  year = {2026},
  url = {https://openreview.net/forum?id=D8aUg8R1VG},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure