Unmasking Bias in Diffusion Model Training

Hu Yu, Li Shen, Jie Huang, Hongsheng Li, Feng Zhao
10/12/2023
cs.CVcs.AI

Official code: yuhuUSTC/Debias (8 stars, MIT, last commit 2024-07-08).

Abstract

Denoising diffusion models have emerged as a dominant approach for image generation, however they still suffer from slow convergence in training and color shift issues in sampling. In this paper, we identify that these obstacles can be largely attributed to bias and suboptimality inherent in the default training paradigm of diffusion models. Specifically, we offer theoretical insights that the prevailing constant loss weight strategy in $ε$-prediction of diffusion models leads to biased estimation during the training phase, hindering accurate estimations of original images. To address the issue, we propose a simple but effective weighting strategy derived from the unlocked biased part. Furthermore, we conduct a comprehensive and systematic exploration, unraveling the inherent bias problem in terms of its existence, impact and underlying reasons. These analyses contribute to advancing the understanding of diffusion models. Empirical results demonstrate that our method remarkably elevates sample quality and displays improved efficiency in both training and sampling processes, by only adjusting loss weighting strategy. The code is released publicly at \url{https://github.com/yuhuUSTC/Debias}

View on arXivView PDF

Code Implementations(1)

yuhuUSTC/DebiasOfficial100%
MIT

Official code for the ECCV 2024 paper "Unmasking Bias in Diffusion Model Training"

80Shell, PythonJul 7, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yu2023unmasking,
  title  = {Unmasking Bias in Diffusion Model Training},
  author = {Hu Yu and Li Shen and Jie Huang and Hongsheng Li and Feng Zhao},
  year   = {2023},
  eprint = {2310.08442},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.08442v3}
}

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

Discussion