Papers › Diffusion Posterior Proximal Sampling for Image Restoration

Diffusion Posterior Proximal Sampling for Image Restoration

25 Feb 2024arXiv:2402.16907archive 2025-07-28

Hongjie Wu, Linchao He, Mingqin Zhang, Dongdong Chen, Kunming Luo, Mengting Luo, Ji-Zhe Zhou, Hu Chen, Jiancheng Lv

Diffusion models have demonstrated remarkable efficacy in generating high-quality samples. Existing diffusion-based image restoration algorithms exploit pre-trained diffusion models to leverage data priors, yet they still preserve elements inherited from the unconditional generation paradigm. These strategies initiate the denoising process with pure white noise and incorporate random noise at each generative step, leading to over-smoothed results. In this paper, we present a refined paradigm for diffusion-based image restoration. Specifically, we opt for a sample consistent with the measurement identity at each generative step, exploiting the sampling selection as an avenue for output stability and enhancement. The number of candidate samples used for selection is adaptively determined based on the signal-to-noise ratio of the timestep. Additionally, we start the restoration process with an initialization combined with the measurement signal, providing supplementary information to better align the generative process. Extensive experimental results and analyses validate that our proposed method significantly enhances image restoration performance while consuming negligible additional computational resources.

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="2402.16907")

Code

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

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

74587887/dpps_code 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

26 samples harvested; 14 ran; 0 honoured the contract we drafted; 12 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
8ran
12unverified

Licence: 26 of the 26 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 74587887/dpps_code. “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 74587887/dpps_code/sample_condition.py official repository ran · our draft was wrong no licence file found · pointer only · 00c67a2ab9d4b104 · report
fft2 74587887/dpps_code/util/img_utils.py official repository ran fingerprinted no licence file found · pointer only · 19cc8241bdc7b50a · report
fft2c_new 74587887/dpps_code/util/fastmri_utils.py official repository ran no licence file found · pointer only · dc2dcfd069e89041 · report
get_param_groups_and_shapes 74587887/dpps_code/guided_diffusion/fp16_util.py official repository ran no licence file found · pointer only · e41367ad14ff58fd · report
ifft2 74587887/dpps_code/util/img_utils.py official repository ran fingerprinted no licence file found · pointer only · 3aa8bac09ce6982f · report
make_master_params 74587887/dpps_code/guided_diffusion/fp16_util.py official repository ran no licence file found · pointer only · e20dd5102da3b050 · report
register_conditioning_method 74587887/dpps_code/guided_diffusion/condition_methods.py official repository ran · our draft was wrong no licence file found · pointer only · 8027fc71dcbcfc45 · report
register_mean_processor 74587887/dpps_code/guided_diffusion/posterior_mean_variance.py official repository ran · our draft was wrong no licence file found · pointer only · 2423fa5313aa3525 · report
register_noise 74587887/dpps_code/guided_diffusion/measurements.py official repository ran no licence file found · pointer only · 905f4b0d3baca742 · report
register_operator 74587887/dpps_code/guided_diffusion/measurements.py official repository ran no licence file found · pointer only · 7f47ba486efd2c7e · report
register_sampler 74587887/dpps_code/guided_diffusion/gaussian_diffusion.py official repository ran · our draft was wrong no licence file found · pointer only · d9bb4d03137bc7e9 · report
register_var_processor 74587887/dpps_code/guided_diffusion/posterior_mean_variance.py official repository ran · our draft was wrong no licence file found · pointer only · e214ee19e7a9d92b · report
unflatten_master_params 74587887/dpps_code/guided_diffusion/fp16_util.py official repository ran no licence file found · pointer only · 64fff1e30802b815 · report
zero_module 74587887/dpps_code/guided_diffusion/nn.py official repository ran · our draft was wrong no licence file found · pointer only · 129b804760b3115f · report
avg_pool_nd 74587887/dpps_code/guided_diffusion/nn.py official repository unverified no licence file found · pointer only · ecd0fc28815b65ae · report
cal_gradient_penalty 74587887/dpps_code/guided_diffusion/unet.py official repository unverified no licence file found · pointer only · 944d16b22c6e6e77 · report
conv_nd 74587887/dpps_code/guided_diffusion/nn.py official repository unverified no licence file found · pointer only · fe4eb545bbb728e0 · report
create_model 74587887/dpps_code/guided_diffusion/unet.py official repository unverified no licence file found · pointer only · e7d9c92d6da5e2c9 · report
create_sampler 74587887/dpps_code/guided_diffusion/gaussian_diffusion.py official repository unverified no licence file found · pointer only · 7a9479e9edb0166b · report
fft2_m 74587887/dpps_code/util/img_utils.py official repository unverified no licence file found · pointer only · 9888b4f7081b54ed · report
fft2c_old 74587887/dpps_code/util/fastmri_utils.py official repository unverified no licence file found · pointer only · d5d761740edb12db · report
get_conditioning_method 74587887/dpps_code/guided_diffusion/condition_methods.py official repository unverified no licence file found · pointer only · ceb7328ab8bdbfe2 · report
get_mean_processor 74587887/dpps_code/guided_diffusion/posterior_mean_variance.py official repository unverified no licence file found · pointer only · e92451e6fb900818 · report
get_operator 74587887/dpps_code/guided_diffusion/measurements.py official repository unverified no licence file found · pointer only · bbb1be64bf961d18 · report
get_sampler 74587887/dpps_code/guided_diffusion/gaussian_diffusion.py official repository unverified no licence file found · pointer only · b910fefa7866252e · report
ifft2c_old 74587887/dpps_code/util/fastmri_utils.py official repository unverified no licence file found · pointer only · d63efa5d2fd536e2 · report

Tasks

DenoisingImage Restoration

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNDiffusionOPT

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