arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.10174cs.CVcs.LG
收藏

迈向跨生成模型泛化的通用伪造图像检测器

Towards Universal Fake Image Detectors that Generalize Across Generative Models

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Utkarsh Ojha, Yuheng Li, Yong Jae Lee

AI总结:

本文揭示现有真伪分类器对训练中未见生成模型失效的原因,并提出基于预训练视觉-语言模型特征空间的免学习最近邻检测方法,显著提升跨生成模型的伪造图像检测泛化能力。

摘要:

随着生成模型快速涌现,对通用伪造图像检测器的需求日益增长。本文首先表明,现有范式——训练一个深度网络进行真伪二分类——在仅针对GAN伪造图像训练时,无法检测来自新型生成模型的伪造图像。分析发现,所得分类器被不对称地调优,以检测使图像为假的模式;真实类别成为一个“汇聚类”,容纳所有非伪造内容,包括训练期间不可见模型生成的图像。基于这一发现,我们提出无需学习的真伪分类,即使用未经显式训练区分真伪的特征空间。我们以最近邻和线性探测作为该思想的具体实现。当使用大型预训练视觉-语言模型的特征空间时,最近邻分类这一极简基线在检测多种生成模型的伪造图像方面展现出令人惊讶的泛化能力;例如,在未见过的扩散模型和自回归模型上测试时,其mAP提升+15.07,准确率提升+25.90%。

英文摘要:

With generative models proliferating at a rapid rate, there is a growing need for general purpose fake image detectors. In this work, we first show that the existing paradigm, which consists of training a deep network for real-vs-fake classification, fails to detect fake images from newer breeds of generative models when trained to detect GAN fake images. Upon analysis, we find that the resulting classifier is asymmetrically tuned to detect patterns that make an image fake. The real class becomes a sink class holding anything that is not fake, including generated images from models not accessible during training. Building upon this discovery, we propose to perform real-vs-fake classification without learning; i.e., using a feature space not explicitly trained to distinguish real from fake images. We use nearest neighbor and linear probing as instantiations of this idea. When given access to the feature space of a large pretrained vision-language model, the very simple baseline of nearest neighbor classification has surprisingly good generalization ability in detecting fake images from a wide variety of generative models; e.g., it improves upon the SoTA by +15.07 mAP and +25.90% acc when tested on unseen diffusion and autoregressive models.

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

↑