Integration of Multi-Head Self-Attention and Convolution for Person Re-Identification.

Journal: Sensors (Basel, Switzerland)
PMID:

Abstract

Person re-identification is essential to intelligent video analytics, whose results affect downstream tasks such as behavior and event analysis. However, most existing models only consider the accuracy, rather than the computational complexity, which is also an aspect to consider in practical deployment. We note that self-attention is a powerful technique for representation learning. It can work with convolution to learn more discriminative feature representations for re-identification. We propose an improved multi-scale feature learning structure, DM-OSNet, with better performance than the original OSNet. Our DM-OSNet replaces the 9×9 convolutional stream in OSNet with multi-head self-attention. To maintain model efficiency, we use double-layer multi-head self-attention to reduce the computational complexity of the original multi-head self-attention. The computational complexity is reduced from the original O((H×W)2) to O(H×W×G2). To further improve the model performance, we use SpCL to perform unsupervised pre-training on the large-scale unlabeled pedestrian dataset LUPerson. Finally, our DM-OSNet achieves an mAP of 87.36%, 78.26%, 72.96%, and 57.13% on the Market1501, DukeMTMC-reID, CUHK03, and MSMT17 datasets.

Authors

  • Yalei Zhou
    School of Control and Computer Engineering, North China Electric Power University, Beijing 102206, China.
  • Peng Liu
    Department of Clinical Pharmacy, Dazhou Central Hospital, Dazhou 635000, China.
  • Yue Cui
    National Laboratory of Pattern Recognition and Brainnetome Center, Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China; University of Chinese Academy of Sciences, Beijing 100049, China.
  • Chunguang Liu
    Yangzhong Intelligent Electric Research Center, North China Electric Power University, Yangzhong 212211, China.
  • Wenli Duan
    School of Control and Computer Engineering, North China Electric Power University, Beijing 102206, China.