Fleet: Few Shots Lead Effective AI-generated Image Detection


Abstract

AI-generated image (AIGI) detection is undergoing a critical transition from laboratory benchmarks to open-world adversarial defense. The prevalent paradigm focuses on finding static feature spaces, assuming that some invariant artifacts learned from historical data can achieve universal zero-shot generalization. While achieving saturation on several AIGI benchmarks, this static hypothesis suffers a severe performance drop against rapidly evolving generators (e.g., SD3, Nano Banana Pro). To address these limitations, we propose that the field should expand beyond “static generalization” to a new paradigm of “dynamic adaptation”. We introduce Fleet, a framework that pioneers a dynamic paradigm of continuous few-shot evolution, enabling rapid alignment with emerging generative threats. Fleet improves few-shot adaptation by replacing unconstrained feature updates with constrained routing correction, where avoidance routing redirects novel AI samples away from Non-AI-dominated routes within decoupled subspaces. To validate this, we present Treasure, a benchmark spanning 64 models and 360k images, featuring diverse architectures and 20 closed-source commercial engines. Experiments reveal that while static SOTA methods fail catastrophically on modern generators, Fleet restores performance from 20.4% to 73.1% with only 10-shot adaptation on “Doubao Seedream 4.0”. Code and data are available at https://github.com/ICTMCG/Fleet.

1 Introduction↩︎

AIGI detection is characterized by a strong adversarial nature driven by the rapid evolution of generative models. In the early stages, detection methods achieved remarkable success by exploiting explicit low-level artifacts, such as periodic upsampling anomalies in the frequency domain [1], [2] or structural inconsistencies rooted in neighborhood pixel relationships [3]. With the rise of diffusion models, the paradigm evolved to leverage reconstruction discrepancies [4], intrinsic forgery subspaces [5], [6], or pixel-level trajectories [7]. More recently, to mitigate semantic overfitting, researchers have pivoted to harnessing the rich priors of large-scale foundation models, fusing high-level semantics with forensic features [8][12]. Crucially, despite their methodological differences, these paradigms all operate under the “static artifact hypothesis”: they assume that by extracting intrinsically invariant features from historical data, a detector can achieve universal zero-shot generalization against unseen, future generative models. Under this hypothesis, current state-of-the-art (SOTA) methods have demonstrated near-perfect performance on established benchmarks like GenImage [13], creating a widespread perception that the task is largely solved within these closed-set environments.

However, image generation is witnessing an explosion, spanning from Generative Adversarial Networks [14][16] to Diffusion Models [17][19] and emerging Autoregressive Transformers MaskGit?. This evolution introduces unpredictable artifacts that lead to significant shifts in generative distribution. Thus, the decision boundaries of static models fail to segregate novel forgery features from the seen data manifold, rendering pre-trained “invariant” features ineffective. Consequently, we observe a catastrophic performance collapse against these unseen models: as evidenced in Figure 1 (b), SOTA detectors that achieve saturation on GenImage plummet to near-random or even 0.12% accuracy when tested against advanced closed-source engines like Nano Banana Pro. This dramatic failure underscores a critical reality: strictly adhering to a fixed feature space is no longer viable for open-world defense, where the adversary is continuously evolving.

To address these limitations, we propose a paradigm shift from “static generalization” to “dynamic adaptation.” Instead of seeking a universal “silver bullet” feature, we advocate for a forensic system capable of evolving alongside the adversary. To this end, we introduce Fleet, a framework that pioneers a dynamic paradigm of continuous few-shot evolution, enabling rapid alignment with emerging generative threats. By shifting the core objective from discovering static invariants to constructing a malleable decision space, Fleet allows for precise adaptation to novel artifacts while constraining the drift of the Non-AI manifold.

Specifically, Fleet reformulates adaptation as information flow regulation via a mutually exclusive subspace routing framework. Leveraging orthogonal constraints encourages distinct routing preferences over Non-AI-oriented and AI-oriented subspaces. Crucially, Fleet employs an avoidance routing mechanism to execute a “Shunt-and-Isolate” strategy: explicitly steering novel artifacts into the forgery subspace while suppressing their activation in the Non-AI manifold. This ensures precise adaptation to emerging models while mitigating perturbation to authentic-image representations, effectively concentrating updates within the discriminative forgery subspace.

While datasets have evolved from controlled baselines like CNNDect [1] and GenImage [13] to “in-the-wild” challenges such as WildFake [20], Chameleon [21], and AIGIBench [22], even these contemporary benchmarks lag behind the explosion of heterogeneous and closed-source commercial engines. This lag creates a critical evaluation blind spot that masks the fragility of the static generalization paradigm (Figure 1 (a)). To bridge this gap, we present Treasure, a frontier benchmark encompassing 360k images from 64 mainstream models, explicitly integrating 20 closed-source engines and pioneering a multi-dimensional evaluation protocol covering architecture, semantics, and artistic style. Leveraging this comprehensive benchmark, we systematically expose the generalization failure of existing SOTA AIGI detection methods and rigorously validate the efficacy of our proposed Fleet framework.

Our contributions are summarized as follows:

  • New Paradigm: We expose the failure of the static artifact hypothesis and propose a dynamic paradigm of continuous few-shot evolution.

  • New Method: We introduce Fleet, a subspace routing framework that leverages avoidance routing to adapt to novel forgeries efficiently while maintaining stable Non-AI representations with limited drift.

  • New Benchmark: We construct Treasure, a benchmark integrating closed-source engines and multi-dimensional annotations to rigorously stress-test adaptation in open-world scenarios.

a

b

Figure 1: Analysis of Benchmarks. (a) Performance of SOTA methods on common datasets. (AIGIBench-13 refers to AIGIBench’s subset of 13 full-graph generation models.) (b) Detection accuracy of SOTA methods on generated images across different release years. The models in the image (from left to right) are: SDv2.1, Midjourney v6, Playground v2.5, SD3, Midjourney v7, Doubao Seedream 3.0, Imagen 4, Nano Banana Pro..

2 Related Work↩︎

2.1 Current Datasets for AIGI Detection↩︎

The advancement of detection methods is inextricably linked to the evolution of benchmark datasets. Early research primarily relied on datasets constructed within controlled laboratory environments. CNNDect [1] established a foundation using ProGAN [23] and LSUN [24] to test 11 architectures, though its complexity now falls behind modern generators. To bridge the widening distribution gap, GenImage [13] constructed million-scale, category-aligned GAN/diffusion data via ImageNet prompts, while Fake2M [25] explored machine perception disparities. However, these lab-centric benchmarks often neglect the post-processing and stylistic diversity of real-world scenarios.

Consequently, research has pivoted toward “in-the-wild” challenges. WildFake [20] leverages open-source data encompassing diverse styles (e.g., anime, 3D rendering) and multi-stage pipelines. To probe detector limits, Chameleon [21] employs human-machine collaboration to create high-difficulty samples that challenge existing SOTA models. Finally, AIGIBench [22] first decouples traditional metrics into true/false accuracy, enabling systematic evaluation of multi-source generalization capabilities and robustness.

2.2 Generalized AIGI Detection Methods↩︎

AIGI detection has evolved from isolated supervised learning stages to open-world generalization and rapid adaptation phases. Current approaches primarily fall into two paradigms: zero-shot detection and few-shot detection. The distinction lies in whether target category information is leveraged during the inference process.

0.42ex plus 0.1ex minus 0.1ex-0.8emZero-Shot Methods Early research primarily focused on CNN generators, where CNNDect [1] and FreqNet [2] utilized periodic upsampling artifacts in spatial and frequency domains,while NPR [3] captured structural artifacts via neighborhood pixel relationships. With the rise of diffusion models, reconstruction-based metrics became prevalent. For instance, DIRE [4] leverages reconstruction discrepancies from pre-trained diffusion models to localize forged regions. [5] and Effort [6] construct intrinsic forgery subspaces through orthogonal decomposition or self-supervised filtering. Additionally, [7] proposed pixel-level mapping (PLM), which disrupts high-level semantics through preprocessing to force the model to generate generalizable pixel-level trajectories, thereby mitigating semantic overfitting.

Given the fragility of explicit artifacts, recent research has pivoted toward leveraging extensive priors from large-scale pre-trained models. CLIPDetection [8] and C2P-CLIP [10] utilize frozen or fine-tuned CLIP encoders for classification, while AIDE [9] enhances robustness by fusing high-level CLIP semantics with low-level DCT-derived statistical features. To mitigate feature entanglement caused by task-irrelevant semantic interference, VIB-Net [11] and CausalCLIP [12] employ information bottlenecks or adversarial learning for feature filtration.

The zero-shot paradigm aspires to capture the invariant essence of generative models in pursuit of ultimate generalization. However, confronted with the heterogeneity of generator architectures and the leap in generation quality, such static priors prove overly idealistic and fragile against rapidly evolving “Zero-Day” threats. In contrast, few-shot learning emerges as a pragmatic compromise: by leveraging minimal priors to surmount the barriers of distribution shift, it trades minimal data costs for rapid response capabilities against unknown attacks.

0.42ex plus 0.1ex minus 0.1ex-0.8emFew-Shot Methods [26] demonstrates that leveraging CLIP features allows for achieving robust model generalization with only a handful of samples. FSD [27] pioneered the incorporation of metric learning from few-shot learning into the realm of AIGI detection. Subsequently, FAMSeC [28] integrated CLIP with LoRA [29] to propose a forgery-aware module and a semantic-guided contrastive learning strategy, significantly enhancing detection robustness even with extremely limited data. Furthermore, FTNet [30] introduced a training-free framework utilizing “failed samples”; by mining hard samples misclassified by the model to dynamically maintain a sample gallery, it achieves rapid adaptation in few-shot scenarios.

Despite recent approaches integrating few-shot learning techniques, current AIGI detection methods suffer from architectural deficiencies and evaluation blind spots. Primarily, reliance on training-free static prototype matching fails to capture novel forgery artifacts from emerging generators, leading to prototype drift and false alarms on authentic samples. Furthermore, existing approaches often neglect catastrophic forgetting during continual adaptation, myopically focusing on short-term performance on isolated tasks. To bridge these gaps, we propose a feature fine-tuning method to effectively capture novel generative features and pioneer the introduction of an anti-forgetting metric, significantly enhancing the practical utility of few-shot AIGI detection.

Figure 2: Overview of Treasure Dataset. (a) We have meticulously collected a large number of images generated by current mainstream generative models, assigning authenticity labels and artistic style tags to each image. (b, c) Illustration of image and prompt source distribution. Our dataset maintains excellent diversity in data sources to ensure its ability to simulate real-world inputs. (d, e, f) Comparison with other benchmarks. Our dataset possesses significant advantages in both scale and novelty.

3 Construction of Treasure↩︎

This section details the construction of Treasure, a large-scale benchmark designed to address the performance saturation and distribution lag in existing datasets. To provide a more rigorous evaluation environment for few-shot AIGI detection, this work systematically designs a diverse data collection pipeline and a multi-faceted analysis framework. The following subsections elaborate on the data acquisition process, quality control approaches, and the distinctive characteristics of the benchmark.

3.1 Data Collection↩︎

0.42ex plus 0.1ex minus 0.1ex-0.8emNon-AI Images Prior studies typically define “Real” as naturally captured camera images. However, the ubiquity of generative technologies in advertising and media necessitates expanding the concept opposing “Fake” to encompass all non-AI-generated content, termed “Non-AI” In Treasure, Non-AI images are sourced from COCO2014 and cc12m-2mp-realistic. While COCO2014 provides samples aligned with traditional “Real” distributions, cc12m contributes movie posters, illustrations, and documents to ensure diversity in semantics, artistic styles, and resolutions.

