[Paper Review] PatchCraft: Exploring Texture Patch for Efficient AI-generated Image Detection
This paper proposes PatchCraft, a universal AI-generated image detector that exploits inter-pixel correlation contrast between rich and poor texture patches to detect fake images across diverse generative models. By reconstructing images from texture-contrast patches and extracting universal fingerprint features, it achieves 89.31% average accuracy, outperforming state-of-the-art methods by ~5% on a new benchmark with 16 generative models.
Recent generative models show impressive performance in generating photographic images. Humans can hardly distinguish such incredibly realistic-looking AI-generated images from real ones. AI-generated images may lead to ubiquitous disinformation dissemination. Therefore, it is of utmost urgency to develop a detector to identify AI generated images. Most existing detectors suffer from sharp performance drops over unseen generative models. In this paper, we propose a novel AI-generated image detector capable of identifying fake images created by a wide range of generative models. We observe that the texture patches of images tend to reveal more traces left by generative models compared to the global semantic information of the images. A novel Smash&Reconstruction preprocessing is proposed to erase the global semantic information and enhance texture patches. Furthermore, pixels in rich texture regions exhibit more significant fluctuations than those in poor texture regions. Synthesizing realistic rich texture regions proves to be more challenging for existing generative models. Based on this principle, we leverage the inter-pixel correlation contrast between rich and poor texture regions within an image to further boost the detection performance. In addition, we build a comprehensive AI-generated image detection benchmark, which includes 17 kinds of prevalent generative models, to evaluate the effectiveness of existing baselines and our approach. Our benchmark provides a leaderboard for follow-up studies. Extensive experimental results show that our approach outperforms state-of-the-art baselines by a significant margin. Our project: https://fdmas.github.io/AIGCDetect
Motivation & Objective
- Address the urgent need for robust, generalizable detectors to identify increasingly realistic AI-generated images that fuel disinformation.
- Overcome the limitation of existing detectors that suffer sharp performance drops when detecting images from unseen generative models.
- Develop a universal fingerprint feature based on intrinsic differences in texture region complexity that remains consistent across diverse generative models.
- Establish a comprehensive benchmark to fairly evaluate and compare AI-generated image detectors across 16 prevalent generative models and commercial APIs.
- Demonstrate that inter-pixel correlation contrast between rich and poor texture regions serves as a reliable, model-agnostic signal for fake image detection.
Proposed method
- Divide input images into spatial patches and reconstruct two versions: one with rich-texture patches and one with poor-texture patches, to isolate texture-based features.
- Apply a Smash&Reconstruction (S&R) procedure to erase semantic content, ensuring the detector relies only on low-level texture statistics and not on high-level semantics.
- Extract inter-pixel correlation contrast features between rich and poor texture regions using high-pass filters to detect artificial texture patterns.
- Leverage the inherent difficulty of generative models in synthesizing high-entropy rich texture regions from random noise as a universal fingerprint for detection.
- Train a single classifier on ProGAN-generated fake images and evaluate generalization across unseen models including Stable Diffusion, BigGAN, Midjourney, and DALL-E 2.
- Use high-pass filtering across patch boundaries to enhance detection of artificial texture variations and reduce blocking artifacts.
Experimental results
Research questions
- RQ1Can inter-pixel correlation contrast between rich and poor texture regions serve as a universal fingerprint for detecting AI-generated images across diverse generative models?
- RQ2How does the proposed method perform in zero-shot generalization when tested on unseen generative models like Midjourney and Stable Diffusion?
- RQ3To what extent does removing semantic information via patch reconstruction improve robustness and generalization of the detector?
- RQ4What is the contribution of each component—Smash&Reconstruction, boundary filtering, and contrast feature extraction—to overall detection accuracy?
- RQ5Can a unified benchmark with 16 generative models and multiple detectors enable fair and comprehensive evaluation of AI-generated image detection methods?
Key findings
- The proposed PatchCraft detector achieves an average detection accuracy of 89.31% across 16 diverse generative models, outperforming state-of-the-art baselines by approximately 5 percentage points on average.
- The ablation study shows that removing the Smash&Reconstruction (S&R) component reduces accuracy to 73.34%, indicating that semantic suppression is critical for generalization.
- The boundary-aware high-pass filtering component contributes significantly, with accuracy dropping by 3.43% when removed, highlighting its role in detecting patch-level artifacts.
- The contrast-based feature extraction (w/o Contrast) still outperforms spatial input (w/o S&R), confirming that texture contrast is a more effective signal than raw image features.
- The detector generalizes effectively to unseen models: it achieves 94.57% accuracy on SDv1.5 and 96.75% on DALL-E 2, despite being trained only on ProGAN data.
- The comprehensive benchmark includes 16 generative models and 8 detectors, with a publicly available leaderboard to support future research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.