Abstract
Rapid progress in deep learning is continuously making it easier and cheaper to generate video forgeries. Hence, it becomes very important to have a reliable way of detecting these forgeries. This paper describes such an approach for various tampering scenarios. The problem is modelled as a per-frame binary classification task. We propose to use transfer learning from face recognition task to improve tampering detection on many different facial manipulation scenarios. Furthermore, in low resolution settings, where single frame detection performs poorly, we try to make use of neighboring frames for middle frame classification. We evaluate both approaches on the public FaceForensics benchmark, achieving state of the art accuracy.
Introduction
As deep learning makes generating realistic video forgeries (deepfakes) easier and cheaper, the need for robust detection is critical. Current detection methods face two major hurdles:
- Domain Gap: Many models use backbones pretrained on general datasets like ImageNet, which may not capture the subtle nuances of human facial features necessary for forgery detection.
- Temporal Inconsistency: Most detectors operate on a per-frame basis. However, forgeries often introduce subtle "glitches" or inconsistencies between consecutive frames that are invisible in a static image but obvious in motion.
This research specifically targets four types of manipulations: FaceSwap, DeepFakes, Face2Face, and NeuralTextures. NeuralTextures is notably the most difficult to detect as it only modifies the mouth region using GAN-based techniques.
Methodology
The proposed approach utilizes a two-pronged strategy to improve detection:
Transfer Learning from Face Recognition
Instead of standard ImageNet pretraining, the authors employ an Inception ResNet V1 backbone pretrained on the VGGFace2 dataset. The intuition is that a model trained to distinguish between millions of human faces is better equipped to identify the subtle anomalies introduced by facial manipulation.
Temporal Modeling
To capture inconsistencies over time, the study moves beyond single-frame classification using two architectures:
- 3D-CNN: A 3D ResNet-18 architecture that treats a sequence of frames as a volume, learning spatio-temporal features.
- Bi-LSTM: A 2D CNN (Inception ResNet V1) acts as a feature extractor for individual frames, which are then processed by a Bi-directional Long Short-Term Memory (LSTM) network. This allows the model to consider both previous and subsequent frames (a window of 7 frames) when classifying the current one.
Preprocessing involves using MTCNN and dlib for face detection, cropping frames to focus exclusively on the facial region to reduce background noise.
Experimental Setup
The study utilizes the FaceForensics++ benchmark, consisting of 1,000 original YouTube videos and 4,000 manipulated versions. The dataset provides three compression levels: raw, c23 (medium), and c40 (high). The authors focus on the c40 level, representing the most challenging real-world scenario.
Results and Discussion
The Inception ResNet V1 model achieved state-of-the-art performance on the FaceForensics benchmark, outperforming existing methods across various manipulation types.
Key Insights
- Face Recognition Advantage: Pretraining on VGGFace2 yielded a significant performance boost over ImageNet. On the difficult c40 NeuralTextures task, the pretrained Inception ResNet achieved 74.8% average accuracy, compared to 66.5% for the standard XceptionNet baseline.
- Temporal Context: Incorporating temporal information allowed multi-frame models to outperform single-frame predictions. Both the 3D-CNN and Bi-LSTM models achieved 77.7% average accuracy on the c40 NeuralTextures task, demonstrating the value of capturing temporal jitter.
- Compression Sensitivity: Models trained on high-compression (c40) data generalize well to lower compressions of the same method but struggle to generalize across different forgery types.
Conclusion
While the proposed models achieve state-of-the-art results, limitations remain. Computational constraints limited the temporal window to 7 frames; larger windows might yield further improvements. Additionally, cross-method generalization remains a challenge. Future work will focus on improving detection for "unseen" forgery methods.
Summary updated