Attacking Video Recognition Models with Bullet-Screen Comments

Kai Chen, Zhipeng Wei, Jingjing Chen, Zuxuan Wu, Yu-Gang Jiang

Abstract

Deep Neural Networks (DNNs) for video recognition are highly susceptible to adversarial attacks. While perturbation-based attacks are often imperceptible, they are difficult to implement in real-world settings. Conversely, patch-based attacks are practical but typically utilize conspicuous geometric shapes that are easily detected by humans. This paper introduces a novel black-box attack that disguises adversarial patches as "bullet-screen comments" (BSCs)—the scrolling text overlays common on video streaming platforms. Using a Reinforcement Learning (RL) framework, the authors demonstrate that these semantically camouflaged patches can achieve fooling rates exceeding 90% while occluding less than 8% of the video area.

Introduction

The vulnerability of video recognition models to adversarial examples poses significant security risks. Existing research primarily explores two avenues: perturbation-based attacks, which add subtle noise across frames, and patch-based attacks, which modify localized regions. While effective, standard patches (e.g., bright squares) are visually jarring and easily identified by human observers.

This research addresses the challenge of creating a patch-based attack that is both query-efficient in a black-box setting and stealthy to human observers. The authors propose using Bullet-Screen Comments (BSCs) as the adversarial medium. Because viewers are accustomed to seeing scrolling text on platforms like Bilibili or YouTube, BSCs provide "semantic camouflage," allowing adversarial content to blend into the user experience while effectively derailing AI recognition models.

Methodology

The attack is formulated as a black-box optimization problem solved via a Reinforcement Learning (RL) framework. The pipeline consists of several key stages:

  1. Text Generation: To ensure the BSCs appear contextually relevant, a pre-trained image captioning model generates a description based on the video's initial frame.
  2. RL Agent: An agent comprising an LSTM and a Fully Connected layer determines the optimal starting coordinates and transparency (alpha channel) for the BSCs.
  3. Reward Mechanism: The agent is trained using the REINFORCE algorithm with a dual-objective reward function. It rewards successful misclassification ($r_{attack}$) while penalizing overlapping comments ($r_{IoU}$) to maintain visual clarity and minimize occlusion.
  4. Temporal Integration: The generated text is blended into the video sequence, moving horizontally to simulate authentic bullet-screen behavior.
The proposed Reinforcement Learning framework for generating adversarial Bullet-Screen Comments.

Experimental Evaluation

The attack was evaluated on the UCF-101 and HMDB-51 datasets against three prominent video recognition architectures: C3D, LRCN, and I3D-Slow.

Performance Metrics

The BSC attack demonstrated exceptional efficacy:

  • Fooling Rate: Achieved a 90% to 99% success rate across all tested models and datasets.
  • Occlusion Efficiency: The attack required occluding less than 8% of the total video area on average.
  • Query Efficiency: Compared to traditional square patch attacks, the BSC method reduced the number of required black-box queries by over 22%.

Robustness to Defenses

The authors tested the attack against Local Gradient Smoothing (LGS), a common defense against patch-based adversarial examples. The BSC attack proved significantly more robust; for instance, it maintained an 84.7% fooling rate on the I3D-Slow model, whereas standard square patches dropped to 65.0%.

Comparison of attention heatmaps between original frames, BSC attacks, and standard square patch attacks.

Discussion and Key Insights

A primary insight of this work is that adversarial patches do not need to be invisible to be effective; they simply need to be contextually appropriate. By scattering small text patches across the spatial and temporal dimensions, the RL agent successfully targets a wider range of features than a single static block. This approach covers more spatial features while occluding less total area than a standard patch.

However, the attack has limitations. Since the adversarial noise is embedded in text, Optical Character Recognition (OCR) and text-removal algorithms could serve as a potential defense. Future research may explore optimizing additional text parameters, such as font size, color, and scrolling speed, to further enhance attack potency and efficiency.

Conclusion

This paper highlights a significant security gap in video recognition systems by exploiting the intersection of human psychology and adversarial machine learning. The BSC attack demonstrates that semantically meaningful overlays can be as destructive as traditional adversarial noise while remaining far more difficult for human moderators to flag as malicious.

Summary updated

BibTeX
@inproceedings{chen2022attacking,
  author = {Kai Chen and Zhipeng Wei and Jingjing Chen and Zuxuan Wu and Yu-Gang Jiang},
  title = {{Attacking Video Recognition Models with Bullet-Screen Comments}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i1.19907},
}
Figure