3417-SUBMISSION - Manuscript File (.Pdf-.Docx) - 14755-1-10-20241223
3417-SUBMISSION - Manuscript File (.Pdf-.Docx) - 14755-1-10-20241223
Abstract – Advancement in Artificial intelligence has resulted in evolvement of various Deepfake generation methods. This subsequently
leads to spread of fake information which needs to be restricted. Deepfake detection methods offer solution to this problem. However,
a particular Deepfake detection method which gives best results for a set of Deepfake images (generated by a particular generation
method) fails to detect another set of Deepfake images (generated by another method). In this work various Deepfake detection methods
were tested for their suitability to decipher Deepfake images generated by various generation methods.
We have used VGG16, ResNet50, VGG19, and MobileNetV2 for deepfake detection and pre-trained models of StyleGAN2, StyleGAN3,
and ProGAN for fake generation. The training dataset comprised of 200000 images, 50 % of which were real and 50% were fake. The
best performing Deepfake detection model was VGG19 with more than 96 percent accuracy for StyleGAN2, StyleGAN3, and ProGAN-
generated fakes.
Received: March 22, 2024; Received in revised form: August 20, 2024; Accepted: August 21, 2024
4. PROBLEM STATEMENT
• Train eight different CNN models on the dataset We used the Openforensics dataset [19] which is an
to detect fake images, which will be our detection open dataset and contains approximately 200,000 im-
models. ages. It was split in the ratio 70:20:10 (70% training,
• Compare the performance of deepfake detection 20% validation, and 10% testing). The quantity of im-
models when they are tested on the diverse fake ages used in the datasets for training, testing, and vali-
images that are generated different GANs in order dation is displayed in Table 1.
to suggest the best performing deepfake detec- A dataset of 15,000 fake images was generated from
tion method. the three pre-trained GAN models, five thousand from
each. We added 5,000 and 1,400 fake generated images
5. METHODOLOGY
from each GAN model for training, testing and valida-
Fig. 3 shows the general preprocessing and detec- tion. This increased the robustness, diversity, and over-
tion flow that the model is going through. all quality of the dataset before it was used for training.
Algorithm 1 - Deepfake generation using GAN The basis for constructing and optimizing the eight
different CNNs is our training dataset, which consists of
Input:
more than 140,000 images.
• Pretrained model
• Truncation factor (truncation_psi) or latent dimen- Hyperparameter and Training Settings:
sion for controlling quality • Learning Rate: 0.0001
In the initial stage when we evaluated the perfor- VGG16 95.038% 94.901% 94.987%
(a)
(b)
(c)
Fig. 4. Loss in training and validation where (a) VGG16, VGG19, and DenseNet121, (b) InceptionResNetV2,
InceptionV3, and MobileNetV2, and (c) ResNet50V2 and Xception
Our study shows that different models work well [7] T. T. Nguyen, Q. V. Nguyen, D. T. Nguyen, D. T.
in different situations for spotting deepfake images. Nguyen, T. Huynh-The, S. Nahavandi, T. T. Nguy-
We tested the eight CNN models against fake images
en, Q. V. Pham, C. M. Nguyen, "Deep learning
from three GANs: StyleGAN2, StyleGAN3, and ProGAN.
VGG19 and VGG16 do great in some cases, while In- for deepfakes creation and detection: A survey",
ceptionV3 and Xception are consistently good giving Computer Vision and Understanding, Vol. 223,
an accuracy above 96.6% for all three GANs. The best- 2022, p. 103525.
performing model however is VGG19 since it has the
best overall accuracy across the three GANs. So our [8] T. Shen, R. Liu, J. Bai, Z. Li. "'Deep fakes' using gen-
study based on the performances of the CNN models erative adversarial networks (GAN)", Noiselab, Uni-
concludes that VGG19 is the better alternative to de-
versity of California, San Diego, 2018, Report 16.
tect deepfake images coming from various sources.
With more powerful GPUs and CPUs, we can gener- [9] O. Giudice, L. Guarnera, S. Battiato, "Fighting deep-
ate and detect deepfakes more efficiently. Advanced fakes by detecting GAN DCT anomalies", Journal
systems enable the use of models like EfficientNet, a of Imaging, Vol. 7, No. 8, 2021, p. 128.
highly effective CNN architecture, further enhancing
our deepfake detection capabilities. [10] H. S. Shad, M. M. Rizvee, N. T. Roza, S. M. Hoq, M. M.
With the rise of artificial intelligence, the quality of Khan, A. Singh, A. Zaguia, S. Bourouis, "Compara-
deepfakeimages is only going to increase thus making tive analysis of deepfake detection method using
their detection a continuous research topic. Our goal convolutional neural network", Computational In-
was to find a model that works well on fake s generated
telligence and Neuroscience, Vol. 2021, 2021.
through diverse sources thus making it a reliable tool
for countering the ever-evolving deepfake creation. [11] D. Saxena, J. Cao, "Generative adversarial net-
works (GANs) challenges, solutions, and future
8. REFERENCES:
directions", ACM Computing Surveys, Vol. 54, No.
[1] M. Kumar, N. Muhal, “Fake Face s Generated From 3, 2021, pp. 1-42.
Different GANs”, https://www.kaggle.com/data-
[12] A. Khodabakhsh, R. Ramachandra, K. Raja, P. Was-
sets/mayankjha146025/fake-face-s-generated-
nik, C. Busch, "Fake face detection methods: Can
from-different-gans (accessed: 2024)
they be generalized?", Proceedings of the Interna-
[2] Y. Digvijay, S. Salmani, "Deepfake: A survey on facial tional conference of the biometrics special inter-
forgery technique using the generative adversarial est group, Darmstadt, Germany, 26-28 September
network", Proceedings of the International Confer- 2018, pp. 1-6.
ence on Intelligent Computing and Control Sys-
[13] O. Patashnik, Z. Wu, E. Shechtman, D. Cohen-Or, D.
tems, Madurai, India, 15-17 May 2019, pp. 852-857.
Lischinski, "StyleCLIP: Text-Driven Manipulation of
[3] S. Sanjan, P. Thushara, P. C. Karthik, M. P. A. Vijayan, StyleGAN Imagery", Proceedings of the IEEE/CVF
A. Wilson, “Review of Deepfake Detection Tech- International Conference on Computer Vision,
niques”, International Journal of Engineering Re- Montreal, QC, Canada, 10-17 October 2021, pp.
search & Technology, Vol. 10, No. 5, 2021, pp. 813- 2065-2074.
816.
[14] M. Kumar, H.K. Sharma, "A GAN-based model of
[4] A. Malik, M. Kuribayashi, S. M. Abdullahi, A. N. deepfake detection in social media", Procedia
Khan, "DeepFake detection for human faces and Computer Science, Vol. 218, 2023, pp. 2153-2162.
videos: A survey", IEEE Access, Vol. 10, 2022, pp.
[15] A. Tiwari, R. Dave, M. Vanamala. "Leveraging deep
18757-18775.
learning approaches for deepfake detection: A
[5] M. S. Rana, M. N. Nobi, B. Murali, A. H. Sung, "Deep- review", Proceedings of the 7th International Con-
fake Detection: A Systematic Literature Review", ference on Intelligent Systems, Metaheuristics &
IEEE Access, Vol. 10, 2022, pp. 25494-25513. Swarm Intelligence, 2023, pp. 12-19. 2023.
[6] O. A. Paul, "Deepfakes Generated by Generative [16] E. Nowroozi, Y. Mekdad. "Detecting high-quality
Adversarial Networks", Georgia Southern Univer- GAN-generated faces using neural networks", Big
[18] B. D. Sergi, S. D. Johnson, B. Kleinberg, "Testing hu- [21] FFHQ, “NVlabs/ffhq-dataset: Flickr-Faces-HQ Data-
man ability to detect ‘deepfake’ s of human faces", set (FFHQ)”, https://github.com/NVlabs/ffhq-data-
Journal of Cybersecurity, Vol. 9, No. 1, 2023. set (accessed: 2024)