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

Fusing Global and Local Features for Generalized AI-Synthesized Image Detection

About

With the development of the Generative Adversarial Networks (GANs) and DeepFakes, AI-synthesized images are now of such high quality that humans can hardly distinguish them from real images. It is imperative for media forensics to develop detectors to expose them accurately. Existing detection methods have shown high performance in generated images detection, but they tend to generalize poorly in the real-world scenarios, where the synthetic images are usually generated with unseen models using unknown source data. In this work, we emphasize the importance of combining information from the whole image and informative patches in improving the generalization ability of AI-synthesized image detection. Specifically, we design a two-branch model to combine global spatial information from the whole image and local informative features from multiple patches selected by a novel patch selection module. Multi-head attention mechanism is further utilized to fuse the global and local features. We collect a highly diverse dataset synthesized by 19 models with various objects and resolutions to evaluate our model. Experimental results demonstrate the high accuracy and good generalization ability of our method in detecting generated images. Our code is available at https://github.com/littlejuyan/FusingGlobalandLocal.

Yan Ju, Shan Jia, Lipeng Ke, Hongfei Xue, Koki Nagano, Siwei Lyu• 2022

Related benchmarks

TaskDatasetResultRank
Generated Image DetectionGenImage (test)
Average Accuracy76.16
124
AI-generated image detectionChameleon
Accuracy58.03
107
AI-generated image detectionChameleon (test)
Accuracy57.07
74
AI Image DetectionMidjourney
Accuracy52.2
51
AIGC DetectionAIGCDetectBenchmark
Accuracy68.38
50
Generated Image DetectionWukong
Accuracy51.7
41
AI-generated image detectionSD v1.5
Accuracy51.4
36
AI-generated image detectionProGAN
mAP100
29
AI-generated image detectionStyleGAN
mAP0.995
29
Generated Image DetectionADM
AP0.941
29
Showing 10 of 40 rows

Other info

Follow for update