arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.12381cs.CV
收藏

使用CLIP进行合成图像检测:理解和评估预测线索

Synthetic Image Detection with CLIP: Understanding and Assessing Predictive Cues

Institute for Data Science I4DS(数据科学研究所);University of Applied Sciences FHNW(应用科学大学);FHNW Brugg-Windisch AG(FHNW布吕克-温迪施公司)

Marco Willi, Melanie Mathys, Michael Graber

AI总结:

本文提出SynthCLIC数据集,通过分析CLIP-based检测器的学习机制,揭示其在合成图像检测中依赖于高级摄影属性而非生成器特定伪影,并强调了持续更新和广泛训练的重要性。

摘要:

近期生成模型生成的图像接近照片级真实,挑战了照片的可信度。因此,合成图像检测(SID)已成为研究的重要领域。先前的工作强调了合成图像与真实照片的不同之处——不幸的是,SID方法往往难以泛化到新的生成模型,并且在实际应用中表现不佳。CLIP,一种基础的视觉-语言模型,能够产生语义丰富的图像-文本嵌入,显示了在SID中的强大准确性和泛化能力。然而,CLIP特征中嵌入的相关线索仍不清楚。不清楚CLIP-based检测器是简单地检测强视觉伪影还是利用细微的语义偏差,这两种情况都会使它们在实际应用或高质量生成模型上失效。我们引入SynthCLIC,一个包含真实照片和高质量合成对应物的配对数据集,来自最近的扩散模型,旨在减少SID中的语义偏差。使用可解释的线性头部和去相关激活以及基于文本的概念模型,我们分析了CLIP-based检测器学习了什么。CLIP-based线性检测器在基于GAN的基准上达到0.96 mAP,但在我们的高质量扩散数据集SynthCLIC上仅达到0.92,跨生成器家族的泛化能力降至最低0.37 mAP。我们发现,检测器主要依赖于高级摄影属性(例如极简风格、镜头光斑或深度分层),而不是明显的生成器特定伪影。CLIP-based检测器总体表现良好,但泛化能力在不同的生成架构中不均。这突显了持续模型更新和更广泛训练暴露的必要性,同时强化了CLIP-based方法作为更通用、稳健SID的基础。

英文摘要:

Recent generative models produce near-photorealistic images, challenging the trustworthiness of photographs. Synthetic image detection (SID) methods, however, often struggle to generalize across datasets and generative models. CLIP, which embeds images and text in a shared semantic space, performs well at SID, but the cues underlying its decisions remain poorly understood. We therefore study CLIP-based SID as an empirical interpretability problem rather than proposing a new detector. We introduce SynthCLIC, which pairs real photographs with caption-matched, high-quality diffusion-generated counterparts. We evaluate CLIP-based detectors on SynthCLIC, a GAN-heavy benchmark, and a broad external benchmark, and compare them with a low-level forensic CNN, a broad-generator detector, and a text-grounded concept model. CLIP-based linear detectors reach 0.96 mAP on the GAN-heavy benchmark but 0.92 on SynthCLIC, while cross-family transfer to CNNSpot falls to 0.42 mAP. Within-class associations between detector scores and text-derived cue scores show that higher synthetic scores correspond to cleaner, more compositionally controlled, and technically polished images, whereas lower scores correspond to messier capture conditions and provenance cues characteristic of real photographs. These associations are distributed across many overlapping cues, and their profiles differ strongly across training datasets. CLIP-based and forensic detectors therefore fail in different ways and provide complementary evidence, while broad generator coverage appears important for robust SID.

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

↑