Tweedie’s formula. If with and has marginal density , then the posterior mean of the clean signal is

The MMSE denoiser only needs the score of the noisy marginal. The formula goes back to Robbins (1956), who credited Tweedie; Efron (2011) gives a modern account.

For diffusion models. With , apply the formula to and :

With the learned score :

This is the forward formula solved for with the predicted noise.

Role in inverse problems. A data-fidelity term only makes sense for clean images, but during sampling only noisy is available. Tweedie gives a clean estimate in closed form at every step, so the likelihood can be evaluated at :

is a posterior mean. It is blurry at high noise levels, when many clean images are compatible with , and sharp at low noise levels.

References

  1. B. Efron (2011). Tweedie’s Formula and Selection Bias. J. Amer. Statist. Assoc. 106(496), 1602–1614. doi:10.1198/jasa.2011.tm11181
  2. H. Robbins (1956). An Empirical Bayes Approach to Statistics. Proc. Third Berkeley Symp. Math. Stat. Prob. 1, 157–163. projecteuclid.org
  3. H. Chung, J. Kim, M. T. McCann, M. L. Klasky, J. C. Ye (2023). Diffusion Posterior Sampling for General Noisy Inverse Problems. ICLR 2023. arXiv:2209.14687