Any-Resolution AI-Generated Image Detection by Spectral Learning

Open Access
Authors
Publication date 2025
Book title 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition : CVPR 2025
Book subtitle Nashville, Tennessee, USA, 11-15 June 2025 : proceedings
ISBN
  • 9798331543655
ISBN (electronic)
  • 9798331543648
Event 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025
Pages (from-to) 18706-18717
Publisher Los Alamitos, California: IEEE Computer Society
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
Recent works have established that AI models introduce spectral artifacts into generated images and propose approaches for learning to capture them using labeled data. However, the significant differences in such artifacts among different generative models hinder these approaches from generalizing to generators not seen during training. In this work, we build upon the key idea that the spectral distribution of real images constitutes both an invariant and highly discriminative pattern for AI-generated image detection. To model this under a self-supervised setup, we employ masked spectral learning using the pretext task of frequency reconstruction. Since generated images constitute out-of-distribution samples for this model, we propose spectral reconstruction similarity to capture this divergence. Moreover, we introduce spectral context attention, which enables our approach to efficiently capture subtle spectral inconsistencies in images of any resolution. Our spectral AI-generated image detection approach (SPAI) achieves a 5.5% absolute improvement in AUC over the previous state-of-the-art across 13 recent generative approaches, while exhibiting robustness against common online perturbations. Code is available on https://mever-team.github.io/spai.
Document type Conference contribution
Note With supplemental material
Language English
Published at https://doi.org/10.48550/arXiv.2411.19417 https://doi.org/10.1109/CVPR52734.2025.01743
Published at https://openaccess.thecvf.com/content/CVPR2025/html/Karageorgiou_Any-Resolution_AI-Generated_Image_Detection_by_Spectral_Learning_CVPR_2025_paper.html
Other links https://mever-team.github.io/spai https://www.proceedings.com/81231.html
Downloads
Supplementary materials
Permalink to this page
Back