Diffusion Models without Classifier-free Guidance

Zhicong Tang, Jianmin Bao, Dong Chen, Baining Guo
2/17/2025
cs.CVcs.AIcs.LG

Official code: tzco/Diffusion-wo-CFG (175 stars, last commit 2025-02-18).

Abstract

This paper presents Model-guidance (MG), a novel objective for training diffusion model that addresses and removes of the commonly used Classifier-free guidance (CFG). Our innovative approach transcends the standard modeling of solely data distribution to incorporating the posterior probability of conditions. The proposed technique originates from the idea of CFG and is easy yet effective, making it a plug-and-play module for existing models. Our method significantly accelerates the training process, doubles the inference speed, and achieve exceptional quality that parallel and even surpass concurrent diffusion models with CFG. Extensive experiments demonstrate the effectiveness, efficiency, scalability on different models and datasets. Finally, we establish state-of-the-art performance on ImageNet 256 benchmarks with an FID of 1.34. Our code is available at https://github.com/tzco/Diffusion-wo-CFG.

View on arXivView PDF

Code Implementations(1)

Official Implementation for Diffusion Models Without Classifier-free Guidance

1758Shell, PythonFeb 17, 20251 years ago

Similar Papers

Cite this paper

@article{tang2025diffusion,
  title  = {Diffusion Models without Classifier-free Guidance},
  author = {Zhicong Tang and Jianmin Bao and Dong Chen and Baining Guo},
  year   = {2025},
  eprint = {2502.12154},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.12154v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.12154.svg)](https://codeofpaper.com/paper/2502.12154)

Discussion