Gaitmixer: Skeleton-Based Gait Representation Learning Via Wide-Spectrum Multi-Axial Mixer

Ekkasit Pinyoanuntapong, Ayman Ali, Pu Wang, Minwoo Lee, Chen Chen

TL;DR

GaitMixer is a novel "heterogeneous" multi-axial mixer architecture that significantly closes the performance gap between skeleton-based and appearance-based gait recognition. By combining spatial self-attention with temporal large-kernel convolutions, it captures a wide spectrum of gait dynamics, outperforming previous skeleton-based state-of-the-art (SOTA) methods by an average of 12%.

What Problem Does This Paper Address?

Gait recognition—identifying individuals by the way they walk—is a powerful long-distance biometric. Traditionally, methods are appearance-based, relying on silhouettes. While accurate, these methods struggle when a person changes their "appearance" by wearing a heavy coat or carrying a bag.

Skeleton-based methods, which track 2D/3D joint coordinates, are theoretically more robust to these changes because the underlying bone structure doesn't change with clothing. However, skeleton-based models have historically lagged far behind appearance-based ones in accuracy. The authors identify a key reason: current models use "homogeneous" architectures (using only one type of operation, like just convolutions or just self-attention) which fail to capture the full range of high-frequency (local motion) and low-frequency (global posture) signals present in a walking sequence.

Methods

The authors propose GaitMixer, a heterogeneous multi-axial mixer. Unlike standard Transformers or MLPs that apply the same operation across all dimensions, GaitMixer uses a "right tool for the job" approach:

  • Spatial Mixer (Axial Self-Attention): Within a single frame, the model uses self-attention to learn the relationships between all 17 joints. Self-attention is excellent at modeling global, low-frequency features (e.g., how the position of the left foot relates to the right hand).
  • Temporal Mixer (Large-Kernel Convolution): Across the time dimension, the model uses a large 1D depth-wise convolution (kernel size 31). This is designed to capture high-frequency local motion and mid-range patterns (covering about two walking cycles) more effectively and efficiently than global attention.
  • Isotropic Design: The network maintains a constant feature resolution throughout its layers, avoiding the information loss often associated with downsampling or pooling in traditional CNNs.

Datasets

The model was evaluated on CASIA-B, the most widely used gait database. It includes:

  • 124 individuals.
  • 11 different viewing angles (0° to 180°).
  • Three walking conditions: Normal (NM), Carrying a Bag (BG), and Wearing a Coat (CL).

Key Insights and Ideas

  • The Frequency Hypothesis: The authors argue that gait features are "wide-spectrum." Spatial joint relationships are often global/low-frequency, while temporal dynamics contain crucial high-frequency "fidget" or "swing" information. Using a mix of attention (for low-freq) and convolution (for high-freq) is the key to better representation.
  • Large Kernels vs. Global Attention: For temporal modeling in gait, a very large convolution kernel (31x1) provides a sufficient receptive field to understand the walking cycle without the quadratic computational complexity of full temporal self-attention.
  • Skeleton Robustness: The results confirm that while appearance-based methods are king in "Normal" conditions, skeleton-based methods like GaitMixer are vastly superior when the subject is wearing a bulky coat, as the skeleton remains relatively visible to pose estimators while the silhouette is completely distorted.

Key Results

  • Skeleton-based SOTA: GaitMixer achieved a mean Rank-1 accuracy of 88.3%, a massive jump over the previous best skeleton method, GaitGraph (76.3%).
  • Beating Appearance Methods: In the "Wearing a Coat" (CL) category, GaitMixer (84.5%) significantly outperformed the popular appearance-based model GaitSet (70.4%).
  • Cross-View Performance: GaitMixer showed remarkable consistency across all 11 viewing angles, maintaining high accuracy even at difficult 0° (front-on) and 180° (back-on) views.

Limitations and Future Work

  • Dependency on Pose Estimators: GaitMixer's performance is capped by the quality of the 2D pose estimator (it used HRNet in this study). If the pose estimator fails due to extreme darkness or occlusion, the gait recognition will also fail.
  • 2D vs 3D: The current model uses 2D coordinates. The authors suggest that incorporating 3D skeleton data could further improve invariance to camera viewing angles.
  • Computational Efficiency: While more efficient than standard Transformers, the isotropic design with many layers still requires significant memory during training. Exploring more "bottleneck" style mixer architectures could be a future direction.

Summary updated

BibTeX
@inproceedings{pinyoanuntapong2023gaitmixer,
  author = {Ekkasit Pinyoanuntapong and Ayman Ali and Pu Wang and Minwoo Lee and Chen Chen},
  title = {{Gaitmixer: Skeleton-Based Gait Representation Learning Via Wide-Spectrum Multi-Axial Mixer}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10096917},
}
Figure