Introduction
Inverse problems are a cornerstone of modern scientific inquiry, representing the challenge of inferring an unknown source—such as a seismic map, a medical image, or a fluid velocity field—from indirect, noisy, and often incomplete observations. Traditionally, these problems have been solved using hand-crafted mathematical regularizers that enforce properties like sparsity or smoothness. However, the advent of generative AI has introduced a more powerful alternative: Diffusion Models (DMs). These models act as data-driven priors, learning the complex, high-dimensional structure of data directly from observations.
While diffusion models have demonstrated remarkable success in natural image restoration (e.g., deblurring or inpainting photos), their application to the physical sciences remains a frontier. Scientific inverse problems involve non-linear physics, complex-valued data, and forward models governed by partial differential equations (PDEs). InverseBench is a comprehensive new framework designed to bridge this gap, evaluating 14 "plug-and-play" diffusion prior (PnPDP) algorithms across five challenging scientific domains.
The InverseBench Framework
The "plug-and-play" philosophy is central to this benchmark. In a PnPDP setup, a pre-trained diffusion model (the prior) is decoupled from the physical forward model (the likelihood). This modularity allows researchers to apply a single generative model to various physical tasks without the need for expensive retraining. InverseBench categorizes 14 representative algorithms into four distinct families:
- Guidance-based Methods: These modify the diffusion sampling trajectory by incorporating the gradient of the physical observation (e.g., DPS, LGD).
- Variable-splitting Methods: These alternate between a physics-based optimization step and a diffusion-based denoising step (e.g., DiffPIR, PnP-DM).
- Variational Bayes: These approximate the posterior distribution by treating the diffusion model as a structured prior (e.g., RED-diff).
- Sequential Monte Carlo: These utilize particle-based filtering techniques to sample from the posterior distribution (e.g., FPS, MCGDiff).
Experimental Setup: Diverse Scientific Domains
InverseBench evaluates these algorithms across five datasets, each chosen for its unique structural and physical challenges:
- Linear Inverse Scattering: Focused on fluorescence microscopy images of HL60 nuclei.
- Compressed Sensing MRI: Utilizing multi-coil raw k-space data from the fastMRI knee dataset to evaluate clinical utility.
- Black Hole Imaging: Reconstructing simulated images from General Relativistic MagnetoHydroDynamic (GRMHD) models.
- Full Waveform Inversion (FWI): Mapping seismic velocity in the presence of complex rock layer faults (CurveFaultB).
- Navier-Stokes Equation: Reconstructing 2D vorticity fields to represent complex fluid dynamics.
Key Insights and Discussion
The "Prior Bias" Trap
One of the most significant findings of InverseBench is the "stubbornness" of generative priors. While PnPDP methods are excellent at capturing high-dimensional structures, they are prone to prior bias. If the true source is out-of-distribution—for instance, if a model trained on black hole images is used to reconstruct a different type of celestial body—the model tends to force the result to match its training data, potentially hallucinating features like rings where none exist.
Numerical Instability in PDE Solvers
For problems involving numerical PDE solvers, such as Full Waveform Inversion or Navier-Stokes simulations, many PnPDP methods exhibit significant instability. The study links this to the Courant–Friedrichs–Lewy (CFL) condition. Small adjustments in the sampling step size can lead to a total divergence of the physics solver, suggesting that current diffusion algorithms do not yet fully "respect" the underlying physical constraints during the denoising process.
Sparsity and Ill-posedness
As measurements become sparser, the performance gap between diffusion-based methods and traditional baselines (like Total Variation or FISTA) widens. The stronger the generative prior, the more effectively it can fill in the gaps of missing data, making these methods particularly valuable for highly ill-posed problems.
Complexity vs. Accuracy
There is a clear trade-off between computational cost and reconstruction quality. Methods that query the forward physics model multiple times per iteration (such as DAPS or PnP-DM) generally achieve higher accuracy. However, this comes at the cost of massive computational overhead and increased sensitivity to hyperparameter tuning, which may limit their use in real-time applications.
Empirical Results
Across the benchmark, PnPDP methods generally outperformed traditional domain-specific baselines when the test data remained within the training distribution. In the MRI task, PnP-DM and E2E-VarNet achieved the highest diagnostic performance (mAP50), demonstrating that pixel-wise accuracy metrics like PSNR correlate well with clinical utility. In Seismology (FWI), while PnPDP methods can outperform classic optimization (like Adam or LBFGS) when starting from a random guess, they still struggle to surpass traditional solvers that have been initialized with a reasonably accurate "blurred" version of the truth.
Conclusion and Future Directions
InverseBench highlights that while diffusion priors offer a powerful new toolkit for the physical sciences, several hurdles remain. Future research must focus on physics-aware sampling to ensure numerical stability, improving the computational efficiency of these iterative solvers, and exploring how these models handle multi-modal posteriors where multiple valid physical solutions exist. Furthermore, the robustness of these methods to model mismatch—where the forward physics model is only an approximation—remains a critical area for exploration.
The InverseBench codebase, datasets, and pre-trained models are open-sourced to encourage further development in this vital intersection of generative AI and physical modeling.
Summary updated