Any-Resolution AI-Generated Image Detection by Spectral Learning
Dimitrios Karageorgiou, Symeon Papadopoulos, Ioannis Kompatsiaris, Efstratios Gavves
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 stateof-the-art across 13 recent generative approaches, while exhibiting robustness against common online perturbations. Code is available on https://mever-team.github.io/spai . Recently, the idea of modeling the distribution of real images emerged as an alternative to learning to capture the artifacts introduced by specific detectors [9] . Under this
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FiSeR: Fine-Grained Source Representations for Cross-Domain AI Image Detection cites Learning Transferable Visual Models From Natural Language Supervision
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- On Improving Robustness of Deepfake Image Detectors cites High-Resolution Image Synthesis with Latent Diffusion Models
- On Improving Robustness of Deepfake Image Detectors cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- On Improving Robustness of Deepfake Image Detectors cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- On Improving Robustness of Deepfake Image Detectors cites Learning Transferable Visual Models From Natural Language Supervision
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Denoising Diffusion Probabilistic Models
- Detect Any AI-Counterfeited Text Image cites Dual Data Alignment Makes AI-Generated Image Detector Easier Generalizable
- Dual Data Alignment Makes AI-Generated Image Detector Easier Generalizable cites High-Resolution Image Synthesis with Latent Diffusion Models
- Dual Data Alignment Makes AI-Generated Image Detector Easier Generalizable cites Denoising Diffusion Probabilistic Models
- Deep Residual Injection for Full-Spectrum Forensic Signal Perception in Multimodal Large Language Models cites Dual Data Alignment Makes AI-Generated Image Detector Easier Generalizable
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Cited by top-tier papers6
- Dual Data Alignment Makes AI-Generated Image Detector Easier GeneralizableRuoxin Chen, Junwei Xi, Zhiyuan Yan, Ke-Yue Zhang et al.NeurIPS 2025 · 78 citations
- On Improving Robustness of Deepfake Image DetectorsAbu Taib Mohammed Shahjahan, Mohammad Mannan, Abdessamad Ben Hamza, Amr YoussefUSENIX Security 2026 · 1 citation
- Deep Residual Injection for Full-Spectrum Forensic Signal Perception in Multimodal Large Language ModelsKaiqing Lin, Zhiyuan Yan, Ruoxin Chen, Ke-Yue Zhang et al.ICML 2026 · 1 citation
- FiSeR: Fine-Grained Source Representations for Cross-Domain AI Image DetectionShan Zhang, Yongxin He, Mingming Zhang, Huiwen Tian et al.ICML 2026
- Detect Any AI-Counterfeited Text ImageChenfan Qu, Yiwu Zhong, Xuekang Zhu, Junchi Li et al.CVPR 2026
Builds on24
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
Related papers
- Spectral Distribution Aware Image GenerationSteffen Jung, Margret KeuperAAAI 2021 · 42 citations
- Beyond Semantic Features: Pixel-level Mapping for Generalized AI-Generated Image DetectionChenming Zhou, Jiaan Wang, Yu Li, Lei Li et al.AAAI 2026 · 1 citation
- Breaking Semantic Artifacts for Generalized AI-generated Image DetectionChende Zheng, Chenhao Lin, Zhengyu Zhao, Hang Wang et al.NeurIPS 2024 · 57 citations
- StealthDiffusion: Towards Evading Diffusion Forensic Detection through Diffusion ModelZiyin Zhou, Ke Sun, Zhongxi Chen, Huafeng Kuang et al.ACM MM 2024 · 7 citations
- Improving Generalization for AI-Synthesized Voice DetectionHainan Ren, Li Lin, Chun-Hao Liu, Xin Wang et al.AAAI 2025 · 13 citations