0.42ex plus 0.1ex minus 0.1ex-0.8emAI Images To enhance scale and diversity, images are curated through three distinct channels: (i) random sampling of 27 generator categories from public benchmarks and open-source communities; (ii) local generation from 21 open-source models ; and (iii) API-based generation from 16 commercial platforms. Detailed model specifications are provided in Appendix 7.3. Furthermore, a comprehensive prompt library is constructed for text-to-image (T2I) sampling. Inspired by OmniDFA [31], this library employs four complementary subsets designed to span the semantic spectrum from concise instructions to granular textual descriptions , with compositional details elaborated in Appendix 7.2.

0.42ex plus 0.1ex minus 0.1ex-0.8emQuality Control To ensure a uniform semantic distribution, feature embedding and similarity-based deduplication are applied to all images and prompts. Specifically, features are extracted using a pre-trained DINOv3 model to facilitate cosine similarity-based deduplication during image sampling. Similarly, prompt encodings are computed using the Qwen3-embedding [32] model, with deduplication performed on normalized feature vectors. Further filtering is executed based on prompt length and content sensitivity.

3.2 Analysis↩︎

The Treasure benchmark comprises 64 distinct generative categories, each containing approximately 5,000 high-resolution images, supplemented by two Non-AI image sources with 20,000 samples each, totaling about 360k images. As illustrated in Figure 2 (a), Treasure introduces novel artistic style annotations alongside standard binary and category labels. Leveraging the Qwen3-VL model, all samples are categorized into four stylistic domains—photorealism, 2D illustration, 3D rendering, and traditional art—providing a new dimension for multi-faceted generalization assessment. In summary, Treasure aggregates the most prevalent and advanced generative models, exhibiting extensive diversity in architecture, semantics, and style. It represents a highly realistic and challenging evaluation environment specifically engineered for the few-shot AIGI detection task. As shown in Figure 2 (d-f), it demonstrates significant advantages over other works in terms of diversity, scale, and novelty.

Figure 3: Overview of Fleet.The model employs a dual-branch architecture, utilizing the high-frequency signal r_{\mathrm{freq}} to generate subspace routing weights. During pre-training, \mathcal{L}_{\mathrm{orth}} and \mathcal{L}_{\mathrm{cov}} decouple high-dimensional features into mutually exclusive AI (Red) and Non-AI (Green) subspaces. In the few-shot adaptation phase, \mathcal{L}_{\mathrm{avoid}} forces the redirection of feature flows from novel generated images toward the most relevant AI subspaces while suppressing their activation in Non-AI subspaces.

4 Method↩︎

In this section, we present Fleet, a mutually exclusive subspace routing method. An overview of Fleet is illustrated in Figure 3.

4.1 Subspace Routing Framework↩︎

Leveraging the sensitivity of high-frequency components to low-level traces ([2]; [33]) and the robustness of pre-trained models ([8], [34]), we design a dual-branch architecture: the high-frequency components branch guides subspace routing, while the pre-trained branch handles feature extraction and discrimination.

0.42ex plus 0.1ex minus 0.1ex-0.8emSubspace Projection We employ the pre-trained DINOv3 [35] vision large model as the backbone \(E_{\mathrm{vis}}\) and specialize in its capabilities for the forgery detection task via a Low-Rank Adaptation (LoRA) matrix \(\Delta\theta_{\mathrm{lora}}\). For an input image \(x\), we first extract its feature vector \(\mathbf{z}\): \[\mathbf{z} = E_{\mathrm{vis}}(x; \theta_{\mathrm{dino}} + \Delta\theta_{\mathrm{lora}}) \in \mathbb{R}^{D}.\]

Here, \(\mathbf{z}\) is a high-dimensional backbone representation. We use lightweight linear projections to parameterize multiple learnable subspaces. These projections generate subspace addresses for routing and subspace features for representation aggregation. Together with frequency-guided routing, orthogonality and coverage constraints, and avoidance routing during adaptation, this design promotes effective feature decoupling across AI and Non-AI responses, enabling Fleet to adapt to emerging generators while maintaining stable performance on previously learned data.

To this end, we define two sets of subspace-specific linear projection parameters: \(\{(\mathbf{W}^{\mathrm{addr}}_i, \mathbf{b}^{\mathrm{addr}}_i)\}_{i=1}^C\) and \(\{(\mathbf{W}^{\mathrm{feat}}_i, \mathbf{b}^{\mathrm{feat}}_i)\}_{i=1}^C\). For the \(i\)-th feature subspace, its corresponding subspace address \(\mathbf{a}_i\) and subspace feature \(\mathbf{s}_i\) are computed via the following affine transformations: \[\begin{align} \mathbf{a}_i &= \mathbf{W}^{\mathrm{addr}}_i\mathbf{z} + \mathbf{b}^{\mathrm{addr}}_i, \\ \mathbf{s}_i &= \mathbf{W}^{\mathrm{feat}}_i\mathbf{z} + \mathbf{b}^{\mathrm{feat}}_i, \quad i \in \{1, \dots, C\}, \end{align}\] where \(\mathbf{W}^{(\cdot)}_i \in \mathbb{R}^{d \times D}\) denotes the projection weight matrix, and \(\mathbf{b}^{(\cdot)}_i \in \mathbb{R}^{d}\) is the corresponding bias vector. Specifically, \(\mathbf{a}_i\) serves as the addressing signature for the \(i\)-th subspace, utilized for matching during the routing phase, while \(\mathbf{s}_i\) represents the corresponding subspace feature to be activated. In our implementation, we set \(D=1024\) and \(d=128\).

0.42ex plus 0.1ex minus 0.1ex-0.8emHigh-Frequency Component-Guided Subspace Routing To capture the low-level high-frequency features of the image, we adopt an image processing approach similar to FreqNet. First, we perform a Fast Fourier Transform (FFT) on the input image \(x\) and zero out the low-frequency components to thoroughly eliminate semantic interference, preserving only the high-frequency signals sensitive to the generation mechanism: \[\mathbf{X}_{\mathrm{high}} = \mathcal{F}^{-1}( \mathcal{F}(x) \odot \mathbf{M}_{\mathrm{high}} ),\] where \(\mathcal{F}(\cdot)\) and \(\mathcal{F}^{-1}(\cdot)\) denote the FFT and its inverse, respectively; \(\mathbf{M}_{\mathrm{high}}\) is a high-pass filter; and \(\odot\) denotes element-wise multiplication. Subsequently, the processed high-frequency component \(\mathbf{X}_{\mathrm{high}}\) is fed into a convolutional encoder \(E_{\mathrm{freq}}\). Since the high-frequency component contains low-level forgery traces, \(E_{\mathrm{freq}}\) can extract semantic-agnostic high-frequency features, generating a high-frequency component-guided routing signal \(\mathbf{r}_{\mathrm{freq}}\): \[\mathbf{r}_{\mathrm{freq}} = E_{\mathrm{freq}}(\mathbf{X}_{\mathrm{high}}) \in \mathbb{R}^{d}.\] We utilize the dot product between the routing signal \(\mathbf{r}_{\mathrm{freq}}\) and each subspace address \(\mathbf{a}_i\) as a gating network, employing the Softmax function to generate the normalized routing distribution weights \(\boldsymbol{\alpha} \in \mathbb{R}^C\): \[\alpha_i = \frac{\exp((\mathbf{r}_{\mathrm{freq}}^{\top}\mathbf{a}_i)/\sqrt{d})}{\sum_{j=1}^{C} \exp((\mathbf{r}_{\mathrm{freq}}^{\top}\mathbf{a}_j)/\sqrt{d})}.\] The Softmax function introduces a competitive flow control mechanism: when the avoidance mechanism forcibly suppresses the path to the Non-AI subspace, the normalization property compels the information flow of forgery features from unseen model images to automatically redirect toward the most relevant forgery subspace. The final output feature \(\mathbf{h}_{\mathrm{final}}\) is the weighted concatenation of subspace features, processed through a projection network \(P(\cdot)\) for feature fusion and mapping: \[\mathbf{h}_{\mathrm{final}} = P\left( \text{Concat}(\alpha_1 \mathbf{s}_1, \dots, \alpha_C \mathbf{s}_C) \right),\] where \(\text{Concat}(\cdot)\) denotes the concatenation operation along the feature dimension. The output feature \(\mathbf{h}_{\mathrm{final}}\) is then utilized to construct prototype vectors for Non-AI/AI categories for the final classification.

4.2 Mutually Exclusive Routing Pre-training↩︎

To ensure the effectiveness of the routing mechanism, it is imperative to enforce functional differentiation among the \(C\) subspaces during the pre-training phase.

0.42ex plus 0.1ex minus 0.1ex-0.8emContrastive Learning Loss \(\mathcal{L}_{\mathrm{cls}}\) We employ the InfoNCE loss to construct a discriminative feature space: \[\mathcal{L}_{\mathrm{cls}}=-\frac{1}{B}\sum_{i=1}^{B}\log\frac{\exp(\text{sim}(\mathbf{h}_i,\mathbf{h}_{\mathrm{pos}})/\tau)}{\sum_{j\neq i}\exp(\text{sim}(\mathbf{h}_i,\mathbf{h}_j)/\tau)} ,\] where \(\mathbf{h}_{i}\) denotes the anchor sample, \(\mathbf{h}_{\mathrm{pos}}\) represents a positive sample sharing the same category as the anchor, and \(\mathbf{h}_{j}\) indicates a negative sample from a different category within the batch. \(B\) and \(\tau\) denote batch size and temperature.

0.42ex plus 0.1ex minus 0.1ex-0.8emNon-AI/AI Routing Orthogonality Constraint \(\mathcal{L}_{\mathrm{orth}}\) We compute the average routing weights for Non-AI samples, \(\bar{\boldsymbol{\alpha}}_{\mathrm{Non\text{-}AI}}\), and for AI samples, \(\bar{\boldsymbol{\alpha}}_{\mathrm{AI}}\), within a batch. By minimizing the dot product between them, we compel the subspaces to become mutually exclusive between the “Non-AI” and “AI” domains: \[\mathcal{L}_{\mathrm{orth}}=\sum_{c=1}^{C}\bar{\boldsymbol{\alpha}}_{\mathrm{Non\text{-}AI}}[c]\cdot\bar{\boldsymbol{\alpha}}_{\mathrm{AI}}[c],\] where \(C\) represents the number of subspaces.

0.42ex plus 0.1ex minus 0.1ex-0.8emCoverage Constraint \(\mathcal{L}_{\mathrm{cov}}\) To prevent feature collapse and ensure that every subspace dimension is effectively utilized, we introduce a coverage constraint: \[\mathcal{L}_{\mathrm{cov}}=-\frac{1}{C}\sum_{c=1}^{C}\log(\bar{\boldsymbol{\alpha}}_{\mathrm{Non\text{-}AI}}[c]+\bar{\boldsymbol{\alpha}}_{\mathrm{AI}}[c]+\epsilon),\] where \(\epsilon\) is a small positive constant to prevent numerical instability (i.e., \(\log(0)\)).

0.42ex plus 0.1ex minus 0.1ex-0.8emTotal Pre-training Loss The total loss during the pre-training phase is defined as:\[\mathcal{L}_{\mathrm{pre}}=\mathcal{L}_{\mathrm{cls}}+\lambda_{\mathrm{orth}}\mathcal{L}_{\mathrm{orth}}+\lambda_{\mathrm{cov}}\mathcal{L}_{\mathrm{cov}}.\]

4.3 Few-Shot Adaptation via Avoidance Routing↩︎

During the adaptation phase, to address the issue where images generated by the novel model unexpectedly trigger activations in the non-AI subspace, we propose an avoidance routing strategy. Initially, we randomly select 1,000 Non-AI and AI images from the training set to construct a replay set \(\mathcal{M}\), following established practices in continual learning [36].

