Improving Image Restoration by Revisiting Global Information Aggregation

TL;DR

Enhancing image restoration with Test-time Local Converter (TLC), improving single-image deblurring PSNR from 32.92 dB to 33.57 dB on GoPro dataset.

cs.CV 🟡 Intermediate 2021-12-08 37 views
Xiaojie Chu Liangyu Chen Chengpeng Chen Xin Lu
image restoration global information aggregation deep learning deblurring denoising

Key Findings

Methodology

The paper introduces a Test-time Local Converter (TLC) method that converts global operations to local ones during inference to reduce train-test feature distribution inconsistency. This method can be applied to various global modules like normalization, channel, and spatial attention without retraining.

Key Results

  • On the GoPro dataset, the Restormer-Local model's single-image deblurring PSNR improved from 32.92 dB to 33.57 dB, significantly outperforming existing methods.
  • In video deblurring tasks, the RNN-MBP-Local model's PSNR increased by 0.48 dB on the GoPro dataset.
  • In single-image and dual-pixel defocus deblurring tasks on the DPDD dataset, Restormer-Local improved PSNR by 0.21 to 0.40 dB.

Significance

This research significantly enhances performance across various image restoration tasks by addressing the inconsistency in global information distribution between training and testing. The method requires no retraining and is applicable to existing deep learning models, offering broad application potential.

Technical Contribution

The technical contribution lies in the introduction of a simple yet effective Test-time Local Converter (TLC) that significantly improves the performance of existing image restoration models without increasing computational costs. The method localizes global operations, addressing the distribution inconsistency between training and testing phases.

Novelty

The TLC method is the first to address the inconsistency in global information distribution between training and testing phases in image restoration tasks, offering a solution that requires no retraining compared to existing methods.

Limitations

  • TLC may not completely eliminate boundary artifacts in complex scenarios.
  • The performance improvement depends on the choice of local window size.

Future Work

Future research directions include exploring smarter local window selection strategies and validating the effectiveness of the TLC method in more types of image restoration tasks.

AI Executive Summary

In the field of image restoration, existing methods often train on cropped patches and infer on full-resolution images, leading to inconsistencies in global information distribution that affect model performance. This paper introduces a Test-time Local Converter (TLC) method that converts global operations to local ones during inference to reduce this inconsistency.

The TLC method can be applied to various global modules like normalization, channel, and spatial attention without retraining. Experimental results show that TLC significantly enhances performance across various image restoration tasks, such as improving the single-image deblurring PSNR of the Restormer-Local model from 32.92 dB to 33.57 dB on the GoPro dataset.

This research provides a simple yet effective solution to the inconsistency in global information distribution between training and testing phases, offering broad application potential. Future research directions include exploring smarter local window selection strategies and validating the effectiveness of the TLC method in more types of image restoration tasks.

Deep Analysis

Background

Image restoration involves recovering a clean image from a corrupted one. Recent advances in deep learning have significantly improved performance in this field. However, existing methods often train on cropped patches and infer on full-resolution images, leading to inconsistencies in global information distribution that affect model performance. Models like HINet and MPRNet use global average pooling to aggregate global information, but exhibit different behaviors during training and testing.

Core Problem

The core problem is the inconsistency in global information distribution between training and testing phases. During training, models learn features on cropped patches, while during inference, they apply these features to full-resolution images. This inconsistency leads to suboptimal performance, especially in tasks requiring global information.

Innovation

The core innovation is the introduction of the Test-time Local Converter (TLC), which converts global operations to local ones during inference to reduce distribution inconsistency. The TLC method requires no retraining and can be applied to existing deep learning models, significantly enhancing image restoration task performance.

Methodology

  • �� Convert global operations to local ones during inference.
  • �� Aggregate features using local windows to reduce distribution inconsistency.
  • �� Applicable to various global modules like normalization, channel, and spatial attention.
  • �� No retraining required, directly applicable to existing models.

Experiments

Experiments were conducted on multiple datasets, including GoPro, HIDE, and DPDD datasets. PSNR and SSIM were used as evaluation metrics to compare model performance before and after applying TLC. Results show that TLC significantly enhances performance across various image restoration tasks, particularly in single-image and video deblurring tasks.

Results

Results show that the TLC method significantly enhances model performance across multiple datasets. For example, on the GoPro dataset, the Restormer-Local model's single-image deblurring PSNR improved from 32.92 dB to 33.57 dB. Additionally, in video deblurring tasks, the RNN-MBP-Local model's PSNR increased by 0.48 dB.

Applications

The TLC method is applicable to various image restoration tasks, such as single-image deblurring, video deblurring, defocus deblurring, and denoising. The method requires no retraining and can be directly applied to existing deep learning models, enhancing their performance in practical applications.

Limitations & Outlook

The TLC method may not completely eliminate boundary artifacts in complex scenarios. Additionally, the performance improvement depends on the choice of local window size. Future research directions include exploring smarter local window selection strategies and validating the effectiveness of the TLC method in more types of image restoration tasks.

Plain Language Accessible to non-experts

Imagine you're in a kitchen cooking a meal. The training phase is like preparing ingredients, where you only use a portion of them (cropped patches). The inference phase is like cooking the entire dish (full-resolution image). If the ingredients used in preparation and cooking are inconsistent, the dish might not taste as expected. The TLC method acts like a smart assistant, helping you adjust the use of ingredients during cooking, making the dish taste more uniform and delicious.

ELI14 Explained like you're 14

Hey there! Imagine you're playing a puzzle game. The training phase is like practicing on a small corner of the puzzle, while the inference phase is like completing the entire puzzle. The TLC method is like a super helper that applies your puzzle skills from the small corner to the whole puzzle, helping you finish it faster and better!

Glossary

Global Average Pooling

An operation that aggregates feature information across the entire spatial dimension, commonly used in deep learning models.

Used to aggregate global information during training and testing phases.

Test-time Local Converter

A method that converts global operations to local ones during inference to reduce distribution inconsistency.

Used to enhance the test performance of image restoration models.

PSNR (Peak Signal-to-Noise Ratio)

A metric used to measure image quality, with higher values indicating better quality.

Used to evaluate the performance of image restoration tasks.

SSIM (Structural Similarity Index)

A metric used to measure the structural similarity of images, with higher values indicating more similar structures.

Used to evaluate the performance of image restoration tasks.

Cropped Patches

Smaller image patches cropped from high-resolution images, commonly used for model training.

Used for feature learning during the training phase.

Open Questions Unanswered questions from this research

  • 1 How to automatically select the optimal local window size without increasing computational complexity to further enhance the performance of the TLC method?
  • 2 How applicable and effective is the TLC method in more complex image restoration tasks?

Applications

Immediate Applications

Image Deblurring

The TLC method can be directly applied to existing image deblurring models to enhance their performance in practical applications. No retraining is required, and it is applicable to various datasets.

Long-term Vision

Real-time Video Processing

By reducing distribution inconsistency, the TLC method holds promise for future applications in real-time video processing tasks, improving video quality.

Abstract

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.

cs.CV eess.IV