Efficient Zero-Shot AI-Generated Image Detection
Ryosuke Sonoda (✉), Ramya Srinivasan · 2026
Read Efficient Zero-Shot AI-Generated Image Detection by Ryosuke Sonoda (✉), Ramya Srinivasan (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-21619.txt.
Introduction
Sonoda and Srinivasan detect AI-generated images without any training on generated examples. Trained detectors often fail on images from new generators, while training-free rivals can be slow and miss subtle traces. Their method perturbs an image in the frequency domain and measures how sensitive its representation is to that change. One Fourier transform per image keeps the cost low, giving far faster inference than most training-free detectors. On the OpenFake benchmark, the method raised AUC by nearly ten points over the prior best.
Catalog record
| CREATOR | Ryosuke Sonoda (✉), Ramya Srinivasan |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 31918 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.21619
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Efficient Zero-Shot AI-Generated Image Detection Ryosuke Sonoda (✉), Ramya Srinivasan Abstract The rapid progress of text-to-image models has made AI-generated images increasingly realistic, posing significant challenges for accurate detection of generated content. While training-based detectors often suffer from limited generalization to unseen images, training-free approaches offer better robustness, yet struggle to capture subtle discrepancies between real and synthetic images. In this work, we propose a training-free AI-generated image detection method that measures representation sensitivity to structured frequency perturbations, enabling detection of minute manipulations. The proposed method is computationally lightweight, as perturbation generation requires only a single Fourier transform for an input image. As a result, it achieves one to two orders of magnitude faster inference than most training-free detectors. Extensive experiments on challenging benchmarks demonstrate the efficacy of our method over state-of-the-art (SoTA). In particular, on OpenFake benchmark, our method improves AUC by nearly 10 % 10\% compared to SoTA, while maintaining substantially lower computational cost. 1 Introduction Rapid advancements in generative AI has brought with it both opportunities and challenges. While generative AI has ushered productivity gains across multiple sectors [ 21 ] , its proliferation has also increased the chances of various types of adversarial attacks and vulnerabilities [ 9 ] . The rise of AI generated deepfakes [ 17 ] , cyber espionage [ 2 ] , computer network attacks [ 14 ] , sockpuppet accounts [ 32 ] , and comment brigading [ 34 ] are just a handful of the many ways in which generative AI is being misused by malicious players. As a consequence, a variety of counter-measures are being developed towards detecting, mitigating, and preventing mis-use of generative AI. These include development of novel defense mechanisms, regulatory and policy measures [ 19 , 18 ] , among others. In particular, with the emergence of text to image (T2I) and text to video (T2V) foundation models, creating fake content has become easier than ever before. Thus, a major area of focus has been in detecting AI generated content (audio, text, images, and videos) [ 7 , 29 , 1 , 13 , 11 ] . Our work complements and augments aforementioned efforts in detecting AI generated content. In particular, the proposed method detects AI generated images in a training-free manner across a wide range of generation processes (SoTA diffusion and GAN based methods) and image domains (e.g., politics, society news), thereby demonstrating the generalizability and robustness of detection performance and applicability. Furthermore, the proposed method is computationally lightweight, achieving upto two orders of magnitude faster inference time when compared to most training-free detectors, thus making it a viable choice for deployment on edge devices. Our method is motivated by the observation that synthetic images contain frequency artifacts that cause systematically different responses in Vision Foundation Model (VFM) representations compared to real images. We therefore probe images using structured frequency perturbations and quantify the resulting representation sensitivity to distinguish real images from synthetic ones (Figure 1 ). Unlike prior training-free detectors that rely on large numbers of perturbed samples or repeated generative reconstruction, our method requires only a single Fourier transform and a single forward pass of an ViT, resulting in substantially lower computational cost. Extensive experiments on OpenFake [ 15 ] , GenImage [ 35 ] , and Semi-Truth [ 20 ] benchmarks spanning over a dozen of generative models demonstrate the improvement in detection accuracy and generalizability of the proposed approach over SoTA training-free detection methods [ 12 , 3 , 23 , 26 , 8 , 30 , 25 ] . (a) Overall procedure of our method. (b) UMAP visualization. Figure 1 : (a) Our method first generates a perturbed input by adding frequency-band-limited noise to each patch of the input image. These inputs are fed to Vision Transformer (ViT), then a Real/Fake classification is performed based on the distance between feature representations. (b) UMAP [ 16 ] projection of CLIP embeddings for original (blue, circle) and perturbed (orange, cross) images. The top panel corresponds to real images, and the bottom corresponds to fake (generated) images. As can be observed, real data exhibits distinct regions of original and perturbed images as opposed to fake data. For visualization purposes, we randomly sub-sampled 1,000 samples from OpenFake dataset 2 Related Work Detecting images generated by text-to-image (T2I) models has become an increasingly critical problem with the rapid advancement of generative models. Existing approaches for AI-generated image detection can be broadly divided into training-based and training-free methods. Training-based approaches rely on supervised learning with large-scale datasets containing both real and synthetic images, aiming to capture artifacts or biases introduced during the generation process. A line of work focuses on frequency-based cues, exploiting artificial features left by generators such as those generated by up-sampling in the frequency domain [ 28 , 6 ] . Other methods utilize reconstruction errors, where models are trained to reconstruct images, and detection is performed based on reconstruction discrepancies between real and generated images [ 31 ] . With the emergence of T2I models, recent studies further explore vision–language relationship by leveraging vision-language models such as CLIP to detect inconsistencies between images and their associated text prompts [ 27 , 24 , 4 ] . Despite their effectiveness within the training domain, these methods often struggle to generalize to unseen generative models. In contrast, training-free methods aim to achieve zero-shot generalization without relying on labeled training data. Reconstruction-based approaches employ pre-trained autoencoders or diffusion models to measure reconstruction discrepancies, under the assumption that real images deviate from the manifold of generators [ 23 , 12 , 3 ] . Also, adversarial text-driven reconstruction methods incorporate T2I generation priors to enable training-free detection [ 25 ] . Another line of work focuses on frequency-based analysis, where high-frequency components are used to identify statistical anomalies in generated images [ 5 , 33 ] . Perturbation-based methods further assess the robustness of image representations under controlled perturbations, often leveraging large pre-trained vision models to expose representation instability in real images [ 8 , 30 ] . Our approach follows the training-free paradigm but differs from existing methods by considering structured frequency-specific perturbations and semantic representations from a vision-language foundation model. By considering the sensitivity of the model to structured high-frequency perturbations, our method captures fine-grained discrepancies at a much lower computational cost compared to most SoTA training-free methods. 3 Method We aim to distinguish real images from synthetic ones by probing their response to structured high-frequency perturbations. In a training-free setting, we define a score function that quantifies the sensitivity of VFM representations to controlled perturbations in the frequency domain (Section 3.1 ). We adopt the vision encoder of CLIP [ 22 ] as a feature extractor and keep its parameters fixed during inference, while the choice of representation layer is detailed in Section 3.2 . 3.1 AI-generated Image Detection We propose to detect AI-generated images by analyzing their sensitivity of visual representations to structured high-frequency perturbations. Our underlying hypothesis is that compared to real images, synthetic images exhibit characteristic frequency biases induced by generator architectures and training data distribution, which may lead to different responses under targeted frequency perturbations. Given an input image x\in\mathbb{R}^{H\times W\times C} , we construct a frequency perturbation \delta