arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.05239cs.CV

HAT:用于图像恢复的混合注意力Transformer

HAT: Hybrid Attention Transformer for Image Restoration

State Key Laboratory of Internet of Things for Smart City, University of Macau(澳门大学物联网智能城市国家重点实验室);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);ARC Lab, Tencent PCG(腾讯PCG ARC实验室)

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

AI总结:

针对现有Transformer在图像恢复中输入利用范围受限的问题,提出混合注意力Transformer(HAT),结合通道与窗口自注意力并引入重叠交叉注意力模块,采用同任务预训练策略,在多项图像恢复任务上取得SOTA性能。

摘要:

基于Transformer的方法在图像恢复任务(如图像超分辨率和去噪)中展现出了令人印象深刻的性能。然而,通过归因分析,我们发现这些网络仅能利用输入信息的有限空间范围。这意味着Transformer的潜力在现有网络中仍未被充分利用。为了激活更多输入像素以获得更好的恢复效果,我们提出了一种新的混合注意力Transformer(HAT)。它结合了通道注意力和基于窗口的自注意力方案,从而利用它们的互补优势。此外,为了更好地聚合跨窗口信息,我们引入了重叠交叉注意力模块来增强相邻窗口特征之间的交互。在训练阶段,我们额外采用了同任务预训练策略,以进一步挖掘模型的潜力从而实现进一步的提升。大量实验证明了所提出模块的有效性。我们进一步扩大模型规模,以表明SR任务的性能可以得到极大提升。此外,我们将HAT扩展到更多图像恢复应用中,包括真实世界图像超分辨率、高斯图像去噪和图像压缩伪影减少。在基准和真实世界数据集上的实验表明,我们的HAT在定量和定性上均取得了最先进的性能。代码和模型已在https://github.com/XPixelGroup/HAT公开发布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