CO-SPY: Combining Semantic and Pixel Features to Detect Synthetic Images by AI
Siyuan Cheng, Lingjuan Lyu, Zhenting Wang, Xiangyu Zhang, Vikash Sehwag
Abstract
With the rapid advancement of generative AI, it is now possible to synthesize high-quality images in a few seconds. Despite the power of these technologies, they raise significant concerns regarding misuse. Current efforts to distinguish between real and AI-generated images may lack generalization, being effective for only certain types of generative models and susceptible to post-processing techniques like JPEG compression. To overcome these limitations, we propose a novel framework, CO-SPY, that first enhances existing semantic features (e.g., the number of fingers in a hand) and artifact features (e.g., pixel value differences), and then adaptively integrates them to achieve more general and robust synthetic image detection. Additionally, we create CO-SPYBENCH, a comprehensive dataset comprising 5 real image datasets and 22 state-of-the-art generative models, including the latest models like FLUX. We also collect 50k synthetic images in the wild from the Internet to enable evaluation in a more practical setting. Our extensive evaluations demonstrate that our detector outperforms existing methods under identical training conditions, achieving an average accuracy improvement of approximately 11% to 34%. The code is available at https://github.com/Megum1/Co-Spy .
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.
15 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
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- Breaking Latent Prior Bias in Detectors for Generalizable AIGC Image Detection cites High-Resolution Image Synthesis with Latent Diffusion Models
- Breaking Latent Prior Bias in Detectors for Generalizable AIGC Image Detection cites Learning Transferable Visual Models From Natural Language Supervision
- Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes cites High-Resolution Image Synthesis with Latent Diffusion Models
- Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes cites A ConvNet for the 2020s
- Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes cites FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies
- Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes cites Diffusion Models Beat GANs on Image Synthesis
- Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes cites Learning Transferable Visual Models From Natural Language Supervision
- Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes cites Towards Generalizable AI-Generated Image Detection via Image-Adaptive Prompt Learning
- Towards Generalizable AI-Generated Image Detection via Image-Adaptive Prompt Learning cites Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes
- FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies cites High-Resolution Image Synthesis with Latent Diffusion Models
- FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies cites Diffusion Models Beat GANs on Image Synthesis
- FerretNet: Efficient Synthetic Image Detection via Local Pixel Dependencies cites Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Towards Generalizable AI-Generated Image Detection via Image-Adaptive Prompt Learning cites High-Resolution Image Synthesis with Latent Diffusion Models
- Towards Generalizable AI-Generated Image Detection via Image-Adaptive Prompt Learning cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers15
- Breaking Latent Prior Bias in Detectors for Generalizable AIGC Image DetectionYue Zhou, Xinan He, Kaiqing Lin, Bing Fan et al.NeurIPS 2025 · 29 citations
- Veritas: Generalizable Deepfake Detection via Pattern-Aware ReasoningHao Tan, Jun Lan, Zichang Tan, Senyuan Shi et al.ICLR 2026 · 26 citations
- FerretNet: Efficient Synthetic Image Detection via Local Pixel DependenciesShuqiao Liang, Jian Liu, Renzhang Chen, Quanlong GuanNeurIPS 2025 · 16 citations
- Scaling Up AI-Generated Image Detection with Generator-Aware PrototypesZiheng Qin, Yuheng Ji, Renshuai Tao, Yuxuan Tian et al.CVPR 2026 · 10 citations
- Towards Generalizable AI-Generated Image Detection via Image-Adaptive Prompt LearningYiheng Li, Zichang Tan, Guoqing Xu, Zhen Lei et al.CVPR 2026 · 8 citations
Builds on27
- 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
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
Related papers
- Your One-Stop Solution for AI-Generated Video DetectionLong Ma, Zihao Xue, Yan Wang, Zhiyuan Yan et al.CVPR 2026 · 13 citations
- GenVidBench: A 6-Million Benchmark for AI-Generated Video DetectionZhenliang Ni, Qiangyu Yan, Mouxiao Huang, Tianning Yuan et al.AAAI 2026 · 13 citations
- Community Forensics: Using Thousands of Generators to Train Fake Image DetectorsJeongsoo Park, Andrew OwensCVPR 2025
- RealHD: A High-Quality Dataset for Robust Detection of State-of-the-Art AI-Generated ImagesHanzhe Yu, Yun Ye, Jintao Rong, Qi Xuan et al.ACM MM 2025 · 1 citation
- A Sanity Check for AI-generated Image DetectionShilin Yan, Ouxiang Li, Jiayin Cai, Yanbin Hao et al.ICLR 2025
