NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Hiding Faces in Plain Sight: Disrupting AI Face Synthesis with Adversarial Perturbations

Yuezun Li, Xin Yang, Baoyuan Wu, Siwei LyuarXiv 2019

Abstract

Recent years have seen fast development in synthesizing realistic human faces using AI technologies. Such fake faces can be weaponized to cause negative personal and social impact. In this work, we develop technologies to defend individuals from becoming victims of recent AI synthesized fake videos by sabotaging would-be training data. This is achieved by disrupting deep neural network (DNN) based face detection method with specially designed imperceptible adversarial perturbations to reduce the quality of the detected faces. We describe attacking schemes under white-box, gray-box and black-box settings, each with decreasing information about the DNN based face detectors. We empirically show the effectiveness of our methods in disrupting state-of-the-art DNN based face detectors on several datasets.

Introduction: The Deepfake Bottleneck

The rise of AI-synthesized media, commonly known as Deepfakes, poses significant threats ranging from non-consensual imagery to political misinformation. Most current defenses are reactive, attempting to detect a fake after it has already been created and shared. However, Deepfake creation has a critical bottleneck: it requires thousands of cropped, aligned face images of a target individual. Because manual cropping is prohibitively slow, creators rely on automated Deep Neural Network (DNN) based face detectors to build these datasets.

This research proposes a proactive defense by tackling the problem at this source. By protecting online photos so that automated tools fail to find or correctly crop a face, individuals can prevent themselves from becoming viable targets for AI synthesis.

Methodology: Poisoning the Training Pipeline

The core of the proposed defense is the generation of adversarial perturbations—specially crafted pixel-level noise that is invisible to humans but catastrophic for AI models. The approach formulates a constrained optimization problem designed to maximize two types of errors in a face detector:

  1. Mis-detections: Forcing the AI to miss a real face entirely.
  2. False detections: Tricking the AI into "finding" faces in background textures, such as clothing or walls.
Overview of the proposed proactive defense pipeline, showing how adversarial perturbations lead to poisoned training datasets for AI synthesis systems.

Technical Innovations

To ensure the perturbations remain effective as the image changes, the authors utilize a Warm Start Strategy. Since face detectors often use Region Proposal Networks to find candidate areas, the optimization target moves as noise is added. The warm start technique iteratively updates the noise and the detector's proposals in tandem.

Furthermore, the attack is designed to work across three scenarios:

  • White-box: Full access to the detector's architecture and weights.
  • Gray-box: Knowledge of the architecture but not the specific weights, utilizing a stochastic gradient approach for robustness.
  • Black-box: No knowledge of the target system, achieved by attacking an ensemble of known models to ensure generalization.

Measuring Sabotage: Data Utility Quality (DUQ)

Standard metrics like Average Precision (AP) are insufficient for evaluating this defense because they don't account for how "dirty" a training set becomes when false positives are included. The authors introduce Data Utility Quality (DUQ), a metric that penalizes false detections. By inducing false detections, the attacker forces the Deepfake training pipeline to ingest "garbage" data (non-face crops), which degrades the final synthesis quality much more effectively than simply missing a few frames.

Experimental Results

The methods were evaluated on three benchmarks: sub-WIDER (909 images), 300-W (600 images), and sub-UMDFaces (500 images). Key findings include:

  • Effective Sabotage: On the sub-WIDER dataset, the DUQ score for a standard detector (Fv16) dropped from 0.81 to -4.89. A negative score indicates the resulting dataset contains significantly more junk than actual faces.
  • Visual Fidelity: The perturbations are nearly invisible to the human eye. The Structural Similarity Index (SSIM) remained above 0.91 across all tests, ensuring the protected images remain useful for human viewing.
  • Generalization and Robustness: In black-box tests, the attack reduced the DUQ of unknown detectors (like SSH) from ~0.90 to -1.72. The defense also remained effective against common image processing like JPEG compression and minor blurring.

Conclusion

Shifting the focus from detecting fakes to preventing their creation represents a significant advancement in AI forensics. By poisoning the data pipeline, this method provides a practical "shield" for individuals. Future work will focus on reducing the computational cost of generating perturbations (currently ~4.69 seconds per image) and developing even more generic black-box attacks that do not rely on DNN assumptions.

Summary updated

Abstract

Recent years have seen fast development in synthesizing realistic human faces using AI technologies. Such fake faces can be weaponized to cause negative personal and social impact. In this work, we develop technologies to defend individuals from becoming victims of recent AI synthesized fake videos by sabotaging would-be training data. This is achieved by disrupting deep neural network (DNN) based face detection method with specially designed imperceptible adversarial perturbations to reduce the quality of the detected faces. We describe attacking schemes under white-box, gray-box and black-box settings, each with decreasing information about the DNN based face detectors. We empirically show the effectiveness of our methods in disrupting state-of-the-art DNN based face detectors on several datasets.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Sub-WIDEROriginal (unperturbed images)DUQ0.81Fv16 target (Faster-RCNN with VGG16 base network); detector trained on the complete WID…
Source quote
L199: \multirow{4}{*}{DUQ} │ Original │ 0.81 │ 0.82 │ 0.92 │ 0.88 │ 0.64 │ 0.64 │ 0.76 │ 0.81 │ 0.55 │ 0.54 │ 0.64 │ 0.64
Sub-WIDEROurs (white-box adversarial perturbation)DUQ-4.89Fv16 target (Faster-RCNN with VGG16 base network); detector trained on the complete WID…
Source quote
L207: Ours │ \bf -4.89 │ \bf -7.98 │ \bf -19.18 │ \bf -9.40 │ \bf -9.07 │ \bf -7.95 │ \bf -17.91 │ \bf -8.80 │ \bf -7.52 │ \bf -9.91 │ \bf -26.88 │ \bf -8.80
Sub-UMDFacesOriginal (unperturbed images)DUQ0.55Fv16 target (Faster-RCNN with VGG16 base network); detector trained on the complete WID…
Source quote
L199: \multirow{4}{*}{DUQ} │ Original │ 0.81 │ 0.82 │ 0.92 │ 0.88 │ 0.64 │ 0.64 │ 0.76 │ 0.81 │ 0.55 │ 0.54 │ 0.64 │ 0.64
BibTeX
@misc{li2019hiding,
  author = {Yuezun Li and Xin Yang and Baoyuan Wu and Siwei Lyu},
  title = {{Hiding Faces in Plain Sight: Disrupting AI Face Synthesis with Adversarial Perturbations}},
  year = {2019},
  eprint = {1906.09288},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.09288},
}
Figure