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

Few-Shot Learner Generalizes Across AI-Generated Image Detection

About

Current fake image detectors trained on large synthetic image datasets perform satisfactorily on limited studied generative models. However, these detectors suffer a notable performance decline over unseen models. Besides, collecting adequate training data from online generative models is often expensive or infeasible. To overcome these issues, we propose Few-Shot Detector (FSD), a novel AI-generated image detector which learns a specialized metric space for effectively distinguishing unseen fake images using very few samples. Experiments show that FSD achieves state-of-the-art performance by $+11.6\%$ average accuracy on the GenImage dataset with only $10$ additional samples. More importantly, our method is better capable of capturing the intra-category commonality in unseen images without further training. Our code is available at https://github.com/teheperinko541/Few-Shot-AIGI-Detector.

Shiyu Wu, Jing Liu, Jing Li, Yequan Wang• 2025

Related benchmarks

TaskDatasetResultRank
AI-generated image detectionGenImage
Midjourney Detection Rate80.9
173
Generated Image DetectionGenImage (test)
Average Accuracy77.1
135
Open-set Few-shot AttributionOmniFake Part I
Accuracy67.32
18
Open-set Few-shot AttributionOmniFake Part II
Accuracy75.22
18
Open-set Few-shot AttributionOmniFake Part III
Accuracy77.4
18
Open-set Few-shot AttributionOmniFake Average
Accuracy73.31
18
AI-generated image detectionTreasure
Accuracy (AI)68.28
11
AI-generated image detectionAIGIBench 13
Accuracy (AI)71.17
11
Authenticity detectionOmniFake 1.0 (Part I)
F-Acc90.66
7
Authenticity detectionOmniFake 1.0 (Part II)
F-Acc83.33
7
Showing 10 of 12 rows

Other info

Follow for update