English

Diffusion Posterior Sampling is Computationally Intractable

Machine Learning 2025-11-11 v2 Artificial Intelligence Statistics Theory Machine Learning Statistics Theory

Abstract

Diffusion models are a remarkably effective way of learning and sampling from a distribution p(x)p(x). In posterior sampling, one is also given a measurement model p(yx)p(y \mid x) and a measurement yy, and would like to sample from p(xy)p(x \mid y). Posterior sampling is useful for tasks such as inpainting, super-resolution, and MRI reconstruction, so a number of recent works have given algorithms to heuristically approximate it; but none are known to converge to the correct distribution in polynomial time. In this paper we show that posterior sampling is computationally intractable: under the most basic assumption in cryptography -- that one-way functions exist -- there are instances for which every algorithm takes superpolynomial time, even though unconditional sampling is provably fast. We also show that the exponential-time rejection sampling algorithm is essentially optimal under the stronger plausible assumption that there are one-way functions that take exponential time to invert.

Keywords

Cite

@article{arxiv.2402.12727,
  title  = {Diffusion Posterior Sampling is Computationally Intractable},
  author = {Shivam Gupta and Ajil Jalal and Aditya Parulekar and Eric Price and Zhiyang Xun},
  journal= {arXiv preprint arXiv:2402.12727},
  year   = {2025}
}
R2 v1 2026-06-28T14:54:04.532Z