Bridging the Gap: Addressing Discrepancies in Diffusion Model Training for Classifier-Free Guidance

Niket Patel, Luis Salamanca, Luis Barba
11/2/2023
cs.LGcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

Diffusion models have emerged as a pivotal advancement in generative models, setting new standards to the quality of the generated instances. In the current paper we aim to underscore a discrepancy between conventional training methods and the desired conditional sampling behavior of these models. While the prevalent classifier-free guidance technique works well, it's not without flaws. At higher values for the guidance scale parameter $w$, we often get out of distribution samples and mode collapse, whereas at lower values for $w$ we may not get the desired specificity. To address these challenges, we introduce an updated loss function that better aligns training objectives with sampling behaviors. Experimental validation with FID scores on CIFAR-10 elucidates our method's ability to produce higher quality samples with fewer sampling timesteps, and be more robust to the choice of guidance scale $w$. We also experiment with fine-tuning Stable Diffusion on the proposed loss, to provide early evidence that large diffusion models may also benefit from this refined loss function.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{patel2023bridging,
  title  = {Bridging the Gap: Addressing Discrepancies in Diffusion Model Training for Classifier-Free Guidance},
  author = {Niket Patel and Luis Salamanca and Luis Barba},
  year   = {2023},
  eprint = {2311.00938},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.00938v1}
}

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/2311.00938.svg)](https://codeofpaper.com/paper/2311.00938)

Discussion