Not Every Patch is Needed: Towards a More Efficient and Effective Backbone for Video-based Person Re-identification
Lanyun Zhu, Tianrun Chen, Deyi Ji, Jieping Ye, Jun Liu
TL;DR
The paper addresses the high computational cost of video-based person ReID by proposing a selective patch-based backbone. It introduces a patch selection mechanism guided by selection-determinate features and a patch-sparse transformer (PSFormer) that injects pseudo global context to compensate for sparse inputs, with a GOP-based temporal structure and dynamic routing between patch-wise and global context generation. The method achieves substantial computational savings (up to 74% fewer MACs than ViT-B and 28% less than ResNet50) while maintaining or surpassing accuracy of strong backbones, and demonstrates strong plug-and-play performance when used as a backbone for existing ReID models. This work offers a practical, scalable approach for real-time video ReID systems by balancing selective feature extraction with effective global context through dynamic, hardware-friendly design.
Abstract
This paper proposes a new effective and efficient plug-and-play backbone for video-based person re-identification (ReID). Conventional video-based ReID methods typically use CNN or transformer backbones to extract deep features for every position in every sampled video frame. Here, we argue that this exhaustive feature extraction could be unnecessary, since we find that different frames in a ReID video often exhibit small differences and contain many similar regions due to the relatively slight movements of human beings. Inspired by this, a more selective, efficient paradigm is explored in this paper. Specifically, we introduce a patch selection mechanism to reduce computational cost by choosing only the crucial and non-repetitive patches for feature extraction. Additionally, we present a novel network structure that generates and utilizes pseudo frame global context to address the issue of incomplete views resulting from sparse inputs. By incorporating these new designs, our backbone can achieve both high performance and low computational cost. Extensive experiments on multiple datasets show that our approach reduces the computational cost by 74\% compared to ViT-B and 28\% compared to ResNet50, while the accuracy is on par with ViT-B and outperforms ResNet50 significantly.
