Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FiSeR: Fine-Grained Source Representations for Cross-Domain AI Image Detection

About

Real-world synthetic image detectors often generalize poorly under domain shift despite strong in-domain performance. Using unsupervised UMAP projections, we find that natural and synthetic features remain partially separable on unseen datasets, yet performance still drops, suggesting that the classification head overfits to training-domain artifacts. Therefore, the key is to learn more transferable representations so that the decision criterion is more stable and robust to domain shifts. Based on the structural fact that synthetic images are produced by diverse generators, we propose a hierarchical contrastive learning framework that improves the separability between natural and synthetic images while preserving generator identity information. It jointly optimizes (i) a coarse contrastive objective between natural and synthetic images and (ii) a fine contrastive objective among synthetic images using generator identities. Trained on WildFake, our method achieves an average AUROC gain of +10.22 on cross-domain evaluation over Chameleon, AIGIBench, Community Forensics, and GenImage under the same settings as the strong baseline DIRE. For few-shot adaptation, we freeze the backbone and fit an SVM head on 10 labeled samples per class, improving AUROC by +10.64 on AIGIBench and +17.41 on Chameleon, averaged over 12 widely used detectors. Our code is publicly available at: https://github.com/heyongxin233/FiSeR.

Shan Zhang, Yongxin He, Mingming Zhang, Huiwen Tian, Lei Ma• 2026

Related benchmarks

TaskDatasetResultRank
AI-generated image detectionGenImage (test)--
36
AI Image DetectionWildFake (In-domain)
AUROC1
19
AI Image DetectionCommunity (OOD)
AUROC96.95
19
AI Image DetectionAIGIBench (OOD)
AUROC98
19
AI Image DetectionChameleon (OOD)
AUROC96.35
19
AI Image DetectionGenImage (OOD)
AUROC99.84
19
AI Image DetectionAIGIBench (test)
AUROC93.84
13
AI Image DetectionChameleon (test)
AUROC96.37
13
AI Image DetectionAverage (WildFake, Community, AIGIBench, Chameleon, GenImage) (test)
AUROC91.12
13
AI Image Detectioncommunity (test)
AUROC86.99
13
Showing 10 of 11 rows

Other info

Follow for update