DiffIR: Efficient Diffusion Model for Image Restoration

Bin Xia, Yulun Zhang, Shiyin Wang, Yitong Wang, Xing Wu +3 more
2/14/2026

No official code found. Best implementation: Zj-BinXia/DiffIR (615 stars, Apache-2.0, last commit 2024-08-25).

Abstract

Diffusion model (DM) has achieved SOTA performance by modeling the image synthesis process into a sequential application of a denoising network. However, different from image synthesis, image restoration (IR) has a strong constraint to generate results in accordance with ground-truth. Thus, for IR, traditional DMs running massive iterations on a large model to estimate whole images or feature maps is inefficient. To address this issue, we propose an efficient DM for IR (DiffIR), which consists of a compact IR prior extraction network (CPEN), dynamic IR transformer (DIRformer), and denoising network. Specifically, DiffIR has two training stages: pretraining and training DM. In pretraining, we input ground-truth images into CPENS1 to capture a compact IR prior representation (IPR) to guide DIRformer. In the second stage, we train the DM to directly estimate the same IRP as pretrained CPENS1 only using LQ images. We observe that since the IPR is only a compact vector, DiffIR can use fewer iterations than traditional DM to obtain accurate estimations and generate more stable and realistic results. Since the iterations are few, our DiffIR can adopt a joint optimization of CPENS2, DIRformer, and denoising network, which can further reduce the estimation error influence. We conduct extensive experiments on several IR tasks and achieve SOTA performance while consuming less computational costs. Code is available at https://github.com/Zj-BinXia/DiffIR.

View on arXivView PDF

Code Implementations(1)

Zj-BinXia/DiffIRCommunity100%
Apache-2.0

This project is the official implementation of 'Diffir: Efficient diffusion model for image restoration', ICCV2023

61528Shell, MATLABJul 20, 20232 years agoApache-2.0
deblurringdiffusion-modelinpaintingsuper-resolution

Similar Papers

Cite this paper

@article{xia2026diffir,
  title  = {DiffIR: Efficient Diffusion Model for Image Restoration},
  author = {Bin Xia and Yulun Zhang and Shiyin Wang and Yitong Wang and Xing Wu and Yapeng Tian and Wenming Yang and L. Gool},
  year   = {2026},
  eprint = {2303.09472},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2303.09472},
  journal = {ICCV 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/2303.09472.svg)](https://codeofpaper.com/paper/2303.09472)

Discussion