cs.LGAug 14, 2026

Adversarial Learning of Classifier-Free Guidance Schedules

Authors: Ashwini Pokle, Alexandre Galashov, Arnaud Doucet, Mauricio Delbracio, Valentin De Bortoli

Organizations: Google DeepMind

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.

Figures & tables

Appendix figures & tables14 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Information-Theoretic Classifier-Free Guidance with Adaptive Schedule Optimization

    Jun 23, 2026Haobo Chen, Xiangxiang Xu, Yuheng BuDiffusion Model GuidanceClassifier-Free Guidance

  2. Analytic Distribution of Classifier-Free Guidance for Schedule Design

    Jul 22, 2026Enze Jiang, Zheng MaClassifier-Free GuidanceDiffusion Sampling

  3. DICE: Distilling Classifier-Free Guidance into Text Embeddings

    Feb 6, 2025Zhenyu Zhou, Defang Chen, Can Wang +2Diffusion Model AlignmentDiffusion Model Guidance