Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic Models

Fan Bao, Chongxuan Li, Jiacheng Sun, Jun Zhu, Bo Zhang
6/15/2022
cs.LG
diffusion-flow

Official code: baofff/Extended-Analytic-DPM (108 stars, Python, last commit 2022-06-17).

Abstract

Diffusion probabilistic models (DPMs) are a class of powerful deep generative models (DGMs). Despite their success, the iterative generation process over the full timesteps is much less efficient than other DGMs such as GANs.

Show full abstract

Thus, the generation performance on a subset of timesteps is crucial, which is greatly influenced by the covariance design in DPMs. In this work, we consider diagonal and full covariances to improve the expressive power of DPMs. We derive the optimal result for such covariances, and then correct it when the mean of DPMs is imperfect. Both the optimal and the corrected ones can be decomposed into terms of conditional expectations over functions of noise. Building upon it, we propose to estimate the optimal covariance and its correction given imperfect mean by learning these conditional expectations. Our method can be applied to DPMs with both discrete and continuous timesteps. We consider the diagonal covariance in our implementation for computational efficiency. For an efficient practical implementation, we adopt a parameter sharing scheme and a two-stage training process. Empirically, our method outperforms a wide variety of covariance design on likelihood results, and improves the sample quality especially on a small number of timesteps.

View on arXivView PDF

Code Implementations(1)

Official implementation for Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic Models (ICML 2022), and a reimplementation of Analytic-DPM: an Analytic Estimate of the Optimal Reverse Variance in Diffusion Probabilistic Models (ICLR 2022)

1087Python, CudaMay 18, 20224 years ago

Similar Papers

Cite this paper

@article{bao2022estimating,
  title  = {Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic Models},
  author = {Fan Bao and Chongxuan Li and Jiacheng Sun and Jun Zhu and Bo Zhang},
  year   = {2022},
  eprint = {2206.07309},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.07309}
}

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

Discussion