Few-Shot Learner Generalizes Across AI-Generated Image Detection
Abstract
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.
Cite
Text
Wu et al. "Few-Shot Learner Generalizes Across AI-Generated Image Detection." Proceedings of the 42nd International Conference on Machine Learning, 2025.Markdown
[Wu et al. "Few-Shot Learner Generalizes Across AI-Generated Image Detection." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/wu2025icml-fewshot/)BibTeX
@inproceedings{wu2025icml-fewshot,
title = {{Few-Shot Learner Generalizes Across AI-Generated Image Detection}},
author = {Wu, Shiyu and Liu, Jing and Li, Jing and Wang, Yequan},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
year = {2025},
pages = {67449-67460},
volume = {267},
url = {https://mlanthology.org/icml/2025/wu2025icml-fewshot/}
}