Computation of Replay Anchors. We leverage the replay set \(\mathcal{M}\) to compute the fixed anchor distributions (centroids) established during the pre-training phase: \[\begin{align} \boldsymbol{\mu}_{\mathrm{Non\text{-}AI}} &= \frac{1}{|\mathcal{M}_{\mathrm{Non\text{-}AI}}|}\sum_{x\in\mathcal{M}_{\mathrm{Non\text{-}AI}}}\boldsymbol{\alpha}(x), \\ \boldsymbol{\mu}_{\mathrm{AI}} &= \frac{1}{|\mathcal{M}_{\mathrm{AI}}|}\sum_{x\in\mathcal{M}_{\mathrm{AI}}}\boldsymbol{\alpha}(x) . \end{align}\] 0.42ex plus 0.1ex minus 0.1ex-0.8emAvoidance Loss \(\mathcal{L}_{\mathrm{avoid}}\) We compel the routing distributions of novel samples within the support set \(\mathcal{S}\) to “evade” incorrect anchors. Specifically, we enforce orthogonality between novel AI samples and the Non-AI anchor, as well as between Non-AI samples and the AI anchor: \[\begin{align} \mathcal{L}_{\mathrm{avoid}} &= \frac{1}{|\mathcal{S}_{\mathrm{AI}}|}\sum_{i\in\mathcal{S}_{\mathrm{AI}}}(\boldsymbol{\alpha}_i\cdot\boldsymbol{\mu}_{\mathrm{Non\text{-}AI}}) \\ &\quad + \frac{1}{|\mathcal{S}_{\mathrm{Non\text{-}AI}}|}\sum_{j\in\mathcal{S}_{\mathrm{Non\text{-}AI}}}(\boldsymbol{\alpha}_j\cdot\boldsymbol{\mu}_{\mathrm{AI}}). \end{align}\]

0.42ex plus 0.1ex minus 0.1ex-0.8emAnti-Forgetting Distillation \(\mathcal{L}_{\mathrm{distill}}\) To mitigate catastrophic forgetting, we impose a distillation constraint on the replay set \(\mathcal{M}\), preserving the geometric configuration of replay samples within the feature space: \[\begin{align} \mathcal{L}_{\mathrm{distill}} = \frac{1}{|\mathcal{M}|}\sum_{k\in\mathcal{M}}\Big(1 - \text{sim}\big(&\mathbf{h}_{\mathrm{final}}^{\mathrm{curr}}(x_k), \\ &\mathbf{h}_{\mathrm{final}}^{\mathrm{old}}(x_k)\big)\Big), \end{align}\] where \(\mathbf{h}_{\mathrm{final}}^{\mathrm{curr}}\) and \(\mathbf{h}_{\mathrm{final}}^{\mathrm{old}}\) denote the features extracted by the current and previous model versions, respectively.

0.42ex plus 0.1ex minus 0.1ex-0.8emTotal Adaptation Loss The total loss function for the adaptation phase is formulated as: \[\mathcal{L}_{\mathrm{adapt}}=\mathcal{L}_{\mathrm{cls}}+\lambda_{\mathrm{avoid}}\mathcal{L}_{\mathrm{avoid}}+\lambda_{\mathrm{distill}}\mathcal{L}_{\mathrm{distill}}.\]

Comparison of different methods under Zero-shot and Few-shot settingson two benchmarks: Treasure and AIGIBench-13.The reported metrics include classification accuracy (%) on the Fake Test Set,Non-AI images, and the Pretrain Validation set,as well as Mean Accuracy (mAcc) and Mean Average Precision (mAP). Best and second-best results are marked.
Method Venue Treasure AIGIBench-13
4-8 (lr)9-13 AI Non-AI mAcc mAP Pretrain Val AI Non-AI mAcc mAP Pretrain Val
FreqNet AAAI 24 71.87 75.02 73.42 77.71 96.00 89.30 58.09 73.70 84.38 96.00
ClipDetection CVPR 23 72.56 75.77 74.17 84.33 96.28 89.54 72.31 80.93 90.08 96.28
AIDE ICLR 25 70.94 98.56 84.75 83.72 98.47 83.47 87.64 85.56 91.96 98.47
SAFE KDD 25 73.53 99.79 86.66 86.26 99.83 77.47 82.79 80.13 89.40 99.83
PLM AAAI 26 76.56 99.80 88.18 90.44 98.96 83.26 93.88 88.57 93.55 98.96
FSD (1-shot) ICML 25 58.51 71.14 64.82 68.00 65.38 59.59 69.14 64.36 66.31 63.95
FSD (5-shot) ICML 25 66.56 79.55 73.05 77.42 74.15 69.53 78.45 73.99 76.80 74.39
FSD (10-shot) ICML 25 68.28 83.45 75.87 80.54 74.81 71.17 79.45 75.31 79.47 76.82
Ours (1-shot) 76.08 97.90 86.99 92.69 99.97 92.12 92.33 92.23 96.14 99.95
Ours (5-shot) 84.23 97.50 90.87 95.26 99.97 96.01 92.64 94.33 97.96 99.80
Ours (10-shot) 88.21 97.05 92.63 95.66 99.96 97.68 92.11 94.89 98.61 99.69

5 Experiment↩︎

5.1 Datasets and Evaluation Protocols↩︎

In the pre-training phase, to align with the setup used by zero-shot methods, we use the AIGIBench training set, which consists of 144k images generated by two models: ProGAN [23] and SD v1.4 [37]. In the few-shot adaptation phase, to rigorously evaluate the effectiveness of our method, we adopt two primary testing protocols: Protocol I conducts a few-shot evaluation on each category in the Treasure dataset, which encompasses 64 distinct generative models. Protocol II conducts a few-shot evaluation on each category in the public AIGIBench test set, which contains 13 testing subsets. Unlike previous works, we introduce the AIGIBench validation set as an indicator of anti-forgetting, allowing us to observe whether the few-shot adaptation process induces catastrophic forgetting. See Appendix 7.1 for more details.

5.2 Baselines and Evaluation Metrics↩︎

We compare our proposed method against two categories of state-of-the-art (SOTA) approaches: (1) Zero-shot methods: FreqNet [2], ClipDetection [8], AIDE [9], SAFE [38], and PLM [7]. (2) Few-shot methods: FSD [27]. Specifically, PLM, FSD, and SAFE are reproduced based on their official code repositories, while the remaining zero-shot methods utilize their official pre-trained weights. We evaluate the accuracy of each method on both AI and Non-AI classes within the test set (query set), as well as the accuracy on the anti-forgetting set. To further assess model performance, we also employ the Average Precision (AP) metric on the test set (query set). The threshold for the accuracy metric is set to 0.5.

Ablation study results on loss function. The table compares the performance of our method with different loss components removed. \(\mathcal{L}_{\alpha}\) contains \(\mathcal{L}_{\mathrm{orth}}\),\(\mathcal{L}_{\mathrm{cov}}\) and \(\mathcal{L}_{\mathrm{avoid}}\).
Method Query Set Non-AI Pretrain Val mAcc
Ours 91.01 95.51 99.95 93.26
w/o \(\mathcal{L}_{\mathrm{avoid}}\) 81.60 96.89 99.97 89.25
w/o \(\mathcal{L}_{\mathrm{cov}}\) 90.66 94.14 99.94 92.40
w/o \(\mathcal{L}_{\alpha}\) 82.69 95.74 99.95 89.22
baseline 86.08 96.61 99.97 91.35
Ablation study on the rank of LoRA modules. Results show mean accuracy.
AI Non-AI Pretrain Val Acc
Rank=2 85.85 96.65 99.94 91.25
Rank=4 91.03 95.21 99.94 93.12
Rank=8 91.01 95.51 99.95 93.26
Rank=16 90.64 93.89 99.98 92.26
Rank=32 92.00 90.91 99.90 91.46

5.3 Comparisons with State-of-the-art Methods↩︎

As presented in Table ¿tbl:tab:comparison-combined?, Fleet establishes a new state-of-the-art in few-shot AIGI detection by successfully resolving the conflict between rapid adaptability and baseline stability. First, our method demonstrates superior initialization capabilities. On the challenging Treasure benchmark, Fleet achieves a 1-shot accuracy of 76.08%, which not only approaches the performance of the SOTA zero-shot method PLM (76.56%) but also surpasses the 10-shot performance of the dedicated few-shot baseline FSD (68.28%). This counterintuitive result validates that our mutually exclusive routing pre-training constructs a highly structured feature space, allowing the model to align decision boundaries with minimal samples rather than learning from scratch. Second, Fleet exhibits exceptional data utilization efficiency in high-performance regimes. Even on AIGIBench, where the baseline accuracy is already saturated above 90%—a regime typically plagued by diminishing returns—Fleet continues to convert additional support samples into significant gains, improving accuracy from 92.12% (1-shot) to 97.68% (10-shot). This proves our method’s scalability in refining features without hitting early performance bottlenecks. Finally, we pioneer the inclusion of anti-forgetting metrics in the few-shot evaluation protocol to expose a critical vulnerability in existing methods. While FSD suffers from severe catastrophic forgetting, with accuracy on the validation set drawn from the pre-training distribution plummeting to 74.81%, Fleet leverages an effective replay mechanism to mitigate this issue and maintains near-perfect memory retention above 99.9%, ensuring robust continual adaptation without compromising historical knowledge.

5.4 Ablation Study↩︎

To comprehensively evaluate the effectiveness of each component, we conduct an in-depth analysis on 8 subsets of the Treasure dataset. These subsets were specifically selected because they cover diverse architectures and represent scenarios where zero-shot performance is sub-optimal.

0.42ex plus 0.1ex minus 0.1ex-0.8emLoss Function Analysis We analyze the impact of the loss functions in Table ¿tbl:tab:ablation-study?. Removing the avoidance loss results in a significant accuracy drop of 4.01%, indicating that the lack of explicit routing guidance causes the model to update incorrect subspaces, thereby impairing performance. Removing the coverage loss leads to a slight decrease of 0.86%, demonstrating the benefit of ensuring that every subspace is effectively utilized. Overall, removing all subspace-related design losses results in a 4.04% performance degradation, validating the necessity of our optimization objectives.

0.42ex plus 0.1ex minus 0.1ex-0.8emComparison with Baseline To demonstrate the superiority of our architectural design, we compare our method against a standard baseline. This baseline employs DINOv3 and LoRA, fine-tuned using contrastive and distillation losses under identical replay settings. Results show that our method outperforms this general baseline by 1.91%, proving that incorporating a subspace routing mechanism adapts more effectively to forgery detection tasks compared to generic PEFT schemes.

0.42ex plus 0.1ex minus 0.1ex-0.8emLoRA Rank Analysis We also ablate the rank hyperparameter of the low-rank adaptation (LoRA) modules used during sequential adaptation. The results show that rank = 8 yields the best overall trade-off, while performance differences across a reasonable range of ranks are limited. This indicates that Fleet is not highly sensitive to this hyperparameter. Detailed results are shown in Table ¿tbl:tab:lora95rank? .

0.42ex plus 0.1ex minus 0.1ex-0.8emHyperparameter Sensitivity Analysis We analyze the impact of the replay set size. As illustrated in Figure 4, when the size is reduced to 200 and 20, accuracy drops by 3.7% and 13.92%, respectively. This performance decline is primarily attributed to insufficient data, which limits the effectiveness of contrastive learning. However, the accuracy on the pre-training validation set remains above 99.9% across all settings, demonstrating that even with a minimal replay buffer, the model maintains excellent anti-forgetting performance in forgery detection tasks. Regarding the number of subspaces, we evaluated settings of \(\{2, 4, 8, 16, 32\}\). The experiments indicate that the model achieves the highest accuracy when the number of subspaces is set to 8.

Figure 4: Sensitivity Analysis. (a) Analysis on replay buffer size. (b) Ablation on number of subspaces.
Figure 5: Robust Experiment. “Ori” means original images.

