Self-Supervised Transformer-based Gait Recognition Under Clothing Variation

Authors

  • Reza Ehsani Author
  • Mohammed Ayoub Alaoui Mhamdi Supervisor
  • Madjid Allili Supervisor

Abstract

Gait recognition identifies individuals from their walking patterns, but clothing changes and carried items remain major challenges for real-world deployment. Bulky coats and bags can change the appearance cues used by silhouette-based systems, which can reduce recognition accuracy. Pose-based representations can avoid some of these problems because joint coordinates are less sensitive to clothing than silhouettes. However, clothing variation can still affect pose-based methods by reducing the quality of the pose estimates.

This thesis proposes a factorized spatial-temporal transformer for pose-based gait recognition. The model treats each frame-joint pair as a separate token and does not use an anatomical hierarchy, fixed skeletal graph, or attribute-supervised pretraining. We pretrain the model using a single self-supervised objective: masked-joint reconstruction. We evaluate it on CASIA-B under a subject-disjoint protocol across matched walking, carrying, and clothing-change conditions.

We show four main findings. First, with about 813,000 parameters, the model achieves Rank-1 accuracy comparable to GaitGraph and PoseGait, although it remains below larger, more recent methods such as GaitPT and MAST-GCN. We report this as what a compact, minimal-prior design achieves under the conditions tested, not as evidence that removing structural priors causes this result, since we run no controlled comparison against a prior-matched architecture. Second, CASIA-B and DenseGait pretraining give different results across the three conditions. This suggests that, at the scale tested, neither dataset size nor domain match alone determines performance. Third, a fair comparison with random initialization requires careful tuning of the baseline. Our learning-rate sweep shows a 36-point range in validation accuracy, meaning that an undertuned baseline can make the benefit of pretraining appear larger than it is. Fourth, using lower-body joints gives the best result on the clothing-variation protocol compared with the upper-body region and the full skeleton.

This work does not close the performance gap to the strongest recent pose-based transformers under clothing variation. It instead provides evidence that the benefit of pretraining and the useful input region can depend on the evaluation condition.

Downloads

Published

2026-10-01

Issue

Section

Dissertations