Adversarial Attacks for Optical Flow-Based Action Recognition Classifiers

Nathan Inkawhich, Matthew Inkawhich, Yiran Chen, Hai LiarXiv 2018

Abstract

Deep learning models for action recognition often rely on two-stream architectures that process both spatial and temporal (motion) information. While the vulnerability of spatial image classifiers to adversarial noise is well-documented, the temporal stream—typically utilizing optical flow—has been perceived as more robust due to the non-differentiable nature of traditional motion algorithms. This paper demonstrates that by employing a differentiable optical flow model, such as FlowNet 2.0, researchers can launch highly effective white-box and black-box attacks. Our results show that perturbing as few as two frames in a video sequence can cause state-of-the-art classifiers to misidentify actions with high confidence, revealing a critical security gap in motion-based AI systems.

Introduction

Action recognition is a cornerstone of modern computer vision, utilized in applications ranging from autonomous drone navigation to automated security surveillance. These systems frequently use a "two-stream" approach: one stream analyzes static spatial features, while the other focuses on optical flow—the pattern of apparent motion between consecutive frames.

Historically, traditional optical flow algorithms were mathematically non-differentiable, creating a barrier for gradient-based adversarial attacks. This paper, authored by researchers at Duke University, overcomes this barrier by leveraging convolutional neural networks (CNNs) for motion estimation, proving that the temporal dimension is just as vulnerable to adversarial interference as the spatial one.

Methodology: Enabling Differentiable Attacks

The core innovation of this work is the replacement of traditional, non-differentiable optical flow calculations with FlowNet 2.0. Because FlowNet is a neural network, the entire processing pipeline—from raw video input to final action classification—becomes end-to-end differentiable. This allows for the calculation of gradients from the output loss back to the input pixels, enabling the creation of precise adversarial perturbations.

The researchers proposed three distinct attack strategies:

  1. One-Shot Attack: A standard approach applying small adversarial noise to every pixel in every frame simultaneously.
  2. Iterative-Saliency (it-sal): A surgical approach that identifies the frames the model is most sensitive to (saliency) and perturbs them sequentially until misclassification occurs.
  3. Iterative-Saliency-RG (Refresh Gradient): The most potent variant, which recalculates gradients and saliency after every frame perturbation to optimize the attack for the video's current state.

Experimental Evaluation

The attacks were evaluated using the UCF-101 dataset, a benchmark containing over 13,000 videos across 101 action categories. The baseline accuracy for the motion stream stack was 74.01%.

Key Results and Insights

  • Devastating Accuracy Loss: At a low noise level ($\epsilon = 0.015$), the One-Shot attack reduced accuracy to 23.63%. The more advanced it-sal-RG attack caused accuracy to plummet to a mere 0.78%.
  • Temporal Sparsity: The researchers found that the system's integrity could be destroyed by perturbing only 2 to 3 frames out of an 11-frame stack on average.
  • Semantic Hallucinations: Adversarial examples often caused the model to "hallucinate" specific incorrect actions. For instance, a video of "Rowing" could be manipulated to appear as "BreastStroke" with 97% confidence, despite looking virtually unchanged to a human observer.
  • Cross-Algorithm Transferability: Attacks crafted against FlowNet 2.0 successfully transferred to black-box models using traditional algorithms like TV-L1. This indicates that attackers do not need specific knowledge of a system's underlying motion algorithm to compromise it.

Conclusion

This research highlights a significant "Temporal Achilles' Heel" in action recognition systems. By demonstrating that the motion stream is highly susceptible to sparse, nearly invisible perturbations, the authors underscore the need for more robust defensive techniques. Future work must focus on developing adversarial training methods specifically tailored for the temporal dimension of video data to ensure the security of motion-dependent AI applications.

Summary updated

BibTeX
@misc{inkawhich2018adversarial,
  author = {Nathan Inkawhich and Matthew Inkawhich and Yiran Chen and Hai Li},
  title = {{Adversarial Attacks for Optical Flow-Based Action Recognition Classifiers}},
  year = {2018},
  eprint = {1811.11875},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.11875},
}
Figure