Adversarial Deepfakes: Evaluating Vulnerability of Deepfake Detectors to Adversarial Examples

Shehzeen Hussain, Paarth Neekhara, Malhar Jere, Farinaz Koushanfar, Julian McAuley

TL;DR

This paper demonstrates that current deepfake detectors, even state-of-the-art ones, are vulnerable to adversarial attacks. The authors show how to craft subtle modifications to fake videos that can fool these detectors into classifying them as real, posing a significant real-world threat due to their robustness against common compression techniques.

What Problem Does This Paper Address?

The proliferation of deepfake technology has raised serious concerns about the spread of misinformation and the erosion of trust in digital media. While significant progress has been made in developing deepfake detectors, primarily using deep neural networks (DNNs), these detectors are often evaluated under the assumption of a non-adaptive adversary. This paper addresses the critical gap of evaluating deepfake detectors against an adaptive adversary who is aware of the defense mechanisms and actively tries to circumvent them. The authors highlight that existing detectors can be easily bypassed by adversarial examples, which are intentionally perturbed inputs designed to fool machine learning models, posing a significant threat to the reliability of deepfake detection systems.

Methods

The paper proposes pipelines for generating adversarial deepfakes in both white-box and black-box attack scenarios.

  • White-box Attack: In this scenario, the attacker has full access to the detector's architecture and parameters. The authors use an iterative gradient sign method to optimize a loss function that aims to maximize the detector's score for the "Real" class, while keeping the adversarial perturbation imperceptible using an $L_\infty$ norm constraint.
  • Robust White-box Attack: To address the issue of common video compression (like JPEG) removing adversarial perturbations, this method crafts adversarial examples that are robust to a distribution of input transformations. The objective is to maximize the expected probability of the target class ("Real") over these transformations. Techniques like Gaussian blur, noise addition, translation, and downsizing/upsizing are incorporated.
  • Black-box Attack: Here, the attacker has no access to the detector's internals and can only query it to obtain output probabilities. The authors employ the Natural Evolutionary Strategies (NES) approach to efficiently estimate gradients from these queries, allowing them to craft adversarial examples with limited queries.
  • Robust Black-box Attack: This combines the NES approach with the expectation over transforms method to create adversarial examples that are robust to compression, even in a black-box setting.

The core idea across these methods is to generate adversarial perturbations on the face regions of fake videos, which are then re-integrated into the original video frames to create an adversarially modified fake video.

Datasets

The primary dataset used for evaluation is FaceForensics++ (FF++) [40], a curated dataset containing manipulated videos generated using four common deepfake methods: DeepFakes (DF), Face2Face (F2F), FaceSwap (FS), and NeuralTextures (NT). The authors also mention using the DeepFake Detection Challenge (DFDC) Dataset [17] for evaluating attacks against sequence-based detectors.

Key Insights and Ideas

  • Vulnerability of State-of-the-Art Detectors: Even sophisticated deepfake detectors can be easily fooled by adversarial examples, undermining their reliability in real-world scenarios.
  • Robustness to Compression is Crucial: Adversarial attacks that are not robust to common video compression codecs (like MJPEG or H.264) are less effective in practice, as most online videos undergo compression.
  • Black-box Attacks are Feasible: The paper demonstrates that effective adversarial attacks can be mounted even when the attacker has limited knowledge of the detector (black-box setting), highlighting a significant threat.
  • Adaptive Adversary is Key: Evaluating defenses against adaptive adversaries who are aware of the defense mechanisms is essential for building truly robust systems.
  • Imperceptibility vs. Robustness Trade-off: Robust adversarial examples often require larger perturbations, leading to a trade-off between imperceptibility and effectiveness against compression.

Key Results

  • High Success Rates: The proposed white-box attacks achieved success rates of up to 99.85% for fooling XceptionNet and 98.15% for MesoNet on uncompressed videos.
  • Compression Impact: For non-robust white-box attacks, success rates dropped significantly after MJPEG compression (e.g., to 58.46% for XceptionNet).
  • Robustness Achieved: The robust white-box attack maintained high success rates (e.g., 98.07% for XceptionNet on compressed videos) even after compression.
  • Black-box Effectiveness: Black-box attacks also showed high success rates on uncompressed videos (97.04% for XceptionNet), though they also suffered from compression. Robust black-box attacks improved this significantly.
  • Sequence Model Vulnerability: The attacks were also effective against a 3D CNN sequence-based detector, with robust white-box attacks achieving 100% success on compressed videos.
  • Perturbation Magnitude: Higher perturbation magnitudes were generally required to fool sequence-based detectors compared to frame-by-frame detectors.

Limitations and Future Work

  • Perturbation Magnitude: The paper notes that higher perturbation magnitudes are sometimes required, especially for sequence-based detectors, which could potentially lead to more noticeable artifacts.
  • Adaptive Generators: The authors suggest that future deepfake generators could be trained with an objective that includes fooling the detector, making them inherently more adversarial.
  • Provably Robust Detectors: There is a clear need for developing deepfake detectors that are provably robust against adversarial examples and evaluated under diverse attack scenarios.
  • Adversarial Training: The paper recommends adversarial training as a promising direction for building more robust detectors, where the detector is trained against an adaptive adversary.

Summary updated

BibTeX
@inproceedings{hussain2021adversarial,
  author = {Shehzeen Hussain and Paarth Neekhara and Malhar Jere and Farinaz Koushanfar and Julian McAuley},
  title = {{Adversarial Deepfakes: Evaluating Vulnerability of Deepfake Detectors to Adversarial Examples}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00339},
}
Figure