通过真实图像的分布偏差检测AI生成图像
Detecting AI-Generated Images via Distributional Deviations from Real Images
AI总结:
本文提出基于掩码的预训练模型微调策略,通过纹理感知掩码机制提升AI生成图像检测的泛化性能,实验表明在两个数据集上准确率高达98.2%和94.6%。
摘要:
生成模型的快速发展显著提升了AI生成图像的质量,引发了关于虚假信息和公众信任度下降的担忧。检测AI生成图像因此成为关键挑战,特别是在泛化到未见过的生成模型方面。现有方法使用冻结的预训练CLIP模型在泛化方面表现出色,但将其图像编码器视为基本特征提取器,未能充分利用其潜力。在本文中,我们深入分析了冻结的CLIP图像编码器(CLIP-ViT),发现它在高级抽象特征空间中有效地聚类真实图像。然而,它并不真正具备区分真实图像和AI生成图像的能力。基于此分析,我们提出了一种基于掩码的预训练模型微调(MPFT)策略,引入了纹理感知掩码(TAM)机制,在微调过程中掩码包含生成模型特定模式的纹理区域。这种方法迫使CLIP-ViT关注
英文摘要:
The rapid advancement of generative models has significantly enhanced the quality of AI-generated images, raising concerns about misinformation and the erosion of public trust. Detecting AI-generated images has thus become a critical challenge, particularly in terms of generalizing to unseen generative models. Existing methods using frozen pre-trained CLIP models show promise in generalization but treat the image encoder as a basic feature extractor, failing to fully exploit its potential. In this paper, we perform an in-depth analysis of the frozen CLIP image encoder (CLIP-ViT), revealing that it effectively clusters real images in a high-level, abstract feature space. However, it does not truly possess the ability to distinguish between real and AI-generated images. Based on this analysis, we propose a Masking-based Pre-trained model Fine-Tuning (MPFT) strategy, which introduces a Texture-Aware Masking (TAM) mechanism to mask textured areas containing generative model-specific patterns during fine-tuning. This approach compels CLIP-ViT to attend to the "distributional deviations"from authentic images for AI-generated image detection, thereby achieving enhanced generalization performance. Extensive experiments on the GenImage and UniversalFakeDetect datasets demonstrate that our method, fine-tuned with only a minimal number of images, significantly outperforms existing approaches, achieving up to 98.2% and 94.6% average accuracy on the two datasets, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。