SURE Guided Posterior Sampling: Trajectory Correction for Diffusion-Based Inverse Problems

Minwoo Kim, Hongki LimarXiv 2025 · DOI

Abstract

Diffusion-based Inverse Problem Solvers (DIS) have shown remarkable potential in reconstructing high-quality images from corrupted measurements. However, these methods often suffer from trajectory deviations during the sampling process, necessitating a high number of iterations to produce clean results. We present SURE Guided Posterior Sampling (SGPS), a novel framework that utilizes Stein’s Unbiased Risk Estimate (SURE) to identify and correct these deviations. By incorporating a PCA-based noise estimation and a SURE-driven gradient update, SGPS achieves superior reconstruction quality in under 100 steps, significantly outperforming existing methods in the low-iteration regime.

Introduction

Diffusion models have become the state-of-the-art for generative modeling, and their application to inverse problems—recovering an original signal $x$ from a noisy measurement $y = Ax + n$—is a burgeoning field of research. While effective, traditional DIS methods typically alternate between a denoising step and a data consistency step. This iterative process is prone to error accumulation; early in the sampling process, high noise levels lead to inaccurate denoising, and the mathematical guidance used for data consistency often pushes the image away from the natural data manifold.

To compensate for this "drifting," standard solvers require hundreds or even thousands of Neural Function Evaluations (NFEs). SGPS addresses this efficiency bottleneck by introducing a principled correction phase that keeps the sampling trajectory aligned with the true posterior distribution.

Methodology: Correcting the Trajectory

SGPS introduces a two-part correction mechanism into the standard diffusion sampling loop to mitigate trajectory drift.

1. PCA-based Noise Estimation

In practice, the conditional guidance step often introduces additional noise that causes the sample's actual noise level to deviate from the theoretical diffusion schedule. SGPS employs a patch-based Principal Component Analysis (PCA) technique to estimate the actual residual noise level in the current sample. By acknowledging this discrepancy, the model can apply more accurate corrections than methods that rely solely on the predefined schedule.

2. SURE Gradient Update

The core innovation of SGPS is the use of Stein’s Unbiased Risk Estimate (SURE). SURE provides a way to estimate the Mean Squared Error (MSE) between a noisy image and its unknown ground truth without requiring the ground truth itself. SGPS calculates the gradient of this SURE estimate and uses it as a "nudge" to move the sample back toward the data manifold. This treats SURE as a local cost function, allowing for step-wise refinement tailored to the specific image being reconstructed.

3. Theoretical Foundation

The authors provide theoretical validation showing that their Langevin-based guidance preserves the Gaussian nature of the noise, which is a prerequisite for the validity of SURE. Furthermore, they prove that SURE-guided updates reduce the KL divergence between the sample distribution and the target posterior, ensuring the sampling process remains mathematically sound.

Experimental Setup

The method was evaluated using the FFHQ (Flickr-Faces-HQ) dataset at $256 \times 256$ resolution. Testing was performed on 100 images from the validation set using a pre-trained diffusion model. The researchers tested SGPS across a variety of tasks:

  • Linear Problems: $4\times$ Super-resolution, box inpainting, random inpainting, Gaussian deblurring, and motion deblurring.
  • Nonlinear Problems: Phase retrieval, nonlinear deblurring, and High Dynamic Range (HDR) recovery.

Key Results and Insights

Performance at Low NFEs

SGPS demonstrates a significant advantage when the number of sampling steps is limited. In tests restricted to 50 or 100 steps, SGPS consistently outperformed state-of-the-art baselines such as DAPS, DPS, and DDRM. For instance, in $4\times$ super-resolution at approximately 100 NFEs, SGPS achieved a PSNR of 29.384, compared to 27.693 for DAPS.

Visual Fidelity and Consistency

Qualitatively, SGPS produces sharper details and maintains better data consistency than its competitors. It avoids the over-smoothing common in SVD-based methods like DDRM and the noise artifacts often seen in other posterior samplers. Details such as hair texture and facial features are preserved with higher fidelity, even at low iteration counts.

Efficiency

SGPS is highly time-efficient. In time-equalized comparisons, the method reached high-quality reconstruction (29.058 PSNR) in roughly 4 seconds. While each individual step in SGPS is more computationally expensive—requiring three denoiser evaluations to calculate the SURE gradient—the drastic reduction in the total number of steps required leads to an overall faster inference time for high-quality results.

Conclusion and Future Work

SURE Guided Posterior Sampling represents a significant step forward in making diffusion-based inverse problem solvers practical for real-world applications. By treating trajectory correction as a local optimization problem guided by SURE, the method achieves high-fidelity results with a fraction of the computational cost of previous methods.

Future research directions include extending SGPS to Latent Diffusion Models (LDMs) to handle higher-resolution images and exploring more efficient gradient estimators, such as JVP-based forward gradients, to reduce the per-step computational overhead. Additionally, testing the robustness of SGPS on "blind" inverse problems, where the corruption operator is unknown, remains an important area for further investigation.

Summary updated

BibTeX
@misc{kim2025sure,
  author = {Minwoo Kim and Hongki Lim},
  title = {{SURE Guided Posterior Sampling: Trajectory Correction for Diffusion-Based Inverse Problems}},
  year = {2025},
  eprint = {2512.23232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.23232},
}
Figure