Consistent Diffusion Models: Mitigating Sampling Drift by Learning to be Consistent

Giannis Daras, Yuval Dagan, Alexandros G. Dimakis, Constantinos Daskalakis
2/17/2023
cs.LGcs.AIcs.CV

Official code: giannisdaras/cdm (58 stars, GPL-3.0, last commit 2023-04-17).

Abstract

Imperfect score-matching leads to a shift between the training and the sampling distribution of diffusion models. Due to the recursive nature of the generation process, errors in previous steps yield sampling iterates that drift away from the training distribution. Yet, the standard training objective via Denoising Score Matching (DSM) is only designed to optimize over non-drifted data. To train on drifted data, we propose to enforce a \emph{consistency} property which states that predictions of the model on its own generated data are consistent across time. Theoretically, we show that if the score is learned perfectly on some non-drifted points (via DSM) and if the consistency property is enforced everywhere, then the score is learned accurately everywhere. Empirically we show that our novel training objective yields state-of-the-art results for conditional and unconditional generation in CIFAR-10 and baseline improvements in AFHQ and FFHQ. We open-source our code and models: https://github.com/giannisdaras/cdm

View on arXivView PDF

Code Implementations(1)

giannisdaras/cdmOfficial100%
GPL-3.0

[NeurIPS 2023] Official Implementation: "Consistent Diffusion Models"

584PythonFeb 17, 20233 years agoGPL-3.0

Similar Papers

Cite this paper

@article{daras2023consistent,
  title  = {Consistent Diffusion Models: Mitigating Sampling Drift by Learning to be Consistent},
  author = {Giannis Daras and Yuval Dagan and Alexandros G. Dimakis and Constantinos Daskalakis},
  year   = {2023},
  eprint = {2302.09057},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.09057v1},
  journal = {NEURIPS 2023 2023}
}

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

Discussion