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

TransReID: Transformer-based Object Re-Identification

About

Extracting robust feature representation is one of the key challenges in object re-identification (ReID). Although convolution neural network (CNN)-based methods have achieved great success, they only process one local neighborhood at a time and suffer from information loss on details caused by convolution and downsampling operators (e.g. pooling and strided convolution). To overcome these limitations, we propose a pure transformer-based object ReID framework named TransReID. Specifically, we first encode an image as a sequence of patches and build a transformer-based strong baseline with a few critical improvements, which achieves competitive results on several ReID benchmarks with CNN-based methods. To further enhance the robust feature learning in the context of transformers, two novel modules are carefully designed. (i) The jigsaw patch module (JPM) is proposed to rearrange the patch embeddings via shift and patch shuffle operations which generates robust features with improved discrimination ability and more diversified coverage. (ii) The side information embeddings (SIE) is introduced to mitigate feature bias towards camera/view variations by plugging in learnable embeddings to incorporate these non-visual clues. To the best of our knowledge, this is the first work to adopt a pure transformer for ReID research. Experimental results of TransReID are superior promising, which achieve state-of-the-art performance on both person and vehicle ReID benchmarks.

Shuting He, Hao Luo, Pichao Wang, Fan Wang, Hao Li, Wei Jiang• 2021

Related benchmarks

TaskDatasetResultRank
Person Re-IdentificationMarket1501 (test)
Rank-1 Accuracy95.2
1264
Person Re-IdentificationDuke MTMC-reID (test)
Rank-190.7
1018
Person Re-IdentificationMarket 1501
mAP89.5
999
Person Re-IdentificationDukeMTMC-reID
Rank-1 Acc91.1
648
Person Re-IdentificationMSMT17 (test)
Rank-1 Acc86.2
499
Person Re-IdentificationMSMT17
mAP0.694
404
Person Re-IdentificationMarket-1501 (test)
Rank-195.2
384
Vehicle Re-identificationVeRi-776 (test)
Rank-197.1
232
Person Re-IdentificationOccluded-Duke (test)
Rank-1 Acc66.8
177
Person Re-IdentificationMarket-1501 1.0 (test)
Rank-195.2
131
Showing 10 of 83 rows
...

Other info

Code

Follow for update