Deepfake Videos in the Wild: Analysis and Detection

Jiameng Pu, Neal Mangaokar, Lauren Kelly, Parantapa Bhattacharya, Kavya Sundaram, Mobin Javed, Bolun Wang, Bimal Viswanath

Abstract

Current deepfake detection research is largely confined to "lab-grown" datasets that fail to capture the diversity and complexity of real-world internet content. This paper introduces DF-W (Deepfake-Wild), a comprehensive dataset of nearly 2,000 in-the-wild videos. Our analysis reveals a significant "distribution gap" between research benchmarks and real-world deepfakes, leading to a performance collapse in state-of-the-art detectors. However, we demonstrate that Domain Adaptation using a minimal amount of wild data can effectively bridge this gap.

Introduction

The rapid advancement of face-swapping technology has led to a proliferation of deepfake content across platforms like YouTube, Reddit, and Bilibili. While the research community has responded with increasingly sophisticated detection algorithms, these models are typically trained and validated on datasets created under controlled conditions—using paid actors, uniform lighting, and specific resolutions. This creates a distribution gap: we lack a clear understanding of how these defenses perform against the "messy" reality of the internet.

The DF-W Dataset

To address this, we curated DF-W, the largest dataset of "safe-for-work" in-the-wild deepfakes to date. It comprises 1,869 videos (4.8 million frames) scraped from the web. In contrast, we established DF-R (Deepfake-Research) by aggregating six major academic benchmarks, including FaceForensics++, Celeb-DF, and the DFDC dataset.

Example of a high-quality "in-the-wild" deepfake found on social media platforms.

Analysis of the "Wild" Landscape

Our investigation into DF-W revealed several critical differences from research-grade data:

  1. The Tool Gap: Fingerprinting analysis shows that the public's tool of choice, DeepFaceLab (DFL), is almost entirely absent from research datasets. Detectors trained on academic tools often fail to recognize the specific artifacts produced by DFL.
  2. Scene Complexity: While research videos usually feature a single subject facing the camera, 26% of DF-W videos contain multiple faces. Furthermore, many videos are only partially manipulated, containing "clean" frames that can trigger false negatives in frame-based detectors.
  3. Racial Bias: We observed a concerning performance disparity across demographics. The most effective detector achieved an F1 score of 74% for Black faces but dropped to 48% for Asian faces, likely inheriting biases from the facial recognition models used in preprocessing.
Deepfakes in the wild often involve multiple subjects in dynamic environments, a significant departure from controlled research settings.

Detection Performance and Adaptation

When tested on DF-W, state-of-the-art supervised detectors saw a sharp decline in accuracy. For instance, CapsuleForensics—which often exceeds 90% F1 on benchmarks—dropped to 77% on wild data. Even the winning model from Facebook’s DFDC competition struggled, achieving only 71% precision on the DF-W dataset. Interestingly, unsupervised methods that focus on general artifacts (like warping) proved more robust than supervised models that overfit to specific training textures.

Crucially, we found that massive amounts of wild data are not required to fix this. By applying Domain Adaptation (DA)—fine-tuning a model on just 50 videos from the wild—the F1 score of CapsuleForensics improved from 77% to 91%. This suggests that a representative "nudge" is sufficient to align models with real-world distributions.

Conclusion

The "distribution gap" is a primary hurdle for deploying deepfake detectors in real-world scenarios. By moving beyond lab-grown datasets and incorporating the complexities of the wild—such as diverse generation tools and multi-subject scenes—the research community can develop more resilient defenses. Our results indicate that continuous, small-scale adaptation to emerging deepfake trends is a viable path forward for maintaining detection efficacy.

Summary updated

BibTeX
@inproceedings{pu2021deepfake,
  author = {Jiameng Pu and Neal Mangaokar and Lauren Kelly and Parantapa Bhattacharya and Kavya Sundaram and Mobin Javed and Bolun Wang and Bimal Viswanath},
  title = {{Deepfake Videos in the Wild: Analysis and Detection}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3449978},
}
Figure