Enhancing Deepfake Detection Using Attention Mechanisms in Image Classification
DOI:
https://doi.org/10.21467/proceedings.7.6.42Keywords:
Deepfake, CNN, Attention MechanismAbstract
Deepfake technology, where artificial intelligence is used in order to generate highly realistic manipulated media, still is a severe threat to digital media authenticity. Detection of most deepfakes is really one of the most prominent computer vision tasks that we have at present. In this paper, we propose a specific deepfake detector. It is an attention and convolutional neural network (CNN). We employ an attention layer in our network to enable better salient detail representation along with trying to distinguish between forged and original images. Metrics including accuracy, precision, recall, and F1-score are measures used to determine the performance of the model after its training on a dataset of original and forged images. We additionally show the performance of the model by greatly improving the predictive outputs through face landmark detection and an image preprocessing pipeline.
References
[1] Lai, Y., Yu, Z., Yang, J., Li, B., Kang, X., Shen, L.: GM-DF: Generalized Multi-Scenario Deepfake Detection. (2024).
[2] Rossler, A., Cozzolino, D., Verdoliva, L., Riess, C., Thies, J., Nießner, M.: FaceForensics++: Learning to Detect Manipulated Facial Images. (2019).
[3] Afchar, D., Nozick, V., Yamagishi, J., Echizen, I.: MesoNet: A Compact Facial Video Forgery Detection Network. (2018).
[4] Durall, R., Keuper, M., Pfreundt, F.J., Keuper, J.: Unmasking DeepFakes with Simple Features. (2020).
[5] Coccomini, D., Messina, N., Gennaro, C., Falchi, F.: Combining EfficientNet and Vision Transformers for Video Deepfake Detection. (2022).
[6] Heidari, A., Navimipour, N.J., Dag, H., Unal, M.: Deepfake Detection Using Deep Learning Methods. (2022).
[7] Rafque, R., Gantassi, R., Amin, R., Frnda, J., Mustapha, A., Alshehri, A.H.: Deep Fake Detection and Classification Using Error-Level Analysis and Deep Learning. (2023).
[8] Karki, M.: Deepfake and Real Images. Kaggle. [Online]. Available: https://www.kaggle.com/datasets/manjilkarki/deepfake-and-real-images. Last accessed 25 Sept 2024.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Kavita Sultanpure, Prajakta Kumbhare, Jay Kumavat, Nidhi Karkera, Mandar Mahapure, Ameya Pathak (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.