Abstract
Solving image inverse problems under heavy noise remains a significant challenge for diffusion-based generative models. We present Diffusion Policy Gradient (DPG), a framework that treats diffusion guidance as a reinforcement learning problem. By leveraging the Leibniz Rule and reward shaping techniques, DPG provides a more robust posterior sampling mechanism than existing point-estimate methods. Our results demonstrate superior performance in fidelity and structural recovery across various linear and non-linear degradation tasks.
1. Introduction
Image inverse problems involve recovering an underlying clean image $x_0$ from a noisy, degraded observation $y = \mathcal{A}(x_0) + n$. While diffusion models serve as excellent priors, effective restoration requires accurate "guidance" to align the generative process with the observation. Current state-of-the-art methods, such as Diffusion Posterior Sampling (DPS), rely on point estimates of the clean image during denoising. However, these estimates become unreliable when the observation $y$ is noisy, particularly in the early stages of generation, leading to artifacts and loss of detail.
2. Diffusion Policy Gradient
The DPG framework introduces a paradigm shift by viewing the diffusion process through the lens of Policy Gradients in Reinforcement Learning (RL).
2.1 RL Formulation
In this view, intermediate noisy images are treated as policies, and the predicted clean images are states sampled from these policies. The likelihood $p(y|x_0)$ acts as a reward (or negative cost) that guides the policy toward high-fidelity reconstructions.
2.2 Mathematical Innovations
To make the guidance tractable and robust, DPG employs several key techniques:
- Leibniz Rule Application: By applying the Leibniz Rule, the authors transform the complex gradient of the log-posterior into an expectation that can be estimated via sampling.
- Monte Carlo Sampling: The posterior is approximated using Gaussian sampling, allowing for a more representative estimate of the guidance signal than a single point estimate.
- Reward Shaping: A "leave-one-out" cross-validation approach is used to reduce the variance of the Monte Carlo estimates, ensuring stable guidance even with diverse samples.
- Score Re-scaling: A re-scaling factor is introduced to balance the influence of the diffusion prior and the observation-based guidance.
The authors formally prove that DPS is a special case of DPG, occurring when the sampling variance is zero. This positions DPG as a generalized and more robust framework for noisy inverse problems.
3. Experiments and Results
The method was evaluated on FFHQ, ImageNet, and LSUN-Bedroom datasets against degradations including inpainting, super-resolution, and various forms of deblurring.
3.1 Quantitative Performance
DPG consistently outperforms baselines in both fidelity and perceptual metrics. For ImageNet 4× super-resolution, DPG achieved an FID of 31.02, significantly surpassing DPS's 43.60. LPIPS scores were also lower, indicating better preservation of human-perceptible details.
3.2 Key Insights
- Early Structural Recovery: DPG recovers the global structure (the "sketch") of the target image much earlier in the 1000-step diffusion process compared to DPS.
- Non-Linear Robustness: Unlike methods restricted to linear operators, DPG handles non-linear degradations (e.g., non-linear blur) effectively as it does not require an explicit inverse of the operator $\mathcal{A}$.
- Noise Resilience: The framework maintains high performance under both Gaussian and Poisson noise conditions.
4. Conclusion
Diffusion Policy Gradient offers a theoretically grounded and practically superior approach to solving noisy inverse problems. By adopting an RL-inspired sampling strategy, it overcomes the limitations of point-estimate guidance. Future work will focus on reducing computational overhead and extending the method to blind inverse problems where the degradation operator is unknown.
Summary updated