Abstract
Solving inverse problems—reconstructing an original signal $x$ from a noisy measurement $y$—requires efficient sampling from the posterior distribution $p(x|y)$. While diffusion models and Langevin dynamics are popular tools for this task, they often suffer from stability issues or require unrealistic precision in score estimation. This paper introduces a novel algorithm that bridges these two approaches, providing the first polynomial-time guarantee for robust posterior sampling using only $L^4$-accurate score estimates. By focusing on locally log-concave distributions and utilizing an annealed mixing strategy, the proposed method achieves superior performance in image reconstruction tasks compared to existing heuristics.
Introduction
In fields ranging from medical imaging to computer vision, researchers frequently encounter inverse problems. These problems involve recovering a high-dimensional signal $x$ (such as a sharp MRI image) from a corrupted or partial measurement $y$ (such as blurry or undersampled data). Mathematically, this is framed as sampling from the posterior distribution $p(x|y) \propto p(y|x)p(x)$.
Currently, two dominant paradigms exist for this task, yet both have significant drawbacks:
- Diffusion Models: These models excel at capturing the prior $p(x)$ to generate realistic images. However, when adapted for posterior sampling (e.g., via Diffusion Posterior Sampling or DPS), they rely on heuristics that lack formal convergence guarantees and can exhibit instability.
- Langevin Dynamics: This classical sampling method is theoretically grounded but "brittle" in practice. Standard convergence proofs require the score estimates (the gradient of the log-probability) to satisfy a Moment Generating Function (MGF) bound. This implies that large errors in the neural network's score estimation must be exponentially unlikely—a condition rarely met by real-world models.
Furthermore, general posterior sampling is known to be computationally intractable (NP-hard) for arbitrary distributions. This research seeks a middle ground: an algorithm that is both provably efficient and robust to the $L^p$ errors typical of neural network estimators.
The Proposed Method: PosteriorSampler
The authors propose Algorithm 1: PosteriorSampler, a two-stage approach designed to maintain stability by keeping the sampling process near the high-probability manifold of the prior.
Stage 1: Localization and Warm Start
The algorithm begins by using a standard diffusion Stochastic Differential Equation (SDE) to obtain a "warm start" sample. This initial step does not attempt to solve the inverse problem perfectly but instead places the sample in the general vicinity of the high-probability region of the prior distribution $p(x)$.
Stage 2: Annealed Mixing Steps
Rather than executing a single, long Langevin trajectory, the algorithm performs a sequence of "mixing steps" across a schedule of auxiliary measurements with decreasing noise levels ($\eta_1 > \eta_2 > \dots > \eta_N = \eta$). At each stage, the algorithm runs Langevin dynamics for a short duration to transition from the posterior of a noisier measurement to the posterior of a slightly cleaner one.
This annealing process is the core innovation. By taking frequent, incremental steps between statistically similar distributions, the sampler remains "on the manifold." This prevents the process from drifting into out-of-distribution regions where the score estimator is untrained and likely to produce wild inaccuracies.
Theoretical Contributions: The $L^4$ Breakthrough
A primary contribution of this work is the relaxation of the accuracy requirements for score estimators. While standard Langevin theory demands MGF bounds, this paper proves (Theorems 1.1 and 1.2) that by using annealing, an $L^4$ bound on score error is sufficient to achieve polynomial-time convergence. This is a significantly more realistic assumption for neural network-based score estimators.
The authors argue that the computational "hardness" of posterior sampling is primarily a global search problem—finding the correct region of the manifold. Once the "warm start" provides a localized estimate, the local distribution often behaves as if it were log-concave, making it much easier to sample efficiently.
Experimental Results
The algorithm was validated using the FFHQ-256 dataset, consisting of high-quality human face images, across three distinct inverse problems:
- Inpainting: Reconstructing missing pixels (30%–70% mask).
- 4× Super-resolution: Upscaling low-resolution inputs.
- Gaussian Deblurring: Reversing blur from a $61 \times 61$ Gaussian kernel.
Performance and Attributes
In empirical tests, the annealed Langevin approach outperformed the popular Diffusion Posterior Sampling (DPS) heuristic. In inpainting tasks, the proposed method achieved lower $L^2$ error and superior FID (Fréchet Inception Distance) scores, indicating that the reconstructions were both more accurate to the ground truth and more visually realistic. Qualitatively, the method demonstrated a better ability to preserve specific ground-truth attributes, such as eye shape and accessories, which are often lost or hallucinated by less stable heuristics.
Limitations and Future Work
Despite its theoretical and empirical strengths, the method has several limitations:
- Log-Concavity Assumption: The proofs rely on the distribution being at least locally log-concave. While the authors provide evidence for this in simplified cases (like a "Ring" distribution), the actual local geometry of complex image manifolds remains an open research question.
- Computational Overhead: The requirement for multiple mixing steps, each involving SDE simulations, makes this approach more computationally expensive than "one-shot" or simpler heuristic reconstruction methods.
- Hyperparameter Tuning: The success of the sampler is sensitive to the noise schedule and step sizes, requiring careful calibration for different datasets and noise levels.
Conclusion
By combining the generative power of diffusion models with the structured refinement of annealed Langevin dynamics, this work provides a robust framework for solving inverse problems. The shift from requiring exponential error bounds to $L^4$ accuracy marks a significant step toward bridging the gap between theoretical sampling guarantees and the practical realities of deep learning.
Summary updated