Adaptive Guidance: Training-free Acceleration of Conditional Diffusion Models

Authors

  • Angela Castillo Center for Research and Formation in Artificial Intelligence, Universidad de los Andes
  • Jonas Kohler GenAI, Meta
  • Juan C. Pérez GenAI, Meta King Abdullah University of Science and Technology (KAUST)
  • Juan Pablo Pérez Center for Research and Formation in Artificial Intelligence, Universidad de los Andes
  • Albert Pumarola GenAI, Meta
  • Bernard Ghanem King Abdullah University of Science and Technology (KAUST)
  • Pablo Arbeláez Center for Research and Formation in Artificial Intelligence, Universidad de los Andes
  • Ali Thabet GenAI, Meta

DOI:

https://doi.org/10.1609/aaai.v39i2.32192

Abstract

This paper presents a comprehensive study on the role of Classifier-Free Guidance (CFG) in text-conditioned diffusion models from the perspective of inference efficiency. In particular, we relax the default choice of applying CFG in all diffusion steps and instead propose to search for more efficient guidance policies. We formulate the discovery of such policies in the framework of differentiable neural architecture search. Our findings suggest that, as denoising progresses, the updates produced by CFG become increasingly aligned with simple conditional steps, which renders CFG's additional neural network evaluation redundant, especially in the second half of the denoising process. Building upon this insight, we propose "Adaptive Guidance" (AG), an efficient variant of CFG that adaptively omits network evaluations when the denoising process displays convergence. Our experiments demonstrate that AG preserves CFG's image quality while reducing computation by 25%. Thus, AG constitutes a plug-and-play alternative to Guidance Distillation, achieving 50% of the speed-ups of the latter, while being training-free and retaining the capacity to handle negative prompts. We conclude by uncovering further redundancies of CFG in the first half of the diffusion process, showing that entire neural network evaluations can be replaced by simple affine transformations of past score estimates.

Published

2025-04-11

How to Cite

Castillo, A., Kohler, J., Pérez, J. C., Pérez, J. P., Pumarola, A., Ghanem, B., Arbeláez, P., & Thabet, A. (2025). Adaptive Guidance: Training-free Acceleration of Conditional Diffusion Models. Proceedings of the AAAI Conference on Artificial Intelligence, 39(2), 1962-1970. https://doi.org/10.1609/aaai.v39i2.32192

Issue

Section

AAAI Technical Track on Computer Vision I