Towards Fewer Labels: Support Pair Active Learning for Person Re-identification

Dapeng Jin, Minxian LiarXiv 2022

Abstract

Supervised-learning based person re-identification (Re-ID) requires a large amount of manual labeled data, which is not applicable in practical Re-ID deployment. In this work, we propose a Support Pair Active Learning (SPAL) framework to lower the manual labeling cost for large-scale person re-identification. The support pairs can provide the most informative relationships and support the discriminative feature learning. Specifically, we firstly design a dual uncertainty selection strategy to iteratively discover support pairs and require human annotations. Afterwards, we introduce a constrained clustering algorithm to propagate the relationships of labeled support pairs to other unlabeled samples. Moreover, a hybrid learning strategy consisting of an unsupervised contrastive loss and a supervised support pair loss is proposed to learn the discriminative Re-ID feature representation. The proposed overall framework can effectively lower the labeling cost by mining and leveraging the critical support pairs. Extensive experiments demonstrate the superiority of the proposed method over state-of-the-art active learning methods on large-scale Re-ID benchmarks.

Introduction

Person Re-identification (Re-ID)—the task of identifying the same individual across non-overlapping camera views—is a cornerstone of modern surveillance and public safety. However, traditional supervised methods face a "labeling wall," requiring thousands of manually tagged images with unique IDs to achieve high accuracy. While unsupervised methods eliminate this cost, they often struggle with the drastic appearance changes caused by varying camera angles and lighting conditions.

Active learning (AL) attempts to bridge this gap by asking humans to label only the most informative data. However, many existing AL methods for Re-ID still require significant labeling budgets to be truly practical. This paper introduces Support Pair Active Learning (SPAL), a framework designed to identify the absolute minimum set of "support pairs" needed to train a high-performing model. By focusing on "border points"—samples on the edges of clusters where the model is most uncertain—SPAL provides a disproportionate boost to accuracy with minimal human effort.

Methods

The SPAL framework operates in an iterative loop consisting of three main components:

The SPAL framework overview, illustrating the iterative process of image feature extraction, pair constrained clustering, support pair selection/annotation, and hybrid loss learning.
  1. Dual Uncertainty Selection (DUS): Instead of random selection, the system identifies "support pairs" that the current model is most confused about. These include Uncertain Positive Pairs (the most dissimilar images currently in the same cluster) and Uncertain Negative Pairs (the most similar images in different clusters).
  2. Pair Constrained Clustering: Once a human labels these pairs as either a "Must-Link" (same person) or "Cannot-Link" (different people), the system uses a Constrained-DBSCAN algorithm. This ensures that human annotations are propagated throughout the dataset, forcing the clustering to respect ground-truth relationships.
  3. Hybrid Loss Learning: The model is trained using a combination of an Unsupervised Contrastive Loss, which learns general data structure by pushing features toward cluster centroids, and a Supervised Support Pair Loss, a triplet loss that specifically uses human-labeled pairs to refine the model's decision boundaries.

Results and Discussion

SPAL was evaluated on four large-scale benchmarks: Market-1501, DukeMTMC-ReID, MSMT17, and LaST. The framework consistently outperformed state-of-the-art active learning and unsupervised methods across all datasets.

Performance comparison of SPAL against various unsupervised (UL), semi-supervised (SSL), and active learning (AL) methods on Market-1501 and DukeMTMC-ReID datasets.

As shown in the comparison table, SPAL achieves 83.1% mAP on Market-1501, coming within 1.5% of the fully supervised "Oracle" performance while using a significantly lower labeling budget ($2n$ pairs) than previous methods like MASS ($5n$). On the massive MSMT17 dataset, SPAL reached 41.0% mAP, significantly outperforming MASS (30.0% mAP) despite using less than half the labeling budget ($1.8n$ vs $5n$). These results demonstrate that pairwise labeling is often more efficient and intuitive than assigning global IDs, creating a virtuous cycle where better support pairs lead to more accurate clustering and vice versa.

Conclusion

SPAL offers a highly efficient approach to person Re-ID by leveraging targeted human annotations of critical support pairs. By integrating active learning with constrained clustering and hybrid loss functions, the framework achieves near-supervised performance with a fraction of the labeling cost. Future work will focus on reducing human-in-the-loop latency and improving the scalability of constraints for even larger datasets.

Summary updated

BibTeX
@misc{jin2022towards,
  author = {Dapeng Jin and Minxian Li},
  title = {{Towards Fewer Labels: Support Pair Active Learning for Person Re-identification}},
  year = {2022},
  eprint = {2204.10008},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.10008},
}
Figure