Camera-Aware Style Separation and Contrastive Learning for Unsupervised Person Re-Identification

Xue Li, Tengfei Liang, Yi Jin, Tao Wang, Yidong Li

Introduction

Person Re-Identification (ReID) aims to identify the same individual across multiple non-overlapping camera views. While supervised methods have achieved high accuracy, they rely heavily on expensive, manually labeled datasets. Unsupervised Person Re-ID (UReID) offers a more scalable alternative by learning identity features without human-provided labels. However, UReID faces a significant challenge: intra-class variance. The visual appearance of a person can change drastically between cameras due to lighting, background, and hardware differences, often leading models to cluster images by camera style rather than identity.

Methodology: The CA-UReID Framework

To address these challenges, the researchers propose CA-UReID, a framework designed to explicitly separate camera-specific styles from identity-related features. The architecture consists of two primary components: the Camera Style Separation (CSS) module and the Camera-Aware Contrastive Center (CACC) loss.

Architecture of the CA-UReID framework, illustrating the Camera Style Separation (CSS) module and Camera-aware Clustering.

Camera Style Separation (CSS)

The CSS module utilizes an attention mechanism to disentangle features. It splits the feature map into two distinct branches:

  1. Camera-Specific Branch: This branch is supervised by camera IDs—metadata that is typically available even in unlabeled datasets. It learns to capture the unique stylistic signatures of each camera.
  2. Camera-Agnostic Branch: By applying a complementary attention mask, this branch is forced to focus on features that remain consistent across different cameras, which are primarily related to the person's identity.

Camera-Aware Contrastive Center (CACC) Loss

Standard contrastive learning often operates at the instance level, which can be sensitive to noise. CA-UReID introduces the CACC loss, which optimizes based on camera-specific centers. By calculating the average feature of an identity within a specific camera, the model can pull different camera-specific centers of the same identity together while pushing centers of different identities apart. This approach provides a more stable optimization target compared to individual sample comparisons.

Experimental Results

The CA-UReID framework was evaluated on the Market1501 and DukeMTMC-reID benchmarks. The results demonstrate that the combination of CSS and CACC loss significantly improves performance over baseline methods.

Performance comparison and ablation study on Market1501 and DukeMTMC-reID datasets.

As shown in the table, the full CA-UReID model (Baseline + CSS + $L_{cacc}$) achieved state-of-the-art results, reaching 84.5% mAP on Market1501 and 73.2% mAP on DukeMTMC-reID. These results surpass previous unsupervised methods and even some unsupervised domain adaptation (UDA) techniques that utilize labeled source data.

Conclusion

The CA-UReID framework effectively mitigates the impact of camera-specific noise in unsupervised person re-identification. By explicitly modeling and separating camera styles and employing a robust center-based contrastive loss, the model achieves superior performance on standard benchmarks. Future research may explore finer-grained style separation, such as accounting for temporal or weather-related variations, to further enhance feature robustness.

Summary updated

BibTeX
@inproceedings{li2021camera,
  author = {Xue Li and Tengfei Liang and Yi Jin and Tao Wang and Yidong Li},
  title = {{Camera-Aware Style Separation and Contrastive Learning for Unsupervised Person Re-Identification}},
  booktitle = {ICME},
  year = {2021},
  doi = {10.1109/icme52920.2022.9859842},
}
Figure