NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Context-Sensitive Temporal Feature Learning for Gait Recognition

Xiaohu Huang, Duowang Zhu, Hao Wang, Xinggang Wang, Bo Yang, Botao He, Wenyu Liu, Bin Feng

Introduction

Gait recognition is a unique biometric modality that identifies individuals based on their walking patterns. Unlike facial recognition or fingerprinting, gait recognition can be performed at a distance and does not require the subject's active cooperation. However, the field faces significant challenges, particularly in handling variations in appearance (e.g., clothing, carrying bags) and the inherent "misalignment" that occurs during temporal feature extraction from silhouette sequences.

The Misalignment Challenge

A primary hurdle in gait recognition is the misalignment problem. Standard temporal operations, such as 3D convolutions or temporal pooling, assume that pixels at the same spatial coordinates $(x, y)$ across different frames correspond to the same anatomical part. However, as a person walks, their body parts move through the frame. A pixel that represents the background in one frame might represent a leg in the next.

The misalignment problem: spatial coordinates do not consistently map to the same body parts across a temporal sequence.

When these misaligned features are aggregated, the resulting representation often suffers from "blurring," where fine-grained spatial details are lost, reducing the model's discriminative power.

Proposed Methodology: CSTL and SSFL

To address these issues, this research introduces the Context-Sensitive Temporal Feature Learning (CSTL) framework. The architecture is designed to adaptively capture motion across multiple time scales while preserving high-quality spatial information.

Overview of the CSTL architecture, featuring Multi-Scale Temporal Extraction, Adaptive Temporal Aggregation (ATA), and Salient Spatial Feature Learning (SSFL).

1. Context-Sensitive Temporal Feature Learning (CSTL)

The CSTL module moves beyond fixed temporal modeling by extracting features at three distinct granularities:

  • Frame-level Features: These capture static appearance information from individual silhouettes.
  • Short-term Features: These utilize 1D convolutions with small receptive fields to capture micro-motions and local temporal dynamics.
  • Long-term Features: These capture global periodic patterns and the overall rhythm of the walking cycle across the entire sequence.

These multi-scale features are then processed by the Adaptive Temporal Aggregation (ATA) module. ATA uses relation modeling to evaluate the context of the entire sequence, adaptively weighting different frames and scales based on their importance for identification.

2. Salient Spatial Feature Learning (SSFL)

To combat the misalignment problem, the authors developed the Salient Spatial Feature Learning (SSFL) module. Instead of simple averaging, SSFL employs a "hard-attention" mechanism. It divides the body into horizontal parts (e.g., head, torso, legs) and evaluates the "saliency" or clarity of each part across all frames in a sequence.

The module then selects the most discriminative version of each part and "stitches" them together to create a single, high-quality recombinant frame. This "Frankenstein" frame ensures that the network retains sharp spatial features even after complex temporal processing.

Experimental Results

The CSTL network was evaluated on two major benchmarks: CASIA-B and OU-MVLP.

  • CASIA-B: The model achieved state-of-the-art (SOTA) rank-1 accuracies of 98.0% in normal walking conditions, 95.4% when subjects carried bags, and 87.0% when wearing coats. The robustness to clothing changes (the "Coat" condition) is particularly notable, as this is a common failure point for gait recognition systems.
  • OU-MVLP: On this massive dataset of over 10,000 subjects, CSTL achieved a rank-1 accuracy of 90.2%, becoming the first published method to surpass the 90% threshold on this benchmark.
  • Efficiency: Notably, the model maintains high performance even at lower input resolutions ($64 \times 44$), demonstrating a superior trade-off between accuracy and computational cost compared to previous architectures.

Conclusion

By combining "soft attention" for temporal weighting (ATA) with "hard attention" for spatial part selection (SSFL), the CSTL framework effectively bridges the gap between motion and appearance modeling. While the system currently relies on binary silhouettes, its ability to reconstruct high-quality features from misaligned sequences represents a significant step forward in robust biometric identification.

Summary updated

BibTeX
@inproceedings{huang2021context,
  author = {Xiaohu Huang and Duowang Zhu and Hao Wang and Xinggang Wang and Bo Yang and Botao He and Wenyu Liu and Bin Feng},
  title = {{Context-Sensitive Temporal Feature Learning for Gait Recognition}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01267},
}
Figure