arXiv · 2404.13040
Analysis of Classifier-Free Guidance Weight Schedulers
Abstract
Classifier-Free Guidance (CFG) enhances the quality and condition adherence of text-to-image diffusion models. It operates by combining the conditional and unconditional predictions using a fixed weight. However, recent works vary the weights throughout the diffusion process, reporting superior results but without providing any rationale or analysis. By conducting comprehensive experiments, this paper provides insights into CFG weight schedulers. Our findings suggest that simple, monotonically increasing weight schedulers consistently lead to improved performances, requiring merely a single line of code. In addition, more complex parametrized schedulers can be optimized for further improvement, but do not generalize across different models and tasks.
Explore related subjects
Keep this discovery
Xi Wang, Nicolas Dufour, Nefeli Andreou, Marie-Paule Cani, Victoria Fernandez Abrevaya, David Picard, Vicky Kalogeiton. 2024-04-19. Analysis of Classifier-Free Guidance Weight Schedulers. https://arxiv.org/abs/2404.13040
Cite the original work for its findings. Save a collection to share your selection of sources.