Skip to main content
QUICK REVIEW

[Paper Review] Attacking Automatic Video Analysis Algorithms: A Case Study of Google Cloud Video Intelligence API

Hossein Hosseini, Baicen Xiao|arXiv (Cornell University)|Aug 14, 2017
Anomaly Detection Techniques and ApplicationsComputer Science34 references9 citations
TL;DR

This paper proposes targeted adversarial attacks on the Google Cloud Video Intelligence API by subtly manipulating video frames to deceive video classification and shot detection algorithms. The attack exploits deterministic frame sampling—inserting one image per second causes the API to label the entire video based on that image, while histogram-based shot change detection can be manipulated with minimal frame perturbations, demonstrating severe robustness flaws in real-world video analysis systems.

ABSTRACT

Due to the growth of video data on Internet, automatic video analysis has gained a lot of attention from academia as well as companies such as Facebook, Twitter and Google. In this paper, we examine the robustness of video analysis algorithms in adversarial settings. Specifically, we propose targeted attacks on two fundamental classes of video analysis algorithms, namely video classification and shot detection. We show that an adversary can subtly manipulate a video in such a way that a human observer would perceive the content of the original video, but the video analysis algorithm will return the adversary's desired outputs. We then apply the attacks on the recently released Google Cloud Video Intelligence API. The API takes a video file and returns the video labels (objects within the video), shot changes (scene changes within the video) and shot labels (description of video events over time). Through experiments, we show that the API generates video and shot labels by processing only the first frame of every second of the video. Hence, an adversary can deceive the API to output only her desired video and shot labels by periodically inserting an image into the video at the rate of one frame per second. We also show that the pattern of shot changes returned by the API can be mostly recovered by an algorithm that compares the histograms of consecutive frames. Based on our equivalent model, we develop a method for slightly modifying the video frames, in order to deceive the API into generating our desired pattern of shot changes. We perform extensive experiments with different videos and show that our attacks are consistently successful across videos with different characteristics. At the end, we propose introducing randomness to video analysis algorithms as a countermeasure to our attacks.

Motivation & Objective

  • To investigate the robustness of automatic video analysis algorithms under adversarial conditions.
  • To develop targeted attacks on video classification and shot detection systems with only black-box access.
  • To demonstrate that subtle frame manipulations can deceive the Google Cloud Video Intelligence API into generating desired labels and shot change patterns.
  • To expose the reliance of the API on deterministic frame sampling and histogram-based shot detection.
  • To propose randomness in sampling as a countermeasure to improve system robustness.

Proposed method

  • Proposes targeted attacks on video classification and shot detection by inserting or modifying frames at regular intervals (one per second).
  • Uses frame histogram analysis to reverse-engineer the API's shot change detection logic.
  • Employs black-box attack strategy with no knowledge of model architecture or output labels.
  • Develops a method to generate fake shot changes or remove real ones by perturbing frame histograms.
  • Models the API’s behavior as sampling frames uniformly from each second, enabling precise manipulation.
  • Suggests random subsampling as a countermeasure to reduce predictability of frame selection.

Experimental results

Research questions

  • RQ1How vulnerable is the Google Cloud Video Intelligence API to targeted adversarial attacks on video classification?
  • RQ2Can an adversary manipulate shot detection outputs by altering only a few frames without human notice?
  • RQ3What is the underlying mechanism of frame sampling used by the API, and can it be reverse-engineered?
  • RQ4To what extent can histogram-based shot change detection be manipulated through minimal frame modifications?
  • RQ5How effective is random subsampling as a defense against such adversarial attacks?

Key findings

  • The API generates video and shot labels based on the first frame of every second, making it vulnerable to image insertion attacks.
  • Inserting a single image once per second causes the API to label the entire video with only that image’s label.
  • The pattern of shot changes can be reconstructed by analyzing histogram differences between consecutive frames.
  • The attack successfully manipulates shot detection across diverse videos, including real-world, synthetic, and web-downloaded content.
  • The system ignores audio, allowing illegal content to be embedded without affecting visual labels.
  • Random subsampling significantly reduces the success rate of frame-based attacks, suggesting it as an effective defense mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.