Self-Supervised Pre-Training for Transformer-Based Person Re-Identification

Hao Luo, Pichao Wang, Yi Xu, Feng Ding, Yanxin Zhou +3 more
11/23/2021
104 citations
cs.CV
transformer-attentioncontrastive-ssl

Official code: damo-cv/TransReID-SSL (203 stars, Python, MIT, last commit 2021-12-01).

Abstract

Transformer-based supervised pre-training achieves great performance in person re-identification (ReID). However, due to the domain gap between ImageNet and ReID datasets, it usually needs a larger pre-training dataset (e.g.

Show full abstract

ImageNet-21K) to boost the performance because of the strong data fitting ability of the transformer. To address this challenge, this work targets to mitigate the gap between the pre-training and ReID datasets from the perspective of data and model structure, respectively. We first investigate self-supervised learning (SSL) methods with Vision Transformer (ViT) pretrained on unlabelled person images (the LUPerson dataset), and empirically find it significantly surpasses ImageNet supervised pre-training models on ReID tasks. To further reduce the domain gap and accelerate the pre-training, the Catastrophic Forgetting Score (CFS) is proposed to evaluate the gap between pre-training and fine-tuning data. Based on CFS, a subset is selected via sampling relevant data close to the down-stream ReID data and filtering irrelevant data from the pre-training dataset. For the model structure, a ReID-specific module named IBN-based convolution stem (ICS) is proposed to bridge the domain gap by learning more invariant features. Extensive experiments have been conducted to fine-tune the pre-training models under supervised learning, unsupervised domain adaptation (UDA), and unsupervised learning (USL) settings. We successfully downscale the LUPerson dataset to 50% with no performance degradation. Finally, we achieve state-of-the-art performance on Market-1501 and MSMT17. For example, our ViT-S/16 achieves 91.3%/89.9%/89.6% mAP accuracy on Market1501 for supervised/UDA/USL ReID. Codes and models will be released to https://github.com/michuanhaohao/TransReID-SSL.

View on arXivView PDF

Code Implementations(1)

MIT

Self-Supervised Pre-Training for Transformer-Based Person Re-Identification

20329Python, ShellNov 23, 20215 years agoMIT

Similar Papers

Cite this paper

@article{luo2021selfsupervised,
  title  = {Self-Supervised Pre-Training for Transformer-Based Person Re-Identification},
  author = {Hao Luo and Pichao Wang and Yi Xu and Feng Ding and Yanxin Zhou and Fan Wang and Hao Li and Rong Jin},
  year   = {2021},
  eprint = {2111.12084},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12084}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.12084.svg)](https://codeofpaper.com/paper/2111.12084)

Discussion