Abstract
While discriminative local features have been shown effective in solving the person re-identification problem, they are limited to be trained on fully pairwise labelled data which is expensive to obtain. In this work, we overcome this problem by proposing a patch-based unsupervised learning framework in order to learn discriminative feature from patches instead of the whole images. The patch-based learning leverages similarity between patches to learn a discriminative model. Specifically, we develop a PatchNet to select patches from the feature map and learn discriminative features for these patches. To provide effective guidance for the PatchNet to learn discriminative patch feature on unlabeled datasets, we propose an unsupervised patch-based discriminative feature learning loss. In addition, we design an image-level feature learning loss to leverage all the patch features of the same image to serve as an image-level guidance for the PatchNet. Extensive experiments validate the superiority of our method for unsupervised person re-id.
Introduction
Person re-identification (re-id) aims to match individuals across non-overlapping camera views. While supervised deep learning has achieved significant success, it requires extensive manual labeling, which is costly and lacks scalability. Unsupervised methods often attempt to transfer knowledge from a labeled source dataset to an unlabeled target dataset. However, these methods frequently struggle with the "domain gap"—the discrepancy in visual styles (lighting, background, camera angles) between different environments.
The Patch-Based Advantage
The authors argue that while global image appearances vary significantly across datasets, local patches (e.g., clothing textures, specific accessories) remain more consistent. By focusing on these "atomic" units, models can learn features that generalize better across domains.
As shown in the figure above, the gap between similar person images from different datasets (MSMT17 vs. Market-1501) is large due to dissimilar global parts. However, the gap between corresponding image patches is significantly smaller, facilitating more effective unsupervised learning.
Methodology: The PAUL Framework
The proposed Patch-based Unsupervised Learning (PAUL) framework consists of three core components:
1. PatchNet
PatchNet utilizes a CNN backbone combined with a Patch Generation Network (PGN). The PGN automatically identifies and extracts features from salient regions or "patches" of a person's body, ensuring the model focuses on discriminative local details.
2. Patch-based Discriminative Feature Learning Loss (PEDAL)
PEDAL provides bottom-up guidance. In the absence of labels, the framework maintains a memory bank of patches. The loss function encourages the model to cluster visually similar patches from different images together in the feature space while separating dissimilar ones. This allows the model to learn fine-grained discriminative features without explicit identity labels.
3. Image-level Patch Feature Learning Loss (IPFL)
IPFL offers top-down guidance to prevent the model from incorrectly merging different identities that share similar patches (e.g., two different people wearing red shirts). It employs surrogate positive samples (generated via data augmentation) and a cyclic ranking method. Cyclic ranking identifies "hard negatives"—images that look similar but are likely different people based on mutual nearest neighbor logic—to refine identity-level features.
Experimental Results
The PAUL framework was evaluated on major benchmarks, demonstrating superior performance over existing unsupervised transfer methods.
- Market-1501: Achieved 68.5% Rank-1 accuracy and 40.1% mAP.
- DukeMTMC-reID: Achieved 72.0% Rank-1 accuracy and 53.2% mAP.
Ablation studies confirmed that both PEDAL and IPFL are essential; removing either component resulted in a significant performance decline, highlighting the synergy between patch-level and image-level guidance.
Conclusion and Future Work
PAUL demonstrates that learning from local patches effectively bridges the domain gap in unsupervised person re-identification. By leveraging both bottom-up patch similarity and top-down image consistency, the model achieves state-of-the-art results. Future research may focus on reducing dependency on labeled source datasets for pre-training and improving patch selection robustness in scenarios with heavy occlusions or extreme poses.
Summary updated