Generalization to unseen image generators has driven efforts to adapt pretrained visual representations for detection. Yet recent findings show that vision foundation models already encode transferable detection knowledge, while further adaptation can impair generalization. This motivates a shift from backbone adaptation to knowledge readout. Conventional linear probing offers a direct way to read this knowledge but is limited to final-layer RGB features. Multi-cue detectors broaden the evidence base, but their designs introduce other tradeoffs: adaptation may compromise pretrained transferability, heterogeneous encoders complicate feature integration, and late fusion precludes intermediate cross-view interaction. To overcome these limitations, we propose ReMoT, a Mixture-of-Transformers-inspired framework that reads complementary knowledge from spatially aligned RGB and wavelet views within a fully frozen visual foundation. ReMoT employs staged joint attention to enable controlled local and global cross-view interaction, while learnable fusion queries progressively read complementary evidence across Transformer depth without writeback. ReMoT achieves 91.2% average accuracy across eight benchmark groups with 3,074 trainable parameters, attaining the highest overall average among the evaluated methods. These results support structured knowledge readout as a promising alternative to backbone adaptation. Code is available at https://github.com/yunncheng/ReMoT.
Figures & tables
Figure 1: Generalization across eight benchmarks. Axes report balanced accuracy; parentheses give eight-group averages.
Figure 2: From backbone adaptation to knowledge readout. Representative designs: (A) task-trained backbone adaptation; (B) heterogeneous encoding with late fusion; (C) final-layer RGB linear probing; (D) frozen dual-view joint processing with staged interaction and progressive query readout.
Figure 3: ReMoT framework. Frozen RGB/DWT streams interact from block s ; K fusion queries progressively read both without writeback. Insets show spatial alignment, joint attention, and Stage II connectivity (Figure 4 ). Only fusion-query embeddings and the classification head are trainable. DWT tiles are individually rescaled for display.
Figure 4: Staged joint-attention masks. Rows/columns denote queries/keys. Stage II adds global register and local patch connections across views; fusion queries read both throughout without writeback. Windows illustrate radius w .
Manually Curated Datasets
In-the-Wild Datasets
Method
GI-QF96
AIGCB-QF96
EvalGEN
Synthbuster
Mirage-Test
Chameleon
SynthWildX
WildRF
Avg.
NPR [ 31 ]
51.5 ± 6.3
53.1 ± 12.2
2.9 ± 2.7
50.0 ± 2.6
38.5 ± 14.0
59.9
49.8 ± 10.0
63.5 ± 13.6
46.1 ± 19.0
UnivFD [ 23 ]
64.1 ± 10.8
72.5 ± 17.3
15.4 ± 14.2
67.8 ± 14.4
25.1 ± 13.1
50.7
52.3 ± 11.3
55.3 ± 5.7
50.4 ± 20.2
FatFormer [ 21 ]
62.8 ± 10.4
85.0 ± 14.9
45.6 ± 33.1
56.1 ± 10.7
36.4 ± 20.4
51.2
52.1 ± 8.2
58.9 ± 8.0
56.0 ± 14.3
SAFE [ 19 ]
50.3 ± 1.2
50.3 ± 1.1
1.1 ± 0.6
46.5 ± 20.8
39.8 ± 22.1
59.2
49.1 ± 0.7
54.2 ± 18.5
43.8 ± 18.1
C2P-CLIP [ 32 ]
74.4 ± 8.4
81.4 ± 15.6
38.9 ± 31.2
68.5 ± 11.4
54.7 ± 20.1
51.1
57.1 ± 4.2
59.6 ± 7.7
60.7 ± 13.6
Table 1: Eight-group balanced accuracy (%). Means ± sample standard deviations; Avg. weights groups equally. Bold/underline: best/second best. Scoring, sources, and DDA corrections: Appendix A .
Method
Midjourney
SD v1.4
SD v1.5
ADM
GLIDE
Wukong
VQDM
BigGAN
Avg.
NPR [ 31 ]
53.4
55.1
55.0
43.8
41.2
57.4
48.4
57.7
51.5 ± 6.3
UnivFD [ 23 ]
55.1
55.6
55.7
62.5
61.3
61.1
76.9
84.4
64.1 ± 10.8
FatFormer [ 21 ]
52.1
53.6
53.8
61.4
65.5
60.9
72.5
82.2
62.8 ± 10.4
SAFE [ 19 ]
49.0
49.7
49.8
49.5
53.0
50.3
50.2
50.9
50.3 ± 1.2
C2P-CLIP [ 32 ]
56.6
77.5
76.9
71.6
73.5
79.4
73.7
85.9
74.4 ± 8.4
AIDE [ 39 ]
58.2
77.2
77.4
50.4
54.6
70.5
50.8
50.6
61.2 ± 11.9
Table 2: Per-generator balanced accuracy on GenImage-QF96 (GI-QF96; %).
Method
ADM
DALL-E2
GLIDE
Midjourney
VQDM
BigGAN
CycleGAN
GauGAN
ProGAN
SDXL
SD v1.4
SD v1.5
StarGAN
StyleGAN
StyleGAN2
WFR
Wukong
Avg.
NPR [ 31 ]
43.8
20.0
41.2
53.4
48.4
53.1
76.6
42.2
58.7
59.6
55.1
55.0
67.4
57.9
54.6
58.8
57.4
53.1 ± 12.2
UnivFD [ 23 ]
62.5
50.0
61.3
55.1
76.9
87.5
96.9
98.8
99.4
58.2
55.6
55.7
95.1
80.0
69.4
69.2
61.1
72.5 ± 17.3
FatFormer [ 21 ]
80.2
68.5
91.1
54.4
88.0
99.2
99.5
99.1
98.5
71.7
67.5
67.2
99.4
98.0
98.8
88.3
75.6
85.0 ± 14.9
SAFE [ 19 ]
49.5
49.5
53.0
49.0
50.2
52.2
51.9
50.0
50.0
49.8
49.7
49.8
50.1
50.0
50.0
49.8
50.3
50.3 ± 1.1
C2P-CLIP [ 32 ]
71.6
52.3
73.5
56.6
73.7
98.4
96.8
98.8
99.3
62.3
77.5
76.9
99.6
93.1
79.4
94.8
79.4
81.4 ± 15.6
AIDE [ 39 ]
52.9
51.1
60.2
49.8
69.3
70.1
93.6
60.6
89.0
49.6
51.6
51.0
72.1
66.5
59.0
80.6
54.5
63.6 ± 13.9
Table 3: Per-generator balanced accuracy on AIGCDetectBench-QF96 (AIGCB-QF96; %).
Table 5: Balanced accuracy on SynthWildX and WildRF (%).
Configuration
GI-QF96
AIGCB-QF96
EvalGEN
SynB
Mirage
Cham
SynX
WildRF
Avg.
Readout and adaptation
DINOv3 Linear Probe
87.7
83.3
96.5
90.1
62.9
83.1
85.8
84.0
84.2
ReMoT + attention LoRA ( r=8 )
83.8
72.4
77.3
73.1
47.0
57.4
78.0
75.5
70.5
Input views
DWT-only query readout
63.6
57.1
86.7
65.7
69.5
67.5
64.0
70.0
68.0
RGB-only query readout
91.1
86.5
98.0
91.5
73.6
80.9
85.5
85.6
86.6
Table 6: Component ablations in balanced accuracy (%; scoring as in Table 1 ). Avg. weights groups equally. Mask variants change only cross-view connections.
Figure 5: Robustness to JPEG compression (top) and Gaussian blur (bottom). “None” and radius 0 denote baseline conditions. Selected Mirage-Test/Chameleon baseline markers use Table 1 values; all other points are measured locally. GenImage uses original validation images, not GI-QF96. Sources and protocol: Appendix E .
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Method
DALL-E2
DALL-E3
Firefly
GLIDE
Midjourney
SD v1.3
SD v1.4
SD v2
SDXL
Avg.
NPR [ 31 ]
51.1
49.3
46.5
48.5
52.8
51.4
51.8
46.0
52.8
50.0 ± 2.6
UnivFD [ 23 ]
83.5
47.4
89.9
53.3
52.5
70.4
69.9
75.7
68.0
67.8 ± 14.4
FatFormer [ 21 ]
59.4
39.5
60.3
72.7
44.4
53.7
54.0
52.3
69.1
56.1 ± 10.7
SAFE [ 19 ]
58.0
9.9
10.3
52.2
56.7
59.4
59.1
53.0
59.5
46.5 ± 20.8
C2P-CLIP [ 32 ]
55.6
63.2
59.5
86.7
52.9
75.2
76.7
69.2
77.7
68.5 ± 11.4
AIDE [ 39 ]
34.9
33.7
24.8
65.0
57.5
74.1
73.7
53.2
68.4
53.9 ± 18.6
Appendix
Table 7: Per-generator balanced accuracy on Synthbuster (%).
Method
Flux
GoT
Infinity
NOVA
OmniGen
Avg.
NPR [ 31 ]
0.7
0.2
6.5
4.7
2.2
2.9 ± 2.7
UnivFD [ 23 ]
4.0
9.2
15.7
8.3
39.6
15.4 ± 14.2
FatFormer [ 21 ]
9.9
47.9
44.7
98.3
27.3
45.6 ± 33.1
SAFE [ 19 ]
1.0
0.5
1.9
0.6
1.6
1.1 ± 0.6
C2P-CLIP [ 32 ]
8.7
49.6
35.3
86.4
14.5
38.9 ± 31.2
AIDE [ 39 ]
17.9
24.7
3.4
16.3
33.4
19.1 ± 11.1
Appendix
Table 8: Per-generator fake-image detection accuracy on EvalGEN (%).
Figure 6: Parameter exploration across eight benchmark groups. Lines connect evaluated settings, and diamonds mark the highest score in each panel. Panels use different accuracy ranges, with scores shown to two decimal places. In (b), s counts the initial blocks in which the views are isolated. Direct exchange starts in the first block at s=0 and the tenth at s=9 . At s=24 , the views stay isolated throughout.
Implementation
Total (M)
Trainable (K)
Separate slots
606.31
4.098
Shared weights
303.95
4.098
Shared + merged queries
303.95
3.074
Appendix
Table 9: Parameter counts for equivalent implementations of ReMoT. M and K denote 106 and 103 parameters, respectively.
AI-generated image detection identifies synthetic or AI-edited images and develops methods that generalize across generators, domains, and image transformations.
The rapid evolution of generative image models challenges existing AI-generated image detectors, particularly in open-world settings with unseen generators. Recent training-free approaches measure robustness gaps in frozen vision foundation models (VFMs), detecting fakes via perturbation-induced embedding drift. However, these methods rely on fixed invariance geometry inherited from pretraining and lack principled adaptation to the detection task. We instead formulate AI-generated image detection as learning a structured invariance manifold of real images under one-class supervision. Building upon a frozen VFM, we introduce lightweight projection heads that decompose representation space into complementary robust and fragile subspaces. The robust subspace is explicitly trained to suppress variations induced by physically plausible imaging transformations, approximating tangent directions of a real-image manifold, while the fragile subspace retains sensitivity to edit-like perturbations. A structured ordering margin enforces hierarchical separation between physical invariance and edit-induced variability, enabling detection as a margin-violation test relative to the learned manifold. At inference, multi-scale patch-wise drift under both transformation families yields a dual-channel invariance signature and interpretable localization. Extensive experiments demonstrate strong open-world generalization across unseen generators and resolutions, consistently outperforming training-free robustness-based baselines while providing interpretable invariance-violation maps.
AI-generated image detectors generalize poorly when their training and test images originate from different generators or datasets. Despite the rich spatial representations produced by vision foundation models like DINO, existing detectors typically classify images using only the globally aggregated CLS token. We hypothesize that globally aggregating DINO features into a single CLS token obscures spatially distributed generation traces. To test this hypothesis, we introduce PatchHead, a lightweight spatial aggregation head that preserves the two-dimensional organization of DINO patch tokens and integrates evidence across neighboring regions. During training, we freeze the pretrained DINO backbone and optimize only the inserted LoRA adapters, PatchHead, and auxiliary projection head. Across nine cross-dataset benchmarks spanning manually curated and in-the-wild settings, PatchHead ranks first on seven datasets and second on the remaining two. It improves the strongest prior method from 91.6% to 94.6% in average balanced accuracy (+3.0 points) and raises the worst-case accuracy from 82.4% to 89.4% (+6.9 points), while introducing only 8.6% more trainable parameters and 0.08% additional FLOPs. Further qualitative analysis suggests that PatchHead (i) reduces class-conditional domain discrepancy, and (ii) redirects the representation from content-dominated saliency toward spatially distributed authenticity evidence. Together, these observations provide a representation-level account of why spatial patch aggregation transfers more reliably across generators and datasets than a single CLS-based global representation. Our code and models will be made available upon acceptance.
Shengbo Qi, Hongyi Fang, Benjia Zhou +1
Beijing Institute of Technology, Zhuhai · Shenzhen University
AI-generated image detectors are commonly trained on fixed generator domains and become difficult to maintain as new generative models emerge. Continual adaptation is challenging because replaying historical generated images is costly, whereas updating shared parameters with limited current-domain data can overwrite prior forensic knowledge. We propose EvoKnow, a replay-free framework that formulates continual AI-generated image detection as forensic knowledge evolution. EvoKnow preserves a shared forensic basis learned from base domains, incrementally adds isolated residual experts for complementary generator-relevant evidence, and retrieves expertise through an Analytical Incremental Router (AIR) updated in closed form from current-stage generated images and accumulated sufficient statistics. Experiments demonstrate effective cross-generator generalization, few-shot expansion, and long-horizon continual adaptation. With ten generated images per arriving generator, EvoKnow achieves 96.70% average accuracy on non-base GenImage generators and 94.48% accuracy on Chameleon without target-benchmark adaptation. Under a strict replay-free continual learning protocol, EvoKnow achieves state-of-the-art continual learning performance, attaining 96.32% mean stage-wise accuracy and 4.32% average forgetting.