Introduction
The rapid proliferation of generative AI (GenAI) has led to an influx of synthetic imagery, making the distinction between "real" and "fake" increasingly difficult. Traditional detection methods, which often rely on specific architectural artifacts like GAN-induced checkerboard patterns, are becoming obsolete as modern Diffusion Models (DMs) produce more seamless results. While large-scale vision-language models like CLIP offer high performance, they are computationally intensive and often fail to generalize to unseen generative architectures.
This research introduces Perceptual Classifiers, a novel approach that leverages Image Quality Assessment (IQA) models to detect synthetic content. By shifting the focus from artifact detection to the assessment of "naturalness," these classifiers achieve superior generalization and efficiency.
Methodology
The core innovation lies in repurposing pre-trained, No-Reference IQA (NR-IQA) models—such as CONTRIQUE, ReIQA, and ARNIQA—as feature extractors. These models are inherently designed to identify deviations from the statistical manifold of natural images.
The training process involves:
- Feature Extraction: Utilizing frozen IQA backbones to capture perceptually relevant features.
- Lightweight Classification: Attaching a simple two-layer neural network to the extracted features.
- Hybrid Loss Function: Combining Binary Cross-Entropy with Contrastive Loss to cluster "real" features while isolating "fake" ones in the feature space.
- Robust Augmentation: Applying heavy distortions (e.g., Gaussian blur, JPEG compression) during training to ensure the model learns fundamental structural differences rather than superficial noise patterns.
Key Insights: The Naturalness Manifold
IQA models are trained to measure how much an image deviates from "natural" statistics. Even high-fidelity GenAI models often leave subtle traces or fail to replicate the full complexity of the natural image manifold. The researchers found that IQA models trained via self-supervised learning (like CONTRIQUE) are particularly effective, as they learn a general representation of image distortions rather than just mapping to human-assigned quality scores. This makes them exceptionally "pre-tuned" to notice the discrepancies inherent in AI-generated content.
Experimental Results
The proposed method was benchmarked against major datasets including DRCT-2M and GenImage. The CONTRIQUE-based classifier achieved a state-of-the-art mean accuracy (mAcc) of 90.04% on the GenImage dataset, significantly outperforming CLIP-based models (75.31%) and previous specialized detectors like UnivFD.
Beyond raw accuracy, the models demonstrated remarkable zero-shot generalization. A classifier trained solely on Stable Diffusion v1.4 could accurately detect images from Midjourney and BigGAN. Furthermore, the ReIQA-based variant showed high robustness to image degradations, maintaining performance even under significant Gaussian blur where other models failed.
Conclusion
Perceptual Classifiers offer a robust, efficient, and highly generalizable solution for AI-image detection. By leveraging the existing expertise of IQA models in identifying "unnatural" image statistics, this approach bypasses the need for massive, computationally expensive transformers. Future work will explore extending these perceptual features to video domains and adapting to the next generation of high-fidelity generative models.
Summary updated