Accurate Image Restoration with Attention Retractable Transformer

Jiale Zhang, Yulun Zhang, Jinjin Gu, Yongbing Zhang, Linghe Kong +1 more
10/4/2022
cs.CV
transformer-attention

Official code: gladzhang/ART (163 stars, Python, Apache-2.0, last commit 2023-02-08).

Abstract

Recently, Transformer-based image restoration networks have achieved promising improvements over convolutional neural networks due to parameter-independent global interactions. To lower computational cost, existing works generally limit self-attention computation within non-overlapping windows.

Show full abstract

However, each group of tokens are always from a dense area of the image. This is considered as a dense attention strategy since the interactions of tokens are restrained in dense regions. Obviously, this strategy could result in restricted receptive fields. To address this issue, we propose Attention Retractable Transformer (ART) for image restoration, which presents both dense and sparse attention modules in the network. The sparse attention module allows tokens from sparse areas to interact and thus provides a wider receptive field. Furthermore, the alternating application of dense and sparse attention modules greatly enhances representation ability of Transformer while providing retractable attention on the input image.We conduct extensive experiments on image super-resolution, denoising, and JPEG compression artifact reduction tasks. Experimental results validate that our proposed ART outperforms state-of-the-art methods on various benchmark datasets both quantitatively and visually. We also provide code and models at https://github.com/gladzhang/ART.

View on arXivView PDF

Code Implementations(1)

gladzhang/ARTOfficial100%
Apache-2.0

PyTorch code for our ICLR 2023 paper "Accurate Image Restoration with Attention Retractable Transformer".

16318Python, MATLABOct 3, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2022accurate,
  title  = {Accurate Image Restoration with Attention Retractable Transformer},
  author = {Jiale Zhang and Yulun Zhang and Jinjin Gu and Yongbing Zhang and Linghe Kong and Xin Yuan},
  year   = {2022},
  eprint = {2210.01427},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.01427}
}

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/2210.01427.svg)](https://codeofpaper.com/paper/2210.01427)

Discussion