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

利用中间编码器块的表示进行合成图像检测

Leveraging Representations from Intermediate Encoder-blocks for Synthetic Image Detection

CERTH-ITI(CERTH信息技术研究所)

Christos Koutlis, Symeon Papadopoulos

AI总结:

针对合成图像检测中高层语义特征缺乏细粒度线索的问题,本文利用CLIP中间Transformer块表示并加权融合,实现跨20个数据集平均提升10.6%的快速检测方法。

摘要:

近期开发并公开可用的合成图像生成方法与服务,使按需生成极其逼真的图像成为可能,给在线信息的完整性和安全性带来了巨大风险。最先进的合成图像检测(SID)研究已有力证明,从基础模型提取特征具有优势。然而,这类提取出的特征大多封装高层视觉语义,而非对SID任务更重要的细粒度细节。相反,浅层编码低层视觉信息。在本工作中,我们利用CLIP图像编码器的中间Transformer块所提取的图像表示,通过一个轻量级网络将其映射到可学习的、具有伪造感知能力的向量空间,该空间具备极强的泛化能力。我们还采用一个可训练模块,将每个Transformer块对最终预测的重要性纳入考量。通过在20个测试数据集上评估,我们的方法与最先进方法进行比较,展现出平均10.6%的绝对性能提升。值得注意的是,性能最佳的模型仅需训练一个epoch(约8分钟)。代码可在https://github.com/mever-team/rine获取。

英文摘要:

The recently developed and publicly available synthetic image generation methods and services make it possible to create extremely realistic imagery on demand, raising great risks for the integrity and safety of online information. State-of-the-art Synthetic Image Detection (SID) research has led to strong evidence on the advantages of feature extraction from foundation models. However, such extracted features mostly encapsulate high-level visual semantics instead of fine-grained details, which are more important for the SID task. On the contrary, shallow layers encode low-level visual information. In this work, we leverage the image representations extracted by intermediate Transformer blocks of CLIP's image-encoder via a lightweight network that maps them to a learnable forgery-aware vector space capable of generalizing exceptionally well. We also employ a trainable module to incorporate the importance of each Transformer block to the final prediction. Our method is compared against the state-of-the-art by evaluating it on 20 test datasets and exhibits an average +10.6% absolute performance improvement. Notably, the best performing models require just a single epoch for training (~8 minutes). Code available at https://github.com/mever-team/rine.

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

↑