Distillation-guided Representation Learning for Unconstrained Gait Recognition

Yuxiang Guo, Siyuan Huang, Ram Prabhakar, Chun Pong Lau, Rama Chellappa, Cheng Peng

Abstract

Gait recognition holds the promise of robustly identifying subjects based on walking patterns instead of appearance information. While previous approaches have performed well for curated indoor data, they tend to underperform in unconstrained situations, e.g. in outdoor, long distance scenes, etc. We propose a framework, termed GAit DEtection and Recognition (GADER), for human authentication in challenging outdoor scenarios. Specifically, GADER leverages a Double Helical Signature to detect segments that contain human movement and builds discriminative features through a novel gait recognition method, where only frames containing gait information are used. To further enhance robustness, GADER encodes viewpoint information in its architecture, and distills representation from an auxiliary RGB recognition model, which enables GADER to learn from silhouette and RGB data at training time. At test time, GADER only infers from the silhouette modality. We evaluate our method on multiple State-of-The-Arts(SoTA) gait baselines and demonstrate consistent improvements on indoor and outdoor datasets, especially with a significant 25.2% improvement on unconstrained, remote gait data.

Introduction

Gait recognition—the ability to identify individuals by their unique walking patterns—offers a powerful, non-intrusive biometric for security and surveillance. Unlike facial recognition, which requires high-resolution imagery of the face, gait can theoretically be captured from a distance and at various angles. However, most existing gait recognition systems are "lab-born," optimized for curated indoor datasets like CASIA-B where subjects walk in controlled loops.

When transitioned to "unconstrained" real-world scenarios—such as outdoor security footage, long-distance drone (UAV) captures, or crowded public spaces—these models often fail. Three primary challenges emerge:

  1. Temporal Noise: Real-world videos are not neatly trimmed. They contain long sequences of subjects standing still, turning, or appearing only partially, which introduces significant noise into models expecting continuous gait cycles.
  2. Viewpoint and Scale Sensitivity: Drastic changes in camera distance (e.g., from 100m to 500m) and elevation significantly distort the subject's silhouette.
  3. Information Bottlenecks: While silhouettes preserve privacy, they discard the rich texture and color information present in RGB video that could otherwise aid in identity discrimination.

Methodology: The GADER Framework

To address these challenges, we introduce GADER (GAit DEtection and Recognition), a framework designed to bridge the gap between controlled environments and the messy real world. GADER consists of two primary modules: a Gait Detector and a specialized Recognition engine.

The Gait Detector

Rather than processing every frame in a video stream, GADER employs a lightweight detector to isolate valid gait segments. This is achieved through a Double Helical Signature (DHS). By tracking the vertical and horizontal movement of the knees over time, the system generates a 2D pattern. Walking produces a distinct, periodic double-helix pattern, whereas standing or stationary movement appears as a flat line. This allows GADER to filter out "junk" frames—such as those where a person is standing or only partially visible—before they reach the computationally expensive recognition stage.

GAit Recognition (GAR) with Cross-Modality Distillation

The recognition module (GAR) incorporates two key innovations to enhance robustness:

  • Ratio Attention: Standard preprocessing involves resizing silhouettes to a fixed input size, which typically destroys information about the subject's original distance and aspect ratio. GADER preserves this "resizing ratio" as an attention signal, providing the model with implicit cues about the subject's distance and viewing angle.
  • Cross-Modality Distillation: To overcome the information loss inherent in silhouettes, GADER utilizes a teacher-student distillation strategy during training. An auxiliary RGB-based recognition model (the teacher) extracts rich features from color video, which are then distilled into the silhouette-based model (the student).
The GADER architecture utilizes a teacher-student distillation approach to transfer knowledge from RGB data to silhouette representations during training.

Crucially, as shown in the architecture diagram, the RGB stream is only used during training. At test time, the model relies solely on silhouettes, ensuring privacy and maintaining high inference speeds.

Experimental Evaluation

We evaluated GADER across three diverse benchmarks:

  • BRIAR: A rigorous dataset featuring "in the wild" footage, including UAV shots at distances ranging from 100 to 500 meters.
  • CASIA-B: A standard indoor dataset used to ensure the framework maintains high performance in controlled settings.
  • Gait3D: A large-scale outdoor dataset captured in a supermarket environment with over 4,000 subjects.

Results and Analysis

The results on the BRIAR dataset—the most challenging "unconstrained" test—demonstrate the effectiveness of our approach. GADER achieved a 25.2% improvement in Rank-1 accuracy on remote gait data compared to vanilla baselines.

Radar charts comparing GADER against Vanilla and GAR baselines across four state-of-the-art models. GADER consistently shows superior performance across all distances and viewpoints.

As illustrated in the radar charts, GADER provides a consistent performance "lift" across multiple state-of-the-art (SoTA) base models, including GaitSet, GaitPart, GaitGL, and GaitBase. The improvement is most pronounced at extreme distances; for instance, at 500 meters, GADER raised the accuracy of the GaitBase model from approximately 12% to nearly 57%. This suggests that filtering stationary frames and incorporating distilled RGB knowledge are critical for long-range identification.

Conclusion and Future Work

GADER demonstrates that robust gait recognition in unconstrained environments requires both intelligent data filtering and multi-modal knowledge transfer. By treating the "resizing ratio" as a feature rather than a byproduct of preprocessing, and by leveraging RGB data during training without sacrificing privacy at test time, GADER sets a new state-of-the-art for remote human identification.

Future research will focus on refining the gait detector to handle even more complex activities and extreme occlusions, as well as exploring adaptive window lengths for detecting very brief gait signatures.

Summary updated

BibTeX
@inproceedings{guo2023distillation,
  author = {Yuxiang Guo and Siyuan Huang and Ram Prabhakar and Chun Pong Lau and Rama Chellappa and Cheng Peng},
  title = {{Distillation-guided Representation Learning for Unconstrained Gait Recognition}},
  booktitle = {IJCB},
  year = {2023},
}
Figure