Introduction
The rapid advancement of deepfake technology has created a pressing need for robust detection methods. However, the field currently suffers from a lack of standardization. Performance claims for new state-of-the-art (SOTA) detectors are often difficult to verify because of inconsistent data preprocessing, varying evaluation protocols, and the absence of publicly available source code. DeepfakeBench addresses these challenges by providing the first comprehensive, standardized benchmark for deepfake detection. It offers a unified codebase for 15 SOTA detectors and 9 major datasets, enabling fair "apples-to-apples" comparisons and fostering transparency in the research community.
Methodology and Framework
DeepfakeBench is built on a modular, extensible architecture designed to standardize every step of the detection pipeline. The framework is organized into three primary modules:
- Data Processing Module: This module handles the critical task of standardizing input data. It includes a unified pipeline for face detection (using DLIB), alignment, and cropping. By using a JSON-based management system, it ensures that all detectors are evaluated on identical input samples, eliminating performance variations caused by different preprocessing "tricks."
- Training Module: The benchmark implements 15 SOTA detection methods, categorized into three distinct types:
- Naive Detectors: Standard CNN-based classifiers (e.g., Xception, EfficientNet) that search for general forgery cues.
- Spatial Detectors: Methods focusing on specific local artifacts or forgery regions (e.g., Face X-ray, CORE).
- Frequency Detectors: Methods that analyze images in the frequency domain to identify "fingerprints" left by generative models (e.g., F3Net, SPSL).
- Evaluation & Analysis Module: This module provides a suite of standardized metrics—including AUC, AP, ACC, and EER—alongside diagnostic tools like Grad-CAM for interpretability and t-SNE for feature visualization.
Datasets
The benchmark incorporates nine widely recognized datasets, covering a broad spectrum of manipulation techniques such as face-swapping and face-reenactment. Key datasets include FaceForensics++ (FF++), Celeb-DF (v1 & v2), and the large-scale DFDC and DFDC-P datasets from the Deepfake Detection Challenge.
Experimental Results and Insights
The standardized evaluation reveals several critical insights into the current state of deepfake detection.
The Performance of "Naive" Detectors
A significant finding is the high competitiveness of "naive" detectors. When standard CNN classifiers like Xception and EfficientNet-B4 are trained with the same data augmentation and pre-training strategies as more complex SOTA methods, they often match or exceed their performance. This suggests that recent architectural innovations may be less impactful than the underlying training protocols.
Backbone Architecture and Generalization
The choice of backbone architecture is a primary driver of performance. Xception and EfficientNet consistently outperform ResNet, likely due to their use of depthwise separable convolutions, which appear more effective at capturing subtle forgery artifacts.
However, a significant "generalization gap" remains. While many models achieve near-perfect AUC scores (99%+) on within-domain data, their performance drops sharply when tested on unseen manipulation methods or different datasets.
Key Performance Metrics
- Top Overall Performers: The UCF (Spatial) and Xception (Naive) detectors emerged as leaders. UCF achieved the highest average within-domain AUC of 95.27%.
- Cross-Domain Robustness: SPSL, a frequency-based detector, demonstrated superior robustness in cross-domain evaluations, reaching an average AUC of 78.75% on unseen datasets.
- Augmentation Effects: Data augmentation, such as Gaussian blur, presents a trade-off. While it improves robustness against video compression, it can degrade performance on high-quality data by obscuring fine-grained forgery cues.
Conclusion and Future Directions
DeepfakeBench provides a much-needed foundation for rigorous and reproducible research in deepfake detection. By standardizing the evaluation pipeline, it clarifies the actual progress in the field and highlights the critical role of backbone architectures and training strategies.
Future work will focus on expanding the benchmark to include temporal dynamics for video-level detection and broadening the scope of forgery types. To mitigate the risk of malicious actors using the benchmark to refine deepfakes, the authors are exploring controlled access for the research community.
The DeepfakeBench codebase is publicly available at https://github.com/SCLBD/DeepfakeBench.
Summary updated