Relation-Aware Global Attention for Person Re-identification

Zhizheng Zhang, Cuiling Lan, Wenjun Zeng, Xin Jin, Zhibo Chen
4/5/2019
cs.CV

Official code: microsoft/Relation-Aware-Global-Attention-Networks (376 stars, Python, MIT, last commit 2023-06-12).

Abstract

For person re-identification (re-id), attention mechanisms have become attractive as they aim at strengthening discriminative features and suppressing irrelevant ones, which matches well the key of re-id, i.e., discriminative feature learning. Previous approaches typically learn attention using local convolutions, ignoring the mining of knowledge from global structure patterns.

Show full abstract

Intuitively, the affinities among spatial positions/nodes in the feature map provide clustering-like information and are helpful for inferring semantics and thus attention, especially for person images where the feasible human poses are constrained. In this work, we propose an effective Relation-Aware Global Attention (RGA) module which captures the global structural information for better attention learning. Specifically, for each feature position, in order to compactly grasp the structural information of global scope and local appearance information, we propose to stack the relations, i.e., its pairwise correlations/affinities with all the feature positions (e.g., in raster scan order), and the feature itself together to learn the attention with a shallow convolutional model. Extensive ablation studies demonstrate that our RGA can significantly enhance the feature representation power and help achieve the state-of-the-art performance on several popular benchmarks. The source code is available at https://github.com/microsoft/Relation-Aware-Global-Attention-Networks.

View on arXivView PDF

Code Implementations(1)

MIT

We design an effective Relation-Aware Global Attention (RGA) module for CNNs to globally infer the attention.

37674Python, ShellJul 4, 20193 years agoMIT

Similar Papers

Cite this paper

@article{zhang2019relationaware,
  title  = {Relation-Aware Global Attention for Person Re-identification},
  author = {Zhizheng Zhang and Cuiling Lan and Wenjun Zeng and Xin Jin and Zhibo Chen},
  year   = {2019},
  eprint = {1904.02998},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.02998}
}

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

Discussion