PiD: Generalized AI-Generated Images Detection with Pixelwise Decomposition Residuals
Xinghe Fu, Zhiyuan Yan, Zheng Yang, Taiping Yao, Yandan Zhao, Shouhong Ding, Xi Li
Abstract
Fake images, created by recently advanced generative models, have become increasingly indistinguishable from real ones, making their detection crucial, urgent, and challenging. This paper introduces PiD (Pixelwise Decomposition Residuals), a novel detection method that focuses on residual signals within images. Generative models are designed to optimize high-level semantic content (principal components), often overlooking lowlevel signals (residual components). PiD leverages this observation by disentangling residual components from images, encouraging the model to uncover more underlying and general forgery clues independent of semantic content. Compared to prior approaches that rely on reconstruction techniques or high-frequency information, PiD is computationally efficient and does not rely on any generative models for reconstruction. Specifically, PiD operates at the pixel level, mapping the pixel vector to another color space (e.g., YUV) and then quantizing the vector. The pixel vector is mapped back to the RGB space and the quantization loss is taken as the residual for AIGC detection. Our experiment results are striking and highly surprising: PiD achieves 98% accuracy on the widely used GenImage benchmark, highlighting the effectiveness and generalization performance.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 3b868949-a4d4-4e77-8c05-308e56d9d837Cited by top-tier papers3
- FiSeR: Fine-Grained Source Representations for Cross-Domain AI Image DetectionShan Zhang, Yongxin He, Mingming Zhang, Huiwen Tian et al.ICML 2026
- Dissect and Prune: Enhancing Robustness in AI-Generated Image DetectionDahye Kim, Jaehyun Choi, Hyun Seok Seong, Seongho Kim et al.ICML 2026
- Your AI-Generated Image Detector Can Secretly Achieve SOTA Accuracy, If CalibratedMuli Yang, Gabriel James Goenawan, Henan Wang, Huaiyuan Qin et al.AAAI 2026
Builds on30
- 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
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 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
Related papers
- STD-FD: Spatio-Temporal Distribution Fitting Deviation for AIGC Forgery IdentificationHengrui Lou, Zunlei Feng, Jinsong Geng, Erteng Liu et al.ICML 2025
- Spatial-Temporal Forgery Trace Based Forgery Image IdentificationYilin Wang, Zunlei Feng, Jiachi Wang, Hengrui Lou et al.ICCV 2025 · 1 citation
- Attribution as Retrieval: Model-Agnostic AI-Generated Image AttributionHongsong Wang, Renxi Cheng, Chaolei Han, Jie GuiCVPR 2026 · 4 citations
- SemGIR: Semantic-Guided Image Regeneration Based Method for AI-generated Image Detection and AttributionXiao Yu, Kejiang Chen, Kai Zeng, Han Fang et al.ACM MM 2024 · 8 citations
- FIND: A Simple Yet Effective Baseline for Diffusion-Generated Image DetectionJie Li, Yingying Feng, Chi Xie, Jie Hu et al.AAAI 2026
