Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Improving Image Restoration by Revisiting Global Information Aggregation

About

Global operations, such as global average pooling, are widely used in top-performance image restorers. They aggregate global information from input features along entire spatial dimensions but behave differently during training and inference in image restoration tasks: they are based on different regions, namely the cropped patches (from images) and the full-resolution images. This paper revisits global information aggregation and finds that the image-based features during inference have a different distribution than the patch-based features during training. This train-test inconsistency negatively impacts the performance of models, which is severely overlooked by previous works. To reduce the inconsistency and improve test-time performance, we propose a simple method called Test-time Local Converter (TLC). Our TLC converts global operations to local ones only during inference so that they aggregate features within local spatial regions rather than the entire large images. The proposed method can be applied to various global modules (e.g., normalization, channel and spatial attention) with negligible costs. Without the need for any fine-tuning, TLC improves state-of-the-art results on several image restoration tasks, including single-image motion deblurring, video deblurring, defocus deblurring, and image denoising. In particular, with TLC, our Restormer-Local improves the state-of-the-art result in single image deblurring from 32.92 dB to 33.57 dB on GoPro dataset. The code is available at https://github.com/megvii-research/tlc.

Xiaojie Chu, Liangyu Chen, Chengpeng Chen, Xin Lu• 2021

Related benchmarks

TaskDatasetResultRank
Image DeblurringGoPro (test)
PSNR33.57
585
Image DeblurringHIDE (test)
PSNR31.49
207
Image DehazingSOTS Outdoor
PSNR33.99
112
Defocus DeblurringDP Dataset Combined 1.0 (test)
PSNR27.02
63
Gaussian color image denoisingUrban100 (test)
PSNR (sigma=50)30.17
61
Defocus DeblurringDP Dataset Outdoor 1.0 (test)
PSNR24.37
60
Video DeblurringGoPro (test)
PSNR33.8
55
Defocus DeblurringDP Dataset Indoor 1.0 (test)
PSNR29.83
54
Grayscale Image DenoisingUrban100 (test)
PSNR33.85
34
Gaussian grayscale image denoisingUrban100 sigma=50 14
PSNR28.45
14
Showing 10 of 14 rows

Other info

Code

Follow for update