Cross Aggregation Transformer for Image Restoration

Zheng Chen, Yulun Zhang, Jinjin Gu, Yongbing Zhang, Linghe Kong +1 more
11/24/2022
cs.CV

Official code: zhengchen1999/CAT (152 stars, Apache-2.0, last commit 2024-12-08).

Abstract

Recently, Transformer architecture has been introduced into image restoration to replace convolution neural network (CNN) with surprising results. Considering the high computational complexity of Transformer with global attention, some methods use the local square window to limit the scope of self-attention. However, these methods lack direct interaction among different windows, which limits the establishment of long-range dependencies. To address the above issue, we propose a new image restoration model, Cross Aggregation Transformer (CAT). The core of our CAT is the Rectangle-Window Self-Attention (Rwin-SA), which utilizes horizontal and vertical rectangle window attention in different heads parallelly to expand the attention area and aggregate the features cross different windows. We also introduce the Axial-Shift operation for different window interactions. Furthermore, we propose the Locality Complementary Module to complement the self-attention mechanism, which incorporates the inductive bias of CNN (e.g., translation invariance and locality) into Transformer, enabling global-local coupling. Extensive experiments demonstrate that our CAT outperforms recent state-of-the-art methods on several image restoration applications. The code and models are available at https://github.com/zhengchen1999/CAT.

View on arXivView PDF

Code Implementations(1)

zhengchen1999/CATOfficial100%
Apache-2.0

[NeurIPS'22] Cross Aggregation Transformer for Image Restoration

1528MATLAB, PythonFeb 10, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2022cross,
  title  = {Cross Aggregation Transformer for Image Restoration},
  author = {Zheng Chen and Yulun Zhang and Jinjin Gu and Yongbing Zhang and Linghe Kong and Xin Yuan},
  year   = {2022},
  eprint = {2211.13654},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.13654}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.13654.svg)](https://codeofpaper.com/paper/2211.13654)

Discussion