Self Attention Grid for Person Re-Identification

Jean-Paul Ainam, Ke Qin, Guisong Liu
9/23/2018
cs.CV
transformer-attention

Official code: jpainam/self_attention_grid (8 stars, Python, last commit 2018-09-10).

Abstract

In this paper, we present an attention mechanism scheme to improve person re-identification task. Inspired by biology, we propose Self Attention Grid (SAG) to discover the most informative parts from a high-resolution image using its internal representation.

Show full abstract

In particular, given an input image, the proposed model is fed with two copies of the same image and consists of two branches. The upper branch processes the high-resolution image and learns high dimensional feature representation while the lower branch processes the low-resolution image and learn a filtering attention grid. We apply a max filter operation to non-overlapping sub-regions on the high feature representation before element-wise multiplied with the output of the second branch. The feature maps of the second branch are subsequently weighted to reflect the importance of each patch of the grid using a softmax operation. Our attention module helps the network learn the most discriminative visual features of multiple image regions and is specifically optimized to attend feature representation at different levels. Extensive experiments on three large-scale datasets show that our self-attention mechanism significantly improves the baseline model and outperforms various state-of-art models by a large margin.

View on arXivView PDF

Code Implementations(1)

Learning attention representation using Self Attention Grid for Person re-id. Leverage the feature of a low level to enhance the representation learning of the upper layer.

81PythonSep 10, 20188 years ago

Similar Papers

Cite this paper

@article{ainam2018self,
  title  = {Self Attention Grid for Person Re-Identification},
  author = {Jean-Paul Ainam and Ke Qin and Guisong Liu},
  year   = {2018},
  eprint = {1809.08556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.08556}
}

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

Discussion