5.5 Robustness Experiment↩︎

In real-world transmission and interaction scenarios, images inevitably encounter various unseen perturbations and degradations, posing a severe challenge to the practical deployment of AI-generated image detectors. Experimental Setup: to ensure a fair and rigorous evaluation, all comparison models are tested without any specific data augmentation or robust training. They are directly exposed to varying intensities of post-processing. Specifically, the perturbations include JPEG compression (Quality Factor \(Q \in \{95, 90, 75, 50\}\)) and Gaussian blur (\(\sigma \in \{1.0, 2.0, 3.0, 4.0\}\)). As illustrated in Figure 5, due to the absence of robust training, most baseline methods exhibit a significant performance decline. In contrast, despite these challenging and degradative conditions, our method maintains exceptional stability, significantly outperforming other approaches.

Figure 6: Visualization of Subspace Routing Weights Before and After Few-shot Training. (a) Query set mean routing weights before and after few-shot training. (b) Mean routing weights on AI classes in the AIGIBench validation set. (c) Mean routing weights on Non-AI classes in the AIGIBench validation set.
Results on few-shot sequential adaptation. The notation \(a\rightarrow b\) denotes the accuracy before and after adaptation to the current generator. Five types of test data were sampled from the Treasure dataset.
Pretrain Val StarGAN SDXL GPT-4o CogView4 Seedream4.0
After Pretrain 99.98 - - - - -
After StarGAN 99.97 70.09\(\rightarrow\)91.92 - - - -
After SDXL 99.87 92.85 83.49\(\rightarrow\)94.80 - - -
After GPT-4o 99.84 93.09 94.76 71.60\(\rightarrow\)88.06 - -
After CogView4 99.86 94.01 94.09 88.46 79.33\(\rightarrow\)83.71 -
After Seedream4.0 99.78 93.00 94.59 91.04 84.16 76.47\(\rightarrow\)83.53
Table 1: Sensitivity analysis of subspace initialization and addressing design. “MoE_init” refers to the structured initialization. Static \(A_i\) replaces each subspace address with a fixed static prototype.
AI Non-AI Pretrain Val Acc
Fleet 91.01 95.51 99.95 93.26
MoE_init 93.35 93.70 99.95 93.53
Static \(A_i\) 88.33 96.09 99.95 92.21

5.6 Visualization↩︎

Analysis of Subspace Activations. As illustrated in Figure 6, functional specialization emerges during the pre-training phase: some subspaces activate exclusively for Non-AI images, while others respond solely to AI images. However, when encountering unseen realistic AI images, subspaces associated with Non-AI data may be erroneously triggered. In response, the Avoidance Loss explicitly rectifies the routing trajectory. Consequently, as shown in Figure 6 (a), following few-shot training, the activation of Non-AI-associated subspaces is effectively suppressed, whereas that of AI-associated subspaces is amplified.

5.7 Few-shot sequence adaptation↩︎

To further examine the behavior of our method beyond the single-step setting, we conducted a preliminary sequential adaptation experiment over five steps on previously unseen generators. The goal is to assess whether the detector can repeatedly adapt to new generators while retaining performance on earlier ones, using only a few samples per step.

The results are summarized in Table ¿tbl:tab:few-shot-seq?. After all five updates, the mean accuracy on the pretrain validation set remains 99.78% (compared to 99.98% before adaptation), indicating almost no forgetting of the original distribution. More importantly, performance on previously adapted generators is well maintained or even improves. For example, the accuracy on GPT-4o rises from 88.06% after its initial adaptation to 91.04% after subsequent updates on later generators. Similar trends are observed for other models (e.g., StarGAN, SDXL, CogView4, Seedream4.0). These results suggest that our method has promising potential for sequential adaptation beyond the single-step scenario, and we plan to investigate this direction more thoroughly in future work.

5.8 Analysis of Initialization and Routing Stability↩︎

We analyze two design choices in Fleet’s subspace mechanism: the initialization of subspace parameters, and whether the subspace address is input‑dependent (dynamic) or static. Although these are distinct aspects, both reflect degrees of freedom in how subspaces are constructed and selected. For initialization, we compare the default random initialization with a structured MoE‑style warm start inspired by partial re-initialization [39], where subspace projections are initialized through a pretrained low-dimensional projection layer. This leads to only a marginal change in accuracy (93.26% → 93.53%), while pretrain‑validation accuracy remains unchanged (99.95% → 99.95%), indicating that Fleet does not rely on special initialization tricks. For addressing, replacing the input‑dependent dynamic address with a fixed static prototype per subspace reduces overall accuracy from 93.26% to 92.21%, with the main drop occurring on the AI class. This shows that dynamic addressing is beneficial for modeling emerging generator artifacts. Fleet maintains routing stability during both pretraining and adaptation. \(\mathcal{L}_{\mathrm{orth}}\) encourages distinct routing patterns for AI and non-AI samples, while \(\mathcal{L}_{\mathrm{avoid}}\) prevents routing collapse. During adaptation, the model prioritises routing correction for the first five epochs before enabling the classification term, which reduces potential optimization conflicts. Detailed results are shown in Table 1.

6 Conclusion and Limitations↩︎

This work introduces Treasure, a comprehensive benchmark, and Fleet, a frequency-guided subspace routing framework, to address the performance collapse of AIGI detectors when facing emerging generators. By establishing a high-margin evaluation environment with 64 generative models, this work fills an important gap in benchmark coverage. Experimental results demonstrate that Fleet effectively mitigates feature submersion through mutually exclusive routing, achieving SOTA performance across multiple benchmarks while maintaining robustness against catastrophic forgetting. These contributions establish a practical and efficient paradigm for securing digital media against the rapid evolution of synthesis technologies.

Despite the advancements, several limitations remain. First, this research focuses exclusively on full-image generation; the generalizability of the proposed method to localized editing or face-swapping tasks requires further investigation. Second, the current paradigm is designed for single-step few-shot adaptation, whereas exploring continual few-shot learning represents a critical step toward practical deployment and will be a focus of future work. Finally, the reliance on a replay set to balance performance and knowledge retention incurs additional storage overhead, suggesting that the development of more efficiency-oriented, replay-free adaptation mechanisms remains a significant objective for subsequent research. Our future work will further explore these limitations.

Acknowledgements↩︎

This work was supported by the Institute Innovation Project of the Institute of Computing Technology, Chinese Academy of Sciences under Grant No. E561090.

Impact Statement↩︎

This research advances AI-generated image forensics to safeguard digital integrity and curb misinformation. By improving detector adaptability, this work strengthens defenses against evolving generative models and restores public trust in media. While forensic progress may incite an “arms race” regarding forgery sophistication, comprehensive benchmarks facilitate rigorous community evaluation. All efforts prioritize ethical standards and privacy regulations to ensure positive societal impact.

7 Appendix↩︎

7.1 Experimental Details↩︎

7.1.1 Model Architecture↩︎

We utilize DINOv3 as the backbone architecture. During the training process, the backbone parameters of DINOv3 remain frozen. We employ Low-Rank Adaptation (LoRA) with a rank of 8 and a scaling factor of 16. For the high-frequency component feature extraction module (\(E_{\mathrm{freq}}\)), we adopt the Xception model as the backbone and apply a high-pass filter to retain the top 50% of high-frequency components. A temperature parameter \(\tau = 0.07\) is used in the contrastive learning.

7.1.2 Pre-training Phase↩︎

The model is trained for 3 epochs with a batch size of 256 and a learning rate of \(1 \times 10^{-4}\). The loss weights are set as \(\lambda_{\mathrm{cls}} = 1\), \(\lambda_{\mathrm{orth}} = 0.1\), and \(\lambda_{\mathrm{cov}} = 10^{-4}\).

7.1.3 Few-Shot Adaptation Phase↩︎

Replay Set Construction: The replay set consists of 1,000 images drawn from the pre-training set, comprising 500 randomly selected AI-generated images and 500 Non-AI images.Support Set Source: To better align the distribution of non-AI images in the support set with that of AI images during adaptation, all non-AI images in the support set are sourced from the cc12m-2mp-realistic dataset.Training Configuration: Each training batch consists of two parts: all samples from the current support set (permanently included) plus 32 images alternately drawn from the replay set. The learning rate is set to \(3 \times 10^{-5}\), and training is conducted for 20 epochs.Loss Strategy: The base loss weights are \(\lambda_{\mathrm{cls}} = 5\), \(\lambda_{\mathrm{distill}} = 10\), and \(\lambda_{\mathrm{avoid}} = 20\). However, in the first 5 epochs, we set \(\lambda_{\mathrm{cls}} = 0\) to prioritize learning the correct routing path.

7.1.4 Preprocessing & Hardware↩︎

The high-frequency component branch employs random cropping during training and center cropping during testing. All experiments are conducted on 8 NVIDIA GeForce RTX 3090 GPUs. Under this setup, pre-training requires approximately 3 hours, while the adaptation phase for each subset takes about 30 minutes.

7.1.5 Datasets & Evaluation Scope↩︎

AIGIBench-13. In the main experiment, "AIGIBench-13" refers to a subset containing 13 whole-image generation datasets, specifically: ProGAN, R3GAN, StyleGAN3, StyleGAN-XL, StyleSwim, WFIR, DALLE-3, FLUX1-dev, GLIDE, Imagen3, Midjourney, SD3, and SDXL.

Ablation Study. The ablation study covers eight representative datasets to encompass a range of mainstream methodologies (pixel-space diffusion, GPT-based, flow matching, unified GANs, autoregressive, and multimodal diffusion transformers). These include: ADM, GPT-4o, FLUX.2, StarGAN, NextStep, Qwen-Image, HunyuanImage 3.0, and wan2.5-t2i-preview.

7.2 Collection of Prompts↩︎

Prompts serve as a critical determinant of the semantic distribution in generated imagery. To simulate the multifaceted generation requests encountered in real-world scenarios, simple category labels are eschewed in favor of a comprehensive library containing 25,000 candidate prompts. This library is structured into four complementary subsets, spanning the semantic spectrum from concise instructions to elaborate textual descriptions:

  • Authentic User Input: Consists of 5,000 real-world prompts sourced from DiffusionDB [40]. This subset preserves characteristic user behaviors, such as idiosyncratic spelling, modifier stacking, and non-standard syntax, ensuring that synthesized content reflects actual application distributions.

  • Long-form Descriptions: Includes 5,000 fine-grained descriptions generated by Blip3o-long [41], averaging 120 tokens. These prompts are designed to evaluate the generative model’s capacity for rendering intricate spatial relationships and detailed textures.

  • Short-form Instructions: Comprises 10,000 concise descriptions from Blip3o-short [42], with an average length of 20 tokens, facilitating the assessment of model performance under sparse semantic constraints.

  • Open-world Metadata: Contains 5,000 high-aesthetic-score texts from LAION-COCO-Aesthetic [43]. Focusing on captions, slogans, and stylistic descriptors, this subset enhances coverage across non-natural image domains, such as posters and UI designs.

We provide some examples in Table 2.

