Papers › Provably Robust Score-Based Diffusion Posterior Sampling for Plug-and-Play Image Reconstruction

Provably Robust Score-Based Diffusion Posterior Sampling for Plug-and-Play Image Reconstruction

25 Mar 2024arXiv:2403.17042archive 2025-07-28

Xingyu Xu, Yuejie Chi

In a great number of tasks in science and engineering, the goal is to infer an unknown image from a small number of measurements collected from a known forward model describing certain sensing or imaging modality. Due to resource constraints, this task is often extremely ill-posed, which necessitates the adoption of expressive prior information to regularize the solution space. Score-based diffusion models, due to its impressive empirical success, have emerged as an appealing candidate of an expressive prior in image reconstruction. In order to accommodate diverse tasks at once, it is of great interest to develop efficient, consistent and robust algorithms that incorporate unconditional score functions of an image prior distribution in conjunction with flexible choices of forward models. This work develops an algorithmic framework for employing score-based diffusion models as an expressive data prior in general nonlinear inverse problems. Motivated by the plug-and-play framework in the imaging community, we introduce a diffusion plug-and-play method (DPnP) that alternatively calls two samplers, a proximal consistency sampler based solely on the likelihood function of the forward model, and a denoising diffusion sampler based solely on the score functions of the image prior. The key insight is that denoising under white Gaussian noise can be solved rigorously via both stochastic (i.e., DDPM-type) and deterministic (i.e., DDIM-type) samplers using the unconditional score functions. We establish both asymptotic and non-asymptotic performance guarantees of DPnP, and provide numerical experiments to illustrate its promise in solving both linear and nonlinear image reconstruction tasks. To the best of our knowledge, DPnP is the first provably-robust posterior sampling method for nonlinear inverse problems using unconditional diffusion priors.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.17042")

Code

Syntology Ran 17 of 28 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 6 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 28 samples from 1 repository, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

x1xu/diffusion-plug-and-play officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

28 samples harvested; 17 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran · our draft was wrong
11ran
11unverified

Licence: 28 of the 28 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from x1xu/diffusion-plug-and-play. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_yaml x1xu/diffusion-plug-and-play/sample_condition.py official repository ran · our draft was wrong no licence file found · pointer only · 00c67a2ab9d4b104 · report
box x1xu/diffusion-plug-and-play/util/resizer.py official repository ran fingerprinted no licence file found · pointer only · 372b275922a9f531 · report
cubic x1xu/diffusion-plug-and-play/util/resizer.py official repository ran fingerprinted no licence file found · pointer only · ee77cd8fde21ffd1 · report
fft2 x1xu/diffusion-plug-and-play/util/img_utils.py official repository ran fingerprinted no licence file found · pointer only · 19cc8241bdc7b50a · report
fft2c_new x1xu/diffusion-plug-and-play/util/fastmri_utils.py official repository ran no licence file found · pointer only · dc2dcfd069e89041 · report
get_param_groups_and_shapes x1xu/diffusion-plug-and-play/guided_diffusion/fp16_util.py official repository ran no licence file found · pointer only · e41367ad14ff58fd · report
ifft2 x1xu/diffusion-plug-and-play/util/img_utils.py official repository ran fingerprinted no licence file found · pointer only · 3aa8bac09ce6982f · report
lanczos2 x1xu/diffusion-plug-and-play/util/resizer.py official repository ran fingerprinted no licence file found · pointer only · f106699fc610a684 · report
make_master_params x1xu/diffusion-plug-and-play/guided_diffusion/fp16_util.py official repository ran no licence file found · pointer only · e20dd5102da3b050 · report
register_conditioning_method x1xu/diffusion-plug-and-play/guided_diffusion/condition_methods.py official repository ran · our draft was wrong no licence file found · pointer only · 8027fc71dcbcfc45 · report
register_mean_processor x1xu/diffusion-plug-and-play/guided_diffusion/posterior_mean_variance.py official repository ran · our draft was wrong no licence file found · pointer only · 2423fa5313aa3525 · report
register_noise x1xu/diffusion-plug-and-play/guided_diffusion/measurements.py official repository ran no licence file found · pointer only · 905f4b0d3baca742 · report
register_operator x1xu/diffusion-plug-and-play/guided_diffusion/measurements.py official repository ran no licence file found · pointer only · 7f47ba486efd2c7e · report
register_sampler x1xu/diffusion-plug-and-play/guided_diffusion/gaussian_diffusion.py official repository ran · our draft was wrong no licence file found · pointer only · d9bb4d03137bc7e9 · report
register_var_processor x1xu/diffusion-plug-and-play/guided_diffusion/posterior_mean_variance.py official repository ran · our draft was wrong no licence file found · pointer only · e214ee19e7a9d92b · report
unflatten_master_params x1xu/diffusion-plug-and-play/guided_diffusion/fp16_util.py official repository ran no licence file found · pointer only · 64fff1e30802b815 · report
zero_module x1xu/diffusion-plug-and-play/guided_diffusion/nn.py official repository ran · our draft was wrong no licence file found · pointer only · 129b804760b3115f · report
avg_pool_nd x1xu/diffusion-plug-and-play/guided_diffusion/nn.py official repository unverified no licence file found · pointer only · ecd0fc28815b65ae · report
cal_gradient_penalty x1xu/diffusion-plug-and-play/guided_diffusion/unet.py official repository unverified no licence file found · pointer only · 944d16b22c6e6e77 · report
conv_nd x1xu/diffusion-plug-and-play/guided_diffusion/nn.py official repository unverified no licence file found · pointer only · fe4eb545bbb728e0 · report
create_model x1xu/diffusion-plug-and-play/guided_diffusion/unet.py official repository unverified no licence file found · pointer only · e7d9c92d6da5e2c9 · report
fft2_m x1xu/diffusion-plug-and-play/util/img_utils.py official repository unverified no licence file found · pointer only · 9888b4f7081b54ed · report
fft2c_old x1xu/diffusion-plug-and-play/util/fastmri_utils.py official repository unverified no licence file found · pointer only · d5d761740edb12db · report
get_conditioning_method x1xu/diffusion-plug-and-play/guided_diffusion/condition_methods.py official repository unverified no licence file found · pointer only · ceb7328ab8bdbfe2 · report
get_mean_processor x1xu/diffusion-plug-and-play/guided_diffusion/posterior_mean_variance.py official repository unverified no licence file found · pointer only · e92451e6fb900818 · report
get_operator x1xu/diffusion-plug-and-play/guided_diffusion/measurements.py official repository unverified no licence file found · pointer only · bbb1be64bf961d18 · report
get_sampler x1xu/diffusion-plug-and-play/guided_diffusion/gaussian_diffusion.py official repository unverified no licence file found · pointer only · b910fefa7866252e · report
ifft2c_old x1xu/diffusion-plug-and-play/util/fastmri_utils.py official repository unverified no licence file found · pointer only · d63efa5d2fd536e2 · report

Tasks

DenoisingImage Reconstruction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections