Papers › Diffusion State-Guided Projected Gradient for Inverse Problems

Diffusion State-Guided Projected Gradient for Inverse Problems

4 Oct 2024arXiv:2410.03463archive 2025-07-28

Rayhan Zirvi, Bahareh Tolooshams, Anima Anandkumar

Recent advancements in diffusion models have been effective in learning data priors for solving inverse problems. They leverage diffusion sampling steps for inducing a data prior while using a measurement guidance gradient at each step to impose data consistency. For general inverse problems, approximations are needed when an unconditionally trained diffusion model is used since the measurement likelihood is intractable, leading to inaccurate posterior sampling. In other words, due to their approximations, these methods fail to preserve the generation process on the data manifold defined by the diffusion prior, leading to artifacts in applications such as image restoration. To enhance the performance and robustness of diffusion models in solving inverse problems, we propose Diffusion State-Guided Projected Gradient (DiffStateGrad), which projects the measurement gradient onto a subspace that is a low-rank approximation of an intermediate state of the diffusion process. DiffStateGrad, as a module, can be added to a wide range of diffusion-based inverse solvers to improve the preservation of the diffusion process on the prior manifold and filter out artifact-inducing components. We highlight that DiffStateGrad improves the robustness of diffusion models in terms of the choice of measurement guidance step size and noise while improving the worst-case performance. Finally, we demonstrate that DiffStateGrad improves upon the state-of-the-art on linear and nonlinear image restoration inverse problems. Our code is available at https://github.com/Anima-Lab/DiffStateGrad.

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

Code

Syntology Ran 14 of 30 code samples harvested from 3 repositories linked to this paper; 16 have no recorded run. Of those that ran: 1 ran · honoured contract; 6 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 1 ran; found in paper text by Syntology: 25 samples from 2 repositories, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

anima-lab/diffstategrad officialmentioned in paperpytorch 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

30 samples harvested; 14 ran; 1 honoured the contract we drafted; 16 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.

1ran · honoured contract
6ran · our draft was wrong
7ran
16unverified

Licence: 29 of the 30 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

compute_nmse Anima-Lab/DiffStateGrad/diffstategrad_sample_condition.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 64dc5d8730b56c99 · report
apply_diffstategrad Anima-Lab/DiffStateGrad/diffstategrad_utils.py official repository unverified no licence file found · pointer only · 9e93cb2557660fbc · report
apply_diffstategrad anima-lab/diffstategrad/diffstategrad_utils.py official repository unverified no licence file found · pointer only · 1f7536772030e0a0 · report
compute_rank_for_explained_variance Anima-Lab/DiffStateGrad/diffstategrad_utils.py official repository unverified no licence file found · pointer only · 87e40e844d84eb4c · report
compute_svd_and_adaptive_rank Anima-Lab/DiffStateGrad/diffstategrad_utils.py official repository unverified no licence file found · pointer only · d71734d31c19eaa1 · report
load_yaml LituRout/PSLD/diffusion-posterior-sampling/sample_condition.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 00c67a2ab9d4b104 · report
fft2c_new LituRout/PSLD/diffusion-posterior-sampling/util/fastmri_utils.py found in paper text by Syntology ran no licence file found · pointer only · dc2dcfd069e89041 · report
get_mask utcsilab/csgm-mri-langevin/utils.py found in paper text by Syntology ran MIT (permissive) · 872365fee36a7a9f · report
get_param_groups_and_shapes LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/fp16_util.py found in paper text by Syntology ran no licence file found · pointer only · e41367ad14ff58fd · report
make_master_params LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/fp16_util.py found in paper text by Syntology ran no licence file found · pointer only · e20dd5102da3b050 · report
register_conditioning_method LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/condition_methods.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 8027fc71dcbcfc45 · report
register_mean_processor LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/posterior_mean_variance.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 2423fa5313aa3525 · report
register_noise LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/measurements.py found in paper text by Syntology ran no licence file found · pointer only · 905f4b0d3baca742 · report
register_operator LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/measurements.py found in paper text by Syntology ran no licence file found · pointer only · 7f47ba486efd2c7e · report
register_sampler LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/gaussian_diffusion.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · d9bb4d03137bc7e9 · report
register_var_processor LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/posterior_mean_variance.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · e214ee19e7a9d92b · report
unflatten_master_params LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/fp16_util.py found in paper text by Syntology ran no licence file found · pointer only · 64fff1e30802b815 · report
zero_module LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/nn.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 129b804760b3115f · report
avg_pool_nd LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/nn.py found in paper text by Syntology unverified no licence file found · pointer only · ecd0fc28815b65ae · report
cal_gradient_penalty LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/unet.py found in paper text by Syntology unverified no licence file found · pointer only · 944d16b22c6e6e77 · report
conv_nd LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/nn.py found in paper text by Syntology unverified no licence file found · pointer only · fe4eb545bbb728e0 · report
create_model LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/unet.py found in paper text by Syntology unverified no licence file found · pointer only · e7d9c92d6da5e2c9 · report
create_sampler LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/gaussian_diffusion.py found in paper text by Syntology unverified no licence file found · pointer only · 7a9479e9edb0166b · report
download_models LituRout/PSLD/stable-diffusion/notebook_helpers.py found in paper text by Syntology unverified no licence file found · pointer only · 4533e43e06a12dc5 · report
fft2c_old LituRout/PSLD/diffusion-posterior-sampling/util/fastmri_utils.py found in paper text by Syntology unverified no licence file found · pointer only · d5d761740edb12db · report
get_conditioning_method LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/condition_methods.py found in paper text by Syntology unverified no licence file found · pointer only · ceb7328ab8bdbfe2 · report
get_mean_processor LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/posterior_mean_variance.py found in paper text by Syntology unverified no licence file found · pointer only · e92451e6fb900818 · report
get_operator LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/measurements.py found in paper text by Syntology unverified no licence file found · pointer only · bbb1be64bf961d18 · report
get_sampler LituRout/PSLD/diffusion-posterior-sampling/guided_diffusion/gaussian_diffusion.py found in paper text by Syntology unverified no licence file found · pointer only · b910fefa7866252e · report
ifft2c_old LituRout/PSLD/diffusion-posterior-sampling/util/fastmri_utils.py found in paper text by Syntology unverified no licence file found · pointer only · d63efa5d2fd536e2 · report

Tasks

Image Restoration

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