MaskCL: Semantic Mask-Driven Contrastive Learning for Unsupervised Person Re-Identification with Clothes Change

Mingkun Li, Peng Xu, Chun-Guang Li, Jun GuoarXiv 2023 · DOI

Introduction

Person Re-Identification (Re-ID) is the task of matching a specific individual across different camera views. Most existing unsupervised Re-ID systems are "short-term"—they rely heavily on color and texture. If a person changes their outfit, these systems usually fail because they perceive the new clothing as a new identity.

While "long-term" Re-ID (handling clothes changes) exists, it has historically relied on supervised learning, which requires massive, laboriously labeled datasets. Collecting this data is expensive and often impractical. The authors of this paper introduce SiCL (Silhouette-Driven Contrastive Learning), an unsupervised framework that teaches a model to recognize a person across different clothes without using any human-provided labels.

Methods

SiCL shifts the focus from what a person is wearing to who they are by utilizing structural information as an identity anchor.

Overview of the SiCL framework, showing the dual-branch architecture and hierarchical neighbor structure.
  1. Dual-Branch Architecture: The model processes two streams: standard RGB images and silhouette masks. While RGB provides detail, the silhouette captures clothing-invariant features like body shape and posture.
  2. Hierarchical Fusion Clustering: This is the core of the unsupervised process. At the instance level, the model groups similar-looking images (same person, same clothes). At the cluster level, it fuses RGB and silhouette features to find "neighbors" between different clusters, linking different outfits to the same individual.
  3. Triple Contrastive Learning: The model is trained using three distinct losses: Prototypical (groups instances around a cluster identity), Cross-view (aligns RGB and Silhouette branches), and Cluster-level Neighbor (pushes clusters of the same person closer together).
  4. Curriculum Neighbor Selecting: A curriculum strategy starts by looking for very close neighbors and gradually expands its search range as the model's confidence grows.

Key Results

SiCL demonstrated a significant performance leap over previous unsupervised state-of-the-art (SOTA) methods across six diverse long-term Re-ID benchmarks.

Performance comparison of SiCL against state-of-the-art methods on LTCC and PRCC datasets.
  • VC-Clothes: SiCL achieved 63.9% mAP, significantly outperforming the previous best unsupervised method, CACL (49.7%).
  • DeepChange: On this massive dataset, SiCL reached 12.4% mAP, outperforming unsupervised SpCL (8.9%) and even beating a supervised ResNet-50 baseline (9.62%).
  • PRCC: In the specific clothes-change setting, SiCL achieved a Rank-1 accuracy of 43.2%, nearly 10% higher than the previous unsupervised leader.

Discussion and Future Work

The core insight of SiCL is that silhouettes can serve as a stable anchor to guide the RGB branch to ignore transient clothing cues. By using a hierarchical approach, SiCL bridges the distance gap that traditional clustering often fails to cross in long-term Re-ID scenarios.

However, the model remains sensitive to clustering parameters like the DBSCAN distance threshold and struggles on very small datasets where neighbor structures are harder to build. Future work may incorporate other clothing-independent sources, such as gait analysis or skeletal pose, to further refine recognition in unconstrained environments.

Summary updated

BibTeX
@misc{li2023maskcl,
  author = {Mingkun Li and Peng Xu and Chun-Guang Li and Jun Guo},
  title = {{MaskCL: Semantic Mask-Driven Contrastive Learning for Unsupervised Person Re-Identification with Clothes Change}},
  year = {2023},
  eprint = {2305.13600},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13600},
}
Figure