FAMSeC: A Few-Shot-Sample-Based General AI-Generated Image Detection Method
- 4 December 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Signal Processing Letters
- Vol. 32 (10709908) , 226-230
Abstract
The explosive growth of generative AI has saturated the internet with AI-generated images, raising security concerns and increasing the need for reliable detection methods. The primary requirement for such detection is generalizability, typically achieved by training on numerous fake images from various models. However, practical limitations, such as closedsource models and restricted access, often result in limited training samples. Therefore, training a general detector with few-shot samples is essential for modern detection mechanisms. To address this challenge, we propose FAMSeC, a general AIgenerated image detection method based on LoRA-based Forgery Awareness Module and Semantic feature-guided Contrastive learning strategy. To effectively learn from limited samples and prevent overfitting, we developed a forgery awareness module (FAM) based on LoRA, maintaining the generalization of pretrained features. Additionally, to cooperate with FAM, we designed a semantic feature-guided contrastive learning strategy (SeC), making the FAM focus more on the differences between real/fake image than on the features of the samples themselves. Experiments show that FAMSeC outperforms state-of-the-art method, enhancing classification accuracy by 14.55% with just 0.56% of the training samples.Keywords
All Related Versions
Funding Information
- National Natural Science Foundation of China (62272003)
- Innovation Program for Quantum Science and Technology (2021ZD0302300)
- Science and Technology Major Project of Anhui Province (202423s06050001)
This publication has 16 references indexed in Scilit:
- Towards Universal Fake Image Detectors that Generalize Across Generative Models2023
- Learning on Gradients: Generalized Artifacts Representation for GAN-Generated Images Detection2023
- Detecting Generated Images by Real Images2022
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- Vector Quantized Diffusion Model for Text-to-Image Synthesis2022
- Analyzing and Improving the Image Quality of StyleGAN2020
- CNN-Generated Images Are Surprisingly Easy to Spot… for Now2020
- Semantic Image Synthesis With Spatially-Adaptive Normalization2019
- A Style-Based Generator Architecture for Generative Adversarial Networks2019
- StarGAN: Unified Generative Adversarial Networks for Multi-domain Image-to-Image Translation2018