Person Re-Identification via Active Hard Sample Mining

Xin Xu, Lei Liu, Weifeng Liu, Meng Wang, Ruimin HuarXiv 2020

Abstract

Training robust person re-identification (re-ID) models typically demands massive, manually annotated datasets. This paper introduces the Active Hard Sample Mining (AHSM) framework, which optimizes the annotation process by intelligently selecting informative and diverse samples. By integrating uncertainty-based selection with a computer-assisted identity recommendation tool, AHSM achieves state-of-the-art performance while reducing human labeling requirements by up to 63%.

Introduction: The Annotation Bottleneck

Person re-identification—matching individuals across non-overlapping camera views—is vital for public security and smart city applications. However, the traditional data pipeline is labor-intensive: collecting video, sampling frames, cropping bounding boxes, and manually assigning identities. This process is prone to errors and often results in redundant data that adds little value to model training.

Challenges in sample distribution: intra-class variance and mislabeling.

A significant challenge is "intra-class variance," where the same person appears differently due to lighting, angles, or occlusions. Previous active learning methods often failed to account for this, selecting redundant samples that did not effectively improve the model's discriminative power.

Methodology: The AHSM Framework

The proposed AHSM framework operates in an iterative loop designed to maximize learning from minimal data.

Workflow of the Active Hard Sample Mining (AHSM) framework.

The framework consists of four primary components:

  1. Siamese Network (SN): The core model utilizes two branches—one for classification (identity prediction) and one for verification (determining if two images represent the same person).
  2. Uncertainty Estimation: The system identifies "hard samples" where the model is most uncertain. Specifically, samples where the identification and verification branches yield contradictory results are flagged for human review.
  3. Intra-diversity Estimation: To prevent redundancy, the framework uses Kullback-Leibler (KL) divergence to ensure that selected samples represent diverse visual "blocks" (e.g., different poses or viewpoints) of the same identity.
  4. Identity Recommendation Module (IDRM): To streamline the human role, the IDRM suggests the top 10 most likely matches from the labeled set. This transforms the human task from an exhaustive search to a simple verification, drastically increasing speed and accuracy.

Experimental Setup and Datasets

The framework was evaluated on three benchmark datasets:

  • Market1501: 1,501 identities and 32,000+ bounding boxes.
  • MSMT17: The largest and most complex dataset, with 4,101 identities across 15 cameras.
  • CUHK03: 1,467 identities, featuring both manual and detected crops.

Key Results and Performance

The AHSM framework demonstrates that high accuracy can be maintained with significantly less labeled data:

  • Effort Reduction: Annotation requirements were slashed by 57% on Market1501, 63% on MSMT17, and 49% on CUHK03.
  • Operational Efficiency: On Market1501, the IDRM reduced human comparison operations from 1.8 million to just 26,000.
  • Accuracy: Models trained with AHSM achieved Rank-1 and mAP scores nearly identical to those trained on 100% of the data, proving that "harder" samples are indeed better for learning.

Conclusion

The Active Hard Sample Mining framework represents a significant step toward efficient person re-ID. By focusing on informative, diverse samples and leveraging human-AI collaboration through the IDRM, the system minimizes manual labor without compromising model performance. Future work will explore applying these principles to unsupervised learning and deploying the framework for even larger-scale real-world datasets.

Summary updated

BibTeX
@misc{xu2020person,
  author = {Xin Xu and Lei Liu and Weifeng Liu and Meng Wang and Ruimin Hu},
  title = {{Person Re-Identification via Active Hard Sample Mining}},
  year = {2020},
  eprint = {2004.04912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.04912},
}
Figure