HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

U2-Former: A Nested U-shaped Transformer for Image Restoration

Haobo Ji Xin Feng Wenjie Pei Jinxing Li Guangming Lu

U2-Former: A Nested U-shaped Transformer for Image Restoration

Abstract

While Transformer has achieved remarkable performance in various high-level vision tasks, it is still challenging to exploit the full potential of Transformer in image restoration. The crux lies in the limited depth of applying Transformer in the typical encoder-decoder framework for image restoration, resulting from heavy self-attention computation load and inefficient communications across different depth (scales) of layers. In this paper, we present a deep and effective Transformer-based network for image restoration, termed as U2-Former, which is able to employ Transformer as the core operation to perform image restoration in a deep encoding and decoding space. Specifically, it leverages the nested U-shaped structure to facilitate the interactions across different layers with different scales of feature maps. Furthermore, we optimize the computational efficiency for the basic Transformer block by introducing a feature-filtering mechanism to compress the token representation. Apart from the typical supervision ways for image restoration, our U2-Former also performs contrastive learning in multiple aspects to further decouple the noise component from the background image. Extensive experiments on various image restoration tasks, including reflection removal, rain streak removal and dehazing respectively, demonstrate the effectiveness of the proposed U2-Former.

Benchmarks

BenchmarkMethodologyMetrics
image-dehazing-on-sots-indoorU2-Former
PSNR: 36.42
SSIM: 0.988
image-dehazing-on-sots-outdoorU2-Former
PSNR: 31.10
SSIM: 0.976

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
U2-Former: A Nested U-shaped Transformer for Image Restoration | Papers | HyperAI