On Inference Stability for Diffusion Models

Viet Nguyen, Giang Vu, Tung Nguyen Thanh, Khoat Than, Toan Tran
12/19/2023
cs.CV

Official code: VinAIResearch/SA-DPM (8 stars, AGPL-3.0, last commit 2024-07-23).

Abstract

Denoising Probabilistic Models (DPMs) represent an emerging domain of generative models that excel in generating diverse and high-quality images. However, most current training methods for DPMs often neglect the correlation between timesteps, limiting the model's performance in generating images effectively. Notably, we theoretically point out that this issue can be caused by the cumulative estimation gap between the predicted and the actual trajectory. To minimize that gap, we propose a novel \textit{sequence-aware} loss that aims to reduce the estimation gap to enhance the sampling quality. Furthermore, we theoretically show that our proposed loss function is a tighter upper bound of the estimation loss in comparison with the conventional loss in DPMs. Experimental results on several benchmark datasets including CIFAR10, CelebA, and CelebA-HQ consistently show a remarkable improvement of our proposed method regarding the image generalization quality measured by FID and Inception Score compared to several DPM baselines. Our code and pre-trained checkpoints are available at \url{https://github.com/VinAIResearch/SA-DPM}.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

Official PyTorch implementation of "On Inference Stability for Diffusion Models" (AAAI'24)

81Python2 years agoAGPL-3.0
diffusion-models

Cite this paper

@article{nguyen2023inference,
  title  = {On Inference Stability for Diffusion Models},
  author = {Viet Nguyen and Giang Vu and Tung Nguyen Thanh and Khoat Than and Toan Tran},
  year   = {2023},
  eprint = {2312.12431},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.12431v2}
}

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

Discussion