Abstract
On existing public benchmarks, face forgery detection techniques have achieved great success. However, when used in multi-person videos, which often contain many people active in the scene with only a small subset having been manipulated, their performance remains far from being satisfactory. To take face forgery detection to a new level, we construct a novel large-scale dataset, called FFIW-10K, which comprises 10,000 high-quality forgery videos, with an average of three human faces in each frame. The manipulation procedure is fully automatic, controlled by a domain-adversarial quality assessment network, making our dataset highly scalable with low human cost. In addition, we propose a novel algorithm to tackle the task of multi-person face forgery detection. Supervised by only video-level label, the algorithm explores multiple instance learning and learns to automatically attend to tampered faces. Our algorithm outperforms representative approaches for both forgery classification and localization on FFIW-10K, and also shows high generalization ability on existing benchmarks. We hope that our dataset and study will help the community to explore this new field in more depth.
Introduction
Most existing deepfake detection research relies on "lab-grown" datasets like FaceForensics++. While useful, these datasets typically feature a single person in a tightly cropped, trimmed video. In the real world—such as news broadcasts, talk shows, or viral social media clips—videos are messy. They contain multiple people, and a malicious actor might only forge one face in a group. Current models often fail in these "multi-person" scenarios because they aren't trained to handle the "needle in a haystack" problem where real faces are the majority. This research addresses the gap between laboratory benchmarks and real-world "wild" footage.
The FFIW10K Dataset
To bridge this gap, we introduce FFIW10K, a massive dataset consisting of 10,000 fake and 10,000 real videos. It features an average of three faces per frame (up to 15) and totals 33 hours of footage. Forgeries were created using three state-of-the-art methods: DeepFaceLab, FSGAN, and FaceSwap.
To build the dataset without massive human effort, we developed Q-Net, a domain-adversarial quality assessment network. Trained on images from various GANs at different stages of training, Q-Net automatically scores every forged face, ensuring only high-fidelity, deceptive fakes are included. This allows for effortless dataset scaling as new generative techniques emerge.
Methodology: Multi-Person Detection
We treat face forgery detection as a Multiple Instance Learning (MIL) problem. In this framework, a video is considered a "bag," and each person's face tracklet is an "instance." Our detection framework employs three key components:
- Multi-Temporal-Scale Aggregation: For every face, the model captures short-term glitches (like blinking artifacts) using dilated convolutions and long-term consistency using self-attention.
- Attention-Based Bag Aggregation: The model learns to automatically "attend" to specific faces it suspects are tampered with.
- Sparse Regularization: A specific loss term ($\\mathcal{L}_{Sparsity}$) encourages the model to identify only a few faces as forged, mirroring the reality that most people in a video are likely genuine.
Key Results and Generalization
The proposed MIL-based model achieved 69.4% Accuracy and 70.9% AUC on FFIW10K, significantly outperforming baselines like I3D and S-MIL. Standard state-of-the-art models (like Xception) saw their accuracy plummet when tested on this multi-person benchmark, proving the necessity of the FFIW10K dataset.
Furthermore, training on the complex FFIW10K dataset improves model generalization. When trained on FFIW10K and tested on the challenging Celeb-DF dataset, the model achieved 78.3% AUC, outperforming models trained on the industry-standard FaceForensics++ (which achieved between 48.2% and 74.8% depending on the version).
Conclusion
FFIW10K provides a more realistic benchmark for the deepfake detection community by emphasizing multi-person scenarios and localization. While the model currently faces challenges with perfectly stable motions or slow illumination changes, it sets a new standard for identifying forgeries in the wild. Future work may expand these techniques to include body manipulation and synthesized talking heads.
Summary updated