Adversarial Learning of Classifier-Free Guidance Schedules
Ashwini Pokle, Alexandre Galashov, Arnaud Doucet, Mauricio Delbracio, Valentin De Bortoli
Key points
From the paper's conclusion- We frame this as a density ratio estimation problem: a discriminator is trained to estimate the time-dependent log-density ratio between the true and guided marginal distributions, while a lightweight generator network predicts the optimal, state-dependent guidance scale.
Abstract
Modern text-to-image diffusion models rely on classifier-free guidance (CFG) to achieve high image fidelity and text alignment. However, CFG typically applies a static, global scale across all timesteps, samples, and conditions -- a choice that is generally suboptimal and can introduce artifacts, as different states may benefit from different levels of guidance. While time-varying schedules are known to improve quality, designing them by hand is non-trivial and application-dependent. In this paper, we learn the guidance schedule as a function of diffusion time, conditioning and the current noisy sample, in order to better align sampled images with the text prompt. We frame this as a density ratio estimation problem: a discriminator is trained to estimate the time-dependent log-density ratio between the true and guided marginal distributions, while a lightweight generator network predicts the optimal, state-dependent guidance scale. Empirically, our approach outperforms both heuristic CFG schedules and prior methods for learning dynamic guidance on text-to-image generation benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SCALE: Improving Guidance-Free Visual Generation via Self-Contrastive Alignment for Likelihood EstimationarXiv · 2026
- Opening the Black Box of Classifier-Free Guidance via Information BottleneckarXiv · 2026
- Decompose the Distillation: Interpretable Single-Pass Guidance for Diffusion ModelsarXiv · 2026
- Contrastive Gradient Guidance for Test-Time Multi-Preference Alignment of Diffusion ModelsarXiv · 2026
- RadAG: Reward-Adversarial Attention Guidance for Efficient Inference-Time Alignment of Diffusion ModelsarXiv · 2026
- Correcting Guided Diffusion Trajectories with Spectral AlignmentarXiv · 2026