Litcius/Paper detail

FAMSeC: A Few-Shot-Sample-Based General AI-Generated Image Detection Method

Juncong Xu, Yang Yang, Han Fang, Honggu Liu, Weiming Zhang

2024IEEE Signal Processing Letters13 citationsDOI

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 closed-source 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 AI-generated image detection method based on LoRA-based <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">F</b>orgery <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">A</b>wareness <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</b>odule and <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Se</b>mantic feature-guided <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">C</b>ontrastive 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 pre-trained 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.

Topics & Concepts

Shot (pellet)Artificial intelligenceComputer scienceComputer visionSample (material)Image (mathematics)Pattern recognition (psychology)Object detectionChemistryChromatographyOrganic chemistryCOVID-19 diagnosis using AIAdvanced Neural Network ApplicationsBrain Tumor Detection and Classification
FAMSeC: A Few-Shot-Sample-Based General AI-Generated Image Detection Method | Litcius