[Paper Review] ICE: Inter-instance Contrastive Encoding for Unsupervised Person Re-identification
This paper proposes Inter-instance Contrastive Encoding (ICE), a novel unsupervised person re-identification method that leverages pairwise instance similarities to improve contrastive learning. By using hard positive mining via similarity ranking for hard instance contrast and soft similarity scores for augmentation consistency, ICE reduces intra-class variance and enhances robustness, achieving state-of-the-art performance on Market1501, DukeMTMC-reID, and MSMT17 without any identity annotations.
Unsupervised person re-identification (ReID) aims at learning discriminative identity features without annotations. Recently, self-supervised contrastive learning has gained increasing attention for its effectiveness in unsupervised representation learning. The main idea of instance contrastive learning is to match a same instance in different augmented views. However, the relationship between different instances has not been fully explored in previous contrastive methods, especially for instance-level contrastive loss. To address this issue, we propose Inter-instance Contrastive Encoding (ICE) that leverages inter-instance pairwise similarity scores to boost previous class-level contrastive ReID methods. We first use pairwise similarity ranking as one-hot hard pseudo labels for hard instance contrast, which aims at reducing intra-class variance. Then, we use similarity scores as soft pseudo labels to enhance the consistency between augmented and original views, which makes our model more robust to augmentation perturbations. Experiments on several large-scale person ReID datasets validate the effectiveness of our proposed unsupervised method ICE, which is competitive with even supervised methods. Code is made available at https://github.com/chenhao2345/ICE.
Motivation & Objective
- To address the limitation of existing unsupervised ReID methods that underutilize inter-instance relationships in contrastive learning.
- To reduce intra-class variance in unsupervised ReID by mining hard positives using instance pairwise similarity ranking.
- To improve robustness to data augmentation perturbations by using similarity scores as soft pseudo labels.
- To develop a fully unsupervised framework that matches or exceeds supervised methods in performance without requiring identity annotations.
Proposed method
- ICE uses pairwise similarity scores within a mini-batch to identify the hardest positive sample for each anchor, forming one-hot hard pseudo labels for hard instance contrastive learning.
- The method applies a contrastive loss based on these hard pseudo labels to minimize intra-class variance and improve cluster compactness.
- Pairwise similarity scores are used as soft pseudo labels to enforce consistency between original and augmented views, enhancing robustness to data augmentation.
- The framework combines three components: class-level contrast (centroid-based), hard instance contrast (hardest positive), and soft consistency loss (augmentation invariance).
- It operates fully unsupervised, requiring no identity annotations, and is compatible with both camera-agnostic and camera-aware memory banks.
- The model is trained end-to-end using contrastive objectives derived from self-supervised instance-level and pairwise similarity learning.
Experimental results
Research questions
- RQ1Can inter-instance pairwise similarities improve unsupervised person re-identification beyond class-level and instance-level contrastive learning?
- RQ2How can hard positive mining based on similarity ranking reduce intra-class variance in unsupervised ReID?
- RQ3Can soft similarity scores as pseudo labels enhance model robustness to data augmentation perturbations?
- RQ4Does leveraging inter-instance affinities lead to performance gains comparable to or exceeding supervised methods in unsupervised settings?
Key findings
- ICE(aware) achieves 82.3% rank-1 accuracy on Market1501, surpassing the camera-aware baseline CAP by 2.9 percentage points.
- ICE(agnostic) outperforms the camera-agnostic baseline SpCL by 2.8% on Market1501, demonstrating improved robustness without camera priors.
- On MSMT17, ICE(aware) achieves 98.4% rank-1 accuracy, significantly outperforming all previous unsupervised and UDA methods.
- ICE achieves competitive performance with supervised methods: ICE with ground truth labels reaches 86.6% rank-1 on Market1501, approaching the performance of PCB and DG-Net.
- The ablation study confirms that both hard instance contrast and soft consistency loss contribute significantly to performance gains.
- Qualitative results show ICE successfully captures fine-grained visual cues such as clothing patterns, hair color, and accessories in hard retrieval cases.
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.