GLGait: A Global-Local Temporal Receptive Field Network for Gait Recognition in the Wild
Guozhen Peng, Yunhong Wang, Yuwei Zhao, Shaoxiong Zhang, Annan Li
TL;DR
GLGait tackles gait recognition in unconstrained environments by addressing long-range temporal modeling with a Global-Local Temporal Module (GLTM) that combines Pseudo Global Temporal Self-Attention (PGTA) and temporal convolution, embedded in GL-3D blocks with a 2D vision backbone. It further strengthens learning with Center-Augmented Triplet Loss (CTL), which uses class centers as positives to reduce intra-class variance and increase positive samples. Empirically, GLGait achieves state-of-the-art results on in-the-wild datasets Gait3D and GREW, offering notable gains on long sequences while maintaining memory efficiency relative to full MHSA-based transformers. The approach provides a scalable, practical framework for robust gait recognition in real-world surveillance settings.
Abstract
Gait recognition has attracted increasing attention from academia and industry as a human recognition technology from a distance in non-intrusive ways without requiring cooperation. Although advanced methods have achieved impressive success in lab scenarios, most of them perform poorly in the wild. Recently, some Convolution Neural Networks (ConvNets) based methods have been proposed to address the issue of gait recognition in the wild. However, the temporal receptive field obtained by convolution operations is limited for long gait sequences. If directly replacing convolution blocks with visual transformer blocks, the model may not enhance a local temporal receptive field, which is important for covering a complete gait cycle. To address this issue, we design a Global-Local Temporal Receptive Field Network (GLGait). GLGait employs a Global-Local Temporal Module (GLTM) to establish a global-local temporal receptive field, which mainly consists of a Pseudo Global Temporal Self-Attention (PGTA) and a temporal convolution operation. Specifically, PGTA is used to obtain a pseudo global temporal receptive field with less memory and computation complexity compared with a multi-head self-attention (MHSA). The temporal convolution operation is used to enhance the local temporal receptive field. Besides, it can also aggregate pseudo global temporal receptive field to a true holistic temporal receptive field. Furthermore, we also propose a Center-Augmented Triplet Loss (CTL) in GLGait to reduce the intra-class distance and expand the positive samples in the training stage. Extensive experiments show that our method obtains state-of-the-art results on in-the-wild datasets, $i.e.$, Gait3D and GREW. The code is available at https://github.com/bgdpgz/GLGait.
