NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Provable diffusion-based posterior sampling for linear inverse problems via DDIM

Yuchen Jiao, Na Li, Changxiao Cai, Yuxin Chen, Gen LiarXiv 2026

TL;DR

The authors introduce Posterior-DDIM, a simple and highly efficient algorithm for solving linear inverse problems using diffusion priors. By decoupling the problem along the singular directions of the measurement operator, the algorithm adaptively switches between the learned prior and the observed data based on their relative signal-to-noise ratios (SNR). Crucially, it is the first DDIM-type sampler that comes with rigorous theoretical guarantees of convergence to the true Bayesian posterior.

What Problem Does This Paper Address?

In image restoration and scientific imaging, we often face linear inverse problems: trying to recover an underlying signal $X_0$ from a noisy, degraded observation $Y = AX_0 + \varepsilon$. Because these problems are usually ill-posed (e.g., missing pixels or blurred details), researchers use prior distributions to fill in the blanks.

Pre-trained diffusion models have emerged as incredibly powerful implicit priors for this task. However, existing diffusion-based posterior samplers suffer from a major dichotomy:

  1. Heuristic methods (like projection steps or approximate gradients) work fast and perform well empirically but lack rigorous theoretical proofs that they actually sample from the correct conditional distribution.
  2. Provably correct methods (like Sequential Monte Carlo) require an impractical amount of computation, often needing a prohibitively large number of particles to converge.

This paper bridges the gap by proposing a sampler that is both computationally lightweight (built on the efficient DDIM framework) and mathematically proven to be correct.

Methods

The core innovation of Posterior-DDIM lies in treating different directions of the measurement operator differently, rather than applying a uniform correction step.

  1. SVD Decoupling: The algorithm computes the Singular Value Decomposition (SVD) of the measurement matrix $A$. This transforms the complex, high-dimensional inverse problem into a set of independent, scalar problems along each singular direction.
  2. SNR-Guided Partitioning: At each step of the reverse diffusion process, the algorithm compares the observation SNR (how clean the data is in that direction) with the diffusion SNR (the current noise level of the generative process). This splits the singular directions into three zones:
  3. Measurement-dominated directions: The observation is cleaner than the diffusion state. The algorithm bypasses the diffusion prior and injects a carefully calibrated noisy version of the actual observation.
  4. Prior-dominated observed directions: The observation is too noisy. The algorithm relies on the pre-trained diffusion model's data predictor, adding a novel coordinate-wise correction term to account for unequal singular values.
  5. Unobserved directions: Directions where the measurement operator provides zero information. The algorithm runs standard DDIM updates but uses a larger stochasticity parameter ($\eta_1$) to aggressively explore the unobserved subspace.

By doing this coordinate-wise, the algorithm avoids expensive global gradient computations, reducing posterior sampling to a sequence of simple, lightweight DDIM updates.

Datasets

The authors evaluated their approach on standard image datasets:

  • CelebA: Used for face image restoration.
  • ImageNet: Evaluated on the 1K sub-test set for diverse, general image restoration.

The algorithm was tested across four distinct tasks: 50% random inpainting, $4\times$ super-resolution (average pooling), Gaussian deblurring, and compressed sensing (using a Walsh–Hadamard sampling matrix).

Key Insights and Ideas

  • The "Hand-off" Principle: You don't need to guess how to balance the data and the prior. By looking at the singular values of $A$, there is a mathematically precise "threshold time" ($\tau_s$) where the measurement becomes more informative than the generative model's current state.
  • Exploration vs. Exploitation in Subspaces: In completely unobserved dimensions, the posterior distribution is entirely dictated by the prior. The authors realized that setting the DDIM stochasticity parameter higher ($\eta_1 > 0$) in these dimensions acts like a Langevin-style exploration, which is vital for capturing sample diversity (improving FID scores).
  • Provable Consistency: The authors prove that as the time discretization step size approaches zero, the distribution of the generated samples converges exactly to the true Bayesian posterior in total variation distance.

Key Results

  • Top-Tier Performance: Posterior-DDIM consistently outperformed or matched state-of-the-art reference algorithms (such as DPS, DDRM, DDNM+, and ProjDiff). It achieved the best performance on at least three out of four evaluation metrics (PSNR, SSIM, LPIPS, and FID) in the majority of tasks.
  • Fidelity vs. Diversity Trade-off: When approximating the posterior mean by averaging multiple independent runs (Monte Carlo sampling), Posterior-DDIM provided a significantly better trade-off between reconstruction fidelity (high PSNR/SSIM) and image quality (low FID) compared to competitors like DDNM+ and ProjDiff.
  • Efficiency: The algorithm's performance completely stabilizes at around 100 Number of Function Evaluations (NFE), making it highly practical for real-world deployment.

Limitations and Future Work

  • Linear Restrictions: The current mathematical framework relies heavily on SVD, meaning it is strictly limited to linear inverse problems. Extending this provable framework to non-linear problems (like phase retrieval or blind deblurring) remains an open challenge.
  • Asymptotic vs. Finite Rates: While the paper proves that the algorithm converges to the correct posterior asymptotically, it does not provide a non-asymptotic bound on the rate of convergence (i.e., how many steps are strictly required for a specific error tolerance).

Summary updated

BibTeX
@misc{jiao2026provable,
  author = {Yuchen Jiao and Na Li and Changxiao Cai and Yuxin Chen and Gen Li},
  title = {{Provable diffusion-based posterior sampling for linear inverse problems via DDIM}},
  year = {2026},
  eprint = {2607.19333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.19333},
}
Figure