Abstract
Gait recognition—identifying individuals by their walking patterns—is a critical biometric for long-distance surveillance. While modern end-to-end (E2E) deep learning frameworks have improved efficiency, they often suffer from overfitting to gait-irrelevant features like clothing texture and background colors. This paper introduces GaitEdge, a novel framework designed to bridge the gap between the robustness of traditional two-step methods and the efficiency of E2E systems. By utilizing a "synthetic silhouette" approach and a differentiable alignment module, GaitEdge achieves state-of-the-art performance in challenging cross-domain scenarios.
Introduction
Unlike facial recognition or fingerprinting, gait recognition does not require subject cooperation and can function at significant distances. Historically, this was achieved through a two-step pipeline: first, extracting a binary silhouette (a black-and-white mask) and then feeding that mask into a recognition network. Recently, researchers have shifted toward end-to-end (E2E) models that process RGB frames directly.
However, these E2E models are often "lazy." Instead of learning the subtle biomechanics of a stride, they frequently overfit to "gait-irrelevant noise," such as the specific color of a jacket or the texture of a sidewalk. While this results in high accuracy within a single dataset (single-domain), the performance collapses when the model is tested in a new environment or when a subject changes clothes (cross-domain). GaitEdge addresses this "cross-domain trap" by forcing the model to focus exclusively on the human contour.
Methodology
GaitEdge introduces two primary innovations to ensure the model remains focused on actual gait patterns while maintaining the benefits of end-to-end training.
1. Gait Synthesis and the "Edge" Focus
The authors argue that the most discriminative information for gait resides in the contour of the body. To exploit this while blocking RGB noise, GaitEdge generates a "synthetic silhouette." The system uses a segmentation network to identify the subject, but it restricts the "trainable" area to the pixels at the very edges of the body. These edge pixels are represented as floating-point numbers, while the interior of the body and the background are treated as fixed binary values (0 or 1). This architecture effectively blocks the transmission of color and texture information from the original RGB image to the recognition network, forcing the model to learn from shape dynamics rather than appearance.
2. GaitAlign: Differentiable Pre-processing
Standard gait recognition requires silhouettes to be centered and normalized. Traditionally, this is a pre-processing step performed outside the neural network. GaitEdge introduces GaitAlign, a differentiable module based on RoIAlign. This allows the network to perform alignment internally during training. By keeping the alignment within the gradient flow, the model becomes significantly more resilient to the "jitter" and imperfections caused by real-world pedestrian detection systems.
Experimental Setup and Datasets
The framework was evaluated on two major benchmarks:
- CASIA-B: A standard indoor dataset featuring 124 subjects under various conditions, including carrying bags and changing clothes.
- TTG-200 (Ten Thousand Gaits 200): A new dataset introduced by the authors to facilitate more realistic research. It includes 200 subjects filmed outdoors in complex environments with 12 different camera viewpoints, including aerial drone footage. Crucially, TTG-200 provides original RGB videos, which are necessary for training E2E models.
Key Insights and Results
The Cross-Domain Advantage
GaitEdge’s primary strength lies in its robustness. In cross-domain evaluations—where a model is trained on one dataset and tested on another—standard E2E models like GaitGL-E2E saw their accuracy plummet. For instance, in the challenging "cloth-changing" (CL) scenario, GaitGL-E2E’s accuracy dropped to approximately 27%. In contrast, GaitEdge achieved 47.59% accuracy, nearly doubling the performance of its "plain" E2E counterparts.
Balancing Performance
While GaitEdge was slightly less accurate than standard E2E models in single-domain tests, this is largely because it was prevented from "cheating" using color and texture. Despite this, it consistently outperformed all traditional two-step methods, proving that the end-to-end training of edge features is more effective than using static, pre-processed silhouettes.
Optimal Edge Width
Ablation studies revealed that the width of the trainable edge area is crucial. The authors found that a 5x5 or 7x7 structuring element provided the ideal balance, capturing enough gait detail to be discriminative while remaining narrow enough to filter out high-frequency RGB noise.
Conclusion and Future Work
GaitEdge demonstrates that for gait recognition to be practical in the real world, models must be constrained to ignore irrelevant visual data. By focusing on the "edge" of the human form and integrating alignment into the neural architecture, GaitEdge provides a robust solution for cross-domain identification.
One current limitation is the requirement for RGB video during training, which is unavailable in some older, silhouette-only datasets. Future research may explore applying these edge-focused principles to other modalities, such as skeleton-based recognition, or further optimizing GaitAlign to handle the extreme viewpoint changes common in drone-based surveillance.
Summary updated