LSAS: Lightweight Sub-attention Strategy for Alleviating Attention Bias Problem

Shanshan Zhong, Wushao Wen, Jinghui Qin, Qiangpu Chen, Zhongzhan Huang
5/9/2023
cs.CVcs.AI

Official code: Qrange-group/LSAS (3 stars, MIT, PyTorch, last commit 2023-06-16).

Abstract

In computer vision, the performance of deep neural networks (DNNs) is highly related to the feature extraction ability, i.e., the ability to recognize and focus on key pixel regions in an image. However, in this paper, we quantitatively and statistically illustrate that DNNs have a serious attention bias problem on many samples from some popular datasets: (1) Position bias: DNNs fully focus on label-independent regions; (2) Range bias: The focused regions from DNN are not completely contained in the ideal region. Moreover, we find that the existing self-attention modules can alleviate these biases to a certain extent, but the biases are still non-negligible. To further mitigate them, we propose a lightweight sub-attention strategy (LSAS), which utilizes high-order sub-attention modules to improve the original self-attention modules. The effectiveness of LSAS is demonstrated by extensive experiments on widely-used benchmark datasets and popular attention networks. We release our code to help other researchers to reproduce the results of LSAS~\footnote{https://github.com/Qrange-group/LSAS}.

View on arXivView PDF

Code Implementations(1)

Qrange-group/LSASOfficial100%
PyTorchMIT

ICME'23, Lightweight sub-attention strategy (LSAS) utilizes high-order sub-attention modules to improve the original self-attention modules.

30PythonApr 28, 20233 years agoMIT
attention-biasimage-classificationpytorchself-attentionsub-attention

Similar Papers

Cite this paper

@article{zhong2023lsas,
  title  = {LSAS: Lightweight Sub-attention Strategy for Alleviating Attention Bias Problem},
  author = {Shanshan Zhong and Wushao Wen and Jinghui Qin and Qiangpu Chen and Zhongzhan Huang},
  year   = {2023},
  eprint = {2305.05200},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.05200v1}
}

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

Discussion