DMPlug: A Plug-in Method for Solving Inverse Problems with Diffusion Models

Hengkang Wang, Xu Zhang, Taihui Li, Yuxiang Wan, Tiancong Chen +1 more
5/1/2024
84 citations
diffusion-flow

Official code: sun-umn/DMPlug (78 stars, Python, last commit 2025-09-20).

Abstract

Pretrained diffusion models (DMs) have recently been popularly used in solving inverse problems (IPs). The existing methods mostly interleave iterative steps in the reverse diffusion process and iterative steps to bring the iterates closer to satisfying the measurement constraint.

Show full abstract

However, such interleaving methods struggle to produce final results that look like natural objects of interest (i.e., manifold feasibility) and fit the measurement (i.e., measurement feasibility), especially for nonlinear IPs. Moreover, their capabilities to deal with noisy IPs with unknown types and levels of measurement noise are unknown. In this paper, we advocate viewing the reverse process in DMs as a function and propose a novel plug-in method for solving IPs using pretrained DMs, dubbed DMPlug. DMPlug addresses the issues of manifold feasibility and measurement feasibility in a principled manner, and also shows great potential for being robust to unknown types and levels of noise. Through extensive experiments across various IP tasks, including two linear and three nonlinear IPs, we demonstrate that DMPlug consistently outperforms state-of-the-art methods, often by large margins especially for nonlinear IPs. The code is available at https://github.com/sun-umn/DMPlug.

View on arXivView PDF

Code Implementations(1)

sun-umn/DMPlugOfficial65%

This is the official implementation of "DMPlug: A Plug-in Method for Solving Inverse Problems with Diffusion Models" (NeurIPS 2024).

788PythonMay 23, 20241 years ago

Similar Papers

Cite this paper

@article{wang2024dmplug,
  title  = {DMPlug: A Plug-in Method for Solving Inverse Problems with Diffusion Models},
  author = {Hengkang Wang and Xu Zhang and Taihui Li and Yuxiang Wan and Tiancong Chen and Ju Sun},
  year   = {2024},
  eprint = {2405.16749},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.16749},
  url    = {https://arxiv.org/abs/2405.16749},
  journal = {NEURIPS 2024 2024}
}

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/2405.16749.svg)](https://codeofpaper.com/paper/2405.16749)

Discussion