Temporal sparse adversarial attack on sequence-based gait recognition

Ziwen He, Wei Wang, Jing Dong, Tieniu Tan

TL;DR

This paper introduces a novel "temporal sparse adversarial attack" that can fool state-of-the-art gait recognition systems by subtly altering only a few frames in a walking sequence. This attack demonstrates the surprising vulnerability of even highly accurate sequence-based gait recognition models to imperceptible manipulations, highlighting a critical security concern.

What Problem Does This Paper Address?

Gait recognition, the process of identifying individuals based on their unique walking patterns, is a promising biometric technology for applications like surveillance. Recent advancements have led to highly accurate "sequence-based" models that analyze the temporal dynamics of walking. However, the security of these models against adversarial attacks – subtle, imperceptible modifications designed to cause misclassification – has been largely unexplored. While adversarial attacks are well-studied in image classification and face recognition, directly applying existing methods to gait recognition is problematic. Standard image-based attacks often fail because gait recognition models process sequences of silhouettes, not single images, and simple pixel-level perturbations can be visually obvious and destroy the natural appearance of a gait. This paper aims to bridge this gap by developing an adversarial attack specifically tailored for sequence-based gait recognition that is both effective and imperceptible.

Methods

The core of the proposed method is a temporal sparse adversarial attack. Unlike traditional attacks that add small, norm-bounded noise to all frames, this approach uses a generative adversarial network (GAN) to create high-quality, adversarial gait silhouettes. The key innovation lies in the temporal sparsity: instead of perturbing every frame, the attack strategically substitutes or inserts only a few adversarial frames into the original sequence. This sparsity ensures imperceptibility on the sequence level. The GAN is trained using a Wasserstein GAN with Gradient Penalty (WGAN-GP) for realistic silhouette generation, and a SPADE network is used for generating adversarial video frames from silhouettes. The attack optimizes a latent vector for the generator, guided by the target gait recognition model's output and a discriminator that ensures the generated silhouettes look realistic. The attack can be either non-targeted (misclassify the person entirely) or targeted (misclassify the person as a specific individual).

Datasets

The experiments were conducted on two widely used gait recognition datasets:

  • CASIA-B: A large dataset with 124 subjects, 11 viewing angles, and multiple walking conditions (normal, coats, bags). This was the primary dataset for evaluation.
  • CASIA-A: A smaller dataset with 20 subjects and 3 viewing angles, used for cross-dataset validation.

Key Insights and Ideas

  • Sequence-based models are surprisingly vulnerable: Despite their high accuracy, state-of-the-art sequence-based gait recognition models like GaitSet are easily fooled by the proposed temporal sparse attack, even when only a small fraction of frames are modified.
  • Temporal sparsity is key to imperceptibility: Modifying only a few frames, rather than all of them, makes the adversarial attack much harder to detect visually, both spatially (individual frames look natural) and temporally (the overall gait sequence appears normal).
  • Generative models are crucial for realism: Using GANs to generate adversarial frames allows for the creation of high-quality, realistic silhouettes that maintain a natural gait appearance, making them more effective than simple pixel-wise perturbations.
  • Certain viewing angles are more fragile: The attack is more successful at viewing angles close to 0° and 180° (parallel views), suggesting these perspectives might contain more exploitable temporal information or be more sensitive to subtle changes.
  • Template-based methods show more robustness: In contrast to sequence-based models, template-based methods (like GaitGAN) appear more robust to this type of attack, likely because they aggregate temporal information into a single template, making them less sensitive to individual frame alterations.

Key Results

  • High attack success rate: With a sparsity of just 1/40 (i.e., only 1 in 40 frames modified), the accuracy of the GaitSet model dropped dramatically.
  • Targeted attacks are feasible: The method achieved a significant attack success rate (around 65% with 1/10 sparsity) even for targeted attacks, where the goal is to misclassify a subject as a specific identity.
  • Comparison with perturbation methods: The proposed method significantly outperformed traditional perturbation-based attacks (FGSM, PGD, MIFGSM) in terms of both attack success rate and imperceptibility. Adversarial examples generated by the proposed method retained a human posture, unlike those from perturbation methods.
  • Cross-dataset validation: The attack remained effective when tested on a different dataset (CASIA-A), demonstrating its generalization capabilities.
  • Minimal frames needed: For a 30-frame sequence, inserting just three adversarial frames could achieve a fooling rate of over 96%, and a mean of only 1.6 inserted frames was needed for 100% deception.

Limitations and Future Work

  • Spatial-temporal continuity: The authors acknowledge that the generated adversarial frames might not have perfect spatial-temporal continuity with adjacent real frames, which could be a weakness. They suggest future work could involve adding constraints to enforce smoother transitions.
  • Transferability to template-based models: While the attack is highly effective against sequence-based models, it shows limited impact on template-based models like GaitGAN. This suggests a need for further research into attacking template-based methods.
  • Real-world deployment challenges: The paper focuses on white-box attacks (full knowledge of the target model). Extending this to black-box scenarios (limited knowledge) and exploring practical deployment challenges would be valuable.

Summary updated

BibTeX
@article{he2023temporal,
  author = {Ziwen He and Wei Wang and Jing Dong and Tieniu Tan},
  title = {{Temporal sparse adversarial attack on sequence-based gait recognition}},
  journal = {Pattern Recognition},
  year = {2023},
  doi = {10.1016/j.patcog.2022.109028},
}
Figure