Attention Driven Person Re-identification

Fan Yang, Ke Yan, Shijian Lu, Huizhu Jia, Xiaodong Xie, Wen Gao

Introduction

Person Re-identification (ReID) is a critical task in computer vision, focused on identifying the same individual across non-overlapping camera views. This task is inherently challenging due to significant "intra-class" variations—where the same person appears different due to changes in pose, lighting, or occlusion—and high "inter-class" similarity, where different individuals share similar visual attributes, such as clothing color.

Challenges in Person ReID: (a) intra-class variation, (b) inter-class similarity, and (c) misalignment.

Traditional approaches often struggle with these nuances. Global methods, which analyze the entire body, frequently overlook fine-grained discriminative details. Conversely, local methods using fixed horizontal strips are sensitive to misalignment and partial occlusions. This paper proposes a dual-layer attention mechanism to address these limitations by focusing on both discriminative regions within body parts and the relative importance of those parts.

Methodology

The proposed architecture is a multi-branch deep network comprising five branches: one global branch for the whole-body image and four local branches targeting specific body parts (head, upper-body, upper-leg, and lower-leg). To ensure accurate localization, an off-the-shelf pose estimator is utilized to define bounding boxes for these parts.

The core innovation lies in a two-tiered attention strategy:

  1. Intra-attention: Within each branch, an encoder-decoder structure generates attention maps. This is decomposed into spatial-wise attention (identifying where to look) and channel-wise attention (determining which features to prioritize). This decomposition reduces parameter overhead while enhancing the search for discriminative regions.
  2. Inter-attention: This module adaptively weights the contributions of the five branches. For instance, if a person's legs are occluded, the inter-attention module reduces the weight of the leg branches, preventing noisy data from degrading the final feature representation.

Experiments and Results

The model was rigorously evaluated on three benchmark datasets: Market-1501, DukeMTMC-ReID, and CUHK03. The results demonstrated state-of-the-art (SOTA) performance at the time of publication:

  • Market-1501: Achieved 94.99% Rank-1 accuracy and 86.47% mAP.
  • DukeMTMC-ReID: Reached 86.04% Rank-1 accuracy, a significant improvement over previous benchmarks.
  • CUHK03: Showed high robustness on "Detected" sets, indicating that the pose-based alignment and attention filtering effectively mitigate noise from automatic detectors.
Qualitative visualization of attention maps showing the model's focus on discriminative body regions.

Qualitative analysis (as seen in the attention maps above) confirms that the intra-attention mechanism successfully captures fine details, while the inter-attention module ensures a robust global-local fusion.

Discussion and Conclusion

The dual-attention approach proves that decomposing attention into spatial and channel components is both efficient and effective. By adaptively fusing global and local features, the model maintains high accuracy even under difficult conditions like similar clothing or varying camera angles.

A current limitation is the dependency on an external pose estimator. Future research could integrate trainable pose estimation or semantic part parsing directly into the network for end-to-end optimization, further increasing resilience in complex, real-world surveillance environments.

Summary updated

BibTeX
@article{yang2019attention,
  author = {Fan Yang and Ke Yan and Shijian Lu and Huizhu Jia and Xiaodong Xie and Wen Gao},
  title = {{Attention Driven Person Re-identification}},
  journal = {Pattern Recognition},
  year = {2019},
  doi = {10.1016/j.patcog.2018.08.015},
}
Figure