Table 2: Exemplar prompts from the four subsets of the Treasure library.
Subset Exemplar Prompts
Authentic User Input (1) Emma Watson as migrant mother, 1936 photo by Dorothea Lange
(2) fantasy character portrait photo. female dwarf. short, broad, extremely muscular, broad face resembles cara delevingne but very squat, elaborately braided orangepink hair.
(3) zombie storm trooper highly detailed 1970s horror star wars art
Long-form Descriptions (1) The image depicts a large, open plaza in front of a prominent building with a distinctive dome and columns, resembling a government or cultural institution. The plaza is paved and features several statues, including one of a group of soldiers and another of an individual. A colorful red and yellow carpet is laid out near the center, possibly for a ceremonial event. In the background, modern high-rise buildings are visible under a clear sky.
(2) The image shows a close-up of a large, muddy tractor tire and part of the tractor’s body. The tractor is red with visible wear and tear, indicating it has been used in rugged conditions. The tire is heavily caked with mud, suggesting recent off-road activity. The background features a grassy area with trees, hinting at a rural or forested setting.
(3) The image shows a large truck driving on a concrete bridge. The truck is carrying a green trailer with the text “SUPERMERCATI BASKO” prominently displayed in red and yellow letters. The bridge appears to be part of a highway or major road, supported by large concrete pillars. The sky above is partly cloudy, suggesting it might be a cool or overcast day. The scene captures a moment of transportation, possibly during a routine journey. The overall setting indicates a modern infrastructure environment.
Short-form Instructions (1) A clean workspace setup with an HP monitor, keyboard, and mouse on a wooden desk.
(2) Modern conference room setup with tables, chairs, and water bottles.
(3) Silhouetted Egypt: Pyramids, Sphinx, and Camels in a Desert Scene.
Open-world Metadata (1) CASE ELEGANCE Monogrammed Full Grain Premium Leather Refillable Journal Cover with A5 Lined Notebook, Pen Loop, Card Slots, Brass Snap
(2) Surya Contemporary Square pouf/ottoman 24”x24”x13” in Purple Color From Surya Poufs Collection
(3) Apple & Cinnamon Baked Oatmeal Pie

7.3 Collection of Non-AI/Fake Images↩︎

Tables ¿tbl:tab:real-source? and 1 respectively display the source and link information for Non-AI and Fake images in Treasure dataset.

Sources of Non-AI images used in Treasure.
ID Dataset Source Link
1 COCO2014 Huggingface https://huggingface.co/datasets/AbdoTW/COCO_2014
2 cc12m-2mp-realistic Huggingface https://huggingface.co/datasets/opendiffusionai/cc12m-2mp-realistic
Table 3: Sources of generative models used in Treasure.
ID Model Source Link
ID Model Source Link
1 BigGAN [16] GenImage https://github.com/GenImage-Dataset/GenImage
2 ADM [18] GenImage https://github.com/GenImage-Dataset/GenImage
3 GLIDE [44] GenImage https://github.com/GenImage-Dataset/GenImage
4 Wukong [45] GenImage https://github.com/GenImage-Dataset/GenImage
5 VQDM [46] GenImage https://github.com/GenImage-Dataset/GenImage
6 SD v1.4 [37] GenImage https://github.com/GenImage-Dataset/GenImage
7 SD v1.5 [37] GenImage https://github.com/GenImage-Dataset/GenImage
8 Midjourney V5 GenImage https://github.com/GenImage-Dataset/GenImage
9 ProGAN [23] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
10 StarGAN [47] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
11 DF-GAN [48] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
12 StyleGAN3 [15] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
13 DALL·E 2 [49] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
14 Imagen [50] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
15 Midjourney V4 WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
16 MAE [51] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
17 GigaGAN [52] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
18 SDXL [53] WildFake https://github.com/hy-zpg/AIGC-Image-Detection-Dataset
19 CogView2 [54] MPBench https://huggingface.co/datasets/InfImagine/FakeImageDataset
20 SD v2.1 [55] MPBench https://huggingface.co/datasets/InfImagine/FakeImageDataset
21 DeepFloyd IF [56] MPBench https://huggingface.co/datasets/InfImagine/FakeImageDataset
22 Ideogram [57] HuggingFace https://huggingface.co/datasets/terminusresearch/ideogram-75k
23 PixArt-\(\alpha\) [58] HuggingFace https://huggingface.co/datasets/PixArt-alpha/PixArt-Eval30K
24 DALL·E 3 [59] HuggingFace https://huggingface.co/datasets/OpenDatasets/dalle-3-dataset
25 FLUX.1-dev [60] HuggingFace https://huggingface.co/datasets/lehduong/flux_generated
26 Midjourney V6 HuggingFace https://huggingface.co/datasets/terminusresearch/midjourney-v6-520k-raw
27 GPT-4o [61] HuggingFace https://huggingface.co/datasets/yufan/GPT4O_Image_T2I
28 Playground V2 [62] Self-generated https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic
29 Playground V2.5 [63] Self-generated https://huggingface.co/playgroundai/playground-v2.5-1024px-aesthetic
30 Hunyuan-DiT [64] Self-generated https://huggingface.co/Tencent-Hunyuan/HunyuanDiT-v1.2-Diffusers
31 LlamaGen [65] Self-generated https://github.com/FoundationVision/LlamaGen
32 SD3-medium [19] Self-generated https://huggingface.co/stabilityai/stable-diffusion-3-medium
33 Show-o [66] Self-generated https://github.com/showlab/Show-o
34 OmniGen [67] Self-generated https://huggingface.co/Shitao/OmniGen-v1
35 CogView3plus [68] Self-generated https://github.com/zai-org/CogView4
36 Infinity-2B [69] Self-generated https://github.com/FoundationVision/Infinity
37 Janus-Pro-7B [70] Self-generated https://github.com/deepseek-ai/Janus
38 SANA v1.5 [71] Self-generated https://huggingface.co/Efficient-Large-Model/SANA1.5_4.8B_1024px_diffusers
39 LUMINA-Image 2.0 [72] Self-generated https://huggingface.co/Alpha-VLLM/Lumina-Image-2.0
40 HiDream-I1-Dev [73] Self-generated https://github.com/HiDream-ai/HiDream-I1
41 BAGEL [74] Self-generated https://github.com/ByteDance-Seed/Bagel
42 BRIA 3.2 [75] Self-generated https://huggingface.co/briaai/BRIA-3.2
43 OmniGen2 [76] Self-generated https://github.com/VectorSpaceLab/OmniGen2
44 Show-o2 [77] Self-generated https://github.com/showlab/Show-o/tree/main/show-o2
45 Ovis-U1 [78] Self-generated https://github.com/AIDC-AI/Ovis-U1
46 NextStep-1 [79] Self-generated https://huggingface.co/stepfun-ai/NextStep-1-Large
47 Z-Image-Turbo [80] Self-generated https://modelscope.cn/models/Tongyi-MAI/Z-Image-Turbo
48 LongCat-Image [81] Self-generated https://github.com/meituan-longcat/LongCat-Image
49 Kolors [82] API https://kolors-ai.com/
50 Qwen-Image [83] API https://www.aliyun.com/
51 Imagen 4 [84] API https://ai.google.dev/gemini-api
52 Nano Banana API https://ai.google.dev/gemini-api
53 Nano Banana Pro API https://ai.google.dev/gemini-api
54 Doubao Seedream 4.0 [85] API https://seedream-4.io/
55 Doubao Seedream 3.0 [86] API https://console.volcengine.com/
56 HunyuanImage 3.0 [87] API https://cloud.tencent.com/
57 FLUX.2 [88] API https://flux-2.studio/
58 wan2.2-t2i-flash [89] API https://www.aliyun.com/
59 wan2.5-t2i-preview [89] API https://www.aliyun.com/
60 CogView4 API https://bigmodel.cn/
61 Sora-image API https://sora.chatgpt.com/
62 GPT-image-1.5 [90] API https://chatgpt.com/images/
63 Midjourney v6.1 API https://www.midjourney.com/
64 Midjourney v7 API https://www.midjourney.com/
Figure 7: Long-horizon continual few-shot adaptation over 20 sequential generator stages.The upper panel tracks the query accuracy of the first five adapted generators during later stages. The lower panel shows zero-shot, before-training, and after-training accuracy for each newly introduced generator, along with the pretraining validation accuracy and the decreasing pretraining-data ratio in the replay buffer.

7.4 Long-horizon continual few-shot adaptation.↩︎

We further evaluate Fleet under a longer sequential adaptation setting to study whether limited replay data for earlier generators can cause retention or adaptation degradation. Specifically, we construct a 20-stage generator sequence, where each stage introduces one new generator with few-shot supervision. Since the replay buffer has a fixed size, the relative proportion of samples from the original pretraining distribution gradually decreases as more adapted generators are included, making later stages more challenging.

As shown in Fig. 7, Fleet remains stable over the full sequence. The pretraining validation accuracy stays close to its initial level across all 20 stages, indicating that the model does not forget the original training distribution. The first five adapted generators also keep high query accuracy after later adaptations, showing that early new-class knowledge is not overwritten. For each newly introduced generator, few-shot adaptation consistently improves the query accuracy over both the zero-shot result and the before-training result. Although later stages may benefit from accumulated exposure to a broader set of generators, the main observation is that Fleet does not collapse under this longer and more constrained replay setting. This suggests that the proposed framework can support long-horizon deployment beyond the short sequential setting used in the main experiments.

7.5 More comparisons between Treasure and other datasets↩︎

Table 2 presents further comparisons between our dataset and other datasets, demonstrating that our work shows significant advantages in terms of model quantity, novelty, semantic diversity, and stylistic diversity.

Table 4: Comparison of benchmarks for AI-generated images detection.
Benchmark Venue \(\sim\)​23 24 25
Benchmark Venue Methods \(\sim\)​23 24 25 Semantics Styles Closed
CNNDect CVPR ’20 11 12 0 0 0
Genimage NeurIPS ’23 8 8 0 0 2
MPBench NeurIPS ’23 11 11 0 0 1
WildFake AAAI ’25 22 22 0 0 5
Chameleon ICLR ’25 16 16 0 0 2
AIGIBench NeurIPS ’25 25 14 11 0 5
Treasure (Ours) 64 26 9 29 20

7.6 Detailed Results of Comparative Experiments↩︎

In this section, we provide a detailed breakdown of Table ¿tbl:tab:comparison-combined?. Table ¿tbl:tab:aigi-detail? and Table ¿tbl:tab:treasure95detail? present the accuracies of various methods on AI-generated and non-AI images for each subset of the AIGIBench-13 and Treasure datasets, respectively. Table ¿tbl:tab:aigi-detail-val? and Table ¿tbl:tab:treasure95detail95val? report the accuracies on the pre-training validation set after the few-shot methods are fine-tuned separately on each subset of AIGIbench-13 and Treasure, respectively.

Detailed results on AIGIbench-13.
Setting Method ProGAN R3GAN StyleGAN3 StyleGAN-XL StyleSwim WFIR
3-14 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
ZeroShot FreqNet 99.3 98.4 69.5 60.0 98.4 64.8 97.8 59.7 98.0 59.8 97.3 22.7
ClipDetection 98.7 98.9 95.3 71.6 87.5 77.8 98.2 70.8 99.3 73.6 96.2 49.3
AIDE 95.4 99.1 99.1 86.7 91.2 85.0 91.7 85.9 82.2 85.4 41.5 99.8
SAFE 99.5 100.0 92.5 81.9 84.8 81.6 71.6 81.0 100.0 80.7 7.9 100.0
PLM 98.6 99.5 98.1 93.7 95.5 93.2 99.8 92.6 100.0 93.4 0.0 100.0
FewShot FSD (10-shot) 96.0 99.3 76.0 58.9 69.9 86.5 70.4 75.1 69.5 79.6 57.2 56.1
Ours (10-shot) 100.0 99.3 99.2 93.5 97.9 92.3 94.7 94.6 98.6 91.7 97.8 76.3


