Analysis and Accuracy Improvement of Deep Learning Models for Ai-Generated Image Detection
DOI:
https://doi.org/10.37012/jtik.v12i2.4025Abstract
The rapid development of generative artificial intelligence makes authentic photographs increasingly difficult to distinguish from AI-generated images. This study analyzes EfficientNet-B3 and improves the detector using a Convolutional Block Attention Module (CBAM). A balanced subset of 5,000 CIFAKE images was used, containing 2,500 REAL and 2,500 AI-generated images. After duplicate bytes were removed, 4,000 images were allocated to stratified five-fold cross-validation and 1,000 images were retained as a held-out test set. Images were resized to 300×300 pixels and processed using gray-world color normalization, contrast enhancement, and training augmentation. The baseline achieved 88.25±1.20% validation accuracy and an 88.28±1.14% F1-score, whereas the initial CBAM configuration achieved 87.52±0.90% and 87.49±0.94%. However, the five-checkpoint CBAM ensemble reached 89.00% test accuracy and an 88.98% F1-score, improvements of 0.80 and 0.85 percentage points over the baseline ensemble. Ablation showed that CBAM-last achieved an 88.32% validation F1-score. The findings indicate that appropriate attention placement and checkpoint ensembling can improve performance; external test sets are recommended to assess generalization.
The rapid development of generative artificial intelligence makes authentic photographs increasingly difficult to distinguish from AI-generated images. This study analyzes EfficientNet-B3 and improves the detector using a Convolutional Block Attention Module (CBAM). A balanced subset of 5,000 CIFAKE images was used, containing 2,500 REAL and 2,500 AI-generated images. After duplicate bytes were removed, 4,000 images were allocated to stratified five-fold cross-validation and 1,000 images were retained as a held-out test set. Images were resized to 300×300 pixels and processed using gray-world color normalization, contrast enhancement, and training augmentation. The baseline achieved 88.25±1.20% validation accuracy and an 88.28±1.14% F1-score, whereas the initial CBAM configuration achieved 87.52±0.90% and 87.49±0.94%. However, the five-checkpoint CBAM ensemble reached 89.00% test accuracy and an 88.98% F1-score, improvements of 0.80 and 0.85 percentage points over the baseline ensemble. Ablation showed that CBAM-last achieved an 88.32% validation F1-score. The findings indicate that appropriate attention placement and checkpoint ensembling can improve performance; external test sets are recommended to assess generalization.
Downloads
Published
Issue
Section
Citation Check
License
Copyright (c) 2026 Otniel Putra Zebua, Dhani Ariatmanto

This work is licensed under a Creative Commons Attribution 4.0 International License.
Jurnal Teknologi Informatika dan Komputer allows readers to read, download, copy, distribute, print, search, or link to the full texts of its articles and allow readers to use them for any other lawful purpose. The journal allows the author(s) to hold the copyright without restrictions. Finally, the journal allows the author(s) to retain publishing rights without restrictions Authors are allowed to archive their submitted article in an open access repository Authors are allowed to archive the final published article in an open access repository with an acknowledgment of its initial publication in this journal.

Jurnal Teknlogi Informatika dan Komputer is licensed under a Creative Commons Attribution 4.0 International License.









