Habibi Habibi
Universitas Amikom Yogyakarta

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Comparative Evaluation of Direct and Residual Self-Attention in Spatial-Frequency ResNet-18 for AI-Generated Image Detection Habibi Habibi; Robert Marco
Jurnal Pendidikan Informatika (EDUMATIC) Vol 10 No 3 (2026): Edumatic: Jurnal Pendidikan Informatika
Publisher : Universitas Hamzanwadi

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.29408/edumatic.v10i3.37027

Abstract

The effectiveness of attention mechanisms in spatial-frequency representations for AI-generated image detection remains insufficiently understood, particularly under controlled training conditions. This study comparatively evaluates Direct and Residual Self-Attention within a spatial-frequency ResNet-18 architecture. Using 60,000 development images and a separate 6,000-image holdout set from two public datasets, the initial experiments assessed spatial features, FFT-based frequency features, feature fusion, and attention integration. The results showed that Residual Self-Attention achieved the highest initial holdout performance, with 97.28% accuracy and 97.26% F1-score. However, additional controlled experiments using three random seeds and matched training budgets revealed that continued training without attention achieved the highest mean validation F1-score (97.26%), followed by Direct Self-Attention (97.19%) and Residual Self-Attention (97.14%). The residual-gate ablation further showed that attention integration did not consistently improve classification performance. These findings indicate that the initial performance advantage of Residual Self-Attention was not reproduced under controlled training conditions. This study provides empirical evidence that architectural improvements should be evaluated against matched-training baselines to distinguish genuine performance gains from differences attributable to training procedures.