Detailed results on AIGIbench-13.
Method DALLE-3 FLUX1-dev GLIDE Imagen3 Midjourney SD3 SDXL
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 73.7 59.5 91.3 59.7 82.6 67.7 81.1 61.3 85.2 20.0 88.1 60.8 98.7 60.8
ClipDetection 77.9 73.4 82.1 72.1 80.2 77.6 82.0 72.0 76.7 49.4 95.4 76.7 94.5 76.7
AIDE 24.7 85.5 90.1 86.0 98.4 88.6 94.0 85.7 80.0 72.9 99.3 89.3 97.6 89.3
SAFE 0.4 81.3 95.7 81.2 95.0 87.6 81.0 81.7 91.6 48.2 87.3 85.5 99.8 85.5
PLM 0.2 93.1 99.0 92.8 99.6 95.7 97.6 93.2 96.3 83.2 98.0 95.0 99.8 95.0
FSD (10-shot) 71.2 84.1 72.4 88.0 71.3 84.5 70.3 74.9 70.3 82.8 63.3 79.1 67.5 83.7
Ours (10-shot) 98.7 90.7 94.3 98.7 96.0 95.8 92.3 89.6 97.3 93.8 99.7 94.3 100.0 93.4
Few-shot performance on the Pretrain Validation set of AIGIbench-13.
Method ProGAN R3GAN StyleGAN3 StyleGAN-XL StyleSwim WFIR
2-13 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 50.1 99.5 60.0 86.2 93.2 95.3 66.0 97.8 95.8 96.6 63.6 82.7
Ours (10-shot) 100.0 99.3 100.0 99.3 100.0 99.4 100.0 99.6 100.0 99.4 100.0 99.0


Few-shot performance on the Pretrain Validation set of AIGIbench-13.
Method DALLE-3 FLUX1-dev GLIDE Imagen3 Midjourney SD3 SDXL
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 57.8 94.6 62.4 98.1 91.9 82.0 45.7 61.4 47.5 36.0 68.6 94.1 73.1 97.3
Ours (10-shot) 100.0 99.8 100.0 99.9 100.0 99.6 100.0 99.0 100.0 99.6 100.0 99.3 100.0 99.3

3pt

Detailed results on Treasure.
Setting Method ADM BAGEL BRIA v3.2 BigGAN CogView2 CogView4
3-14 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
ZeroShot FreqNet 32.7 75.0 82.9 75.0 84.4 75.0 97.9 75.0 65.5 75.0 21.7 75.0
CLIPDetection 14.3 75.8 73.3 75.8 83.3 75.8 77.0 75.8 90.5 75.8 46.7 75.8
AIDE 92.9 98.6 78.9 98.6 80.0 98.6 73.8 98.6 11.8 98.6 0.7 98.6
SAFE 62.4 99.8 96.8 99.8 98.2 99.8 0.0 99.8 55.7 99.8 0.1 99.8
PLM 98.2 99.8 98.2 99.8 98.7 99.9 97.3 99.7 1.4 99.9 0.0 99.9
FewShot FSD (10-shot) 75.7 47.8 73.3 94.0 75.3 91.3 79.0 80.7 71.7 95.0 63.0 81.7
Ours (10-shot) 85.7 92.8 80.4 98.3 92.1 99.0 94.8 99.8 98.6 99.8 78.1 97.4


Detailed results on Treasure.
Method Cogview3plus DALL·E 2 DALL·E 3 DF-GAN DeepFloyd IF FLUX.1-dev FLUX.2
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 61.0 75.0 84.0 75.0 60.9 75.0 75.0 75.0 27.1 75.0 41.0 75.0 84.7 75.0
CLIPDetection 71.6 75.8 45.2 75.8 55.8 75.8 99.8 75.8 57.2 75.8 51.1 75.8 74.1 75.8
AIDE 82.5 98.6 84.2 98.6 6.0 98.6 90.9 98.6 94.0 98.6 1.5 98.6 79.3 98.6
SAFE 94.6 99.8 85.6 99.8 0.1 99.8 94.9 99.8 52.6 99.8 0.0 99.8 86.5 99.8
PLM 96.9 100.0 86.3 99.9 0.1 99.8 97.8 99.8 96.3 99.8 0.1 99.9 99.0 99.8
FSD (10-shot) 65.0 90.3 64.3 94.3 63.7 90.7 76.0 83.0 53.3 52.7 62.0 87.7 51.0 50.7
Ours (10-shot) 76.4 98.9 82.7 99.2 93.4 97.4 99.9 99.9 77.2 97.4 87.0 98.6 90.9 92.3


Detailed results on Treasure.
Method GLIDE GPT-4o GigaGAN HiDream-I1-Dev HunyuanDiT HunyuanImage 3.0 Imagen
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 80.8 75.0 83.8 75.0 98.5 75.0 98.6 75.0 67.9 75.0 88.2 75.0 90.3 75.0
CLIPDetection 81.5 75.8 70.5 75.8 79.5 75.8 84.1 75.8 80.8 75.8 86.8 75.8 89.9 75.8
AIDE 98.6 98.6 75.2 98.6 97.6 98.6 99.9 98.6 75.2 98.6 99.5 98.6 96.1 98.6
SAFE 95.0 99.8 88.1 99.8 92.5 99.8 99.5 99.8 93.5 99.8 96.7 99.8 54.9 99.8
PLM 99.7 99.8 90.8 99.9 99.3 99.8 99.9 99.8 96.9 99.9 98.6 99.7 86.5 99.9
FSD (10-shot) 68.3 85.3 59.3 71.7 59.0 75.3 76.7 93.3 68.0 88.0 60.3 73.3 85.0 96.7
Ours (10-shot) 88.0 99.3 90.0 94.5 97.0 98.5 88.4 97.5 89.9 99.0 96.9 98.4 98.1 98.5


Detailed results on Treasure.
Method Imagen 4 Infinity Janus-Pro-7B Kolors LlamaGen LongCat-Image LUMINA-Image 2.0
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 67.7 75.0 94.2 75.0 98.9 75.0 91.8 75.0 86.7 75.0 48.7 75.0 79.1 75.0
CLIPDetection 73.8 75.8 80.5 75.8 85.8 75.8 81.2 75.8 89.9 75.8 86.9 75.8 85.7 75.8
AIDE 16.2 98.6 97.2 98.6 97.3 98.6 92.3 98.6 94.5 98.6 87.3 98.6 84.2 98.6
SAFE 0.6 99.8 99.9 99.8 99.8 99.8 98.4 99.8 99.0 99.8 95.4 99.8 90.4 99.8
PLM 0.1 99.8 98.7 99.8 99.2 99.8 99.2 99.8 99.2 99.8 96.1 100.0 96.1 99.8
FSD (10-shot) 58.7 79.7 69.7 92.3 73.3 93.7 71.3 93.3 57.3 84.3 52.7 75.7 66.7 87.0
Ours (10-shot) 91.3 94.2 86.7 98.6 98.2 99.6 99.3 99.2 99.5 99.6 89.6 96.7 94.1 99.0


Detailed results on Treasure.
Method MAE Midjourney V6.1 Midjourney V7 Midjourney V4 Midjourney V5 Midjourney V6 Nano Banana
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 84.2 75.0 35.1 75.0 26.1 75.0 81.8 75.0 81.0 75.0 67.0 75.0 81.0 75.0
CLIPDetection 70.0 75.8 51.2 75.8 41.7 75.8 67.3 75.8 60.6 75.8 65.5 75.8 73.6 75.8
AIDE 97.9 98.6 1.0 98.6 1.0 98.6 71.7 98.6 63.9 98.6 69.5 98.6 90.1 98.6
SAFE 100.0 99.8 0.2 99.8 0.3 99.8 85.3 99.8 90.7 99.8 89.1 99.8 97.3 99.8
PLM 96.9 99.8 0.1 99.8 0.3 99.8 96.0 99.8 97.5 99.8 97.2 99.8 98.6 99.8
FSD (10-shot) 94.3 98.7 56.3 76.0 49.3 64.0 58.0 90.7 71.3 91.0 51.3 69.0 57.0 75.0
Ours (10-shot) 99.0 99.5 62.4 98.0 52.0 94.9 95.6 99.1 79.2 96.4 92.8 96.7 78.2 97.3

3pt

No caption
Method Nano Banana Pro NextStep OmniGen OmniGen2 Playground V2 Playground V2.5 ProGAN
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 57.6 75.0 99.3 75.0 84.2 75.0 61.7 75.0 92.5 75.0 87.0 75.0 100.0 75.0
CLIPDetection 56.6 75.8 87.1 75.8 84.8 75.8 72.7 75.8 81.4 75.8 75.1 75.8 98.8 75.8
AIDE 4.5 98.6 97.4 98.6 79.5 98.6 83.1 98.6 95.0 98.6 89.5 98.6 99.5 98.6
SAFE 0.1 99.8 100.0 99.8 97.7 99.8 94.8 99.8 97.3 99.8 97.4 99.8 100.0 99.8
PLM 0.0 99.7 98.3 99.8 98.5 99.9 96.5 99.8 99.2 99.8 99.4 100.0 99.0 99.8
FSD (10-shot) 56.0 76.7 77.0 94.0 62.3 91.7 63.3 89.7 61.3 87.0 55.3 77.0 99.7 100.0
Ours (10-shot) 80.1 79.0 93.5 97.2 97.7 97.8 80.3 98.4 99.2 99.5 94.7 99.5 100.0 99.9


No caption
Method Qwen-Image SD3-Medium SDXL SD v1.4 SD v1.5 SD v2.1 SANA v1.5
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 63.3 75.0 84.3 75.0 47.3 75.0 99.9 75.0 99.8 75.0 89.8 75.0 61.4 75.0
CLIPDetection 75.8 75.8 75.6 75.8 74.2 75.8 94.2 75.8 93.8 75.8 68.3 75.8 73.6 75.8
AIDE 95.9 98.6 80.5 98.6 93.8 98.6 99.9 98.6 99.7 98.6 97.6 98.6 95.8 98.6
SAFE 98.6 99.8 83.3 99.8 98.6 99.8 99.9 99.8 99.8 99.8 96.2 99.8 99.3 99.8
PLM 99.5 99.8 95.7 99.7 99.8 99.8 98.7 99.8 98.1 99.8 96.8 99.8 97.5 99.9
FSD (10-shot) 69.3 89.7 69.0 92.0 53.3 73.7 99.3 98.7 98.7 98.7 88.3 97.0 57.3 83.3
Ours (10-shot) 87.2 97.7 92.0 97.6 91.5 96.6 100.0 99.9 100.0 99.9 88.5 98.2 98.2 99.3


No caption
Method Show-o Show-o2 StarGAN StyleGAN3 VQDM Wukong Z-Image-Turbo
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 93.2 75.0 98.3 75.0 42.7 75.0 16.2 75.0 34.6 75.0 98.1 75.0 82.4 75.0
CLIPDetection 83.7 75.8 90.1 75.8 62.4 75.8 31.5 75.8 46.6 75.8 78.6 75.8 64.3 75.8
AIDE 89.4 98.6 98.0 98.6 35.5 98.6 3.7 98.6 89.8 98.6 98.8 98.6 94.5 98.6
SAFE 99.6 99.8 99.8 99.8 35.2 99.8 0.0 99.8 84.9 99.8 99.6 99.8 90.3 99.8
PLM 99.2 99.8 99.5 99.8 34.5 99.8 0.0 99.8 98.0 99.8 98.1 99.8 97.8 99.8
FSD (10-shot) 73.0 94.7 93.3 97.3 89.3 90.0 88.3 77.3 73.0 48.0 93.7 98.0 61.7 84.7
Ours (10-shot) 98.3 99.1 100.0 99.3 84.9 98.9 77.7 99.1 92.9 99.4 99.9 99.3 66.8 93.3


