Solving Inverse Problems with Latent Diffusion Models via Hard Data Consistency

Bowen Song, Soo Min Kwon, Zecheng Zhang, Xinyu Hu, Qing Qu +1 more
2/12/2026

No official code found. Best implementation: soominkwon/resample (87 stars, last commit 2024-11-16).

Abstract

Diffusion models have recently emerged as powerful generative priors for solving inverse problems. However, training diffusion models in the pixel space are both data-intensive and computationally demanding, which restricts their applicability as priors for high-dimensional real-world data such as medical images. Latent diffusion models, which operate in a much lower-dimensional space, offer a solution to these challenges. However, incorporating latent diffusion models to solve inverse problems remains a challenging problem due to the nonlinearity of the encoder and decoder. To address these issues, we propose \textit{ReSample}, an algorithm that can solve general inverse problems with pre-trained latent diffusion models. Our algorithm incorporates data consistency by solving an optimization problem during the reverse sampling process, a concept that we term as hard data consistency. Upon solving this optimization problem, we propose a novel resampling scheme to map the measurement-consistent sample back onto the noisy data manifold and theoretically demonstrate its benefits. Lastly, we apply our algorithm to solve a wide range of linear and nonlinear inverse problems in both natural and medical images, demonstrating that our approach outperforms existing state-of-the-art approaches, including those based on pixel-space diffusion models.

View on arXivView PDF

Code Implementations(1)

soominkwon/resampleCommunity100%

Official implementation of ReSample (https://arxiv.org/abs/2307.08123)

8713Shell, PythonFeb 12, 20241 years ago

Similar Papers

Cite this paper

@article{song2026solving,
  title  = {Solving Inverse Problems with Latent Diffusion Models via Hard Data Consistency},
  author = {Bowen Song and Soo Min Kwon and Zecheng Zhang and Xinyu Hu and Qing Qu and Liyue Shen},
  year   = {2026},
  eprint = {2307.08123},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2307.08123},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.08123.svg)](https://codeofpaper.com/paper/2307.08123)

Discussion