Hierarchical and Efficient Learning for Person Re-Identification

Jiangning Zhang, Liang Liu, Chao Xu, Yong LiuarXiv 2020

Introduction

Person Re-Identification (ReID) is the critical task of identifying the same individual across non-overlapping camera views. While deep learning has significantly improved ReID accuracy, two major challenges remain for real-world deployment: the trade-off between model efficiency and accuracy, and the prevalence of irregular occlusions (e.g., backpacks, bicycles, or environmental obstacles). This paper introduces HENet (Hierarchical and Efficient Network), a multi-branch architecture designed to balance high accuracy with the low latency required for real-time surveillance.

Methods

HENet Architecture

The authors propose a three-pronged solution using a shared ResNet50 backbone that splits into distinct branches to learn hierarchical features:

  • Global Branch ($G_1$): Captures the overall appearance of the person.
  • Partial Branch ($P_4$): Divides the feature map into horizontal stripes to learn fine-grained local details, such as shoes versus shirts.
  • Recovery Branch ($R$): A unique addition that attempts to reconstruct a low-resolution version of the input image. This forces the network to focus intensely on the human body's structure while ignoring background noise, acting as a powerful regularizer.
The HENet architecture featuring Global, Partial, and Recovery branches for hierarchical feature learning.

Random Polygon Erasing (RPE)

To address irregular occlusions, the authors introduce Random Polygon Erasing (RPE). Unlike standard "Random Erasing" which uses rectangular blocks, RPE generates random $n$-vertex polygons. This more accurately mimics the organic shapes of real-world occlusions, forcing the model to become more robust to missing body parts.

Efficiency Score (ES) Metric

To move beyond simple accuracy metrics, the authors propose the Efficiency Score (ES). This metric factors in Rank-1 accuracy, mAP, feature dimension (search speed), model volume (parameter size), and forward speed (FPS).

Key Results

HENet achieves state-of-the-art performance while remaining faster and leaner than many competitors. On the Market1501 benchmark, it achieved 96.0% Rank-1 and 87.2% mAP, outperforming models like MGN and PCB.

Comparison of HENet against state-of-the-art methods in terms of mAP, Rank-1 accuracy, and inference speed (FPS).

On the proposed Efficiency Score (ES), HENet scored 3.52, significantly higher than AlignedReID (2.55) or MGN (2.42). Despite its multi-branch training, the testing phase is streamlined, achieving a competitive forward speed of 138 FPS on a Titan X GPU.

Key Insights

  • The Recovery Advantage: The reconstruction task in the Recovery Branch prevents the model from over-focusing on specific, potentially occluded pixels, leading to more holistic representations.
  • Loss Function Synergy: The paper utilizes a combination of Triplet, Cross-Entropy (CE), Online Instance Matching (OIM), and Reconstruction losses. Applying different losses to different branches provides mutual complementation that boosts performance without increasing inference-time complexity.
  • Polygons > Rectangles: Ablation studies show that RPE consistently outperforms standard rectangular Random Erasing, particularly as the occlusion level in test data increases.

Limitations and Future Work

While HENet is highly efficient during inference, the training process is complex due to the simultaneous optimization of multiple loss functions and the decoder for the recovery branch. Future research directions include integrating attention mechanisms to further refine feature extraction and exploring GAN-based recovery branches to generate features even more robust to extreme pose changes.

Summary updated

Abstract

Recent works in the person re-identification task mainly focus on the model accuracy while ignore factors related to the efficiency, e.g. model size and latency, which are critical for practical application. In this paper, we propose a novel Hierarchical and Efficient Network (HENet) that learns hierarchical global, partial, and recovery features ensemble under the supervision of multiple loss combinations. To further improve the robustness against the irregular occlusion, we propose a new dataset augmentation approach, dubbed Random Polygon Erasing (RPE), to random erase irregular area of the input image for imitating the body part missing. We also propose an Efficiency Score (ES) metric to evaluate the model efficiency. Extensive experiments on Market1501, DukeMTMC-ReID, and CUHK03 datasets shows the efficiency and superiority of our approach compared with epoch-making methods.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Market-1501 · Market1501HENet(+Both)R-196.0%split: test
Source quote
L237: From the comparison results, our proposed method obtains competitive results on three datasets. Specifically, the proposed HENet obtains 96.0% R-1 for Market1501, 88.9% R-1 for DukeMTMC-ReID, and 67.1% R-1 for CUHK03, which exceeds all other methods. Besides, our approach outperforms others on mAP: 87.2%, 78.9%, and 66.5% for Market1501, DukeMTMC-ReID, and CUHK03 respectively.
DukeMTMC-reIDHENet(+Both)R-188.9%split: test
Source quote
L237: From the comparison results, our proposed method obtains competitive results on three datasets. Specifically, the proposed HENet obtains 96.0% R-1 for Market1501, 88.9% R-1 for DukeMTMC-ReID, and 67.1% R-1 for CUHK03, which exceeds all other methods. Besides, our approach outperforms others on mAP: 87.2%, 78.9%, and 66.5% for Market1501, DukeMTMC-ReID, and CUHK03 respectively.
CUHK03HENet(+Both)R-167.1%splits=20 random splits · box-type=DPM-detected
Source quote
L237: From the comparison results, our proposed method obtains competitive results on three datasets. Specifically, the proposed HENet obtains 96.0% R-1 for Market1501, 88.9% R-1 for DukeMTMC-ReID, and 67.1% R-1 for CUHK03, which exceeds all other methods. Besides, our approach outperforms others on mAP: 87.2%, 78.9%, and 66.5% for Market1501, DukeMTMC-ReID, and CUHK03 respectively.
Market-1501 · Market1501HENet(+Both)mAP87.2%split: test
Source quote
L237: From the comparison results, our proposed method obtains competitive results on three datasets. Specifically, the proposed HENet obtains 96.0% R-1 for Market1501, 88.9% R-1 for DukeMTMC-ReID, and 67.1% R-1 for CUHK03, which exceeds all other methods. Besides, our approach outperforms others on mAP: 87.2%, 78.9%, and 66.5% for Market1501, DukeMTMC-ReID, and CUHK03 respectively.
DukeMTMC-reIDHENet(+Both)mAP78.9%split: test
Source quote
L237: From the comparison results, our proposed method obtains competitive results on three datasets. Specifically, the proposed HENet obtains 96.0% R-1 for Market1501, 88.9% R-1 for DukeMTMC-ReID, and 67.1% R-1 for CUHK03, which exceeds all other methods. Besides, our approach outperforms others on mAP: 87.2%, 78.9%, and 66.5% for Market1501, DukeMTMC-ReID, and CUHK03 respectively.
CUHK03HENet(+Both)mAP66.5%splits=20 random splits · box-type=DPM-detected
Source quote
L237: From the comparison results, our proposed method obtains competitive results on three datasets. Specifically, the proposed HENet obtains 96.0% R-1 for Market1501, 88.9% R-1 for DukeMTMC-ReID, and 67.1% R-1 for CUHK03, which exceeds all other methods. Besides, our approach outperforms others on mAP: 87.2%, 78.9%, and 66.5% for Market1501, DukeMTMC-ReID, and CUHK03 respectively.
BibTeX
@misc{zhang2020hierarchical,
  author = {Jiangning Zhang and Liang Liu and Chao Xu and Yong Liu},
  title = {{Hierarchical and Efficient Learning for Person Re-Identification}},
  year = {2020},
  eprint = {2005.08812},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.08812},
}
Figure