Solving Inverse Problems via Diffusion-Based Priors: An Approximation-Free Ensemble Sampling Approach
Organizations: ICME, Stanford University, Stanford, CA 94305 · Machine Learning Department, NEC Labs America, Princeton, NJ 08540 · Department of Mathematics and ICME, Stanford University, Stanford, CA 94305
Abstract
Diffusion models (DMs) have proven to be effective in modeling high-dimensional distributions, leading to their widespread adoption for representing complex priors in Bayesian inverse problems (BIPs). However, current DM-based posterior sampling methods proposed for solving common BIPs rely on heuristic approximations to the generative process. To exploit the generative capability of DMs and avoid the usage of such approximations, we propose an ensemble-based algorithm that performs posterior sampling without the use of heuristic approximations. Our algorithm is motivated by existing work that combines DM-based methods with the sequential Monte Carlo (SMC) method. By examining how the prior evolves through the diffusion process encoded by the pre-trained score function, we derive a modified partial differential equation (PDE) governing the evolution of the corresponding posterior distribution. This PDE includes a modified diffusion term and a reweighting term, which can be simulated via stochastic weighted particle methods. Theoretically, we prove that the error between the true posterior and the empirical distribution of the generated samples can be bounded in terms of the training error of the pre-trained score function and the number of particles in the ensemble. Empirically, we validate our algorithm on several inverse problems in imaging to show that our method gives more accurate reconstructions compared to existing DM-based methods. Our code is available at the following Github repository~https://github.com/HaoxuanSteveC00/AFDPS-TMLR.
Figures & tables
| Method | Gaussian Deblurring | Motion Deblurring | Super Resolution | Box Inpainting | ||||
| PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | |
| DPS ( Chung et al., 2022 ) | 22.57 | 0.2976 | 21.00 | 0.3280 | 19.09 | 0.5627 | 21.57 | 0.3245 |
| DCDP ( Li et al., 2024b ) | 24.77 | 0.2868 | 21.57 | 0.3487 | 21.23 | 0.5139 | 22.05 | 0.4525 |
| SGS-EDM ( Wu et al., 2024c ) | 24.78 | 0.2776 | 23.45 | 0.3009 | 22.41 | 0.3225 | 23.69 | 0.2301 |
| Method | Gaussian Deblurring | Motion Deblurring | Super Resolution | Box Inpainting | ||||
| PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | |
| DPS ( Chung et al., 2022 ) | 20.60 | 0.4351 | 20.46 | 0.5328 | 19.17 | 0.4940 | 22.70 | 0.3765 |
| DCDP ( Li et al., 2024b ) | 22.34 | 0.4821 | 20.59 | 0.5338 | 20.26 | 0.5597 | 21.67 | 0.4344 |
| SGS-EDM ( Wu et al., 2024c ) | 19.31 | 0.4807 | 20.54 | 0.4653 | 19.61 | 0.4986 | 21.42 | 0.4643 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Term | AFDPS (Ours) | FK Corrector |
| Drift | ||
| Reweighting | ||
| Method | Gaussian Deblurring | Motion Deblurring | ||
| PSNR ( ) | LPIPS ( ) | PSNR ( ) | LPIPS ( ) | |
| DAPS (100 images) | 22.10 | 0.4580 | 23.02 | 0.4661 |
| AFDPS-SDE (100 images) | 25.19 | 0.1291 | 24.07 | 0.1530 |
Diffusion Posterior Sampling
Diffusion posterior sampling combines generative diffusion priors with measurement models to infer plausible solutions and uncertainty in inverse problems.
See all 81 papers