HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Activating More Pixels in Image Super-Resolution Transformer

Xiangyu Chen Xintao Wang Jiantao Zhou Yu Qiao Chao Dong

Activating More Pixels in Image Super-Resolution Transformer

Abstract

Transformer-based methods have shown impressive performance in low-level vision tasks, such as image super-resolution. However, we find that these networks can only utilize a limited spatial range of input information through attribution analysis. This implies that the potential of Transformer is still not fully exploited in existing networks. In order to activate more input pixels for better reconstruction, we propose a novel Hybrid Attention Transformer (HAT). It combines both channel attention and window-based self-attention schemes, thus making use of their complementary advantages of being able to utilize global statistics and strong local fitting capability. Moreover, to better aggregate the cross-window information, we introduce an overlapping cross-attention module to enhance the interaction between neighboring window features. In the training stage, we additionally adopt a same-task pre-training strategy to exploit the potential of the model for further improvement. Extensive experiments show the effectiveness of the proposed modules, and we further scale up the model to demonstrate that the performance of this task can be greatly improved. Our overall method significantly outperforms the state-of-the-art methods by more than 1dB. Codes and models are available at https://github.com/XPixelGroup/HAT.

Code Repositories

chxy95/hat
Official
pytorch
Mentioned in GitHub
xpixelgroup/hat
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-super-resolution-on-bsd100-2x-upscalingHAT-L
PSNR: 32.74
SSIM: 0.9066
image-super-resolution-on-bsd100-2x-upscalingHAT
PSNR: 32.69
SSIM: 0.9060
image-super-resolution-on-bsd100-3x-upscalingHAT
PSNR: 29.59
SSIM: 0.8177
image-super-resolution-on-bsd100-3x-upscalingHAT-L
PSNR: 29.63
SSIM: 0.8191
image-super-resolution-on-bsd100-4x-upscalingHAT
PSNR: 28.05
SSIM: 0.7534
image-super-resolution-on-bsd100-4x-upscalingHAT-L
PSNR: 28.09
SSIM: 0.7551
image-super-resolution-on-manga109-2xHAT-L
PSNR: 41.01
SSIM: 0.9831
image-super-resolution-on-manga109-2xHAT
PSNR: 40.71
SSIM: 0.9819
image-super-resolution-on-manga109-3xHAT
PSNR: 35.84
SSIM: 0.9567
image-super-resolution-on-manga109-3xHAT-L
PSNR: 36.02
SSIM: 0.9576
image-super-resolution-on-manga109-4xHAT-L
PSNR: 33.09
SSIM: 0.9335
image-super-resolution-on-manga109-4xHAT
PSNR: 32.87
SSIM: 0.9319
image-super-resolution-on-set14-2x-upscalingHAT-L
PSNR: 35.29
SSIM: 0.9293
image-super-resolution-on-set14-2x-upscalingHAT
PSNR: 35.13
SSIM: 0.9282
image-super-resolution-on-set14-3x-upscalingHAT
PSNR: 31.33
SSIM: 0.8576
image-super-resolution-on-set14-3x-upscalingHAT-L
PSNR: 31.47
SSIM: 0.8584
image-super-resolution-on-set14-4x-upscalingHAT
PSNR: 29.38
SSIM: 0.8001
image-super-resolution-on-set14-4x-upscalingHAT-L
PSNR: 29.47
SSIM: 0.8015
image-super-resolution-on-set5-2x-upscalingHAT
PSNR: 38.73
SSIM: 0.9637
image-super-resolution-on-set5-2x-upscalingHAT-L
PSNR: 38.91
SSIM: 0.9646
image-super-resolution-on-set5-3x-upscalingHAT
PSNR: 35.16
SSIM: 0.9335
image-super-resolution-on-set5-3x-upscalingHAT-L
PSNR: 35.28
SSIM: 0.9345
image-super-resolution-on-set5-4x-upscalingHAT-L
PSNR: 33.30
SSIM: 0.9083
image-super-resolution-on-urban100-2xHAT
PSNR: 34.81
SSIM: 0.9489
image-super-resolution-on-urban100-2xHAT-L
PSNR: 35.09
SSIM: 0.9505
image-super-resolution-on-urban100-3xHAT
PSNR: 30.70
SSIM: 0.8949
image-super-resolution-on-urban100-3xHAT-L
PSNR: 30.92
SSIM: 0.8981
image-super-resolution-on-urban100-4xHAT-L
PSNR: 28.60
SSIM: 0.8498
image-super-resolution-on-urban100-4xHAT
PSNR: 28.37
SSIM: 0.8447

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