Sparse Black-Box Video Attack with Reinforcement Learning

Xingxing Wei, Huanqian Yan, Bo Li · DOI

TL;DR

This paper introduces a novel "Sparse Black-box Video Attack" (SVA) method that uses Reinforcement Learning (RL) to intelligently select key frames for adversarial attacks on video recognition models. By treating frame selection and attack generation as a cooperative process, SVA significantly reduces adversarial perturbations while maintaining high attack effectiveness, outperforming existing methods.

What Problem Does This Paper Address?

Deep neural networks (DNNs) have revolutionized video recognition, but they are also vulnerable to adversarial attacks. Existing adversarial attack methods for videos often treat each frame equally or use static strategies for selecting "key frames" to attack. This approach is suboptimal because it ignores the temporal dynamics of videos and the crucial interplay between which frames are attacked and how the attack affects the model's predictions. The paper addresses this by proposing a dynamic, adaptive approach to sparse adversarial attacks on video models in a black-box setting, where the attacker doesn't have access to the model's internal architecture or parameters.

Methods

The core innovation of this paper is framing the black-box video attack as a Reinforcement Learning (RL) problem.

  • RL Framework: The video recognition model acts as the "environment," and an "agent" is responsible for selecting key frames to attack.
  • Agent: The agent is implemented using a BiLSTM network, which processes visual features extracted from video frames. It learns to predict the probability of each frame being a "key frame" for attack.
  • Attack Mechanism: Once key frames are selected, the Natural Evolution Strategy (NES) is used to estimate gradients for generating adversarial perturbations. The attack algorithm itself is based on the Fast Gradient Sign Method (FGSM).
  • Reward Function: The RL agent is guided by a multi-component reward function that balances:
  • Video Intrinsic Rewards (Rdiv, Rrep): Encouraging selection of representative and diverse frames.
  • Attack Reward (Rattack): Penalizing high query numbers and large adversarial perturbations, while rewarding successful misclassifications.
  • Cooperative Learning: The key insight is that frame selection and attack generation are not independent. The agent learns to select frames based on the feedback (rewards) it receives from the recognition model after applying perturbations to those frames. This allows the agent to adapt its strategy dynamically to achieve smaller perturbations and higher attack success.

Datasets

The paper evaluates its method on two widely used video action recognition datasets:

  • UCF-101: A dataset with 13,320 videos and 101 action categories.
  • HMDB-51: A dataset with 7,000 videos and 51 action categories.

For evaluation, 100 videos from UCF-101 and 50 videos from HMDB-51 were randomly sampled.

Key Insights and Ideas

  • Temporal Dynamics Matter: Treating video frames independently or with static key-frame selection is suboptimal for adversarial attacks. The temporal relationships between frames are crucial for effective and efficient attacks.
  • Cooperative Frame Selection and Attack: The most significant insight is that frame selection should be tightly coupled with the attack process. By using the attack's feedback (rewards) to guide frame selection, the agent can learn to identify frames that are most susceptible to perturbation and contribute most to fooling the model.
  • RL for Adaptive Attacks: Reinforcement Learning provides a powerful framework for learning adaptive strategies in complex environments like video recognition models. The RL agent can learn to balance competing objectives (attack success, perturbation size, query count) dynamically.
  • Sparsity as a Strength: Attacking only a sparse subset of frames (key frames) can lead to significantly smaller adversarial perturbations while still achieving high fooling rates, making the attacks more imperceptible.

Key Results

The proposed SVA method demonstrated superior performance compared to state-of-the-art methods (Opt-attack, Heuristic-attack) across various metrics:

  • Reduced Perturbations (MAP): SVA consistently achieved the lowest Mean Absolute Perturbation (MAP) values, indicating more imperceptible attacks. For example, on C3D with UCF-101 in the un-targeted setting, SVA achieved a MAP of 2.4450, significantly lower than others.
  • High Fooling Rates (FR): SVA maintained high fooling rates, often exceeding 80% and even reaching 98% in some cases, while other methods struggled or failed to produce adversarial examples within the query limits.
  • Efficient Querying (Q): While not always the absolute fastest, SVA generally achieved good query efficiency, especially when considering its effectiveness in reducing perturbations.
  • High Sparsity (S): SVA achieved high sparsity (often > 50%), meaning it attacked a small fraction of frames, making the attacks more efficient and less noticeable.
  • Robustness: Ablation studies showed that the proposed SVA is not overly sensitive to the choice of gradient estimation method.

Limitations and Future Work

  • Query Limits: While SVA is efficient, the paper acknowledges that further reducing query numbers is a desirable future direction, potentially by modifying the update mechanism or designing new rewards.
  • Reward Function Tuning: The paper mentions that hyperparameters for the reward functions (λ1 and λ2) are set according to parameter tuning, implying that optimal settings might vary.
  • Future Work: The authors suggest exploring black-box attacks with even fewer queries and investigating modifications to the update mechanism or reward design. They also express a desire to reduce query numbers to meet real-world requirements.

Summary updated

BibTeX
@article{wei2020sparse,
  author = {Xingxing Wei and Huanqian Yan and Bo Li},
  title = {{Sparse Black-Box Video Attack with Reinforcement Learning}},
  journal = {Int. J. Comput. Vis.},
  year = {2020},
  doi = {10.1007/s11263-022-01604-w},
}
Figure