A Variational Perspective on Solving Inverse Problems with Diffusion Models
Authors:
- Morteza MardaniMMMorteza Mardani
- Jiaming SongJSJiaming Song
- Jan KautzJKJan Kautz
- Arash VahdatAVArash Vahdat
Preprint
Abstract
Diffusion models have emerged as a key pillar of foundation models in visual domains. One of their critical applications is to universally solve different downstream inverse tasks via a single diffusion prior without re-training for each task. Most inverse tasks can be formulated as inferring a posterior distribution over data (e.g., a full image) given a measurement (e.g., a masked image). This is however challenging in diffusion models since the nonlinear and iterative nature of the diffusion process renders the posterior intractable. To cope with this challenge, we propose a variational approach that by design seeks to approximate the true posterior distribution. We show that our approach naturally leads to regularization by denoising diffusion process (RED-Diff) where denoisers at different timesteps concurrently impose different structural constraints over the image. To gauge the contribution of denoisers from different timesteps, we propose a weighting mechanism based on signal-to-noise-ratio (SNR). Our approach provides a new variational perspective for solving inverse problems with diffusion models, allowing us to formulate sampling as stochastic optimization, where one can simply apply off-the-shelf solvers with lightweight iterates. Our experiments for image restoration tasks such as inpainting and superresolution demonstrate the strengths of our method compared with state-of-the-art sampling-based diffusion models.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- SparseFusion: Distilling View-Conditioned Diffusion for 3D Reconstruction2023
- Come-Closer-Diffuse-Faster: Accelerating Conditional Diffusion Models for Inverse Problems through Stochastic Contraction2022
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models2021
- Regularization by Denoising via Fixed-Point Projection (RED-PRO)SIAM Journal on Imaging Sciences, 2021
- The Little Engine That Could: Regularization by Denoising (RED)SIAM Journal on Imaging Sciences, 2017
- Deep Residual Learning for Image Recognition2016
- Distributed Optimization and Statistical Learning via the Alternating Direction Method of MultipliersFoundations and Trends in Machine Learning, 2011
- A Connection Between Score Matching and Denoising AutoencodersNeural Computation, 2011