Abstract
Deepfake detection (DFD) typically relies on transfer learning from models pretrained on general object classification tasks like ImageNet. This study investigates whether this standard approach is optimal. By introducing "backbone separability"—a metric for measuring a model's innate ability to distinguish real from fake data—the researchers demonstrate that backbones trained for face recognition or via self-supervised learning (SSL) provide a superior foundation for deepfake detection than traditional image classification models.
Introduction
The rapid evolution of generative AI has turned deepfake detection into a high-stakes "cat-and-mouse" game. Because high-quality deepfake datasets are often limited in size, the industry standard is to utilize transfer learning. Researchers typically take a "backbone" (a feature extractor) pretrained on massive datasets like ImageNet and fine-tune it for the specific task of spotting facial manipulations.
However, this approach rests on an untested assumption: that a model trained to distinguish between 1,000 categories of everyday objects (e.g., "mug" vs. "cup") is well-suited for the subtle, pixel-level artifacts found in deepfakes. This paper seeks to quantify the "closeness" of various computer vision tasks—such as face recognition, age estimation, and general object classification—to the specific requirements of deepfake detection.
Measuring Task Proximity: Backbone Separability
To evaluate the inherent suitability of different pretrained models, the authors propose a novel metric called Backbone Separability. This metric measures a model's "raw" capacity for DFD before any task-specific training occurs. The process involves:
- Feature Extraction: Freezing a pretrained backbone and extracting high-dimensional embeddings from a deepfake dataset.
- Dimensionality Reduction: Using Principal Component Analysis (PCA) to reduce these embeddings to two dimensions.
- Unsupervised Clustering: Applying K-means clustering to see if the model naturally separates "real" from "fake" data.
A higher separability score indicates that the pretraining task has already "taught" the model features that are highly relevant to identifying facial manipulations.
Experimental Methodology
The researchers conducted a systematic benchmark across three distinct stages:
- Separability Analysis: Measuring the raw capacity of frozen backbones as described above.
- Transfer Learning: Training only a simple fully connected (FC) classifier on top of the frozen backbone to see how much information is easily accessible.
- Fine-tuning: Unfreezing the entire model and training it on a small deepfake dataset to observe how quickly and effectively the backbone adapts.
The study compared several popular architectures (ResNet, Xception, EfficientNet, VGG) across different pretraining tasks (Face Recognition, Age Estimation, Image Classification) and training paradigms (Supervised vs. Self-supervised).
Data and Evaluation
The study utilized a comprehensive array of data to ensure robust results:
- Pretraining Datasets: ImageNet-1K/21K, Glint360K (17M images), MS-Celeb-1M, VGGFace2, and UTK (for age estimation).
- Deepfake Evaluation Datasets: A curated mix of VidTIMIT, VoxCeleb2, FaceForensics++, Google DFD, DFDC, and Celeb-DF.
- Generalization Test (Set D): A specific subset containing unseen deepfake types, including images generated by Latent Diffusion models and various GANs (StarGAN, StyleGAN2), to test "in-the-wild" performance on novel threats.
Key Insights
1. Face Recognition Outperforms ImageNet
The results revealed that backbones trained for face recognition (such as ArcFace) showed significantly higher "raw" separability for deepfakes than those trained on ImageNet. This suggests that features relevant to human identity and facial structure are more closely aligned with the nuances of deepfake detection than general object features.
2. The Advantage of Self-Supervision
Models trained using self-supervised learning (SSL) techniques, such as SimCLR or BYOL, consistently outperformed supervised models. SSL backbones appear to capture more robust, generalizable representations that are not constrained by a specific set of human-provided labels, making them more resilient when transferred to the DFD domain.
3. The Overfitting Trap
While fine-tuning significantly improves performance on "seen" deepfake types, it often leads to "catastrophic forgetting." Models can become so specialized in spotting a specific manipulation (e.g., FaceSwap) that they lose the ability to detect others (e.g., GAN-generated faces). This highlights a critical trade-off between specialized accuracy and broad generalization.
Results and Performance
- Separability Accuracy: The ArcFace backbone (Face Recognition) achieved a separability accuracy of 64.80%, and SimCLRv2 (SSL) reached 60.52%. In contrast, the standard Xception backbone (ImageNet) only managed 53.80%.
- Error Rates: After full fine-tuning, EfficientNet-v2 emerged as the top performer, achieving the best overall performance with an Equal Error Rate (EER) of 13.25%.
- Generalization: Performance on the unseen "Set D" dropped across the board. While models were nearly 100% accurate at spotting Latent Diffusion fakes, they struggled immensely with high-quality GAN-generated images and deepfake pornography, where EERs often climbed above 30%.
Conclusion
This research challenges the industry's reliance on ImageNet-pretraining for deepfake detection. The findings suggest that researchers should prioritize backbones trained on face-related tasks or via self-supervised learning to achieve better "raw" detection capabilities and more robust features. Future work must address the generalization gap, perhaps through hybrid training—combining self-supervised learning with multi-task learning—to build detectors that are both accurate and resilient to emerging manipulation techniques.
Summary updated