Information Bottleneck Approach to Spatial Attention Learning

Qiuxia Lai, Yu Li, Ailing Zeng, Minhao Liu, Hanqiu Sun +1 more
8/7/2021
cs.CV
transformer-attention

Official code: ashleylqx/AIB (15 stars, Python, MIT, last commit 2021-06-01).

Abstract

The selective visual attention mechanism in the human visual system (HVS) restricts the amount of information to reach visual awareness for perceiving natural scenes, allowing near real-time information processing with limited computational capacity [Koch and Ullman, 1987]. This kind of selectivity acts as an 'Information Bottleneck (IB)', which seeks a trade-off between information compression and predictive accuracy.

Show full abstract

However, such information constraints are rarely explored in the attention mechanism for deep neural networks (DNNs). In this paper, we propose an IB-inspired spatial attention module for DNN structures built for visual recognition. The module takes as input an intermediate representation of the input image, and outputs a variational 2D attention map that minimizes the mutual information (MI) between the attention-modulated representation and the input, while maximizing the MI between the attention-modulated representation and the task label. To further restrict the information bypassed by the attention map, we quantize the continuous attention scores to a set of learnable anchor values during training. Extensive experiments show that the proposed IB-inspired spatial attention mechanism can yield attention maps that neatly highlight the regions of interest while suppressing backgrounds, and bootstrap standard DNN structures for visual recognition tasks (e.g., image classification, fine-grained recognition, cross-domain classification). The attention maps are interpretable for the decision making of the DNNs as verified in the experiments. Our code is available at https://github.com/ashleylqx/AIB.git.

View on arXivView PDF

Code Implementations(1)

ashleylqx/AIBOfficial100%
MIT

Information Bottleneck Approach to Spatial Attention Learning, IJCAI2021

153Python, ShellMay 2, 20215 years agoMIT

Similar Papers

Cite this paper

@article{lai2021information,
  title  = {Information Bottleneck Approach to Spatial Attention Learning},
  author = {Qiuxia Lai and Yu Li and Ailing Zeng and Minhao Liu and Hanqiu Sun and Qiang Xu},
  year   = {2021},
  eprint = {2108.03418},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.03418}
}

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

Discussion