Abstract
Current deepfake detection research primarily relies on datasets generated in controlled lab environments, which often fail to capture the diversity and quality of real-world "wild" deepfakes. This paper introduces WildDeepfake, the first large-scale dataset consisting entirely of deepfakes collected from the internet. We demonstrate that existing state-of-the-art detectors struggle with these samples and propose Attention-based Deepfake Detection Networks (ADDNets). By leveraging facial attention masks to reweight features, ADDNets significantly improve detection accuracy on both wild and traditional datasets.
Introduction: The Gap Between Lab and Reality
Most deepfake detection models are trained on "virtual" datasets like FaceForensics++, where researchers use specific algorithms to generate forgeries en masse. While useful, these datasets suffer from a lack of diversity in actors and scenes. Furthermore, they often contain obvious artifacts that are absent in high-quality deepfakes manually tuned by internet creators.
When a detector achieving 99% accuracy in the lab is tested against sophisticated social media content, its performance often "crumbles." WildDeepfake aims to bridge this gap by providing a benchmark that reflects the actual complexity of the internet.
The WildDeepfake Dataset
The authors introduce WildDeepfake, a dataset that stands apart from its predecessors by sourcing content directly from the web.
Key characteristics include:
- Source: 707 deepfake videos collected purely from the internet.
- Scale: 7,314 face sequences containing over 1.1 million individual images.
- Complexity: Diverse scenes, multiple subjects per frame, varied lighting, and different compression rates.
Methods: Attention-based Deepfake Detection Networks (ADDNets)
To address the challenges of real-world detection, the researchers proposed ADDNets, available in 2D (image-level) and 3D (sequence-level) variants.
The core innovation of ADDNets lies in Feature Reweighting. Most deepfake generation techniques use an internal "attention mask" to fuse a manipulated face onto a real head. ADDNets reverse this logic:
- Mask Generation: A facial landmark detector creates a binary mask covering the face and key features (eyes, nose, mouth).
- Multi-layer Reweighting: These masks are used to reweight features at multiple layers of the network (e.g., an XceptionNet backbone for 2D).
- Targeted Analysis: This forces the model to focus on boundaries and facial features where manipulation artifacts are most likely to reside.
Key Results and Insights
The study revealed several critical findings regarding the state of deepfake detection:
- The "Wild" Performance Drop: Standard models that hit ~99% accuracy on lab datasets dropped to roughly 60% on WildDeepfake. The best baseline, XceptionNet, reached only 69.25%.
- ADDNet Performance: ADDNet-2D achieved 76.25% accuracy on WildDeepfake, a 7% improvement over the best baseline. It also showed robustness on traditional sets, outperforming XceptionNet by 11% on the DeepfakeDetection (DFD) dataset.
- The 3D Paradox: Surprisingly, 3D (sequence-level) models often performed worse than 2D models on wild data. This suggests that current spatio-temporal convolutions are not yet optimized to catch the specific temporal inconsistencies found in high-quality internet deepfakes.
- Feature Interleaving: t-SNE visualizations showed that features in WildDeepfake are much more tightly interleaved with real images than in other datasets, explaining the increased difficulty of the task.
Limitations and Future Work
Despite the improvements offered by ADDNets, a 76% accuracy rate indicates that real-world deepfake detection remains an open challenge. Future research must focus on:
- Improved Temporal Modeling: Developing better ways to capture how deepfakes evolve across frames.
- Evolving Forgeries: Constant dataset updates are required as generation techniques improve.
- Ethics and Privacy: The researchers highlighted the complexities of real-world data by anonymizing eye regions in published figures to protect individual privacy.
The dataset and code are available at: https://github.com/OpenTAI/wild-deepfake
Summary updated