The reviewed record of science sign in
Pith

arxiv: 2211.16289 · v2 · pith:UQMC2P7O · submitted 2022-11-29 · cs.CV

Lightweight Structure-Aware Attention for Visual Understanding

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:UQMC2P7Orecord.jsonopen to challenge →

classification cs.CV
keywords attentionoperatorcomplexitykernelsdiscriminativelightweightlog-linearother
0
0 comments X
read the original abstract

Attention operator has been widely used as a basic brick in visual understanding since it provides some flexibility through its adjustable kernels. However, this operator suffers from inherent limitations: (1) the attention kernel is not discriminative enough, resulting in high redundancy, and (2) the complexity in computation and memory is quadratic in the sequence length. In this paper, we propose a novel attention operator, called Lightweight Structure-aware Attention (LiSA), which has a better representation power with log-linear complexity. Our operator transforms the attention kernels to be more discriminative by learning structural patterns. These structural patterns are encoded by exploiting a set of relative position embeddings (RPEs) as multiplicative weights, thereby improving the representation power of the attention kernels. Additionally, the RPEs are approximated to obtain log-linear complexity. Our experiments and analyses demonstrate that the proposed operator outperforms self-attention and other existing operators, achieving state-of-the-art results on ImageNet-1K and other downstream tasks such as video action recognition on Kinetics-400, object detection \& instance segmentation on COCO, and semantic segmentation on ADE-20K.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.