Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Uformer: A General U-Shaped Transformer for Image Restoration

About

In this paper, we present Uformer, an effective and efficient Transformer-based architecture for image restoration, in which we build a hierarchical encoder-decoder network using the Transformer block. In Uformer, there are two core designs. First, we introduce a novel locally-enhanced window (LeWin) Transformer block, which performs nonoverlapping window-based self-attention instead of global self-attention. It significantly reduces the computational complexity on high resolution feature map while capturing local context. Second, we propose a learnable multi-scale restoration modulator in the form of a multi-scale spatial bias to adjust features in multiple layers of the Uformer decoder. Our modulator demonstrates superior capability for restoring details for various image restoration tasks while introducing marginal extra parameters and computational cost. Powered by these two designs, Uformer enjoys a high capability for capturing both local and global dependencies for image restoration. To evaluate our approach, extensive experiments are conducted on several image restoration tasks, including image denoising, motion deblurring, defocus deblurring and deraining. Without bells and whistles, our Uformer achieves superior or comparable performance compared with the state-of-the-art algorithms. The code and models are available at https://github.com/ZhendongWang6/Uformer.

Zhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou, Jianzhuang Liu, Houqiang Li• 2021

Related benchmarks

TaskDatasetResultRank
Image DeblurringGoPro (test)
PSNR34.668
617
Image DeblurringGoPro
PSNR33.06
354
Image DeblurringRealBlur-J (test)
PSNR30.37
245
Image DeblurringHIDE (test)
PSNR30.9
215
DerainingRain100L
PSNR35.48
196
Image DerainingRain100L (test)
PSNR38.2
161
DeblurringRealBlur-R (test)
PSNR36.19
156
Image DenoisingDND
PSNR39.96
135
Low-light Image EnhancementLOL v1
PSNR21.4
135
Image DehazingSOTS Outdoor
PSNR27.2
124
Showing 10 of 149 rows
...

Other info

Code

Follow for update