Unsupervised Person Re-Identification With Iterative Self-Supervised Domain Adaptation

Haotian Tang, Yiru Zhao, Hongtao Lu

Abstract

Person re-identification (re-id) across non-overlapping camera views is a critical task for large-scale surveillance, yet its deployment is often hindered by the high cost of manual labeling. This paper introduces ISSDA-ReID, a three-stage framework designed for unsupervised domain adaptation. By integrating GAN-based style transfer with identity constraints, iterative clustering for pseudo-labeling, and a novel Within-Model Co-Training (WMCT) strategy, the proposed method effectively bridges the domain gap. Experimental results on Market1501 and DukeMTMC-reID benchmarks show that ISSDA-ReID significantly outperforms existing state-of-the-art methods, providing a robust "plug-and-play" solution for real-world re-id applications.

Introduction

The primary challenge in person re-identification (re-id) is the "domain gap." A model trained on one set of cameras (the source domain) often performs poorly when deployed in a new environment (the target domain) due to variations in lighting, background, and camera resolution. While supervised learning achieves high accuracy, the manual effort required to label thousands of images for every new deployment is unsustainable.

Unsupervised Domain Adaptation (UDA) seeks to mitigate this by using labeled source data and unlabeled target data. However, common "pseudo-labeling" approaches—where the model clusters unlabeled data to generate training labels—often fall into "erroneous stability." In this state, the model becomes increasingly confident in its own misclassifications, leading to a performance plateau. ISSDA-ReID addresses these issues through a refined three-stage pipeline.

The ISSDA-ReID Framework

Stage 1: Style Transfer and Identity Preservation

To provide a better initialization for the target domain, the framework first performs style transfer. Using a CycleGAN-based approach, source domain images are translated to match the visual style of the target domain. Crucially, the authors implement an Identity Constraint and a Masked Cycle Consistency Loss. These additions ensure that while the background and lighting change, the essential features of the person—such as clothing patterns and body shape—are preserved.

Visualization of style transfer results (Stage 1), where source domain images are translated to the target domain style while preserving identity features.

Stage 2: Iterative Pseudo-Labeling

Once the model is initialized on the style-transferred source data, it begins an iterative process on the unlabeled target data. The model extracts features from the target images and clusters them using DBSCAN combined with K-reciprocal encoding distance. This distance metric is more robust than standard Euclidean distance as it considers the mutual neighbors of image pairs. The resulting clusters are assigned pseudo-labels, which are then used to fine-tune the model in a self-supervised manner.

Stage 3: Within-Model Co-Training (WMCT)

The core innovation of this work is the Within-Model Co-Training (WMCT) strategy. To break the cycle of erroneous stability, the authors exploit the internal diversity of the neural network.

The ISSDA-ReID architecture, detailing the Within-Model Co-Training (WMCT) process using GAP and FC layers for self-supervision.

As shown in the architecture diagram, two different feature layers—the Global Average Pooling (GAP) layer and the Fully Connected (FC) layer—are used to generate two independent sets of pseudo-labels. Because these layers capture different levels of abstraction, their errors are often not perfectly correlated. By enforcing a mutual triplet loss where one layer's predictions supervise the other, the model can correct internal inconsistencies and improve the quality of the pseudo-labels without requiring a second, computationally expensive model.

Experimental Evaluation

The researchers evaluated ISSDA-ReID on two major benchmarks: Market1501 and DukeMTMC-reID. The experiments focused on cross-domain tasks, such as training on Duke and testing on Market.

The results were compelling. In the Market1501 to DukeMTMC task, the model achieved 72.8% Rank-1 accuracy and 54.1% mAP, representing a significant jump over previous state-of-the-art methods like IPL. Similarly, in the DukeMTMC to Market1501 task, the model reached 81.3% Rank-1 accuracy. Ablation studies confirmed that the WMCT stage alone contributed a 2-4% boost in accuracy, validating the effectiveness of internal co-training.

Discussion and Insights

Several key takeaways emerged from this research:

  • Initialization is Critical: Style transfer provides a much more stable starting point for iterative labeling than raw source data.
  • Identity over Aesthetics: In the GAN stage, preserving identity features is far more important for re-id performance than the visual "realism" of the generated images.
  • Self-Supervision through Internal Diversity: The WMCT strategy proves that a single model can provide its own supervision by leveraging the different "views" provided by its internal layers.

Conclusion

ISSDA-ReID offers a powerful framework for deploying person re-identification systems in new environments without the need for manual labeling. By combining style transfer, robust clustering, and internal co-training, it overcomes the traditional pitfalls of unsupervised domain adaptation. Future work will focus on optimizing the clustering process to reduce computational overhead and exploring even more effective initialization techniques.

Summary updated

BibTeX
@inproceedings{tang2019unsupervised,
  author = {Haotian Tang and Yiru Zhao and Hongtao Lu},
  title = {{Unsupervised Person Re-Identification With Iterative Self-Supervised Domain Adaptation}},
  booktitle = {Workshops @ CVPR},
  year = {2019},
  doi = {10.1109/cvprw.2019.00195},
}
Figure