# Poster 28877

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28877

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, I'm Zijin. I would like to introduce our ICLA Auto Paper, Improving Probability in Diffusion Models with Optimal Diagonal Covariance Metric. This is a joint work with Ming Tian and the team in Zheng and David. Diffusion model is a generated model that contains two components, a forward diffusion process and a backward generation process.
The forward process here we consider to be a Markovian process and the transition is a Gaussian distribution. The forward process adds noise to the data and transforms the data distribution to a standard Gaussian distribution. The backward process is also defined as a Markovian model with the transition being Gaussian as well. It denotes a Gaussian noise to a clean sample. The goal of diffusion model is to make the backward model piece theta to approximate the posterior Q.
To learn the backward model, let's focus on learning the mean function first. Based on the first order Taylor's formula, the mean of the posterior can be written as a function of the score of the marginal distribution at time t. Therefore, the mean can be parameterized using score network and approximated to the true score at each time step t. By applying the denoising score identity, this score network can be learned via denoising score matching.
Now let's move forward to the choice of the covariance. A heuristic choice is to parameterize the bi-walk covariance as the covariance of the forward Gaussian transition kernel or the covariance of the posterior given the data point. These two heuristic choices work well if the number of sampling steps are very large. However, the performance drops significantly when the number of sampling steps are small. Then the question is, do we have a better choice of covariance in diffusion modeling?
The answer is yes. A key observation is that for the arbitrary distribution Q, if the forward convolutional kernel is a Gaussian distribution, then the covariance of the posterior have a cross-product, which is related to the Hessian of the log density of the potential distribution.
Here we utilize a toy example on mixture of 40 Gaussian to demonstrate the importance of the choice of covariance in diffusion models. In this case, we could evaluate the density, score and arbitrary time step t. As shown in the right hand side, compared to heuristic choice six, the optimal diagonal covariance can improve performance significantly if the number of sampling steps are small.
And using full optimal covariance leads to the best performance. However, there remain two challenges in applying optimal covariance for high dimensional data, memory cost and computational cost. To address these challenges, we propose to estimate the diagonal of the optimal covariance. Specifically, we apply the Hutchinson estimator which involves a Jacobean vector product and it can be computed efficiently.
Here we show that by increasing the number of Monte Carlo samples in hydrogen estimator, we can achieve better generation quality. However, there still remain one challenge, that is computational inefficiency. Now that in diffusion model, we apply multiple generation step, at each step we need to apply hydrogen estimator which require a lot of computational cost. So just is this challenging?
We propose to amortize the diagonal Hessian estimation using a neural network. Specifically, we parametrize a network H which takes image as input and output the estimated diagonal Hessian. The network H then can be learned by regressing on the estimated diagonal Hessian with Hutchison estimator. This objective is consistent if N approaches infinity.
However, this bias in practice seems to be used a small aim. To address this problem, we propose an unbiased optimal covariance matching objective. In principle, this objective is valid, let's say the gradient of this objective equals to that of the naive objective with aim approaching infinity. Thus, the optimal diagonal covariance can be parameterized using the learned network.
We then show that the effectiveness of our method in this mixture of 40 Gaussian toy example. It shows that our method outperform baseline when sampling step is small and achieve performance closer to the optimal covariance. We further experiment on the image modeling. On CIFAR-10, our method can significantly achieve better trade-off between FID and Likelihood estimation, and it takes fewer steps to achieve an FID around 6.
Moreover, we experiment on IMAGENET 2.56 using the DRT architecture of latent diffusion and exhaust that our method can generate high quality image while maintaining diversity. Thanks for watching. If you are interested in our work, please try our code and contact us in the oral and poster section.
