Complementary Pseudo Labels for Unsupervised Domain Adaptation On Person Re-Identification

Hao Feng, Minghao Chen, Jinming Hu, Dong Shen, Haifeng Liu, Deng CaiIEEE TIP 2021 · DOI

Abstract

In recent years, supervised person re-identification (re-ID) models have received increasing studies. However, these models trained on the source domain always suffer dramatic performance drop when tested on an unseen domain. Existing methods are primary to use pseudo labels to alleviate this problem. One of the most successful approaches predicts neighbors of each unlabeled image and then uses them to train the model. Although the predicted neighbors are credible, they always miss some hard positive samples, which may hinder the model from discovering important discriminative information of the unlabeled domain. In this paper, to complement these low recall neighbor pseudo labels, we propose a joint learning framework to learn better feature embeddings via high precision neighbor pseudo labels and high recall group pseudo labels. The group pseudo labels are generated by transitively merging neighbors of different samples into a group to achieve higher recall. However, the merging operation may cause subgroups in the group due to imperfect neighbor predictions. To utilize these group pseudo labels properly, we propose using a similarity-aggregating loss to mitigate the influence of these subgroups by pulling the input sample towards the most similar embeddings. Extensive experiments on three large-scale datasets demonstrate that our method can achieve state-of-the-art performance under the unsupervised domain adaptation re-ID setting.

Introduction

Person re-identification (re-ID) is the task of matching the same individual across different non-overlapping camera views. While supervised models perform well in controlled environments, they typically suffer significant performance degradation when deployed in a new "target" domain due to variations in lighting, camera angles, and backgrounds. Unsupervised Domain Adaptation (UDA) aims to bridge this gap without manual labeling by using pseudo labels.

Current UDA methods generally fall into two categories: neighbor-based and cluster-based. Neighbor-based methods are highly precise but suffer from low recall, often missing "hard positives"—images of the same person that look different due to viewpoint or occlusion. Cluster-based methods offer higher recall but are prone to label noise, frequently grouping different individuals who share similar visual attributes.

Methodology

The proposed framework introduces a joint learning approach that balances precision and recall by utilizing complementary pseudo labels.

Complementary Pseudo-Labeling

The system generates two types of labels for the unlabeled target domain:

  • Neighbor Pseudo Labels (High Precision): A Graph Positive Prediction (GPP) network is used to identify highly reliable immediate neighbors for each image.
  • Group Pseudo Labels (High Recall): To discover hard positives, the authors employ transitive merging. If Image A is a neighbor of B, and B is a neighbor of C, then A, B, and C are merged into a single group. This transitive property allows the model to connect samples that are visually dissimilar but belong to the same identity.

Similarity-Aggregating Loss ($L_{aggre}$)

Transitive merging inevitably introduces noise in the form of subgroups (different people within the same group). Standard losses that pull samples toward a group center fail in these scenarios. The proposed Similarity-Aggregating Loss ($L_{aggre}$) addresses this by pulling the input sample only toward the most similar subgroup within the noisy group, ensuring robustness against label noise.

The proposed joint learning framework architecture, illustrating the source and target branches and the integration of GPP for neighbor prediction and $L_{aggre}$ for group-based learning.

The training process follows a three-stage curriculum: initial feature learning from the source domain, refinement using high-precision neighbors, and finally, integration of group-based learning once the feature space is sufficiently stable.

Experimental Evaluation

The framework was evaluated on three large-scale datasets: Market-1501, DukeMTMC-reID, and MSMT17.

Performance comparison of the proposed method against state-of-the-art UDA re-ID techniques on the Market-1501 and DukeMTMC-reID benchmarks.

Key Results

  • Market-1501 & DukeMTMC-reID: The method achieved state-of-the-art (SOTA) results, reaching 78.6% mAP on Duke $\to$ Market and 67.9% mAP on Market $\to$ Duke, significantly outperforming previous neighbor-based and cluster-based baselines like ECN+GPP and MMT.
  • MSMT17: On the most challenging benchmark (Duke $\to$ MSMT), the model achieved 24.6% mAP, demonstrating its ability to handle complex real-world scenarios with many camera views and identities.

Conclusion

This paper presents a novel joint learning framework for UDA in person re-ID. By combining high-precision neighbor labels with high-recall group labels and introducing a noise-robust similarity-aggregating loss, the method effectively discovers hard positive samples while maintaining high label accuracy. Experimental results across multiple benchmarks confirm the effectiveness of this approach in achieving state-of-the-art performance.

Summary updated

BibTeX
@article{feng2021complementary,
  author = {Hao Feng and Minghao Chen and Jinming Hu and Dong Shen and Haifeng Liu and Deng Cai},
  title = {{Complementary Pseudo Labels for Unsupervised Domain Adaptation On Person Re-Identification}},
  journal = {IEEE Trans. Image Process.},
  year = {2021},
  doi = {10.1109/tip.2021.3056212},
}
Figure