No caption
Method Doubao Seedream 3.0 Doubao Seedream 4.0 GPT-image-1.5 ideogram Ovis-U1 PixArt-\(\alpha\) Sora-image
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FreqNet 33.3 75.0 45.8 75.0 72.3 75.0 48.9 75.0 74.6 75.0 60.6 75.0 73.9 75.0
CLIPDetection 54.3 75.8 74.7 75.8 65.8 75.8 60.1 75.8 82.7 75.8 72.8 75.8 66.8 75.8
AIDE 0.4 98.6 0.0 98.6 75.7 98.6 2.1 98.6 78.6 98.6 41.3 98.6 75.2 98.6
SAFE 0.0 99.8 0.3 99.8 98.4 99.8 1.6 99.8 96.9 99.8 45.8 99.8 98.7 99.8
PLM 0.1 99.7 0.0 99.8 97.8 99.8 1.6 99.7 96.1 99.8 52.2 99.7 98.3 99.8
FSD (10-shot) 61.0 76.0 58.0 72.3 63.7 70.3 59.7 87.7 57.3 86.7 49.0 67.0 57.0 72.7
Ours (10-shot) 80.0 89.3 73.1 93.0 81.2 87.7 80.3 97.2 96.7 98.9 63.3 89.4 61.3 92.5


No caption
Method wan2.2-t2i-flash wan2.5-t2i-preview
2-5 AI Non-AI AI Non-AI
FreqNet 76.6 75.0 66.7 75.0
CLIPDetection 86.9 75.8 83.9 75.8
AIDE 70.6 98.6 92.1 98.6
SAFE 98.2 99.8 99.5 99.8
PLM 76.5 99.7 56.4 99.8
FSD (10-shot) 78.3 94.3 63.0 81.3
Ours (10-shot) 83.5 96.9 95.9 92.1

3pt

Few-shot performance on the Pretrain Validation set of Treasure.
Setting Method ADM BAGEL BRIA v3.2 BigGAN CogView2 CogView4
3-14 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FewShot FSD (10-shot) 35.1 27.2 69.5 97.5 76.7 97.4 64.1 65.8 94.6 97.8 71.2 89.9
Ours (10-shot) 100.0 99.8 100.0 100.0 100.0 100.0 100.0 100.0 99.9 100.0 100.0 99.9


Few-shot performance on the Pretrain Validation set of Treasure.
Method Cogview3plus DALL·E 2 DALL·E 3 DF-GAN DeepFloyd IF FLUX.1-dev FLUX.2
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 93.0 95.9 61.7 98.0 58.7 97.2 88.5 75.4 69.3 48.5 58.4 96.4 51.5 55.5
Ours (10-shot) 100.0 100.0 100.0 100.0 100.0 100.0 99.9 100.0 100.0 100.0 100.0 100.0 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method GLIDE GPT-4o GigaGAN HiDream-I1-Dev HunyuanDiT HunyuanImage 3.0 Imagen
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 93.2 86.6 40.6 76.3 73.0 85.4 52.9 97.8 80.8 94.5 48.2 81.9 58.5 98.7
Ours (10-shot) 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method Imagen 4 Infinity Janus-Pro-7B Kolors LlamaGen LongCat-Image LUMINA-Image 2.0
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 58.4 88.6 71.2 96.9 69.7 98.0 58.3 98.4 77.5 92.4 65.7 86.4 87.7 93.8
Ours (10-shot) 100.0 99.9 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method MAE Midjourney V6.1 Midjourney V7 Midjourney V4 Midjourney V5 Midjourney V6 Nano Banana
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 58.1 98.5 64.5 86.0 48.2 69.7 72.5 96.4 74.6 96.8 49.8 72.8 55.4 81.0
Ours (10-shot) 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 99.9 100.0 100.0 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method Nano Banana Pro NextStep OmniGen OmniGen2 Playground V2 Playground V2.5 ProGAN
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 60.0 83.0 85.3 97.9 74.2 97.4 87.9 95.7 68.0 93.9 69.5 82.9 49.9 99.9
Ours (10-shot) 100.0 99.3 100.0 99.9 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 99.9 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method Qwen-Image SD3-Medium SDXL SD v1.4 SD v1.5 SD v2.1 SANA v1.5
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 55.9 94.7 75.9 97.0 51.6 81.9 50.2 99.8 50.3 99.8 54.0 99.0 70.0 90.3
Ours (10-shot) 100.0 100.0 100.0 100.0 100.0 100.0 99.9 100.0 99.9 100.0 100.0 99.9 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method Show-o Show-o2 StarGAN StyleGAN3 VQDM Wukong Z-Image-Turbo
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 55.3 98.4 54.8 99.2 69.5 88.9 48.7 57.5 27.9 32.1 51.5 99.5 64.4 93.1
Ours (10-shot) 100.0 100.0 100.0 100.0 100.0 99.9 100.0 99.8 100.0 100.0 100.0 100.0 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method Doubao Seedream 3.0 Doubao Seedream 4.0 GPT-image-1.5 ideogram Ovis-U1 PixArt-\(\alpha\) Sora-image
2-15 AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI AI Non-AI
FSD (10-shot) 51.4 83.0 55.4 78.1 53.6 79.5 61.3 93.8 82.0 94.2 49.4 68.1 53.5 79.9
Ours (10-shot) 100.0 99.9 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 99.9 100.0 100.0


Few-shot performance on the Pretrain Validation set of Treasure.
Method wan2.2-t2i-flash wan2.5-t2i-preview
2-5 AI Non-AI AI Non-AI
FSD (10-shot) 56.2 98.3 61.9 90.1
Ours (10-shot) 100.0 100.0 100.0 100.0

References↩︎

