Corresponding Author

Author

Abstract

This paper explores the performance of several deep learning architectures for visual deepfake detection, including Swin Transformer, Vision Transformer (ViT), Xception, ResNet, and EfficientNet. We evaluate these models on the CelebDF-v2 dataset, assessing their effectiveness in detecting manipulated facial images using performance measures such as accuracy, AUC, and F1 score. Our experiments reveal that the Swin Transformer consistently outperforms other architectures, achieving an F1 score of 91.17% and AUC of 55.61%, substantially higher than the Vision Transformer's 86.85% F1 and 34.19% AUC, showing its superior ability to detect subtle visual artifacts in deepfakes. Additionally, to enhance model interpretability, we employ GradCAM visualizations to highlight the regions of input frames that are most influential to the model's predictions. These results demonstrate the potential of both CNN and transformer-based architectures to enhance deepfake detection accuracy and the value of visual explanations for improving model transparency and reliability in media forensics.

Keywords

References

  • [1] Y. Mirsky and W. Lee, “The Creation and Detection of Deepfakes: A Survey,” ACM Comput Surv, vol. 54, no. 1, p. 7:1-7:41, Jan. 2021, doi: 10.1145/3425780.
  • [2] A. Malik, M. Kuribayashi, S. M. Abdullahi, and A. N. Khan, “DeepFake Detection for Human Face Images and Videos: A Survey,” IEEE Access, vol. 10, pp. 18757–18775, 2022, doi: 10.1109/ACCESS.2022.3151186.
  • [3] J. Gui, Z. Sun, Y. Wen, D. Tao, and J. Ye, “A Review on Generative Adversarial Networks: Algorithms, Theory, and Applications,” IEEE Trans. Knowl. Data Eng., vol. 35, no. 4, pp. 3313–3332, Apr. 2023, doi: 10.1109/TKDE.2021.3130191.
  • [4] A. Creswell, T. White, V. Dumoulin, K. Arulkumaran, B. Sengupta, and A. A. Bharath, “Generative Adversarial Networks: An Overview,” IEEE Signal Process. Mag., vol. 35, no. 1, pp. 53–65, Jan. 2018, doi: 10.1109/MSP.2017.2765202.
  • [5] M. Tao, H. Tang, F. Wu, X.-Y. Jing, B.-K. Bao, and C. Xu, “DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesis,” presented at the Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, pp. 16515–16525. Accessed: Nov. 30, 2024. [Online]. Available: https://openaccess.thecvf.com/content/CVPR2022/html/Tao_DF-GAN_A_Simple_and_Effective_Baseline_for_Text-to-Image_Synthesis_CVPR_2022_paper.html
  • [6] G. Murphy, D. Ching, J. Twomey, and C. Linehan, “Face/Off: Changing the face of movies with deepfakes,” PLOS ONE, vol. 18, no. 7, p. e0287503, Jul. 2023, doi: 10.1371/journal.pone.0287503.
  • [7] teresa_myers, “Deepfake in Movies | Facts, Fiction & Future of Film Industry,” Facia.ai. Accessed: Dec. 03, 2024. [Online]. Available: https://facia.ai/blog/deepfake-in-movies-facts-fiction-future-of-film-industry/
  • [8] K. R. Prajwal, R. Mukhopadhyay, V. P. Namboodiri, and C. V. Jawahar, “A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild,” in Proceedings of the 28th ACM International Conference on Multimedia, in MM ’20. New York, NY, USA: Association for Computing Machinery, Oct. 2020, pp. 484–492. doi: 10.1145/3394171.3413532.
  • [9] S. Agarwal, H. Farid, Y. Gu, M. He, K. Nagano, and H. Li, “Protecting World Leaders Against Deep Fakes,” in IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, IEEE, 2019, pp. 38–45. Accessed: Nov. 30, 2024. [Online]. Available: https://openaccess.thecvf.com/content_CVPRW_2019/html/Media_Forensics/Agarwal_Protecting_World_Leaders_Against_Deep_Fakes_CVPRW_2019_paper.html
  • [10] A. Ali, K. F. Khan Ghouri, H. Naseem, T. R. Soomro, W. Mansoor, and A. M. Momani, “Battle of Deep Fakes: Artificial Intelligence Set to Become a Major Threat to the Individual and National Security,” in 2022 International Conference on Cyber Resilience (ICCR), Oct. 2022, pp. 1–5. doi: 10.1109/ICCR56254.2022.9995821.
  • [11] “NSA, U.S. Federal Agencies Advise on Deepfake Threats,” National Security Agency/Central Security Service. Accessed: Nov. 30, 2024. [Online]. Available: https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/3523329/nsa-us-federal-agencies-advise-on-deepfake-threats/http%3A%2F%2Fwww.nsa.gov%2FPress-Room%2FPress-Releases-Statements%2FPress-Release-View%2FArticle%2F3523329%2Fnsa-us-federal-agencies-advise-on-deepfake-threats%2F
  • [12] “Deepfake presidents used in Russia-Ukraine war,” Mar. 18, 2022. Accessed: Mar. 02, 2025. [Online]. Available: https://www.bbc.com/news/technology-60780142
  • [13] R. M. O’Sullivan Donie, “A deepfake video of Mark Zuckerberg presents a new challenge for Facebook | CNN Business,” CNN. Accessed: Nov. 30, 2024. [Online]. Available: https://www.cnn.com/2019/06/11/tech/zuckerberg-deepfake/index.html
  • [14] M. Mirza and S. Osindero, “Conditional Generative Adversarial Nets,” Nov. 06, 2014, arXiv: arXiv:1411.1784. doi: 10.48550/arXiv.1411.1784.
  • [15] T. Karras, S. Laine, and T. Aila, “A Style-Based Generator Architecture for Generative Adversarial Networks,” Mar. 29, 2019, arXiv: arXiv:1812.04948. doi: 10.48550/arXiv.1812.04948.
  • [16] H. She, Y. Hu, B. Liu, J. Li, and C.-T. Li, “Using Graph Neural Networks to Improve Generalization Capability of the Models for Deepfake Detection,” IEEE Trans. Inf. Forensics Secur., vol. 19, pp. 8414–8427, 2024, doi: 10.1109/TIFS.2024.3451356.
  • [17] Y. Xu, J. Liang, G. Jia, Z. Yang, Y. Zhang, and R. He, “TALL: Thumbnail Layout for Deepfake Video Detection,” in 2023 IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France: IEEE, Oct. 2023, pp. 22601–22611. doi: 10.1109/ICCV51070.2023.02071.
  • [18] M. Salman, I. Tariq, M. Zulfiqar, M. Jalal, S. Aujla, and S. Fatima, “AWARE-NET: adaptive weighted averaging for robust ensemble network in deepfake detection,” in International Conference on Energy, Power, Environment, Control and Computing (ICEPECC 2025), Feb. 2025, pp. 526–533. doi: 10.1049/icp.2025.1162.
  • [19] Y. Yu, X. Liu, R. Ni, S. Yang, Y. Zhao, and A. C. Kot, “PVASS-MDD: Predictive Visual-Audio Alignment Self-Supervision for Multimodal Deepfake Detection,” IEEE Trans. Circuits Syst. Video Technol., vol. 34, no. 8, pp. 6926–6936, Aug. 2024, doi: 10.1109/TCSVT.2023.3309899.
  • [20] S. Muppalla, S. Jia, and S. Lyu, “Integrating Audio-Visual Features For Multimodal Deepfake Detection,” in 2023 IEEE MIT Undergraduate Research Technology Conference (URTC), Cambridge, MA, USA: IEEE, Oct. 2023, pp. 1–5. doi: 10.1109/URTC60662.2023.10534969.
  • [21] T. Kumar, R. Brennan, A. Mileo, and M. Bendechache, “Image Data Augmentation Approaches: A Comprehensive Survey and Future Directions,” IEEE Access, vol. 12, pp. 187536–187571, 2024, doi: 10.1109/ACCESS.2024.3470122.
  • [22] T. Kumar, A. Mileo, and M. Bendechache, “Saliency-based metric and FaceKeepOriginalAugment: a novel approach for enhancing fairness and Diversity,” Multimed. Syst., vol. 31, no. 3, p. 153, Mar. 2025, doi: 10.1007/s00530-025-01741-5.
  • [23] M. Ye-Bin, N. Hyeon-Woo, W. Choi, N. Kim, S. Kwak, and T.-H. Oh, “SYNAuG: Exploiting synthetic data for data imbalance problems,” Pattern Recognit. Lett., vol. 193, pp. 115–121, Jul. 2025, doi: 10.1016/j.patrec.2025.04.013.
  • [24] M. Javed, Z. Zhang, F. H. Dahri, and T. Kumar, “Enhancing multimodal deepfake detection with local–global feature integration and diffusion models,” Signal Image Video Process., vol. 19, no. 5, p. 400, Mar. 2025, doi: 10.1007/s11760-025-03970-7.
  • [25] H. Wu, X. Wang, R. Wang, J. Xiang, and L. Ren, “Common Forgery Artifact Driven Deepfake Face Detection,” in 2024 27th International Conference on Computer Supported Cooperative Work in Design (CSCWD), Tianjin, China: IEEE, May 2024, pp. 1585–1590. doi: 10.1109/CSCWD61410.2024.10580312.
  • [26] V. S. Katamneni and A. Rattani, “Contextual Cross-Modal Attention for Audio-Visual Deepfake Detection and Localization,” in 2024 IEEE International Joint Conference on Biometrics (IJCB), Buffalo, NY, USA: IEEE, Sep. 2024, pp. 1–11. doi: 10.1109/IJCB62174.2024.10744480.
  • [27] C. Gao, Q. Xu, P. Qiao, K. Xu, X. Qian, and Y. Dou, “Adapter-Based Incremental Learning for Face Forgery Detection,” in ICASSP 2024 - 2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Seoul, Korea, Republic of: IEEE, Apr. 2024, pp. 4690–4694. doi: 10.1109/ICASSP48485.2024.10446543.
  • [28] C. Miao, Z. Tan, Q. Chu, H. Liu, H. Hu, and N. Yu, “F2 Trans: High-Frequency Fine-Grained Transformer for Face Forgery Detection,” IEEE Trans. Inf. Forensics Secur., vol. 18, pp. 1039–1051, 2023, doi: 10.1109/TIFS.2022.3233774.
  • [29] C. Yang, C. Zhu, C. Deng, and Z. Xiao, “ShuffleSR: Image Deepfake Detection Using Shuffle Transformer,” in 2023 IEEE 6th International Conference on Knowledge Innovation and Invention (ICKII), Sapporo, Japan: IEEE, Aug. 2023, pp. 639–642. doi: 10.1109/ICKII58656.2023.10332600.
  • [30] H. Ilyas, A. Javed, and K. M. Malik, “ConvNext-PNet: An interpretable and explainable deep-learning model for deepfakes detection,” in 2024 IEEE International Joint Conference on Biometrics (IJCB), Buffalo, NY, USA: IEEE, Sep. 2024, pp. 1–9. doi: 10.1109/IJCB62174.2024.10744484.
  • [31] P. P. Chandran, S. Sriram, and C. Babu, “Multimodal Forgery Detection in Videos Using a Tri-Network Model,” in 2024 10th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, India: IEEE, Mar. 2024, pp. 1507–1514. doi: 10.1109/ICACCS60874.2024.10717044.
  • [32] Y. Li, X. Yang, P. Sun, H. Qi, and S. Lyu, “Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics,” Mar. 16, 2020, arXiv: arXiv:1909.12962. doi: 10.48550/arXiv.1909.12962.
  • [33] A. Jung, aleju/imgaug. (Nov. 30, 2024). Python. Accessed: Nov. 30, 2024. [Online]. Available: https://github.com/aleju/imgaug
  • [34] F. Pedregosa et al., “Scikit-learn: Machine Learning in Python,” Mach. Learn. PYTHON.
  • [35] R. Wightman, rwightman/timm. (Nov. 26, 2024). Python. Accessed: Nov. 30, 2024. [Online]. Available: https://github.com/rwightman/timm
  • [36] S. Khan, M. Naseer, M. Hayat, S. W. Zamir, F. S. Khan, and M. Shah, “Transformers in Vision: A Survey,” ACM Comput Surv, vol. 54, no. 10s, p. 200:1-200:41, Sep. 2022, doi: 10.1145/3505244.
  • [37] K. Han et al., “A Survey on Vision Transformer,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 1, pp. 87–110, Jan. 2023, doi: 10.1109/TPAMI.2022.3152247.
  • [38] V. L. L. Thing, “Deepfake Detection with Deep Learning: Convolutional Neural Networks versus Transformers,” in 2023 IEEE International Conference on Cyber Security and Resilience (CSR), Venice, Italy: IEEE, Jul. 2023, pp. 246–253. doi: 10.1109/CSR57506.2023.10225004.
  • [39] K. N. Ramadhani, R. Munir, and N. P. Utama, “Improving Video Vision Transformer for Deepfake Video Detection Using Facial Landmark, Depthwise Separable Convolution and Self Attention,” IEEE Access, vol. 12, pp. 8932–8939, 2024, doi: 10.1109/ACCESS.2024.3352890.
  • [40] D. W. Deressa, P. Lambert, G. Van Wallendael, S. Atnafu, and H. Mareen, “Improved Deepfake Video Detection Using Convolutional Vision Transformer,” in 2024 IEEE Gaming, Entertainment, and Media Conference (GEM), Jun. 2024, pp. 1–6. doi: 10.1109/GEM61861.2024.10585593.
  • [41] S. A. Khan and D.-T. Dang-Nguyen, “Deepfake Detection: Analyzing Model Generalization Across Architectures, Datasets, and Pre-Training Paradigms,” IEEE Access, vol. 12, pp. 1880–1908, 2024, doi: 10.1109/ACCESS.2023.3348450.

Downloads

Full-text downloads recorded for this article, by month.

No downloads have been recorded for this article yet. Figures appear here once readers begin downloading the full text.

How to Cite

Convolutional Neural Network and Transformer-Based Visual Deepfake Detection: A Comparative Analysis. (2026). Journal of Computing Horizons, 1(1), 14-24. https://doi.org/10.22610/jch.v1i1.4990

Share this article

Section

Research Paper

Published

2026-11-20

Submissions

Have research to publish? Journal of Computing Horizons welcomes submissions.

Make a Submission