HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Improving Image Restoration by Revisiting Global Information Aggregation

Chu Xiaojie ; Chen Liangyu ; Chen Chengpeng ; Lu Xin

Improving Image Restoration by Revisiting Global Information Aggregation

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

megvii-research/TLC
Official
pytorch
Mentioned in GitHub
megvii-research/NAFNet
pytorch
Mentioned in GitHub
setsunil/dsdnet
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
color-image-denoising-on-urban100-sigma30Restormer-Local
PSNR: 33.06
color-image-denoising-on-urban100-sigma50Restormer-Local
PSNR: 30.17
deblurring-on-basedMPR local
ERQAv2.0: 0.74521
LPIPS: 0.08323
PSNR: 31.65037
SSIM: 0.94542
Subjective: 0.4407
VMAF: 67.01788
deblurring-on-goproRestormer-Local
PSNR: 33.57
SSIM: 0.966
deblurring-on-goproHINet-local
PSNR: 33.08
SSIM: 0.962
deblurring-on-goproMPRNet-local
PSNR: 33.31
SSIM: 0.964
deblurring-on-goproRNN-MBP-Local
PSNR: 33.8
SSIM: 0.966
deblurring-on-hide-trained-on-goproMPRNet-TLC
PSNR (sRGB): 31.19
Params (M): 20.1
SSIM (sRGB): 0.942
deblurring-on-hide-trained-on-goproRestormer-TLC
PSNR (sRGB): 31.49
Params (M): 26.13
SSIM (sRGB): 0.945
grayscale-image-denoising-on-urban100-sigma15-1Restormer-Local
PSNR: 33.85
grayscale-image-denoising-on-urban100-sigma25Restormer-Local
PSNR: 31.55
grayscale-image-denoising-on-urban100-sigma50Restormer-Local
PSNR: 28.41
image-deblurring-on-goproHINet-TLC
PSNR: 33.08
SSIM: 0.962
image-deblurring-on-goproRestormer-TLC
PSNR: 33.57
Params (M): 26.13
SSIM: 0.966
image-deblurring-on-goproMPRNet-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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Improving Image Restoration by Revisiting Global Information Aggregation | Papers | HyperAI