Abstract
Unsupervised domain adaptation (UDA) for video-based person re-identification (ReID) is often hindered by domain shifts and camera-specific variations within the target environment. This paper presents a novel framework that combines adversarial camera alignment with a weighted contrastive loss to bridge the gap between labeled source data and unlabeled target tracklets. By utilizing a Gradient Reversal Layer (GRL) for camera-invariant feature learning and a soft k-Nearest Neighbors (kNN) strategy for noise-resilient clustering, the proposed method achieves state-of-the-art results on major benchmarks, including MARS and PRID2011.
Introduction
Person Re-identification (ReID) aims to identify the same individual across multiple non-overlapping cameras. While supervised methods have achieved high accuracy, they often fail when deployed in new environments due to domain shift—differences in lighting, angles, and resolution between training (source) and deployment (target) sites. In video-based ReID, data is organized into tracklets (sequences of frames). A significant challenge in UDA for video ReID is the "style" discrepancy between cameras in the target domain, which can lead to incorrect clustering of unlabeled tracklets. This paper argues that aligning these "sub-domains" (individual cameras) is critical for effective adaptation.
Methodology
The proposed framework, CAWCL-ReID, addresses these challenges through three key strategies:
1. Adversarial Camera Alignment
To mitigate the impact of camera-specific styles, the authors introduce a camera-discriminator network. A Gradient Reversal Layer (GRL) is used to train the feature extractor to produce representations that are indistinguishable across different cameras. This adversarial process forces the model to focus on identity-relevant features rather than camera-specific noise.
2. Weighted (Soft) Contrastive Learning
Traditional UDA methods rely on "hard" pseudo-labels from clustering, which are often noisy in early training stages. The authors propose a soft contrastive loss using a $k$-Nearest Neighbors (kNN) approach. By assigning weights based on feature similarity rather than binary labels, the model accounts for uncertainty and prevents the propagation of clustering errors.
3. Tracklet Splitting
Long tracklets are subdivided into smaller, equal-sized clips. This serves as a temporal data augmentation technique and leverages "temporal atomicity"—the fact that all frames within a tracklet belong to the same person—to provide a more robust training signal.
Experimental Results
The model was evaluated on the MARS, PRID2011, and iLIDS-VID datasets. These datasets represent various scales and complexities in video ReID, ranging from the large-scale MARS with 6 cameras to the smaller, two-camera PRID2011.
As shown in the results table, the full proposed method significantly outperforms the source-only lower bound and intermediate configurations. On the MARS dataset, the method achieved a Rank-1 accuracy of 62.2%, a substantial improvement over previous UDA baselines. In the iLIDS → PRID scenario, the model reached 86.5% Rank-1 accuracy, nearing the performance of supervised upper bounds. Ablation results confirm that both camera alignment and the weighted contrastive loss are essential for these gains.
Conclusion
The CAWCL-ReID framework demonstrates that aligning sub-domains within the target dataset and adopting a soft weighting mechanism for contrastive learning are critical for effective unsupervised domain adaptation in video ReID. While the results are promising, future research will explore more sophisticated tracklet sampling methods and online adaptation techniques to further enhance real-world deployment capabilities.
Summary updated