Command Palette
Search for a command to run...
Improving Image Restoration by Revisiting Global Information Aggregation
Chu Xiaojie ; Chen Liangyu ; Chen Chengpeng ; Lu Xin

Abstract
Global operations, such as global average pooling, are widely used intop-performance image restorers. They aggregate global information from inputfeatures along entire spatial dimensions but behave differently during trainingand inference in image restoration tasks: they are based on different regions,namely the cropped patches (from images) and the full-resolution images. Thispaper revisits global information aggregation and finds that the image-basedfeatures during inference have a different distribution than the patch-basedfeatures during training. This train-test inconsistency negatively impacts theperformance of models, which is severely overlooked by previous works. Toreduce the inconsistency and improve test-time performance, we propose a simplemethod called Test-time Local Converter (TLC). Our TLC converts globaloperations to local ones only during inference so that they aggregate featureswithin local spatial regions rather than the entire large images. The proposedmethod can be applied to various global modules (e.g., normalization, channeland spatial attention) with negligible costs. Without the need for anyfine-tuning, TLC improves state-of-the-art results on several image restorationtasks, including single-image motion deblurring, video deblurring, defocusdeblurring, and image denoising. In particular, with TLC, our Restormer-Localimproves the state-of-the-art result in single image deblurring from 32.92 dBto 33.57 dB on GoPro dataset. The code is available athttps://github.com/megvii-research/tlc.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| color-image-denoising-on-urban100-sigma30 | Restormer-Local | PSNR: 33.06 |
| color-image-denoising-on-urban100-sigma50 | Restormer-Local | PSNR: 30.17 |
| deblurring-on-based | MPR local | ERQAv2.0: 0.74521 LPIPS: 0.08323 PSNR: 31.65037 SSIM: 0.94542 Subjective: 0.4407 VMAF: 67.01788 |
| deblurring-on-gopro | Restormer-Local | PSNR: 33.57 SSIM: 0.966 |
| deblurring-on-gopro | HINet-local | PSNR: 33.08 SSIM: 0.962 |
| deblurring-on-gopro | MPRNet-local | PSNR: 33.31 SSIM: 0.964 |
| deblurring-on-gopro | RNN-MBP-Local | PSNR: 33.8 SSIM: 0.966 |
| deblurring-on-hide-trained-on-gopro | MPRNet-TLC | PSNR (sRGB): 31.19 Params (M): 20.1 SSIM (sRGB): 0.942 |
| deblurring-on-hide-trained-on-gopro | Restormer-TLC | PSNR (sRGB): 31.49 Params (M): 26.13 SSIM (sRGB): 0.945 |
| grayscale-image-denoising-on-urban100-sigma15-1 | Restormer-Local | PSNR: 33.85 |
| grayscale-image-denoising-on-urban100-sigma25 | Restormer-Local | PSNR: 31.55 |
| grayscale-image-denoising-on-urban100-sigma50 | Restormer-Local | PSNR: 28.41 |
| image-deblurring-on-gopro | HINet-TLC | PSNR: 33.08 SSIM: 0.962 |
| image-deblurring-on-gopro | Restormer-TLC | PSNR: 33.57 Params (M): 26.13 SSIM: 0.966 |
| image-deblurring-on-gopro | MPRNet-TLC | PSNR: 33.31 Params (M): 20.1 SSIM: 0.964 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.