Reciprocal Attention Mixing Transformer for Lightweight Image Restoration

Haram Choi, Cheolwoong Na, Jihyeon Oh, Seungjae Lee, Jinseop Kim +4 more
5/19/2023
43 citations
cs.CVcs.AI
transformer-attention

Official code: rami0205/RAMiT (39 stars, Python, last commit 2024-06-13).

Abstract

Although many recent works have made advancements in the image restoration (IR) field, they often suffer from an excessive number of parameters. Another issue is that most Transformer-based IR methods focus only on either local or global features, leading to limited receptive fields or deficient parameter issues.

Show full abstract

To address these problems, we propose a lightweight IR network, Reciprocal Attention Mixing Transformer (RAMiT). It employs our proposed dimensional reciprocal attention mixing Transformer (D-RAMiT) blocks, which compute bi-dimensional (spatial and channel) self-attentions in parallel with different numbers of multi-heads. The bi-dimensional attentions help each other to complement their counterpart's drawbacks and are then mixed. Additionally, we introduce a hierarchical reciprocal attention mixing (H-RAMi) layer that compensates for pixel-level information losses and utilizes semantic information while maintaining an efficient hierarchical structure. Furthermore, we revisit and modify MobileNet V1 and V2 to attach efficient convolutions to our proposed components. The experimental results demonstrate that RAMiT achieves state-of-the-art performance on multiple lightweight IR tasks, including super-resolution, color denoising, grayscale denoising, low-light enhancement, and deraining. Codes are available at https://github.com/rami0205/RAMiT.

View on arXivView PDF

Code Implementations(1)

rami0205/RAMiTOfficial100%

Reciprocal Attention Mixing Transformer for Lightweight Image Restoration (CVPR 2024 Workshop)

392Python, MJul 12, 20232 years ago

Similar Papers

Cite this paper

@article{choi2023reciprocal,
  title  = {Reciprocal Attention Mixing Transformer for Lightweight Image Restoration},
  author = {Haram Choi and Cheolwoong Na and Jihyeon Oh and Seungjae Lee and Jinseop Kim and Subeen Choe and Jeongmin Lee and Taehoon Kim and Jihoon Yang},
  year   = {2023},
  eprint = {2305.11474},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.11474v4}
}

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

Discussion