Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Prototypical Contrastive Learning-based CLIP Fine-tuning for Object Re-identification

About

This work aims to adapt large-scale pre-trained vision-language models, such as contrastive language-image pretraining (CLIP), to enhance the performance of object reidentification (Re-ID) across various supervision settings. Although prompt learning has enabled a recent work named CLIP-ReID to achieve promising performance, the underlying mechanisms and the necessity of prompt learning remain unclear due to the absence of semantic labels in ReID tasks. In this work, we first analyze the role prompt learning in CLIP-ReID and identify its limitations. Based on our investigations, we propose a simple yet effective approach to adapt CLIP for supervised object Re-ID. Our approach directly fine-tunes the image encoder of CLIP using a prototypical contrastive learning (PCL) loss, eliminating the need for prompt learning. Experimental results on both person and vehicle Re-ID datasets demonstrate the competitiveness of our method compared to CLIP-ReID. Furthermore, we extend our PCL-based CLIP fine-tuning approach to unsupervised scenarios, where we achieve state-of-the art performance. Code is available at https://github.com/RikoLi/PCL-CLIP.

Jiachen Li, Xiaojin Gong• 2023

Related benchmarks

TaskDatasetResultRank
Person Re-IdentificationMarket1501 (test)
Rank-1 Accuracy96.1
1264
Person Re-IdentificationMSMT17 (test)
Rank-1 Acc89.8
499
Vehicle Re-identificationVeRi-776 (test)
Rank-197.1
232
Person Re-IdentificationCARGO Metadata-free
Rank-1 Accuracy84.82
76
Person Re-IdentificationAG-ReID W -> A v2
Rank-184.19
23
Person Re-IdentificationAG-ReID A -> W v2
Rank-187.14
23
Person Re-IdentificationAG-ReID Protocol 2: G↔A v1
Rank-1 Acc86.9
20
Person Re-IdentificationAG-ReID Protocol 1: A↔G v1
Rank-1 Acc82.16
20
Person Re-IdentificationAG-ReID G→A protocol v2
Rank-1 Acc81.12
18
Person Re-IdentificationAG-ReID A→G protocol v2
Rank-10.798
18
Showing 10 of 11 rows

Other info

Follow for update