Multi-Glimpse Network: A Robust and Efficient Classification Architecture based on Recurrent Downsampled Attention

Sia Huat Tan, Runpei Dong, Kaisheng Ma
11/3/2021
cs.CV
transformer-attention

Official code: siahuat0727/MGNet (13 stars, Python, last commit 2021-11-04).

Abstract

Most feedforward convolutional neural networks spend roughly the same efforts for each pixel. Yet human visual recognition is an interaction between eye movements and spatial attention, which we will have several glimpses of an object in different regions.

Show full abstract

Inspired by this observation, we propose an end-to-end trainable Multi-Glimpse Network (MGNet) which aims to tackle the challenges of high computation and the lack of robustness based on recurrent downsampled attention mechanism. Specifically, MGNet sequentially selects task-relevant regions of an image to focus on and then adaptively combines all collected information for the final prediction. MGNet expresses strong resistance against adversarial attacks and common corruptions with less computation. Also, MGNet is inherently more interpretable as it explicitly informs us where it focuses during each iteration. Our experiments on ImageNet100 demonstrate the potential of recurrent downsampled attention mechanisms to improve a single feedforward manner. For example, MGNet improves 4.76% accuracy on average in common corruptions with only 36.9% computational cost. Moreover, while the baseline incurs an accuracy drop to 7.6%, MGNet manages to maintain 44.2% accuracy in the same PGD attack strength with ResNet-50 backbone. Our code is available at https://github.com/siahuat0727/MGNet.

View on arXivView PDF

Code Implementations(1)

siahuat0727/MGNetOfficial100%

The official implementation of "Multi-Glimpse Network: A Robust and Efficient Classification Architecture based on Recurrent Downsampled Attention" (BMVC 2021).

133PythonOct 19, 20215 years ago
computer-visiondeep-learningrecurrent-attention-model

Similar Papers

Cite this paper

@article{tan2021multiglimpse,
  title  = {Multi-Glimpse Network: A Robust and Efficient Classification Architecture based on Recurrent Downsampled Attention},
  author = {Sia Huat Tan and Runpei Dong and Kaisheng Ma},
  year   = {2021},
  eprint = {2111.02018},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02018}
}

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

Discussion