Self-similarity Grouping: A Simple Unsupervised Cross Domain Adaptation Approach for Person Re-identification

Yang Fu, Yunchao Wei, Guanshuo Wang, Xi Zhou, Honghui Shi, Thomas S. Huang · DOI

Introduction

Person re-identification (re-ID) models often experience a significant performance decline when deployed in a new environment (target domain) different from their training environment (source domain). This "domain gap" is particularly challenging in re-ID because the identities in the target domain are entirely disjoint from those in the source domain. Traditional Unsupervised Domain Adaptation (UDA) methods, which often assume shared classes, are largely ineffective. To address this, the authors propose Self-similarity Grouping (SSG), an approach that leverages the inherent structural similarities of the human body to automatically discover and learn new identities in unlabeled target data.

Methodology: Self-Similarity Grouping (SSG)

The SSG framework operates through an iterative process of feature extraction, clustering, and model updating. Unlike methods that rely solely on global features, SSG exploits the multi-view nature of the human body by considering both the whole body and its constituent parts, such as upper and lower sections.

The SSG pipeline: Features are extracted from unlabeled samples, pooled via Global Average Pooling (GAP), and used for independent clustering in multiple self-spaces to assign pseudo-labels for triplet loss training.

The process follows these key steps:

  1. Multi-View Feature Extraction: A model pre-trained on the source domain extracts features from the unlabeled target images. Feature maps are segmented into "Whole Body," "Upper Parts," and "Bottom Parts."
  2. Independent Clustering: An unsupervised density-based clustering algorithm is applied to these three views independently, creating three distinct "self-spaces." Each cluster within these spaces represents a potential identity or a shared visual characteristic.
  3. Pseudo-Label Assignment: Each image is assigned three pseudo-labels corresponding to its cluster membership in the three views.
  4. Iterative Fine-Tuning: The model is updated using a Triplet Loss function, treating the assigned pseudo-labels as ground truth. This multi-part approach ensures the model learns discriminative features even when certain body parts are occluded.
  5. SSG++ (Semi-Supervised): An extension where a single representative image from each automatically generated cluster is manually labeled, providing a significant performance boost with minimal human intervention.

Experimental Evaluation

The approach was evaluated on three major re-ID benchmarks: Market1501 (1,501 identities), DukeMTMC-reID (1,812 identities), and MSMT17 (4,101 identities). These datasets represent varying levels of difficulty in terms of camera views and identity diversity.

Key Results

SSG demonstrates superior performance compared to existing unsupervised methods. By effectively utilizing local body parts, the model achieves more robust clustering than global-only approaches.

Performance comparison of SSG variants against baselines and other UDA methods on Market1501 and DukeMTMC-reID datasets.

As shown in the results table:

  • DukeMTMC → Market1501: SSG achieved 58.3% mAP, significantly outperforming the direct transfer baseline of 26.6%.
  • Market1501 → DukeMTMC: SSG reached 53.4% mAP, a substantial improvement over the 16.1% direct transfer baseline.
  • Semi-Supervised Performance: The SSG++ variant achieved 68.7% mAP on Market1501, recovering approximately 90% of the performance of a fully supervised upper bound (80.8% mAP).
  • MSMT17: On this challenging dataset, SSG improved the mAP from a direct transfer baseline of ~3% to 13.2%.

Discussion and Limitations

The success of SSG highlights that body parts provide critical discriminative cues that global features might overlook. Furthermore, by allowing the clustering algorithm to dynamically determine the number of identities, SSG naturally handles the "open set" nature of the re-ID problem.

However, the framework has limitations. Its performance is sensitive to the quality of the initial clustering; a weak source model can lead to noisy pseudo-labels. Additionally, performing clustering across the entire target dataset in every iteration introduces computational overhead as dataset sizes increase. Future work may explore more efficient clustering techniques or methods to mitigate the impact of noisy labels.

Summary updated

BibTeX
@inproceedings{fu2018self,
  author = {Yang Fu and Yunchao Wei and Guanshuo Wang and Xi Zhou and Honghui Shi and Thomas S. Huang},
  title = {{Self-similarity Grouping: A Simple Unsupervised Cross Domain Adaptation Approach for Person Re-identification}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2018},
  doi = {10.1109/iccv.2019.00621},
}
Figure