Consistency constraints and label optimization-relevant domain-unsupervised adaptive pedestrians’ re-identification

Yuhang Wu, Nong SangJournal of Image and Graphics 2023

Abstract

Unsupervised domain adaptive (UDA) pedestrian re-identification (Re-ID) aims to train a model that generalizes well to a target domain using labeled source domain data and unlabeled target domain data. Existing methods often struggle with feature instability during training, camera-induced intra-class variance, and pseudo-label noise from clustering errors. This paper proposes a method incorporating consistency constraints and label optimization. Specifically, we introduce: 1) Instance Consistency (IC) to stabilize features by constraining distances between different augmentations of the same instance; 2) Camera Consistency (CC) to enhance robustness against camera variations by constraining cross-camera positive pairs; and 3) Label Refinery (LR) to convert one-hot pseudo-labels into reliable soft labels via label ensemble. Experimental results on Duke→Market, Market→Duke, Duke→MSMT, and Market→MSMT benchmarks demonstrate state-of-the-art performance, with mAP reaching 85.0%, 73.5%, 41.3%, and 39.3% respectively.

Introduction

Pedestrian Re-identification (Re-ID) is critical for cross-camera tracking. While supervised learning has matured, its performance drops significantly in new, unlabeled environments. Unsupervised Domain Adaptation (UDA) addresses this by leveraging source knowledge. However, current UDA methods face three primary challenges: feature instability in early training phases, camera bias where lighting and angles distort identity features, and the inherent noise in pseudo-labels generated by clustering algorithms like DBSCAN.

Proposed Method: MCRNCC

The proposed framework, MCRNCC, extends the Multi-Centroid Representation Network (MCRN) by integrating three novel modules designed to improve stability and robustness.

Overall framework of the proposed MCRNCC method, illustrating the integration of consistency constraints and label optimization.

1. Instance Consistency (IC)

To mitigate feature fluctuations, we employ an Exponential Moving Average (EMA) model as a stable "teacher." The IC module constrains the features of an image under different data augmentations to remain close to the features generated by the EMA model. This ensures the network learns identity-invariant representations rather than overfitting to augmentation-induced noise.

Illustration of the Instance Consistency (IC) constraint, pulling features from different augmentations closer to their EMA counterparts.

2. Camera Consistency (CC)

Camera bias often causes the same person to appear different across views. The CC module utilizes camera metadata to construct "hard" triplets. It forces positive pairs (same person, different cameras) to be closer and negative pairs (different people, same camera) to be further apart. This explicitly encourages the model to ignore camera-specific styles and focus on fine-grained identity features.

3. Label Refinery (LR)

To handle pseudo-label noise, we move away from rigid one-hot encoding. The LR module uses a Label Ensemble approach, combining clustering-derived labels with predictions from a target-domain classifier and the EMA model. This produces "soft" labels, acting as a regularizer that prevents the model from over-fitting to erroneous cluster assignments.

Experiments and Results

The model was evaluated on three major datasets: Market-1501, DukeMTMC-reID, and MSMT17. The results demonstrate significant improvements over the baseline MCRN model.

Task mAP Rank-1 Accuracy
Duke → Market 85.0% 94.0%
Market → Duke 73.5% 85.6%
Duke → MSMT 41.3% 71.6%
Market → MSMT 39.3% 69.5%

Ablation studies confirmed the effectiveness of each module. Notably, on the complex Market → MSMT task, MCRNCC outperformed the baseline MCRN by 6.5% in mAP, highlighting the value of consistency constraints in large-scale, diverse environments.

Conclusion

MCRNCC effectively addresses the instability and noise issues in UDA Re-ID. By introducing instance and camera consistency constraints along with label optimization, the model achieves superior generalization. Future work will explore multi-source UDA to further enhance robustness across even more varied real-world scenarios.

Summary updated

BibTeX
@article{wu2023consistency,
  author = {Yuhang Wu and Nong Sang},
  title = {{Consistency constraints and label optimization-relevant domain-unsupervised adaptive pedestrians’ re-identification}},
  journal = {Journal of Image and Graphics},
  year = {2023},
  doi = {10.11834/jig.220618},
}
Figure