[1]
S.-Y. Wang, O. Wang, R. Zhang, A. Owens, and A. A. Efros, “CNN-generated images are surprisingly easy to spot… for now,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2020, pp. 8692–8701, doi: 10.1109/CVPR42600.2020.00872.
[2]
C. Tan, Y. Zhao, S. Wei, G. Gu, P. Liu, and Y. Wei, “Frequency-aware deepfake detection: Improving generalizability through frequency space domain learning,” in Proceedings of the AAAI conference on artificial intelligence, 2024, vol. 38, pp. 5052–5060.
[3]
C. Tan, Y. Zhao, S. Wei, G. Gu, P. Liu, and Y. Wei, “Rethinking the up-sampling operations in CNN-based generative network for generalizable deepfake detection,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2024, pp. 28130–28139, doi: 10.1109/CVPR52733.2024.02657.
[4]
Z. Wang et al., “DIRE for diffusion-generated image detection,” in Proceedings of the IEEE/CVF international conference on computer vision, 2023, pp. 22445–22455, doi: 10.1109/ICCV51070.2023.02051.
[5]
T. D. Nguyen, A. Azizpour, and M. C. Stamm, “Forensic self-descriptions are all you need for zero-shot detection, open-set source attribution, and clustering of AI-generated images,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2025, pp. 3040–3050, doi: 10.1109/CVPR52734.2025.00289.
[6]
Z. Yan et al., “Orthogonal subspace decomposition for generalizable AI-generated image detection,” in Proceedings of the international conference on machine learning, 2025, [Online]. Available: https://openreview.net/forum?id=GFpjO8S8Po.
[7]
C. Zhou, J. Wang, Y. Li, L. Li, J. Cao, and S. Tang, “Beyond semantic features: Pixel-level mapping for generalized AI-generated image detection,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 36101–36109.
[8]
U. Ojha, Y. Li, and Y. J. Lee, “Towards universal fake image detectors that generalize across generative models,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2023, pp. 24480–24489, doi: 10.1109/CVPR52729.2023.02345.
[9]
S. Yan et al., “A sanity check for AI-generated image detection,” in Proceedings of the international conference on learning representations, 2024.
[10]
C. Tan et al., “C2p-clip: Injecting category common prompt in clip to enhance generalization in deepfake detection,” in Proceedings of the AAAI conference on artificial intelligence, 2025, vol. 39, pp. 7184–7192.
[11]
H. Zhang, Q. He, X. Bi, W. Li, B. Liu, and B. Xiao, “Towards universal AI-generated image detection by variational information bottleneck network,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2025, pp. 23828–23837, doi: 10.1109/CVPR52734.2025.02219.
[12]
B. Liu, Q. Qin, and Q. He, “CausalCLIP: Causally-informed feature disentanglement and filtering for generalizable detection of generated images,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 7069–7077.
[13]
M. Zhu et al., “Genimage: A million-scale benchmark for detecting ai-generated image,” in Advances in neural information processing systems, 2023, vol. 36, pp. 77771–77782.
[14]
I. J. Goodfellow et al., “Generative adversarial nets,” in Advances in neural information processing systems, 2014, pp. 2672–2680.
[15]
T. Karras et al., “Alias-free generative adversarial networks,” in Advances in neural information processing systems, 2021, vol. 34, pp. 852–863.
[16]
A. Brock, J. Donahue, and K. Simonyan, “Large scale GAN training for high fidelity natural image synthesis,” in Proceedings of the international conference on learning representations, 2019, [Online]. Available: https://openreview.net/forum?id=B1xsqj09Fm.
[17]
J. Ho, A. Jain, and P. Abbeel, “Denoising diffusion probabilistic models,” in Advances in neural information processing systems, 2020, vol. 33, pp. 6840–6851.
[18]
P. Dhariwal and A. Nichol, “Diffusion models beat GANs on image synthesis,” in Advances in neural information processing systems, 2021, vol. 34, pp. 8780–8794.
[19]
P. Esser et al., “Scaling rectified flow transformers for high-resolution image synthesis,” in Proceedings of the international conference on machine learning, 2024.
[20]
Y. Hong et al., “WildFake: A large-scale and hierarchical dataset for AI-generated images detection,” in Proceedings of the AAAI conference on artificial intelligence, 2025, vol. 39, pp. 3500–3508.
[21]
S. Yan et al., “A sanity check for AI-generated image detection,” in Proceedings of the international conference on learning representations, 2025, [Online]. Available: https://openreview.net/forum?id=ODRHZrkOQM.
[22]
Z. Li et al., “Is artificial intelligence generated image detection a solved problem?” in Advances in neural information processing systems, 2025.
[23]
T. Karras, T. Aila, S. Laine, and J. Lehtinen, “Progressive growing of GANs for improved quality, stability, and variation,” in Proceedings of the international conference on learning representations, 2018, [Online]. Available: https://openreview.net/forum?id=Hk99zCeAb.
[24]
F. Yu, A. Seff, Y. Zhang, S. Song, T. Funkhouser, and J. Xiao, “LSUN: Construction of a large-scale image dataset using deep learning with humans in the loop.” 2015, [Online]. Available: https://arxiv.org/abs/1506.03365.
[25]
Z. Lu et al., “Seeing is not always believing: Benchmarking human and model perception of AI-generated images,” in Advances in neural information processing systems, 2023, vol. 36, pp. 25435–25447.
[26]
D. Cozzolino, G. Poggi, R. Corvi, M. Nießner, and L. Verdoliva, “Raising the bar of AI-generated image detection with CLIP,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition workshops, 2024, pp. 4356–4366, doi: 10.1109/CVPRW63382.2024.00439.
[27]
S. Wu, J. Liu, J. Li, and Y. Wang, “Few-shot learner generalizes across AI-generated image detection,” in Proceedings of the international conference on machine learning, 2025, [Online]. Available: https://openreview.net/forum?id=uvU29AfoNT.
[28]
J. Xu, Y. Yang, H. Fang, H. Liu, and W. Zhang, “FAMSeC: A few-shot-sample-based general AI-generated image detection method,” IEEE Signal Processing Letters, 2024.
[29]
E. J. Hu et al., “LoRA: Low-rank adaptation of large language models,” in Proceedings of the international conference on learning representations, 2022, [Online]. Available: https://openreview.net/forum?id=nZeVKeeFYf9.
[30]
S. Yao, R. Tao, X. Zheng, C. Liang, and C. Zhang, “Leveraging failed samples: A few-shot and training-free framework for generalized deepfake detection,” in Proceedings of the AAAI conference on artificial intelligence, 2026, vol. 40, pp. 27764–27772.
[31]
S. Wu, S. Li, J. Li, J. Liu, and Y. Wang, “OmniDFA: A unified framework for open set synthesis image detection and few-shot attribution.” 2025, [Online]. Available: https://arxiv.org/abs/2509.25682.
[32]
Y. Zhang et al., “Qwen3 embedding: Advancing text embedding and reranking through foundation models.” 2025, [Online]. Available: https://arxiv.org/abs/2506.05176.
[33]
J. Frank, T. Eisenhofer, L. Schönherr, A. Fischer, D. Kolossa, and T. Holz, “Leveraging frequency analysis for deep fake image recognition,” in Proceedings of the international conference on machine learning, 2020, pp. 3247–3258.
[34]
Z. He, P.-Y. Chen, and T.-Y. Ho, “Rigid: A training-free and model-agnostic framework for robust ai-generated image detection.” 2024, [Online]. Available: https://arxiv.org/abs/2405.20112.
[35]
O. Siméoni et al., “DINOv3.” 2025, [Online]. Available: https://arxiv.org/abs/2508.10104.
[36]
S.-A. Rebuffi, A. Kolesnikov, G. Sperl, and C. H. Lampert, “Icarl: Incremental classifier and representation learning,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 2001–2010.
[37]
R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer, “High-resolution image synthesis with latent diffusion models,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 10684–10695, doi: 10.1109/CVPR52688.2022.01042.
[38]
O. Li, J. Cai, Y. Hao, X. Jiang, Y. Hu, and F. Feng, “Improving synthetic image detection towards generalization: An image transformation perspective,” in Proceedings of the ACM SIGKDD conference on knowledge discovery and data mining, 2025, pp. 2405–2414.
[39]
T. Nakamura, T. Akiba, K. Fujii, Y. Oda, R. Yokota, and J. Suzuki, “Drop-upcycling: Training sparse mixture of experts with partial re-initialization,” in Proceedings of the international conference on learning representations, 2025.
[40]
Z. J. Wang, E. Montoya, D. Munechika, H. Yang, B. Hoover, and D. H. Chau, “Diffusiondb: A large-scale prompt gallery dataset for text-to-image generative models,” in Proceedings of the annual meeting of the association for computational linguistics, 2023, pp. 893–911.
[41]
BLIP3o, A dataset of 27 million images with long captions generated by Qwen/Qwen2.5-VL-7B-Instruct“BLIP3o-pretrain-long-caption dataset.” Hugging Face Dataset, 2025, [Online]. Available: https://huggingface.co/datasets/BLIP3o/BLIP3o-Pretrain-Long-Caption.
[42]
BLIP3o, Dataset containing  4.8 million images with short captions generated by Qwen/Qwen2.5-VL-7B-Instruct“BLIP3o-pretrain-short-caption dataset.” Hugging Face Dataset, 2025, [Online]. Available: https://huggingface.co/datasets/BLIP3o/BLIP3o-Pretrain-Short-Caption.
[43]
guangyil, A filtered subset of LAION-COCO images with aesthetic score \(> 4.75\) and low watermark probability“LAION-COCO subset with aesthetic and watermark scores.” Hugging Face Dataset, 2025, [Online]. Available: https://huggingface.co/datasets/guangyil/laion-coco-aesthetic.
[44]
A. Q. Nichol et al., “GLIDE: Towards photorealistic image generation and editing with text-guided diffusion models,” in Proceedings of the international conference on machine learning, 2022, pp. 16784–16804.
[45]
MindSpore Community, “Wukong model on MindSpore xihe ModelZoo.” https://xihe.mindspore.cn/modelzoo/wukong, 2022, [Online]. Available: https://xihe.mindspore.cn/modelzoo/wukong.
[46]
S. Gu et al., “Vector quantized diffusion model for text-to-image synthesis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 10686–10696, doi: 10.1109/CVPR52688.2022.01043.
[47]
Y. Choi, M. Choi, M. Kim, J.-W. Ha, S. Kim, and J. Choo, “StarGAN: Unified generative adversarial networks for multi-domain image-to-image translation,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2018, pp. 8789–8797, doi: 10.1109/CVPR.2018.00916.
[48]
M. Tao, H. Tang, F. Wu, X.-Y. Jing, B.-K. Bao, and C. Xu, “DF-GAN: A simple and effective baseline for text-to-image synthesis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 16515–16525, doi: 10.1109/CVPR52688.2022.01602.
[49]
A. Ramesh, P. Dhariwal, A. Nichol, C. Chu, and M. Chen, “Hierarchical text-conditional image generation with CLIP latents.” 2022, [Online]. Available: https://arxiv.org/abs/2204.06125.
[50]
C. Saharia et al., “Photorealistic text-to-image diffusion models with deep language understanding,” in Advances in neural information processing systems, 2022, [Online]. Available: https://openreview.net/forum?id=08Yk-n5l2Al.
[51]
K. He, X. Chen, S. Xie, Y. Li, P. Dollár, and R. Girshick, “Masked autoencoders are scalable vision learners,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 16000–16009.
[52]
M. Kang et al., “Scaling up GANs for text-to-image synthesis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2023, pp. 10124–10134, doi: 10.1109/CVPR52729.2023.00976.
[53]
D. Podell et al., SDXL: Improving latent diffusion models for high-resolution image synthesis,” in Proceedings of the international conference on learning representations, 2024, [Online]. Available: https://openreview.net/forum?id=di52zR8xgf.
[54]
M. Ding et al., “Cogview: Mastering text-to-image generation via transformers,” in Advances in neural information processing systems, 2021, vol. 34, pp. 19822–19835.
[55]
Stability AI, “Stable diffusion v2.1 and DreamStudio updates.” https://stability.ai/blog/stablediffusion2-1-release7-dec-2022, 2022.
[56]
DeepFloyd, DeepFloyd.” https://github.com/deep-floyd/IF, 2023.
[57]
Ideogram AI, “Ideogram: Advanced generative AI for image creation.” https://ideogram.ai/, 2024.
[58]
J. Chen et al., “PixArt-\(\alpha\): Fast training of diffusion transformer for photorealistic text-to-image synthesis,” in Proceedings of the international conference on learning representations, 2024, [Online]. Available: https://openreview.net/forum?id=eAKmQPe3m1.
[59]
OpenAI, “DALL-e 3 technical report.” https://openai.com/index/dall-e-3/, 2023.
[60]
Black Forest Labs, Model: FLUX.1-dev“FLUX.1: Bridging the gap between research and realistic image generation.” https://blackforestlabs.ai/announcing-flux-1/, 2024.
[61]
OpenAI, “GPT-4o system card.” 2024, [Online]. Available: https://arxiv.org/abs/2410.21276.
[62]
D. Li, A. Kamko, A. Sabet, E. Akhgari, L. Xu, and S. Doshi, “Playground v2.” [Online]. Available: [https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic](https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic).
[63]
D. Li, A. Kamko, E. Akhgari, A. Sabet, L. Xu, and S. Doshi, “Playground v2.5: Three insights towards enhancing aesthetic quality in text-to-image generation.” 2024, [Online]. Available: https://arxiv.org/abs/2402.17245.
[64]
Z. Li et al., “Hunyuan-DiT: A powerful multi-resolution diffusion transformer with fine-grained chinese understanding.” 2024, [Online]. Available: https://arxiv.org/abs/2405.08748.
[65]
P. Sun et al., “Autoregressive model beats diffusion: Llama for scalable image generation.” 2024, [Online]. Available: https://arxiv.org/abs/2406.06525.
[66]
J. Xie et al., “Show-o: One single transformer to unify multimodal understanding and generation,” in Proceedings of the international conference on learning representations, 2025, [Online]. Available: https://openreview.net/forum?id=o6Ynz6OIQ6.
[67]
S. Xiao et al., “Omnigen: Unified image generation,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2025, pp. 13294–13304.
[68]
W. Zheng et al., “CogView3: Finer and faster text-to-image generation via relay diffusion,” in Proceedings of the european conference on computer vision, 2024, pp. 1–22.
[69]
J. Han et al., “Infinity: Scaling bitwise autoregressive modeling for high-resolution image synthesis,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2025, pp. 15733–15744.
[70]
X. Chen et al., “Janus-pro: Unified multimodal understanding and generation with data and model scaling.” 2025, [Online]. Available: https://arxiv.org/abs/2501.17811.
[71]
E. Xie et al., “SANA 1.5: Efficient scaling of training-time and inference-time compute in linear diffusion transformer,” in Proceedings of the international conference on machine learning, 2025, [Online]. Available: https://openreview.net/forum?id=27hOkXzy9e.
[72]
Q. Qin et al., “Lumina-image 2.0: A unified and efficient image generative framework,” in Proceedings of the IEEE/CVF international conference on computer vision, 2025, pp. 20031–20042.
[73]
Q. Cai et al., HiDream-I1: A high-efficient image generative foundation model with sparse diffusion transformer.” 2025, [Online]. Available: https://arxiv.org/abs/2505.22705.
[74]
C. Deng et al., “Emerging properties in unified multimodal pretraining.” 2025, [Online]. Available: https://arxiv.org/abs/2505.14683.
[75]
BRIA AI, BRIA AI.” https://bria.ai/, 2024.
[76]
C. Wu et al., “OmniGen2: Exploration to advanced multimodal generation.” 2025, [Online]. Available: https://arxiv.org/abs/2506.18871.
[77]
J. Xie, Z. Yang, and M. Z. Shou, “Show-o2: Improved native unified multimodal models,” in Advances in neural information processing systems, 2025, [Online]. Available: https://openreview.net/forum?id=7VMg7Jb7AL.
[78]
G.-H. Wang et al., “Ovis-U1 technical report.” 2025, [Online]. Available: https://arxiv.org/abs/2506.23044.
[79]
C. Han et al., “NextStep-1: Toward autoregressive image generation with continuous tokens at scale,” in Proceedings of the international conference on learning representations, 2025.
[80]
H. Cai et al., “Z-image: An efficient image generation foundation model with single-stream diffusion transformer.” 2025, [Online]. Available: https://arxiv.org/abs/2511.22699.
[81]
Meituan LongCat Team et al., “LongCat-image technical report.” 2025, [Online]. Available: https://arxiv.org/abs/2512.07584.
[82]
Kolors Team, Model repository“Kolors: Effective training of diffusion model for photorealistic text-to-image synthesis.” https://github.com/Kwai-Kolors/Kolors, 2024.
[83]
C. Wu et al., “Qwen-image technical report.” 2025, [Online]. Available: https://arxiv.org/abs/2508.02324.
[84]
A. Fortin, G. Vernade, and S. Odoom, Online; official announcement of Google Imagen 4“Imagen 4 is now available in the gemini API and google AI studio.” Google Developers Blog, 2025, [Online]. Available: https://developers.googleblog.com/id/imagen-4-now-available-in-the-gemini-api-and-google-ai-studio/.
[85]
Team Seedream et al., “Seedream 4.0: Toward next-generation multimodal image generation.” 2025, [Online]. Available: https://arxiv.org/abs/2509.20427.
[86]
Y. Gao et al., “Seedream 3.0 technical report.” 2025, [Online]. Available: https://arxiv.org/abs/2504.11346.
[87]
S. Cao et al., “HunyuanImage 3.0 technical report.” 2025, [Online]. Available: https://arxiv.org/abs/2509.23951.
[88]
B. F. Labs, FLUX.2: Frontier Visual Intelligence.” https://bfl.ai/blog/flux-2, 2025.
[89]
Team Wan et al., “Wan: Open and advanced large-scale video generative models.” 2025, [Online]. Available: https://arxiv.org/abs/2503.20314.
[90]
OpenAI, “GPT image 1.5: OpenAI’s latest image generation model.” OpenAI Official Documentation, 2025, [Online]. Available: https://platform.openai.com/docs/models/gpt-image-1.5.