Adversarial Attacks on Black Box Video Classifiers: Leveraging the Power of Geometric Transformations

Shasha Li, Abhishek Aich, Shitong Zhu, M. Salman Asif, Chengyu Song, Amit K. Roy-Chowdhury, Srikanth V. Krishnamurthy

Introduction

Adversarial attacks—small, imperceptible changes to input data that cause a machine learning model to fail—are well-documented and heavily researched in the realm of static images. However, attacking video classification models presents a significantly steeper challenge. Because videos consist of a sequence of frames, the "search space" for a successful attack is exponentially larger due to the added temporal dimension.

In a black-box scenario, the attacker doesn't have access to the model's internal weights or architecture. They can only send a video to the model and observe the returned label or confidence score. To find a successful adversarial perturbation, the attacker must estimate the "gradient" (the direction in which to change pixels to cause a misclassification) by querying the model repeatedly. For videos, this usually results in a "query explosion," where thousands of attempts are needed to fool a single video, rendering these attacks impractical for real-world security testing.

To address this, researchers have introduced GEO-TRAP (Geometrically TRAnsformed Perturbations), a novel algorithm that overcomes the query explosion by using geometric transformations to parameterize the search space. This approach allows it to find effective adversarial perturbations with up to 73% fewer queries than previous state-of-the-art methods.

Methods: Structuring the Search Space

The core innovation of GEO-TRAP lies in how it structures the search for adversarial noise. Instead of attempting to find a unique, random perturbation for every single pixel in every single frame—a massively high-dimensional problem—GEO-TRAP simplifies the process:

  1. Sample a Base Noise Frame: The algorithm starts with a single random noise tensor ($r_{frame}$).
  2. Apply Geometric Warping: It uses a small set of parameters ($\Phi_{warp}$) to "warp" that base noise frame across the temporal dimension. These warps include standard operations like affine transformations (rotation, scaling, translation) or simpler translation-dilation moves.
  3. Structured Search: By searching for the best transformation parameters rather than individual pixel values, the algorithm drastically reduces the dimensionality of the problem. This creates a "geometric progression" of noise that naturally aligns with how objects move in videos.
  4. Iterative Refinement: The algorithm uses a query-based gradient estimation technique (specifically, antithetic sampling) to slowly nudge the perturbation until the victim model is fooled.
Overview of the GEO-TRAP algorithm, illustrating how a base noise frame is geometrically warped across the temporal dimension to estimate gradients.

Experimental Setup

The researchers evaluated GEO-TRAP on two major benchmarks:

  • UCF-101: A dataset of human actions (e.g., biking, applying lipstick) used to test "coarse-grained" recognition.
  • 20BN-JESTER: A dataset of hand gestures (e.g., sliding fingers, zooming in) used to test "fine-grained" motion recognition.

They tested these datasets against four popular video architectures: C3D, SlowFast, TPN, and I3D.

Key Insights and Results

GEO-TRAP sets a new bar for query efficiency and attack success rates in black-box video settings.

  • Massive Query Reduction: On the Jester dataset, GEO-TRAP required ~73.55% fewer queries than the previous state-of-the-art (Motion-Sampler Attack) for targeted attacks.
  • High Success Rates: In many cases, the algorithm achieved a 100% success rate in untargeted attacks. For example, when attacking the SlowFast model on Jester, it reached 100% success with an average of only 521 queries, compared to nearly 2,000 for competing methods.
  • Robustness of Models: The results highlighted that the TPN (Temporal Pyramid Network) model was generally more robust to these black-box attacks than C3D or I3D, though it was still eventually vulnerable.
Visual comparison of adversarial examples generated by GEO-TRAP versus baseline methods on the UCF-101 and Jester datasets.

Why does this work so well?

  • Temporal Structure is Key: Randomly adding noise to every frame is inefficient because video models inherently look for temporal consistency. By using geometric transformations, GEO-TRAP creates perturbations that "move" through time, which is much more disruptive to the model’s motion-sensing logic.
  • Fewer Degrees of Freedom: Interestingly, the authors found that simpler transformations (like translation-dilation with only 3 parameters) often performed better than complex affine transformations (6 parameters). A smaller search space leads to faster convergence with fewer queries.
  • Flexibility Beats Fixed Priors: Previous methods tried to use the "optical flow" (the actual motion) of the clean video as a guide. GEO-TRAP is more effective because it doesn't lock itself into the video's existing motion; it searches for the best geometric progression to break the model.

Limitations and Future Work

While geometric transformations are powerful, the authors acknowledge there may be even better ways to parameterize temporal progression that have yet to be explored. Furthermore, while query-efficient, the attack is still iterative. Future work could look into "one-shot" or "universal" perturbations for black-box video models.

Ultimately, this paper focuses on the attack side to expose vulnerabilities. A natural next step for the research community is using the insights from GEO-TRAP to develop more robust video classifiers that can resist these geometrically-structured perturbations.

Summary updated

BibTeX
@inproceedings{li2021adversarial,
  author = {Shasha Li and Abhishek Aich and Shitong Zhu and M. Salman Asif and Chengyu Song and Amit K. Roy-Chowdhury and Srikanth V. Krishnamurthy},
  title = {{Adversarial Attacks on Black Box Video Classifiers: Leveraging the Power of Geometric Transformations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=GPPgVYlHsd},
}
Figure