Detection of AI-Generated Images Using Pretrained CNN Feature Extraction and Support Vector Machine Classification
Downloads
Because Generative AI, we now see highly realistic synthetic images that are difficult to distinguish from the real thing. This technology raises concerns about misinformation, the trustworthiness of digital content, and how people can misuse synthetic media. Therefore, finding an accurate and efficient way to detect AI-Generated images is a significant research challenge. In this research, we explore a hybrid image classification setup: we combine CNN-based feature extraction (using a pre-trained network) with SVM classification to determine which images are AI-Generated and which are real. For feature extraction, we use MobileNetV2, pre-trained on ImageNet, as the fixed extractor. Then, to classify these features, we use SVM with an RBF kernel. This experiment uses the Kaggle dataset AI Generated Images vs real Images, with a total of 975 images divided into training and testing sets with a stratified 80:20 split. Our model performs quite well: 84.1% accuracy, 81.8% precision, 91.7% recall, and an F1 score of 86.5%. The confusion matrix shows that the model is able to detect most of the AI-generated images, demonstrating its sensitivity to synthetic content. Overall, our CNN–SVM setup offers an effective and efficient alternative to full end-to-end deep learning methods for detecting these images. This holds promise for applications such as digital content verification, combating disinformation, and automated authenticity checking.
Aria, M. S. A., Slamet, C., Firdaus, M. D. (2025). Klasifikasi Fake dan Real Menggunakan Vision Transformer dan EfficientNet-B0 pada Gambar Asli dan Generatif AI. SMATIKA, 15(1), 179–192. https://doi.org/10.32664/smatika.v15i01.1531
Arrosyid, M. Z., Hermawan, A. & Sutarman, S. (2025). Analisis Perbandingan Model CNN Terhadap Klasifikasi Citra Komponen Elektronika. ALGORITME, 5(2), 152–163.
https://doi.org/10.35957/algoritme.v5i2.10259
Santosa, D. B., Wahana, A., Uriawan, W. (2025). Implementation Of Convolutional Neural Network Using Mobilenetv2 To Distinguish Human And Artificial Intelligence Mobilenetv2 Untuk Membedakan Hasil Karya Seni Lukis Manusia. JUTIF , 6(1), 441–452.
https://doi.org/10.52436/1.jutif.2025.6.1.3827
Subkhi, M. B., Setiawan, A. B., Chandra, M. Y. A. (2023). Klasifikasi Gambar : Membedakan Lukisan Buatan Manusia dan AI dengan CNN. PARADIGMA, 29(4), 149–155.
https://doi.org/10.33503/paradigma.v30i4.1284
Erwin, I. T., Arda, A. L., Taufik, I., rosyadi, S, M. E. R. & Erwin, H. A. (2025). Implementasi Model Deit Untuk Membedakan Gambar Buatan Ai Dan Manusia Pada Ilustrasi Animasi 2D. INTI, 19(2), 172–180. https://doi.org/10.33480/inti.v19i2.6306
Fitri, S. D., Lestari, D., Bintana, R. R., Aryani, R, Ilhami M. & Noverina Y. (2024). Implementasi Model Support Vector Machine Dalam Analisa Sentimen Masyarakat Mengenai Kebijakan Penerapan Aplikasi Mypertamina. BRIDGE, 2(2), 176–193. https://doi.org/10.62951/bridge.v2i3.180
Hakim, S. A., Ubaidillah, M., Ramadhan, A. R., Hawari, R. Z. A., Rizky, A. B., Lutfi, R., Hermanto, P. T. M. & Yudistira, N. (2024). Klasifikasi Citra Generasi Artificial Intelligence Menggunakan Ai Generated Image Classification Using Fine Tuning On Residual. JTIIK, 11(3), 655–666. https://doi.org/10.25126/jtiik.938118
Raharjo, T., Adristi, F. I., Romadhona, E. Y., Syahputra, R. S., Halim, M. Y., Rachman, M. A., Marjianto, R. N., Santycho, D., Kusuma, P. & Ramadhani, E. (2025). Analisis Forensik Deepfake Berbasis Convolutional Neural Network ( Cnn ) Untuk Deteksi Inkonsistensi. JATI, 9(2), 2731–2738. https://doi.org/10.36040/jati.v9i2.13058
Hardiyanto, A. & Akbar, M., (2025). Klasifikasi Citra Sintetis Hasil Model Difusi Menggunakan Gray Level Co-Occurrence Matrix ( GLCM ) Dan Convolutional Neural Network ( CNN ). JIKO, 9(3),572–582. https://doi.org/10.26798/jiko.v9i3.2033
Huwaida, F. S. , Widodo, S., & Elviani, U. (2025). Penyalahgunaan Deepfake dan Tantangan Tata Kelola AI: Tinjauan Literatur Sistematis. EduTIK, 5(6), 2590–2604.
Ibrahim, M. M., Rahmadewi, R., Nurpulaela, L. (2023). Pendeteksian Nominal Uang Pada Gambar Menggunakan Convolutional Neural Network : Integrasi Metode Pra- Pemrosesan Citra Dan Klasifikasi Berbasis Cnn. JATI, 7(2), 1395–1400. https://doi.org/10.36040/jati.v7i2.6863
Maulana, D., Azzahrah, N. S., Syach, R. A., Syauri, S., Syafi'i, M. & Rozikin, C. (2025). Identifikasi Konten Visual Buatan Ai Dengan Resnet Dan Fine-Grained Feature Extraction. Jurnal Informatika dan Teknik Elektro Terapan, 13(3), 1248-1256. https://doi.org/10.23960/jitet.v13i3S1.8056
Octalia, E., & Librianti, I. (2025). Deepfake Dalam Komunikasi Politik : Tantangan Etika dan Aspek Hukum Dalam Era Artificial Intelligence. Siyasah 05(2), 222–238.
https://doi.org/10.32332/siyasah.v4i1
Santosa, D. B., Wahana, A., Uriawan, W. (2025). Implementation Of Convolutional Neural Network Using Mobilenetv2 To Distinguish Human And Artificial Intelligence Mobilenetv2 Untuk Membedakan Hasil Karya Seni Lukis Manusia. JUTIF , 6(1), 441–452.
