Offline-Online Associated Camera-Aware Proxies for Unsupervised Person Re-Identification

Menglin Wang, Jiachen Li, Baisheng Lai, Xiaojin Gong, Xian-Sheng Hua

Abstract

Unsupervised Person Re-identification (Re-ID) faces significant hurdles due to intra-identity variance across different cameras and the noise inherent in pseudo-labels generated by clustering. We present O2CAP, a framework that utilizes Offline-Online Associated Camera-Aware Proxies to bridge the camera gap. By splitting identity clusters into camera-specific proxies and employing dual contrastive losses, O2CAP achieves state-of-the-art performance on major Re-ID benchmarks.

Introduction

Person Re-identification (Re-ID) is the task of identifying the same individual across a network of non-overlapping cameras. While supervised methods have reached high levels of accuracy, they require massive, manually labeled datasets. Unsupervised Re-ID typically relies on clustering to generate pseudo-labels. However, standard clustering often fails to account for the significant visual differences caused by varying camera viewpoints (intra-cluster variance) and suffers from "stale" labels that do not evolve with the model's feature representation.

The O2CAP Framework

The proposed O2CAP (Offline-Online Associated Camera-Aware Proxies) framework addresses these challenges by decomposing identity clusters into camera-specific proxies. Instead of treating a cluster as a single monolithic identity, O2CAP splits it based on camera views. This allows the model to explicitly handle camera-specific styles.

Overview of the O2CAP framework, illustrating the transition from global clusters to camera-aware proxies and the subsequent model updating step using a proxy-level memory bank.

Offline and Online Association

The core innovation of O2CAP lies in its dual association mechanism:

  • Offline Association: This leverages the initial clustering results. It assumes that proxies derived from the same cluster should be pulled together in the feature space, providing a stable global structure.
  • Online Association: To combat noisy pseudo-labels, the model dynamically associates an image with its nearest neighbor proxies using the most current features. A camera-aware nearest neighbor criterion ensures that an image is associated with at most one proxy per camera, preventing erroneous merges and correcting for clustering errors on the fly.
Comparison of (a) cluster-level contrast, (b) proxy-level offline contrast ($L_{Off}$), and (c) proxy-level online contrast ($L_{On}$).

The model optimizes two simultaneous losses, $L_{Off}$ and $L_{On}$, allowing it to maintain global consistency while performing fine-grained, dynamic corrections. Interestingly, the effectiveness of this inter-camera association makes additional intra-camera losses redundant. Additionally, a Proxy-Balanced Sampling strategy ensures that rare camera views are adequately represented during training.

Experimental Results

O2CAP was evaluated on several standard benchmarks, including Market-1501, DukeMTMC-reID, MSMT17, and the vehicle Re-ID dataset VeRi-776.

  • MSMT17: O2CAP achieved a significant performance boost on this challenging dataset, reaching 72.0% Rank-1 accuracy and 42.4% mAP, outperforming the previous state-of-the-art (CAP) by 4.6% and 5.5% respectively.
  • Vehicle Re-ID: The method generalized effectively to the VeRi-776 dataset, achieving 87.5% Rank-1 accuracy, demonstrating the robustness of the camera-aware proxy logic for non-human objects.
  • Comparison to UDA: Notably, O2CAP often outperforms Unsupervised Domain Adaptation (UDA) methods, which have the advantage of using labeled data from a different source domain.

Conclusion

O2CAP demonstrates that explicitly modeling camera bias through proxies, rather than attempting to ignore it, leads to more robust unsupervised Re-ID. By combining stable offline clustering with dynamic online rectification, the framework effectively bridges the gap between camera viewpoints and mitigates the impact of noisy pseudo-labels. Future work may involve exploring more advanced backbones, such as Transformers, to further close the gap with supervised performance.

Summary updated

BibTeX
@article{wang2022offline,
  author = {Menglin Wang and Jiachen Li and Baisheng Lai and Xiaojin Gong and Xian-Sheng Hua},
  title = {{Offline-Online Associated Camera-Aware Proxies for Unsupervised Person Re-Identification}},
  journal = {IEEE Trans. Image Process.},
  year = {2022},
  doi = {10.1109/tip.2022.3213193},
}
Figure