GaitCrafter: Diffusion Model for Biometric Preserving Gait Synthesis

Sirshapan Mitra, Yogesh S. Rawat · DOI

Introduction

Gait recognition—the ability to identify individuals based on their unique walking patterns—is a powerful biometric tool that works at a distance and without active user cooperation. However, the development of robust deep learning models for gait recognition is often hindered by the scarcity of high-quality, diverse datasets. Collecting real-world gait data across various viewing angles, clothing conditions, and carrying scenarios is labor-intensive and fraught with privacy concerns.

To address these challenges, we present GaitCrafter, a novel video diffusion model designed to synthesize realistic, temporally consistent gait sequences. By operating in the silhouette domain and utilizing controllable conditioning, GaitCrafter can generate both existing and entirely novel identities. This synthetic data provides a privacy-preserving method to augment training sets, significantly improving downstream gait recognition performance, particularly in data-scarce environments.

Methodology: The GaitCrafter Framework

GaitCrafter is built upon a pixel-based video diffusion architecture, utilizing a 3D U-Net with integrated spatial and temporal attention mechanisms. Unlike traditional generative models that may struggle with the strict temporal consistency required for biometric video, GaitCrafter leverages the strengths of diffusion models to maintain structural integrity across frames.

Silhouette-Based Generation

Rather than generating complex RGB video, GaitCrafter focuses on binary silhouettes. This choice is strategic: silhouettes reduce computational overhead while preserving the essential motion and structural cues necessary for gait analysis. Interestingly, despite the bimodal nature of binary data (0s and 1s), the authors found that standard Gaussian diffusion noise schedules are highly effective. The model successfully learns to recover sharp foreground-background boundaries without requiring specialized discrete diffusion techniques.

Controllable Conditioning

The model employs additive conditioning to ensure the output is both controllable and diverse. It utilizes:

  • Identity (ID): A one-hot encoded token representing a specific individual.
  • View Angle: Latent tokens representing one of 11 different viewing perspectives.
  • Covariates: Latent tokens representing external factors such as clothing (e.g., wearing a coat) or carrying objects (e.g., a bag).

Generating Novel Identities

A key innovation of GaitCrafter is its ability to generate "novel identities"—synthetic individuals who do not exist in the training data. By activating and blending multiple one-hot ID tokens simultaneously during inference, the model interpolates between identity embeddings. This results in unique, consistent walking patterns that expand the identity space of the training set, forcing downstream recognition models to learn more generalized and robust features.

Experimental Evaluation

The model was trained and evaluated using the CASIA-B dataset, a standard benchmark featuring 124 subjects across various conditions (Normal Walking, Walking with a Bag, and Clothing changes) and 11 viewing angles.

Biometric Preservation

To verify that the generated sequences actually preserve the biometric signature of the conditioned identity, the researchers used t-SNE clustering on feature embeddings. The analysis confirmed that GaitCrafter successfully maintains the unique gait characteristics of the target identities, ensuring the synthetic data is biometrically relevant.

Performance Gains

The inclusion of GaitCrafter-generated data led to measurable improvements in recognition accuracy:

  • Full Data Augmentation: Adding synthetic novel IDs to the full CASIA-B dataset improved accuracy in the challenging "Clothing" (CL) condition by 2.0% and provided a 0.9% boost overall.
  • Low-Data Scenarios: In simulations using only 20% of the available real-world identities, synthetic augmentation boosted CL condition accuracy from 58.2% to 61.0%.
  • Synthetic-Only Training: In a test of privacy-preserving utility, a recognition model trained exclusively on synthetic novel IDs achieved 93.4% (Normal) and 75.6% (Clothing) accuracy on real-world test data. This represents only a ~6% performance drop compared to training on real data, demonstrating the viability of synthetic datasets for privacy-restricted applications.

Limitations and Future Outlook

While GaitCrafter represents a significant step forward, it currently operates with a fixed sequence length of 30 frames (approximately one gait cycle). Real-world gait recognition often benefits from longer sequences (90+ frames) to allow for temporal cropping and more varied motion dynamics. Additionally, the model is currently restricted to the silhouette domain, meaning it cannot generate or utilize RGB texture information.

Future work will focus on expanding the model to support variable-length sequences and exploring multi-modal diffusion to incorporate more complex biometric data. Nevertheless, GaitCrafter establishes a robust framework for scalable, controllable, and privacy-aware biometric data generation.

Summary updated

BibTeX
@misc{mitra2025gaitcrafter,
  author = {Sirshapan Mitra and Yogesh S. Rawat},
  title = {{GaitCrafter: Diffusion Model for Biometric Preserving Gait Synthesis}},
  year = {2025},
  eprint = {2508.13300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13300},
}
Figure