Tweedie’s formula
Let belong to the exponential family distribution
where is the canonical vector of the family, is some function of , and is the cumulant generation function which normalizes the density, and is the density up to the scale factor when . Then, the posterior mean should satisfy
Posterior mean of VP-SDE (continuous DDPM)
For the case of VP-SDE or DDPM sampling, has the unique posterior mean at
Proof. For the case of VP-SDE or DDPM forward sampling, we have
which is a Gaussian distribution. The corresponding canonical decomposition is then given by
where
Therefore, we have
which leads to
This concludes the proof.
Posterior mean of General SDE
A general SDE of diffusion is given by
where and are given functions.