Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HAT: Hybrid Attention Transformer for Image Restoration

About

Transformer-based methods have shown impressive performance in image restoration tasks, such as image super-resolution and denoising. 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 restoration, we propose a new Hybrid Attention Transformer (HAT). It combines both channel attention and window-based self-attention schemes, thus making use of their complementary advantages. 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 further exploit the potential of the model for further improvement. Extensive experiments have demonstrated the effectiveness of the proposed modules. We further scale up the model to show that the performance of the SR task can be greatly improved. Besides, we extend HAT to more image restoration applications, including real-world image super-resolution, Gaussian image denoising and image compression artifacts reduction. Experiments on benchmark and real-world datasets demonstrate that our HAT achieves state-of-the-art performance both quantitatively and qualitatively. Codes and models are publicly available at https://github.com/XPixelGroup/HAT.

Xiangyu Chen, Xintao Wang, Wenlong Zhang, Xiangtao Kong, Yu Qiao, Jiantao Zhou, Chao Dong• 2023

Related benchmarks

TaskDatasetResultRank
Super-ResolutionODI-SR (test)
WS-PSNR26.6
85
Super-ResolutionSUN 360 Panorama (test)
WS-PSNR27.6
62
Super-ResolutionFlickr360 3 (val)
PSNR30.27
24
HybridEVS DemosaicingKodak
PSNR39.4
9
HybridEVS DemosaicingWED
PSNR35.76
9
HybridEVS DemosaicingBSD100
PSNR37.34
9
HybridEVS DemosaicingUrban100
PSNR37.07
9
HybridEVS DemosaicingKodak, McMaster, BSD100, Urban100, WED Average
PSNR37.393
9
Omni-directional Image Super-ResolutionFlickr360 (val)
PSNR26.57
7
Showing 9 of 9 rows

Other info

Follow for update