arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.26772cs.CV
收藏

通过补丁标记利用视觉基础模型特征进行AI生成图像检测

TAP into the Patch Tokens: Leveraging Vision Foundation Model Features for AI-Generated Image Detection

Mannheim University of Applied Sciences(曼海姆应用科学大学)

Ahmed Abdullah, Nikolas Ebert, Oliver Wasenmüller

AI总结:

本文通过评估多种视觉基础模型家族,提出利用可调注意池化(TAP)改进分类器头,提升AI生成图像检测性能,发现最佳模型在准确率上超越CLIP超过12%。

摘要:

近期方法表明,大规模预训练模型如CLIP视觉Transformer能有效检测未见过的生成模型中的AI生成图像(AIGIs)。许多最先进的AI生成图像检测方法基于原始CLIP-ViT进行改进。自CLIP发布以来,涌现出大量视觉基础模型(VFMs),融合了架构改进和不同训练范式。尽管这些进展,其在AIGI检测和AI图像取证中的潜力仍待探索。本文提出一个涵盖多种VFM家族的全面基准,覆盖多样化的预训练目标、输入分辨率和模型规模。我们系统评估了这些模型在检测完全生成的AI图像和AI修补图像中的性能,发现最佳模型在准确率上超越原始CLIP超过12%,超越现有方法。为了充分利用现代VFM的特征,我们提出了一种简单的分类器头重设计方法,利用可调注意池化(TAP)将输出标记聚合为精细化的全局表示。将TAP与最新VFMs结合,在多个AIGI检测基准中获得显著性能提升,在两个具有挑战性的野外检测基准中建立了新的最先进水平。

英文摘要:

Recent methods demonstrate that large-scale pretrained models, such as CLIP vision transformers, effectively detect AI-generated images (AIGIs) from unseen generative models when used as feature extractors. Many state-of-the-art methods for AI-generated image detection build upon the original CLIP-ViT to enhance this generalization. Since CLIP's release, numerous vision foundation models (VFMs) have emerged, incorporating architectural improvements and different training paradigms. Despite these advances, their potential for AIGI detection and AI image forensics remains largely unexplored. In this work, we present a comprehensive benchmark across multiple VFM families, covering diverse pretraining objectives, input resolutions, and model scales. We systematically evaluate their out-of-the-box performance for detecting fully-generated AI-images and AI-inpainted images, and discover that the best model outperforms the original CLIP by more than 12% in accuracy, beating established approaches in the process. To fully leverage the features of a modern VFM, we propose a simple redesign of the classifier head by utilizing tunable attention pooling (TAP), which aggregates output tokens into a refined global representation. Integrating TAP with the latest VFMs yields substantial performance gains across several AIGI detection benchmarks, establishing a new state-of-the-art on two challenging benchmarks for in-the-wild detection of AI-generated and -inpainted images.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