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

NFormer: Robust Person Re-identification with Neighbor Transformer

About

Person re-identification aims to retrieve persons in highly varying settings across different cameras and scenarios, in which robust and discriminative representation learning is crucial. Most research considers learning representations from single images, ignoring any potential interactions between them. However, due to the high intra-identity variations, ignoring such interactions typically leads to outlier features. To tackle this issue, we propose a Neighbor Transformer Network, or NFormer, which explicitly models interactions across all input images, thus suppressing outlier features and leading to more robust representations overall. As modelling interactions between enormous amount of images is a massive task with lots of distractors, NFormer introduces two novel modules, the Landmark Agent Attention, and the Reciprocal Neighbor Softmax. Specifically, the Landmark Agent Attention efficiently models the relation map between images by a low-rank factorization with a few landmarks in feature space. Moreover, the Reciprocal Neighbor Softmax achieves sparse attention to relevant -- rather than all -- neighbors only, which alleviates interference of irrelevant representations and further relieves the computational burden. In experiments on four large-scale datasets, NFormer achieves a new state-of-the-art. The code is released at \url{https://github.com/haochenheheda/NFormer}.

Haochen Wang, Jiayi Shen, Yongtuo Liu, Yan Gao, Efstratios Gavves• 2022

Related benchmarks

TaskDatasetResultRank
Person Re-IdentificationMarket1501 (test)
Rank-1 Accuracy94.7
1264
Person Re-IdentificationDuke MTMC-reID (test)
Rank-189.4
1018
Person Re-IdentificationMarket 1501
mAP93
999
Person Re-IdentificationDukeMTMC-reID
Rank-1 Acc90.6
648
Person Re-IdentificationMSMT17 (test)
Rank-1 Acc77.3
499
Person Re-IdentificationMSMT17
mAP0.622
404
Person Re-IdentificationMarket-1501 (test)
Rank-194.7
384
Person Re-IdentificationCUHK03 (Detected)
Rank-1 Accuracy79
219
Person Re-IdentificationCUHK03
R177.3
184
Person Re-IdentificationCUHK03 (Labeled)
Rank-1 Rate80.6
180
Showing 10 of 14 rows

Other info

Code

Follow for update