[Paper Review] Transformer Based Multi-Grained Features for Unsupervised Person Re-Identification
This paper proposes a transformer-based dual-branch network that extracts multi-grained features—global and part-level—from a Vision Transformer backbone for unsupervised person re-identification. By integrating offline and online contrastive learning on both global and part features using the O2CAP framework, the method achieves state-of-the-art performance, reducing the gap to supervised methods by a significant margin on three benchmark datasets.
Multi-grained features extracted from convolutional neural networks (CNNs) have demonstrated their strong discrimination ability in supervised person re-identification (Re-ID) tasks. Inspired by them, this work investigates the way of extracting multi-grained features from a pure transformer network to address the unsupervised Re-ID problem that is label-free but much more challenging. To this end, we build a dual-branch network architecture based upon a modified Vision Transformer (ViT). The local tokens output in each branch are reshaped and then uniformly partitioned into multiple stripes to generate part-level features, while the global tokens of two branches are averaged to produce a global feature. Further, based upon offline-online associated camera-aware proxies (O2CAP) that is a top-performing unsupervised Re-ID method, we define offline and online contrastive learning losses with respect to both global and part-level features to conduct unsupervised learning. Extensive experiments on three person Re-ID datasets show that the proposed method outperforms state-of-the-art unsupervised methods by a considerable margin, greatly mitigating the gap to supervised counterparts. Code will be available soon at https://github.com/RikoLi/WACV23-workshop-TMGF.
Motivation & Objective
- Address the challenge of unsupervised person re-identification, which lacks identity annotations but requires high discrimination for real-world deployment.
- Explore the potential of pure transformer backbones to extract multi-grained features, inspired by CNN-based multi-granularity networks in supervised Re-ID.
- Design a dual-branch architecture to simultaneously learn global and part-level features from a Vision Transformer without modifying the backbone.
- Enhance unsupervised learning by defining both offline and online contrastive losses on global and part-level features, leveraging the O2CAP framework.
- Close the performance gap between unsupervised and supervised Re-ID by effectively utilizing multi-grained features in a label-free setting.
Proposed method
- Adapt the TransReID-SSL backbone, a modified Vision Transformer (ViT), to serve as the feature extraction backbone for unsupervised Re-ID.
- Construct a dual-branch network by duplicating the final transformer layer to generate independent outputs for each branch, enabling parallel feature learning.
- Reshape and uniformly partition local tokens from each branch into multiple horizontal stripes to extract part-level features.
- Average the global tokens from both branches to produce a single global feature representation.
- Integrate the O2CAP framework by defining offline and online contrastive learning losses on both global and part-level features to refine pseudo-labels and improve representation learning.
- Leverage camera-aware proxies and associated clustering to guide contrastive learning without identity supervision.
Experimental results
Research questions
- RQ1Can multi-grained features be effectively extracted from a pure transformer-based Re-ID backbone in an unsupervised setting?
- RQ2Does combining global and part-level contrastive learning improve unsupervised person Re-ID performance compared to using only global features?
- RQ3Can a dual-branch architecture on a Vision Transformer efficiently capture both fine-grained and long-range contextual cues for Re-ID?
- RQ4To what extent can a transformer-based unsupervised Re-ID model reduce the performance gap with supervised counterparts?
- RQ5How does the proposed method compare to state-of-the-art unsupervised Re-ID methods in terms of mAP and Rank-1 accuracy across multiple benchmarks?
Key findings
- On MSMT17, the proposed method achieves 76.8% mAP and 92.9% Rank-1, surpassing the previous SOTA unsupervised method O2CAP by 15.8 percentage points in mAP and 11.3 points in Rank-1.
- On Market-1501, the method achieves 89.5% mAP and 95.5% Rank-1, outperforming the supervised ABD-Net by a narrow margin and exceeding several other supervised methods.
- The model trained with ground-truth labels achieves 91.9% mAP and 96.3% Rank-1 on Market-1501, demonstrating that the multi-grained feature extraction is highly effective and competitive with state-of-the-art supervised models.
- The performance gain is most significant on the most challenging MSMT17 dataset, where the method improves by 7.6% mAP and 8.3% Rank-1 over TransReID-SSL, a prior SOTA transformer-based unsupervised method.
- The ablation study confirms that both global and part-level contrastive learning losses contribute significantly to performance, with part-level supervision providing the most substantial improvement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.