Dynamic Aggregated Network for Gait Recognition

Kang Ma, Ying Fu, Dezhi Zheng, Chunshui Cao, Xuecai Hu, Yongzhen Huang

Abstract

Gait recognition is a critical biometric task for long-distance identification, yet it faces significant challenges from intra-class variations such as changes in clothing and carrying conditions. We present the Dynamic Aggregated Network (DANet), which introduces a dynamic attention mechanism treating gait features as complex-valued vectors. By modeling gait as a sampled signal and employing a Global Motion Patterns Aggregator (GMPA), DANet adaptively focuses on discriminative body regions and filters out noise. Experimental results on CASIA-B, OUMVLP, and Gait3D demonstrate state-of-the-art performance, particularly in challenging cross-dressing scenarios.

Introduction

Identifying individuals by their walking patterns—gait recognition—is invaluable for surveillance and forensics. However, the silhouette of a person can change drastically due to "exterior factors" like wearing a heavy coat or carrying a bag. This creates high intra-class variance, where a single individual's appearance varies more than the differences between distinct individuals. Traditional deep learning methods often rely on static convolutional weights that struggle to adapt to these dynamic changes.

Methodology: The DANet Architecture

DANet addresses these limitations by moving toward an adaptive, signal-processing-inspired framework. The architecture consists of two primary novel components: the Local Conv-Mixing Block (LCMB) and the Global Motion Patterns Aggregator (GMPA).

The overall architecture of DANet, featuring a 4-stage backbone of LCMBs and a GMPA head.

Local Conv-Mixing Block (LCMB)

Instead of treating pixel features as simple scalars, the LCMB maps each pixel to a vector in the complex domain. This vector is defined by:

  • Magnitude: Represents contextual information (the "what").
  • Phase: Used to construct a dynamic attention model (the "where").

By modeling the phase relationship between neighboring pixels, the network can adaptively focus on key regions, such as the swing of a leg, rather than relying on fixed spatial weights. This allows the model to dynamically adjust its focus based on the input silhouette.

Dynamic Attention mechanism using magnitude and phase to focus on key body regions.

Global Motion Patterns Aggregator (GMPA)

Inspired by the Nyquist-Shannon sampling theorem, DANet views gait as a periodic signal. The GMPA module uses a self-attention mechanism to "sample" and select the most discriminative local motion patterns. This process effectively filters out noise and disturbances, such as the flapping of a coat, which do not contribute to the core identity signal. These selected patterns are then aggregated into a robust global representation.

Experimental Evaluation

The model was evaluated on three major benchmarks:

  • CASIA-B: 124 subjects under Normal Walking (NM), Walking with Bags (BG), and Walking with Coats (CL) conditions.
  • OUMVLP: Over 10,000 subjects and 14 camera viewpoints.
  • Gait3D: A challenging "in-the-wild" dataset with complex scenes and occlusions.

Key Results

DANet consistently outperformed existing state-of-the-art (SOTA) methods:

  • CASIA-B: Achieved 89.9% accuracy in the difficult "Coat" (CL) category, significantly higher than GaitGL (83.6%) and LagrangeGait (85.1%).
  • OUMVLP: Reached a Rank-1 accuracy of 90.7%, setting a new benchmark for large-scale recognition.
  • Gait3D: Achieved 48.0% Rank-1 accuracy in "wild" conditions, outperforming the previous best (SMPLGait) by 1.7%.

Discussion and Conclusion

The core innovation of DANet lies in its treatment of phase as a dynamic attention mechanism and gait as a sampled signal. This approach provides remarkable robustness to silhouette distortions caused by clothing. While the current model focuses on 2D silhouettes, future work may involve integrating 3D structural information to further enhance performance in highly occluded or crowded environments. DANet represents a significant step forward in making gait recognition practical for real-world applications.

The code is available at: https://github.com/XKMar/FastGait

Summary updated

BibTeX
@inproceedings{ma2023dynamic,
  author = {Kang Ma and Ying Fu and Dezhi Zheng and Chunshui Cao and Xuecai Hu and Yongzhen Huang},
  title = {{Dynamic Aggregated Network for Gait Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.02114},
}
Figure