DeepTrace AI: Deepfake Face Detection Using a Two-Stage Fine-Tuned EfficientNetB0
Authors/Creators
Description
Photorealistic face imagery produced by generative models is now difficult to tell apart from genuine photographs, creating demand for detectors that are accurate and simple to deploy. This paper presents DeepTrace AI, a deepfake face detector built on an ImageNet-pretrained EfficientNetB0 backbone with a compact head of global average pooling, a 512-unit dense layer, dropout and a sigmoid output. A two-stage transfer-learning schedule first trains the head with the backbone frozen and then fine-tunes the whole network at a reduced learning rate, supported by mixed-precision computation, learningrate reduction on plateau and early stopping. Trained on 100,000 images from the 140k Real and Fake Faces corpus in about 34 minutes on a single T4 GPU, the model reaches 99.88% accuracy on a 20,000-image held-out test set, with precision of 0.9982, recall of 0.9993, an F1-score of 0.9988, ROC-AUC of 1.0000 and a Matthews correlation coefficient of 0.9975, misclassifying only 25 of 20,000 images. The same network analyses videos through one-frame-per-second sampling with probability averaging, and the system is delivered as a Gradio web application with automated deployment.
Files
Deepfake_Face_Detection_IEEE.pdf
Additional details
Software
- Programming language
- Python