Incorporating Transformer Designs into Convolutions for Lightweight Image Super-Resolution

Gang Wu, Junjun Jiang, Yuanchao Bai, Xianming Liu
3/25/2023
cs.CV

Official code: Aitical/TCSR (24 stars, MIT, last commit 2023-05-11).

Abstract

In recent years, the use of large convolutional kernels has become popular in designing convolutional neural networks due to their ability to capture long-range dependencies and provide large receptive fields. However, the increase in kernel size also leads to a quadratic growth in the number of parameters, resulting in heavy computation and memory requirements. To address this challenge, we propose a neighborhood attention (NA) module that upgrades the standard convolution with a self-attention mechanism. The NA module efficiently extracts long-range dependencies in a sliding window pattern, thereby achieving similar performance to large convolutional kernels but with fewer parameters. Building upon the NA module, we propose a lightweight single image super-resolution (SISR) network named TCSR. Additionally, we introduce an enhanced feed-forward network (EFFN) in TCSR to improve the SISR performance. EFFN employs a parameter-free spatial-shift operation for efficient feature aggregation. Our extensive experiments and ablation studies demonstrate that TCSR outperforms existing lightweight SISR methods and achieves state-of-the-art performance. Our codes are available at \url{https://github.com/Aitical/TCSR}.

View on arXivView PDF

Code Implementations(1)

Aitical/TCSROfficial100%
MIT

Incorporating Transformer Designs into Convolutions for Lightweight Image Super-Resolution

244Mar 14, 20233 years agoMIT

Cite this paper

@article{wu2023incorporating,
  title  = {Incorporating Transformer Designs into Convolutions for Lightweight Image Super-Resolution},
  author = {Gang Wu and Junjun Jiang and Yuanchao Bai and Xianming Liu},
  year   = {2023},
  eprint = {2303.14324},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.14324v1}
}

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

Discussion