Papers › Guided Diffusion Sampling on Function Spaces with Applications to PDEs

Guided Diffusion Sampling on Function Spaces with Applications to PDEs

22 May 2025arXiv:2505.17004archive 2025-07-28

Jiachen Yao, Abbas Mammadov, Julius Berner, Gavin Kerrigan, Jong Chul Ye, Kamyar Azizzadenesheli, Anima Anandkumar

We propose a general framework for conditional sampling in PDE-based inverse problems, targeting the recovery of whole solutions from extremely sparse or noisy measurements. This is accomplished by a function-space diffusion model and plug-and-play guidance for conditioning. Our method first trains an unconditional discretization-agnostic denoising model using neural operator architectures. At inference, we refine the samples to satisfy sparse observation data via a gradient-based guidance mechanism. Through rigorous mathematical analysis, we extend Tweedie's formula to infinite-dimensional Hilbert spaces, providing the theoretical foundation for our posterior sampling approach. Our method (FunDPS) accurately captures posterior distributions in function spaces under minimal supervision and severe data scarcity. Across five PDE tasks with only 3% observation, our method achieves an average 32% accuracy improvement over state-of-the-art fixed-resolution diffusion baselines while reducing sampling steps by 4x. Furthermore, multi-resolution fine-tuning ensures strong cross-resolution generalizability. To the best of our knowledge, this is the first diffusion-based framework to operate independently of discretization, offering a practical and flexible solution for forward and inverse problems in the context of PDEs. Code is available at https://github.com/neuraloperator/FunDPS

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

Code

Syntology Ran 19 of 26 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 8 ran · fixture could not drive it; 5 ran with no contract checked.

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

neuraloperator/fundps officialmentioned in papermentioned on GitHubpytorchMIT 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; 19 ran; 3 honoured the contract we drafted; 7 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.

3ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
8ran · fixture could not drive it
5ran
7unverified

Licence: 0 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 neuraloperator/fundps. “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.

DatasetNormalizer neuraloperator/fundps/generation/dps.py official repository ran MIT (permissive) · a764c92b51887090 · report
FullObservation neuraloperator/fundps/generation/dps.py official repository ran MIT (permissive) · 607661f0464669d6 · report
Observation neuraloperator/fundps/generation/dps.py official repository ran MIT (permissive) · 1281fa90656c411b · report
PDEDataset neuraloperator/fundps/generation/dps.py official repository ran MIT (permissive) · 9ad0358dd430c924 · report
RBFKernel neuraloperator/fundps/generation/dps.py official repository ran MIT (permissive) · 55a5bbf6c6f4dea1 · report
batched_loss neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · f6f36fd9d354adad · report
get_burgers_residual neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it MIT (permissive) · 2c86054a4f79a831 · report
get_darcy_residual neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it MIT (permissive) · 336217453f6a14d2 · report
get_fixed_coords neuraloperator/fundps/generation/dps.py official repository ran · honoured contract MIT (permissive) · 1cc6a2ab17c9f3e2 · report
get_helmholtz_residual neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 132b513b6ea8e67b · report
get_loss_func neuraloperator/fundps/generation/dps.py official repository ran · our draft was wrong MIT (permissive) · 507e51ab566b1005 · report
get_ns_bounded_residual neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it MIT (permissive) · 3b03fab64964340f · report
get_ns_nonbounded_residual neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it MIT (permissive) · fb5f9dc83a09ffa0 · report
get_poisson_residual neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 7eea8f617cd78cdc · report
huber_loss neuraloperator/fundps/generation/dps.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · ab891ef221209094 · report
l1_loss neuraloperator/fundps/generation/dps.py official repository ran · honoured contract fingerprinted MIT (permissive) · e90ea3b7b0c4106e · report
l2_loss neuraloperator/fundps/generation/dps.py official repository ran · honoured contract fingerprinted MIT (permissive) · 033caf372281941b · report
mse_loss neuraloperator/fundps/generation/dps.py official repository ran · violated contract fingerprinted MIT (permissive) · 8be214b363325c85 · report
transform_darcy neuraloperator/fundps/generation/dps.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · fcb362bbb769848b · report
NoiseSampler neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · a1ad6aa95472bdcd · report
PDEObservation neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · f1e50f2f0c3eb299 · report
PDESolver neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · 187875e852c295f0 · report
PDESolverDPS neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · 831b22b68d561737 · report
SparseObservation neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · ee86e31974265100 · report
get_observation_class neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · 892f92a74b9d2bfb · report
get_pde_residual neuraloperator/fundps/generation/dps.py official repository unverified MIT (permissive) · f933ac4c89aec5c5 · report

Tasks

Denoising

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