Lune

ICCV2023Top-tier venue

DiffIR: Efficient Diffusion Model for Image Restoration

Bin Xia, Yulun Zhang, Shiyin Wang, Yitong Wang, Xinglong Wu, Yapeng Tian, Wenming Yang, Luc Van Gool

2023Year
410Citations
108Top-tier citations

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 CPEN S1 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 CPEN S1 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 Dif-fIR can adopt a joint optimization of CPEN S2 , 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 . Dynamic Transformer Block (×𝑁!) Concat DownSample Conv 3×3 H×W×C Dynamic Transformer Block (×𝑁&) DownSample 𝐻 2 × 𝑊 2 ×2C 𝐻 4 × 𝑊 4 ×4C Dynamic Transformer Block (×𝑁+) DownSample Dynamic Transformer Block (×𝑁!) 𝐻 8 × 𝑊 8 ×8C Dynamic Transformer Block (×𝑁-) 𝐻 8 × 𝑊 8 ×8C UpSample 𝐻 4 × 𝑊 4 ×4C UpSample 𝐻 2 × 𝑊 2 ×2C UpSample Conv 1×1

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext bd115657-b962-41cc-ba68-c9c1d922f54b

Cited by top-tier papers108

Ask how each one uses it

Builds on33

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines