Adaptive Cross-Layer Attention for Image Restoration

Yancheng Wang, Ning Xu, Yingzhen Yang
3/4/2022
eess.IVcs.CVcs.LG
transformer-attention

Official code: Statistical-Deep-Learning/ACLA-IKS (14 stars, Python, MIT, last commit 2025-11-06).

Abstract

Non-local attention module has been proven to be crucial for image restoration. Conventional non-local attention processes features of each layer separately, so it risks missing correlation between features among different layers.

Show full abstract

To address this problem, we aim to design attention modules that aggregate information from different layers. Instead of finding correlated key pixels within the same layer, each query pixel is encouraged to attend to key pixels at multiple previous layers of the network. In order to efficiently embed such attention design into neural network backbones, we propose a novel Adaptive Cross-Layer Attention (ACLA) module. Two adaptive designs are proposed for ACLA: (1) adaptively selecting the keys for non-local attention at each layer; (2) automatically searching for the insertion locations for ACLA modules. By these two adaptive designs, ACLA dynamically selects a flexible number of keys to be aggregated for non-local attention at previous layer while maintaining a compact neural network with compelling performance. Extensive experiments on image restoration tasks, including single image super-resolution, image denoising, image demosaicing, and image compression artifacts reduction, validate the effectiveness and efficiency of ACLA. The code of ACLA is available at \url{https://github.com/SDL-ASU/ACLA}.

View on arXivView PDF

Code Implementations(1)

MIT

code for the paper titled "Adaptive Cross-Layer Attention for Image Restoration"

142Python, CudaApr 20, 20221 years agoMIT

Similar Papers

Cite this paper

@article{wang2022adaptive,
  title  = {Adaptive Cross-Layer Attention for Image Restoration},
  author = {Yancheng Wang and Ning Xu and Yingzhen Yang},
  year   = {2022},
  eprint = {2203.03619},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.03619}
}

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

Discussion