The Evaluation Bottleneck in Inverse Problems
Diffusion models have become the state-of-the-art for generating realistic images, and researchers are increasingly using them as "priors" to solve linear inverse problems—such as reconstructing a signal from noisy or incomplete measurements (e.g., deblurring or MRI reconstruction). However, evaluating these "Diffusion Posterior Sampling" (DPS) algorithms is notoriously difficult.
Currently, researchers rely on perceptual metrics (like FID) or distortion metrics (like PSNR). Unfortunately, these metrics do not reveal whether the algorithm is actually sampling from the mathematically correct posterior distribution. Furthermore, existing benchmarks often use overly simplistic Gaussian mixtures that fail to capture the "heavy-tailed" nature of real-world data, such as sharp edges in images or extreme shifts in financial markets. Without a statistical ground truth, it is impossible to know if a poor reconstruction is due to a poorly trained diffusion model or a fundamentally flawed sampling algorithm.
A Gold-Standard Benchmark Using Lévy Processes
To address this, the authors propose a rigorous statistical benchmark based on discretized Lévy processes. These are stochastic processes where the increments between points are independent and follow specific distributions, such as Laplace or Student-t.
The core innovation of this paper is that for these specific processes, the true posterior distribution can be sampled exactly using Gibbs methods (specifically the Gaussian Latent Machine or GLM). This provides a "gold standard" reference that allows researchers to finally distinguish between errors caused by the algorithm's logic and errors caused by imperfectly learned neural networks.
Rather than using standard image datasets like ImageNet, this benchmark utilizes synthetic signals generated from four types of increment distributions:
- Gaussian: The standard, "easy" baseline.
- Laplace & Student-t: Representing heavy-tailed, "sparse" signals.
- Bernoulli–Laplace: A "spike-and-slab" model representing highly sparse signals.
The benchmark evaluates these signals across four classic inverse problems: denoising, deconvolution, imputation (filling in gaps), and reconstruction from partial Fourier measurements.
Isolating Algorithmic vs. Neural Errors
The authors introduce a unified framework that expresses various popular algorithms (like C-DPS, DiffPIR, and DPnP) as a two-stage process: sampling from a denoising posterior and then updating the estimate.
By replacing the standard learned neural network denoiser with an "arbitrary-precision" Monte Carlo estimate derived from their Gibbs sampler, the authors can isolate algorithmic errors from neural approximation errors.
Using this perfect denoiser, they proved that many failures in current methods are due to the neural network's inability to handle heavy-tailed data, rather than the sampling logic itself. For example, in imputation tasks for Student-t signals, replacing a learned denoiser with a gold-standard Monte Carlo denoiser decreased the Minimum Mean Squared Error (MMSE) optimality gap by over 10 dB.
Key Insights and Results
- The Calibration Gap: A major finding is that most current DPS algorithms are uncalibrated. They tend to under-report uncertainty, meaning the samples they produce concentrate too heavily around a single mode rather than exploring the full range of possible solutions.
- MMSE vs. Perception: The paper highlights the fundamental tradeoff between "distortion" (low MSE) and "perception" (looking realistic). Regressors trained on MSE produce smooth, blurry results, while DPS samplers produce high-frequency details that look realistic but may have higher numerical error.
- Algorithm Sensitivity: While some algorithms (like DPnP) improve automatically when given a better denoiser, others (like DiffPIR) require careful hyperparameter retuning to benefit from higher-quality components. Overall, DiffPIR emerged as the most consistent top performer among the tested DPS algorithms.
- Computational Optimization: The authors implemented a highly optimized Bernoulli–Laplace sampler using custom CUDA and Triton kernels, achieving a 74.61× speedup over baseline implementations, making these high-precision benchmarks feasible to run.
Limitations and Future Work
The current benchmark focuses on signals of dimension $d=64$. While the authors discuss matrix-free methods for scaling, high-resolution 2D and 3D imaging remains a computational challenge for exact Gibbs sampling. Additionally, the framework is currently limited to linear inverse problems and primarily assumes Gaussian noise. Extending this to non-linear forward models and more complex noise models are suggested next steps.
The authors have released their code and the benchmark at https://github.com/emblem-saying/dps-benchmark, inviting the community to test new algorithms against these statistical gold standards.
Summary updated