An Improved Deep Mutual-Attention Learning Model for Person Re-Identification

Miftah Bedru Jamal, Zhengang Jiang, Ming Fang

TL;DR

This paper introduces a novel "mutual-attention" mechanism for person re-identification, a crucial task in surveillance. By enabling two branches of a deep learning model to "attend" to each other's features, the model effectively identifies common, discriminative regions across different camera views, significantly improving matching accuracy.

What Problem Does This Paper Address?

Person re-identification (re-ID) is the challenging task of matching a person's image across different, non-overlapping camera views. This is difficult because people's appearances change due to variations in pose, lighting, background clutter, and even accessories. While deep learning has made strides, existing methods often struggle to effectively leverage the shared visual information between a pair of images to pinpoint the most discriminative features. This can lead to suboptimal performance, especially when dealing with subtle differences between individuals or similar-looking people. The paper aims to address this by proposing a method that explicitly models the interaction and commonalities between image pairs.

Methods

The core innovation is a "mutual-attention" module integrated into a Siamese deep learning network. Here's a breakdown:

  • Siamese Network: The model uses two identical branches (Siamese architecture) to process pairs of input images. This is standard for re-ID tasks as it allows for direct comparison of features.
  • ResNet-50 Backbone: A pre-trained ResNet-50 is used as the feature extractor up to Layer 4.
  • Self-Attention: For each branch, a "self-attention" mechanism is applied to the feature maps from Layer 3 and Layer 4. This mechanism, decomposed into spatial and channel components, helps the model focus on the most important regions and features within each individual image.
  • Mutual-Attention: This is the novel part. The self-attention maps from the two branches are combined to create a "mutual-attention" map. This map highlights regions that are salient and mutually relevant across both input images. Essentially, it allows the two branches to "talk" to each other and jointly refine their focus.
  • Feature Fusion: The mutual-attention map is used to rescale the original feature maps, boosting the activation of these mutually important regions. The original features are then added back to consolidate the learned information.
  • Multi-Task Learning: The model is trained using a combination of two loss functions:
  • Classification Loss: Helps the model learn to identify individual identities.
  • Verification Loss: Explicitly trains the model to distinguish between pairs of images that belong to the same person versus different people. This is crucial for similarity measurement.

Datasets

The proposed model was evaluated on two widely-used, large-scale person re-identification datasets:

  • Market-1501: Contains 32,668 images of 1501 pedestrians across six cameras.
  • DukeMTMC-ReID: A subset of DukeMTMC, featuring 16,522 training images of 702 identities and 2228 query images of another 702 identities.

Key Insights and Ideas

  • Mutual Attention is Key: The paper strongly suggests that simply applying attention independently to each image (self-attention) is insufficient. The real gain comes from allowing the attention mechanisms of the two images to interact and mutually inform each other.
  • Focusing on Common Ground: By fusing self-attention maps, the mutual-attention module effectively identifies and amplifies features that are common and discriminative across a pair of images, leading to more robust matching.
  • Spatial and Channel Synergy: Decomposing attention into spatial and channel components allows the model to capture both where important features are located and what kind of features they are, leading to a more comprehensive understanding.
  • Joint Learning for Better Performance: Combining classification and verification tasks provides complementary benefits, allowing the model to learn both discriminative features and an effective similarity metric.

Key Results

The proposed mutual-attention model achieved competitive results on both Market-1501 and DukeMTMC-reID datasets.

  • DukeMTMC-reID: The model outperformed the baseline ResNet-50 without mutual-attention by a margin of 5.56% on Rank 1 accuracy. It also showed improvements over other state-of-the-art methods like DCC [14].
  • Market-1501: The model achieved a Rank 1 accuracy of 90.74% and a mAP of 76.92% in the single-shoot setting, outperforming the baseline ResNet-50 by 2.77% and 4.46% on Rank 1 and Rank 5 respectively.
  • Qualitative Results: Visualizations showed that the mutual-attention model focused more on person body parts and distributed attention more effectively compared to the baseline, which tended to focus on objects or limited parts.

Limitations and Future Work

  • Limitations: The paper does not explicitly detail limitations beyond the general challenges of person re-ID. The effectiveness of the mutual-attention layer is demonstrated, but its computational overhead compared to simpler methods is not quantified.
  • Future Work: The authors suggest exploring "body part-based mutual-attention" as a future extension. This could further alleviate interference from background clutter by focusing attention on specific human body parts.

Summary updated

BibTeX
@inproceedings{jamal2020improved,
  author = {Miftah Bedru Jamal and Zhengang Jiang and Ming Fang},
  title = {{An Improved Deep Mutual-Attention Learning Model for Person Re-Identification}},
  booktitle = {Symmetry},
  year = {2020},
  url = {https://openreview.net/forum?id=qkPugubPKg},
}
Figure