Lightweight Hybrid CNN-Transformer Architecture for Image-Based Deepfake Detection on Resource-Constrained Systems: Cross-Dataset Generalization and OpenVINO- Based Benchmarking
Deepfake detection research is typically evaluated on accuracy alone, with little attention to deployment cost on consumer-grade hardware. This paper proposes a lightweight hybrid architecture that pairs a MobileNetV3-Small backbone with a two-layer Transformer encoder for image-level deepfake detection. The model is evaluated using video-level partitioning on FaceForensics++ and Celeb-DF v2, with dataset-specific identity-overlap limitations explicitly considered. On the official FaceForensics++ split, it reaches 80.33% accuracy and 0.891 ROC-AUC; on Celeb-DF v2, 81.59% accuracy and 0.910 ROC-AUC. A depth ablation spanning zero to four Transformer layers, together with EfficientNet-B0 and MobileViT-XXS baselines trained under an identical protocol, shows that same-dataset accuracy does not meaningfully separate the six architectures. Cross-dataset evaluation does: the proposed model achieves the highest generalization AUC (0.670) of all six, including against EfficientNet-B0, which uses 84% more parameters. Converting the model to OpenVINO FP16 costs negligible accuracy and is the recommended deployment precision; INT8 quantization substantially reduces classification performance and did not show a consistent latency advantage over FP16 under the evaluated configuration. End-to-end pipeline measurement, including face detection, shows that detection rather than the classifier accounts for 89–91% of total latency, limiting real-world throughput to 12–19 frames per second under FP16 gregardless of how the classifier itself is optimized. Taken together, these results indicate that parameter count and same-dataset accuracy are incomplete proxies for deployment readiness, and that detection-stage latency and hardware-specific quantization behavior both warrant more attention in lightweight deepfake-detection research than they currently receive.
Authors
- Vishvas
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24579143
- Primary Topic
- Digital Media Forensic Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00