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

AI生成图像的零样本检测

Zero-Shot Detection of AI-Generated Images

University Federico II of Naples(那不勒斯费德里科二世大学);Technical University of Munich(慕尼黑工业大学)

Davide Cozzolino, Giovanni Poggi, Matthias Nießner, Luisa Verdoliva

AI总结:

提出基于熵的零样本检测器ZED,通过无损图像编码器计算待测图像相对于真实图像模型的意外程度,无需AI生成数据即可在多种生成模型上实现SoTA准确率提升3%以上。

摘要:

随着新的生成架构以前所未有的能力与逼真度不断涌现,检测AI生成图像已成为一项极其困难的挑战。近期发布了诸如DALLE、Midjourney和Stable Diffusion等许多商业工具的新版本,不断更新并重新训练有监督取证检测器以处理如此繁多的模型是不切实际的。为应对这一挑战,我们提出了一种基于熵的零样本检测器(ZED),它既不需要AI生成的训练数据,也不依赖对生成架构的了解来人工合成其伪影。受近期关于机器生成文本检测工作的启发,我们的想法是测量待分析图像相对于真实图像模型的“意外程度”。为此,我们依赖一种无损图像编码器,该编码器在给定上下文的情况下估计每个像素的概率分布。为确保计算效率,该编码器采用多分辨率架构,且上下文主要由图像低分辨率版本的像素组成。由于仅需真实图像即可学习模型,该检测器独立于生成器架构和合成训练数据。仅使用单一判别特征,所提出的检测器就实现了最先进的性能。在多种生成模型上,其准确率比SoTA平均提升了3%以上。代码可在https://grip-unina.github.io/ZED/获取。

英文摘要:

Detecting AI-generated images has become an extraordinarily difficult challenge as new generative architectures emerge on a daily basis with more and more capabilities and unprecedented realism. New versions of many commercial tools, such as DALLE, Midjourney, and Stable Diffusion, have been released recently, and it is impractical to continually update and retrain supervised forensic detectors to handle such a large variety of models. To address this challenge, we propose a zero-shot entropy-based detector (ZED) that neither needs AI-generated training data nor relies on knowledge of generative architectures to artificially synthesize their artifacts. Inspired by recent works on machine-generated text detection, our idea is to measure how surprising the image under analysis is compared to a model of real images. To this end, we rely on a lossless image encoder that estimates the probability distribution of each pixel given its context. To ensure computational efficiency, the encoder has a multi-resolution architecture and contexts comprise mostly pixels of the lower-resolution version of the image.Since only real images are needed to learn the model, the detector is independent of generator architectures and synthetic training data. Using a single discriminative feature, the proposed detector achieves state-of-the-art performance. On a wide variety of generative models it achieves an average improvement of more than 3% over the SoTA in terms of accuracy. Code is available at https://grip-unina.github.io/ZED/.

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

↑