Skip to main content
QUICK REVIEW

[Paper Review] Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic Models

Fan Bao, Chongxuan Li|arXiv (Cornell University)|Jun 15, 2022
Generative Adversarial Networks and Image SynthesisComputer Science18 citations
TL;DR

This paper proposes a method to estimate the optimal diagonal covariance in diffusion probabilistic models (DPMs) under imperfect mean predictions, improving sample quality and likelihood under few timesteps. By decomposing optimal and corrected covariance into conditional expectations of noise functions, the approach uses neural networks to learn these terms via MSE minimization, achieving state-of-the-art results on CIFAR10, CelebA, and ImageNet with reduced inference steps.

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. 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.

Motivation & Objective

  • To improve the expressiveness and generation efficiency of diffusion probabilistic models (DPMs) by moving beyond isotropic covariance designs.
  • To derive the optimal covariance under the assumption of perfect mean, and correct it when the mean is imperfect due to approximation or optimization errors.
  • To enable efficient inference by formulating optimal and corrected covariance as conditional expectations over noise functions, estimable via neural networks.
  • To apply the method to both discrete and continuous time DPMs with computational efficiency through diagonal covariance and parameter sharing.
  • To achieve superior likelihood and sample quality, especially with a small number of timesteps, compared to existing baselines.

Proposed method

  • Derives the optimal diagonal and full covariance for DPMs under maximum likelihood, assuming perfect mean, using conditional expectations of noise functions.
  • Corrects the optimal covariance for imperfect mean by incorporating estimation errors, maintaining optimality in the likelihood sense.
  • Represents both optimal and corrected covariance as conditional expectations of functions of noise, which are estimated via neural networks trained with mean squared error (MSE) loss.
  • Implements the method using a two-stage training process: first train a noise prediction network, then train a covariance prediction network (NPR) or standard deviation network (SN).
  • Employs parameter sharing between the noise and covariance prediction heads to improve inference efficiency.
  • Applies the method to both DDPM (discrete) and DDIM/VP-SDE (continuous) settings, demonstrating broad applicability.

Experimental results

Research questions

  • RQ1How can the optimal covariance be derived in DPMs when the mean is imperfect, under the maximum likelihood framework?
  • RQ2Can the optimal and corrected covariance be expressed as conditional expectations over noise functions, enabling neural network estimation?
  • RQ3Does learning these conditional expectations via MSE loss lead to improved likelihood and sample quality in DPMs with few timesteps?
  • RQ4How does the proposed method compare to isotropic and handcrafted covariance designs in terms of generation efficiency and performance?
  • RQ5Can the method be effectively applied to both discrete and continuous time DPMs with minimal computational overhead?

Key findings

  • On CIFAR10 (LS), the proposed method achieves a Fréchet Inception Distance (FID) of 10.82 at 24 timesteps and 6.28 at 49 timesteps, outperforming the strong baseline Analytic-DPM.
  • On CelebA 64x64, the method achieves a FID of 7.98 at 24 timesteps and 5.33 at 49 timesteps, showing consistent improvement in sample quality.
  • On ImageNet 64x64, the method achieves a FID of 22.45 at 24 timesteps and 15.50 at 49 timesteps, significantly outperforming baselines under low inference cost.
  • After normalizing for extra inference cost, the method still outperforms Analytic-DPM and the Gotta Go Fast SDE solver, especially at low number of function evaluations (NFE ≤ 49).
  • The method achieves state-of-the-art likelihood scores across all datasets, with improvements of up to 0.12 bits/dim over Analytic-DPM on CIFAR10 (LS).
  • The two-stage training and parameter sharing scheme reduce training cost while maintaining high performance, with total training cost less than that of the baseline model in CIFAR10 (LS).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.