Abstract
Person re-identification (ReID) is a critical task in computer vision that involves matching individuals across non-overlapping camera views. Traditional methods often struggle with pose variations, background clutter, and partial occlusions. This paper introduces the Attention-Aware Compositional Network (AACN), a novel framework that replaces rigid, rectangular body-part bounding boxes with fluid, pose-guided attention masks. By estimating both the shape and the visibility of body parts, AACN adaptively weights features to ignore background noise and handle occlusions, achieving state-of-the-art performance on major ReID benchmarks.
Introduction
Person Re-identification (ReID) is notoriously difficult because pedestrians change poses, are often partially hidden by objects (occlusions), and appear against messy, varying backgrounds. While recent trends have moved toward using human pose estimation to "align" body parts, most methods rely on rectangular Regions of Interest (RoIs).
These "loose" boxes are problematic: they often include too much background noise or "leak" features from adjacent body parts. Furthermore, standard models struggle when a part is completely missing (e.g., a person behind a luggage cart), as they attempt to extract features from an occluded area regardless of its content. AACN addresses these issues by moving beyond rigid geometry to a more flexible, attention-driven approach.
Proposed Method
The Attention-Aware Compositional Network (AACN) consists of two primary modules designed to refine feature extraction through precise part alignment and visibility estimation.
Pose-guided Part Attention (PPA)
Instead of drawing a box, this module uses a multi-stage neural network to generate "soft" attention maps (silhouettes) for 14 keypoints and various body parts. It distinguishes between rigid parts (like the torso) and non-rigid parts (like limbs), which are more prone to dramatic deformation. This allows the model to precisely contour the human body and eliminate background noise.
Attention-aware Feature Composition (AFC)
This module takes the global feature map of the image and "masks" it using the PPA maps via a Hadamard product. This ensures the model only processes pixels belonging to a specific part.
A key innovation in the AFC is the estimation of visibility scores. These scores are derived from the intensity of the attention maps; if a part is occluded, its attention intensity drops. In the final stage, the model uses these scores to weight the importance of different parts. If a person's legs are hidden, the model automatically relies more on the upper body and head features for the match.
Key Insights
- Silhouettes over Boxes: The move from rectangular RoIs to pose-guided silhouettes is the core contribution. By precisely contouring the body, the model eliminates "noise" from the background that often confuses standard ReID systems.
- Occlusion as a Signal: Rather than treating occlusion as a failure state, AACN treats it as a weighting factor. By calculating a visibility score, the model learns to ignore parts that aren't there, preventing the "garbage in, garbage out" problem during feature matching.
- Rigid vs. Non-Rigid Handling: The network recognizes that a head-shoulder region transforms differently than a swinging arm. Learning these separately allows for more robust part alignment.
Experimental Results
The AACN was evaluated on several industry-standard ReID benchmarks, including Market-1501, CUHK03, and DukeMTMC-reID. The model achieved state-of-the-art (SOTA) results across all tested datasets at the time of publication (2018):
- CUHK03: Achieved a Rank-1 accuracy of 91.39% (labeled) and 89.51% (detected), significantly outperforming previous pose-driven methods like Spindle Net.
- Market-1501: Reached 85.90% Rank-1 accuracy, which improved to 88.69% when combined with re-ranking techniques.
- Generalization: In cross-dataset evaluations, AACN outperformed competitors, suggesting that its attention-based features are more universal and less overfitted to specific backgrounds.
Conclusion and Future Work
AACN demonstrates that precise, pose-guided attention is superior to rigid part-based alignment for person ReID. By integrating visibility scores, the model becomes robust to the occlusions common in real-world surveillance.
However, the multi-stage pipeline introduces computational overhead that may limit real-time deployment on edge devices. Additionally, the system remains dependent on the accuracy of the underlying pose estimator. Future research could explore integrating temporal information from video-based ReID to further stabilize visibility scores and part attentions in crowded scenes.
Summary updated