A Unified Conditional Framework for Diffusion-based Image Restoration

Y. Zhang, Xiaoyu Shi, Dasong Li, Xiaogang Wang, Jian Wang +1 more
2/12/2026

No official code found. Best implementation: zhangyi-3/UCDIR (96 stars, MIT, last commit 2026-01-26).

Abstract

Diffusion Probabilistic Models (DPMs) have recently shown remarkable performance in image generation tasks, which are capable of generating highly realistic images. When adopting DPMs for image restoration tasks, the crucial aspect lies in how to integrate the conditional information to guide the DPMs to generate accurate and natural output, which has been largely overlooked in existing works. In this paper, we present a unified conditional framework based on diffusion models for image restoration. We leverage a lightweight UNet to predict initial guidance and the diffusion model to learn the residual of the guidance. By carefully designing the basic module and integration module for the diffusion model block, we integrate the guidance and other auxiliary conditional information into every block of the diffusion model to achieve spatially-adaptive generation conditioning. To handle high-resolution images, we propose a simple yet effective inter-step patch-splitting strategy to produce arbitrary-resolution images without grid artifacts. We evaluate our conditional framework on three challenging tasks: extreme low-light denoising, deblurring, and JPEG restoration, demonstrating its significant improvements in perceptual quality and the generalization to restoration tasks.

View on arXivView PDF

Code Implementations(1)

zhangyi-3/UCDIRCommunity72%
MIT

A Unified Conditional Framework for Diffusion-based Image Restoration

962PythonJun 1, 20238 months agoMIT
diffusion-modelsimage-generationimage-restoration

Similar Papers

Cite this paper

@article{zhang2026unified,
  title  = {A Unified Conditional Framework for Diffusion-based Image Restoration},
  author = {Y. Zhang and Xiaoyu Shi and Dasong Li and Xiaogang Wang and Jian Wang and Hongsheng Li},
  year   = {2026},
  eprint = {2305.20049},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.20049},
  journal = {NEURIPS 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/2305.20049.svg)](https://codeofpaper.com/paper/2305.20049)

Discussion