Novel Deepfake Image Detection with PV-ISM: Patch-Based Vision Transformer for Identifying Synthetic Media
Source abstract
Abstract
This study presents a novel approach to the increasingly important task of distinguishing AI-generated images from authentic photographs. The detection of such synthetic content is critical for combating deepfake misinformation and ensuring the authenticity of digital media in journalism, forensics, and online platforms. A custom-designed Vision Transformer (ViT) model, termed Patch-Based Vision Transformer for Identifying Synthetic Media (PV-ISM), is introduced. Its performance is benchmarked against innovative transfer learning methods using 60,000 authentic images from the CIFAKE dataset, which is derived from CIFAR-10, along with a corresponding collection of images generated using Stable Diffusion 1.4. PV-ISM incorporates patch extraction, positional encoding, and multiple transformer blocks with attention mechanisms to identify subtle artifacts in synthetic images. Following extensive hyperparameter tuning, an accuracy of 96.60% was achieved, surpassing the performance of ResNet50 transfer learning approaches (93.32%) and other comparable methods reported in the literature. The experimental results demonstrate the model’s balanced classification capabilities, exhibiting excellent recall and precision throughout both image categories. The patch-based architecture of Vision Transformers, combined with appropriate data augmentation techniques, proves particularly effective for synthetic image detection while requiring less training time than traditional transfer learning approaches.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Digital Media Forensic Detection · Generative Adversarial Networks and Image Synthesis · Currency Recognition and Detection
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Engineering, Dokuz Eylul University, Izmir 35390, Turkey
References (77)
Show source-provided references
1. Application of Artificial Intelligence Virtual Image Technology in Photography Art Creation under Deep Learning
2. Artificial intelligence in an artistic practice: A journey through surrealism and generative arts
3. Liu, X., Wang, X., and Qian, R. (2025). Application of Machine Learning in Cell Detection. Targets, 3.10.3390/targets3010002 ↗
4. Ramirez-Quintana, J.A., Salazar-Gonzalez, E.A., Chacon-Murguia, M.I., and Arzate-Quintana, C. (2025). Novel Extreme-Lightweight Fully Convolutional Network for Low Computational Cost in Microbiological and Cell Analysis: Detection, Quantification, and Segmentation. Big Data Cogn. Comput., 9.10.3390/bdcc9020036 ↗
5. Lu, Y., Li, M., Gao, Z., Ma, H., Chong, Y., Hong, J., Wu, J., Wu, D., Xi, D., and Deng, W. (2025). Advances in Whole Genome Sequencing: Methods, Tools, and Applications in Population Genomics. Int. J. Mol. Sci., 26.10.3390/ijms26010372 ↗
6. Câmara, G.B.M., Coutinho, M.G.F., Silva, L.M.D.d., Gadelha, W.V.d.N., Torquato, M.F., Barbosa, R.d.M., and Fernandes, M.A.C. (2022). Convolutional Neural Network Applied to SARS-CoV-2 Sequence Classification. Sensors, 22.10.3390/s22155730 ↗
7. Mondol, R.K., Millar, E.K.A., Graham, P.H., Browne, L., Sowmya, A., and Meijering, E. (2023). hist2RNA: An Efficient Deep Learning Architecture to Predict Gene Expression from Breast Cancer Histopathology Images. Cancers, 15.10.3390/cancers15092569 ↗
8. Anand, V., Gupta, S., Gupta, D., Gulzar, Y., Xin, Q., Juneja, S., Shah, A., and Shaikh, A. (2023). Weighted Average Ensemble Deep Learning Model for Stratification of Brain Tumor in MRI Images. Diagnostics, 13.10.3390/diagnostics13071320 ↗
9. Li, W., and Hsu, C.-Y. (2022). GeoAI for Large-Scale Image Analysis and Machine Vision: Recent Progress of Artificial Intelligence in Geography. ISPRS Int. J. Geo-Inf., 11.10.3390/ijgi11070385 ↗
10. Xu, W., Yang, D., Liu, J., Li, Y., and Zhou, M. (2024). A Visual Navigation Algorithm for UAV Based on Visual-Geography Optimization. Drones, 8.10.3390/drones8070313 ↗
11. Jiang, C., Abdul Halin, A., Yang, B., Abdullah, L.N., Manshor, N., and Perumal, T. (2024). Res-UNet Ensemble Learning for Semantic Segmentation of Mineral Optical Microscopy Images. Minerals, 14.10.3390/min14121281 ↗
12. Neranjan, S., Uchida, T., Yamakawa, Y., Hiraoka, M., and Kawakami, A. (2024). Geometrical Variation Analysis of Landslides in Different Geological Settings Using Satellite Images: Case Studies in Japan and Sri Lanka. Remote Sens., 16.10.3390/rs16101757 ↗
13. Cai, J., Duan, Q., Long, M., Zhang, L.-B., and Ding, X. (2024). Feature Interaction-Based Face De-Morphing Factor Prediction for Restoring Accomplice’s Facial Image. Sensors, 24.10.3390/s24175504 ↗
14. Wu, B., Zhang, S., Gao, W., Bi, Y., and Hu, X. (2024). A Method for Fingerprint Edge Enhancement Based on Radial Hilbert Transform. Electronics, 13.10.3390/electronics13193886 ↗
15. Kim, S.-U., and Kim, J.-Y. (2025). The Development and Optimization of a Textile Image Processing Algorithm (TIPA) for Defect Detection in Conductive Textiles. Processes, 13.10.3390/pr13020486 ↗
16. Hassan, S.A., Beliatis, M.J., Radziwon, A., Menciassi, A., and Oddo, C.M. (2024). Textile Fabric Defect Detection Using Enhanced Deep Convolutional Neural Network with Safe Human–Robot Collaborative Interaction. Electronics, 13.10.3390/electronics13214314 ↗
17. Rana, S., Gerbino, S., Crimaldi, M., Cirillo, V., Carillo, P., Sarghini, F., and Maggio, A. (2024). Comprehensive Evaluation of Multispectral Image Registration Strategies in Heterogenous Agriculture Environment. J. Imaging, 10.10.2139/ssrn.4687970 ↗
18. Zhou, B., Wu, K., and Chen, M. (2024). Detection of Gannan Navel Orange Ripeness in Natural Environment Based on YOLOv5-NMM. Agronomy, 14.10.3390/agronomy14050910 ↗
19. Eum, I., Kim, J., Wang, S., and Kim, J. (2025). Heavy Equipment Detection on Construction Sites Using You Only Look Once (YOLO-Version 10) with Transformer Architectures. Appl. Sci., 15.10.3390/app15052320 ↗
20. Mariniuc, A.M., Cojocaru, D., and Abagiu, M.M. (2024). Building Surface Defect Detection Using Machine Learning and 3D Scanning Techniques in the Construction Domain. Buildings, 14.10.3390/buildings14030669 ↗
21. Wu, F., Jiang, X., Fu, T., Fu, Y., Xu, D., and Zhao, C. (2024). RSTSRN: Recursive Swin Transformer Super-Resolution Network for Mars Images. Appl. Sci., 14.10.3390/app14209286 ↗
22. NeuralCMS: A Deep Learning Approach to Study Jupiter’s Interior10.1051/0004-6361/202450223 ↗
23. Predicting Early Depression in WZT Drawing Image Based on Deep Learning10.1111/exsy.13675 ↗
24. Wang, M., Xu, A., Fan, C., and Sun, X. (2025). Machine Learning for Predicting Personality and Psychological Symptoms from Behavioral Dynamics. Electronics, 14.10.3390/electronics14030583 ↗
25. Mobile Computational Photography: A Tour10.1146/annurev-vision-093019-115521 ↗
26. Flores-Calero, M., Astudillo, C.A., Guevara, D., Maza, J., Lita, B.S., Defaz, B., Ante, J.S., Zabala-Blanco, D., and Armingol Moreno, J.M. (2024). Traffic Sign Detection and Recognition Using YOLO Object Detection Algorithm: A Systematic Review. Mathematics, 12.10.3390/math12020297 ↗
27. Duszejko, P., Walczyna, T., and Piotrowski, Z. (2025). Detection of Manipulations in Digital Images: A Review of Passive and Active Methods Utilizing Deep Learning. Appl. Sci., 15.10.3390/app15020881 ↗
28. Ahmed, S., Yoon, B., Sharma, S., Singh, S., and Islam, S. (2023). General Image Manipulation Detection Using Feature Engineering and a Deep Feed-Forward Neural Network. Mathematics, 11.10.3390/math11214537 ↗
29. Agarwal, S., and Jung, K.-H. (2023). Enhancing Low-Pass Filtering Detection on Small Digital Images Using Convolutional Neural Networks. Electronics, 12.10.3390/electronics12122637 ↗
30. Ziyadinov, V., and Tereshonok, M. (2023). Low-Pass Image Filtering to Achieve Adversarial Robustness. Sensors, 23.10.20944/preprints202309.0946.v1 ↗
31. Zhang, J., Chen, C., Chen, K., Ju, M., and Zhang, D. (2023). Local Adaptive Image Filtering Based on Recursive Dilation Segmentation. Sensors, 23.10.3390/s23135776 ↗
32. Rendón-Castro, Á.A., Mújica-Vargas, D., Luna-Álvarez, A., and Vianney Kinani, J.M. (2023). Enhancing Image Quality via Robust Noise Filtering Using Redescending M-Estimators. Entropy, 25.10.3390/e25081176 ↗
33. Hartbauer, M. (2023). A Simple Denoising Algorithm for Real-World Noisy Camera Images. J. Imaging, 9.10.3390/jimaging9090185 ↗
34. Pellicer, A.L., Li, Y., and Angelov, P. (2024, January 17–18). PUDD: Towards Robust Multi-modal Prototype-based Deepfake Detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPRW63382.2024.00385 ↗
35. Quantifying the Performance Gap between Real and AI-Generated Synthetic Images in Computer Vision
36. Gallagher, J., and Pugsley, W. (2024). Development of a Dual-Input Neural Model for Detecting AI-Generated Imagery. arXiv.
37. Bartos, G.E., and Akyol, S. (2023, January 16). Deep Learning for Image Authentication: A Comparative Study on Real and AI-Generated Image Classification. Proceedings of the AIS 2023, 18th International Symposium on Applied Informatics and Related Areas, Szekesfehervar, Hungary.
38. Classification of Diverse AI Generated Content: An In-Depth Exploration using Machine Learning and Knowledge Graphs
39. Cifake: Image Classification and Explainable Identification of AI-Generated Synthetic Images10.1109/ACCESS.2024.3356122 ↗
40. Transfer Learning-based Generated Synthetic Images Identification Model
41. Hossain, M.Z., Zaman, F.U., and Islam, M.R. (2023, January 20–22). Advancing AI-Generated Image Detection: Enhanced Accuracy through CNN and Vision Transformer Models with Explainable AI Insights. Proceedings of the 2023 26th International Conference on Computer and Information Technology (ICCIT), Dhaka, Bangladesh.10.1109/ICCIT60459.2023.10440990 ↗
42. Hayathunnisa, V., Kuppusamy, P., and Manimaran, A. (2023, January 15–17). Art of Detection: Custom CNN and VGG19 for Accurate Real Vs Fake Image Identification. Proceedings of the 2023 6th International Conference on Recent Trends in Advance Computing (ICRTAC), Chennai, India.
43. Detection of AI-Generated Synthetic Images with a Lightweight CNN10.3390/ai5030076 ↗
44. Muthaiah, U., Divya, A., Swarnalaxmi, T.N., and Vidhyasagar, B.S. (2024, January 9–12). A Comparative Review of AI-Generated vs Real Images and Classification Techniques. Proceedings of the 2024 4th International Conference on Ubiquitous Computing and Intelligent Information Systems (ICUIS), Kyoto, Japan.10.1109/ICUIS64676.2024.10866220 ↗
45. Wang, Y., Hao, Y., and Cong, A.X. (2024). Harnessing Machine Learning for Discerning AI-Generated Synthetic Images. arXiv.
46. Gupta, A.S., Shreneter, K.P., and Sehgal, S. (2024, January 6–8). Visual Veracity: Advancing AI-Generated Image Detection with Convolutional Neural Networks. Proceedings of the 2024 11th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, India.10.1109/ICRITO61523.2024.10522113 ↗
47. Transfer Learning-Based Models for Comparative Evaluation for the Detection of AI-Generated Images10.52783/jes.3244 ↗
48. Tanfoni, M., Ceroni, E.G., Marziali, S., Pancino, N., Maggini, M., and Bianchini, M. (2024). Generated or Not Generated (GNG): The Importance of Background in the Detection of Fake Images. Electronics, 13.10.3390/electronics13163161 ↗
49. Lanzino, R., Fontana, F., Diko, A., Marini, M.R., and Cinque, L. (2024, January 17–18). Faster Than Lies: Real-time Deepfake Detection using Binary Neural Networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA.10.1109/CVPRW63382.2024.00381 ↗
50. Rössler, A., Cozzolino, D., Verdoliva, L., Riess, C., Thies, J., and Nießner, M. (November, January 27). Faceforensics++: Learning to Detect Manipulated Facial Images. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
51. Ali, S.S., Ganapathi, I.I., Vu, N.S., Ali, S.D., Saxena, N., and Werghi, N. (2022). Image Forgery Detection Using Deep Learning by Recompressing Images. Electronics, 11.10.3390/electronics11030403 ↗
52. Qazi, E.U.H., Zia, T., and Almorjan, A. (2022). Deep Learning-Based Digital Image Forgery Detection System. Appl. Sci., 12.10.3390/app12062851 ↗
53. Taspinar, Y.S., and Cinar, I. (2024, January 2–5). Distinguishing Between AI Images and Real Images with Hybrid Image Classification Methods. Proceedings of the 2024 13th Mediterranean Conference on Embedded Computing (MECO), Budva, Montenegro.10.1109/MECO62516.2024.10577770 ↗
54. Genimage: A Million-Scale Benchmark for Detecting AI-Generated Image
55. Castillo Camacho, I., and Wang, K. (2021). A Comprehensive Review of Deep-Learning-Based Methods for Image Forensics. J. Imaging, 7.10.3390/jimaging7040069 ↗
56. Maurício, J., Domingues, I., and Bernardino, J. (2023). Comparing Vision Transformers and Convolutional Neural Networks for Image Classification: A Literature Review. Appl. Sci., 13.10.3390/app13095521 ↗
57. Convolutional Neural Networks for Medical Image Analysis: State-of-the-Art, Comparisons, Improvement, and Perspectives10.1016/j.neucom.2020.04.157 ↗
58. Krizhevsky, A., and Hinton, G. (2009). Learning Multiple Layers of Features from Tiny Images, University of Toronto. Available online: https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf.
59. Laion-5B: An Open Large-Scale Dataset for Training Next Generation Image-Text Models
60. Rombach, R., Blattmann, A., Lorenz, D., Esser, P., and Ommer, B. (2022, January 19–24). High-resolution image synthesis with latent diffusion models. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01042 ↗
61. Nachmani, E., Roman, R.S., and Wolf, L. (2021). Non Gaussian Denoising Diffusion Models. arXiv.
62. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. arXiv.
63. Image Classification Based on CNN: A Survey
64. Luo, C., Zhang, Q., Zhang, S., Zhang, Y., Xu, Z., Li, J., and He, Y. (2018, January 12–14). How Does the Data Set Affect CNN-Based Image Classification Performance?. Proceedings of the 2018 5th International Conference on Systems and Informatics (ICSAI), Shanghai, China.10.1109/ICSAI.2018.8599448 ↗
65. Investigation of Different CNN-Based Models for Improved Bird Sound Classification10.1109/ACCESS.2019.2957572 ↗
66. Attention is All You Need
67. Xiong, R., Yang, Y., He, D., Zheng, K., Zheng, S., Xing, C., Zhang, H., Lan, Y., Wang, L., and Liu, T.-Y. (2020). On Layer Normalization in the Transformer Architecture. arXiv.
68. Impact of Hidden Dense Layers in Convolutional Neural Network to Enhance Performance of Classification Model
69. Dropout: A Simple Way to Prevent Neural Networks from Overfitting
70. Manaswi, N.K., and Manaswi, N.K. (2018). Regression to MLP in Keras. Deep Learning with Applications Using Python: Chatbots and Face, Object, and Speech Recognition with TensorFlow and Keras, Apress.10.1007/978-1-4842-3516-4_5 ↗
71. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
72. Facial Expression Recognition via ResNet-50
73. Rezende, E., Ruppert, G., Carvalho, T., Ramos, F., and De Geus, P. (2017, January 18–21). Malicious Software Classification Using Transfer Learning of ResNet-50 Deep Neural Network. Proceedings of the 2017 16th IEEE International Conference on Machine Learning and Applications (ICMLA), Las Vegas, NV, USA.10.1109/ICMLA.2017.00-19 ↗
74. Al-Haija, Q.A., and Adebanjo, A. (2020, January 7–9). Breast Cancer Diagnosis in Histopathological Images Using ResNet-50 Convolutional Neural Network. Proceedings of the 2020 IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS), Barcelona, Spain.10.1109/IEMTRONICS51293.2020.9216455 ↗
75. Karras, T., Samuli, L., and Aila, T. (2019, January 15–20). A Style-Based Generator Architecture for Generative Adversarial Networks. Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00453 ↗
76. Bojan, T. (2025, June 01). 1 Million Fake Faces on Kaggle, Available online: https://www.kaggle.com/c/deepfake-detection-challenge/discussion/121173.
77. Various Artists (2025, June 01). Real and Fake (AI-Generated) Art Images Dataset, Available online: https://www.kaggle.com/datasets/doctorstrange420/real-and-fake-ai-generated-art-images-dataset.