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

基于软对比损失的真实图像特征迁移学习在伪造图像检测中的应用

Transfer Learning of Real Image Features with Soft Contrastive Loss for Fake Image Detection

School of Cyber Science and Engineering, Wuhan University(武汉大学网络科学与工程学院);Nanyang Technological University(南洋理工大学);NSFOCUS(奇安信)

Ziyou Liang, Weifeng Liu, Run Wang, Mengjie Wu, Boheng Li, Yuyang Zhang, Lina Wang, Xinyi Yang

AI总结:

本文提出一种基于软对比损失的迁移学习方法,通过提取真实图像的自然痕迹特征来检测伪造图像,在泛化未知伪造技术和鲁棒性方面表现优异,具有实际应用价值。

摘要:

在过去几年中,不同生成模型合成的伪造图像中的伪影模式一直不一致,导致以往依赖识别真实与伪造之间细微差异的研究失败。在我们的初步实验中,我们发现伪造图像中的伪影总是随着生成模型的发展而变化,而自然图像则表现出稳定的统计特性。在本文中,我们采用仅由真实图像共享的自然痕迹作为分类器的附加目标。具体而言,我们引入了一个自监督特征映射过程用于自然痕迹提取,并开发了一种基于软对比损失的迁移学习,以使它们更接近真实图像并进一步远离伪造图像。这促使检测器基于图像与自然痕迹的接近程度做出决策。为了进行全面的实验,我们构建了一个高质量且多样化的数据集,包括由GANs和扩散模型组成的生成模型,以评估其在泛化未知伪造技术方面的有效性和在不同变换下生存的鲁棒性。实验结果表明,我们提出的方法给出了96.2%的mAP,显著优于基线方法。在流行的商业平台上进行的大量实验表明,我们提出的方法的准确率超过78.4%,突显了其在现实世界应用部署中的实用性。

英文摘要:

In the last few years, the artifact patterns in fake images synthesized by different generative models have been inconsistent, leading to the failure of previous research that relied on spotting subtle differences between real and fake. In our preliminary experiments, we find that the artifacts in fake images always change with the development of the generative model, while natural images exhibit stable statistical properties. In this paper, we employ natural traces shared only by real images as an additional target for a classifier. Specifically, we introduce a self-supervised feature mapping process for natural trace extraction and develop a transfer learning based on soft contrastive loss to bring them closer to real images and further away from fake ones. This motivates the detector to make decisions based on the proximity of images to the natural traces. To conduct a comprehensive experiment, we built a high-quality and diverse dataset that includes generative models comprising GANs and diffusion models, to evaluate the effectiveness in generalizing unknown forgery techniques and robustness in surviving different transformations. Experimental results show that our proposed method gives 96.2% mAP significantly outperforms the baselines. Extensive experiments conducted on popular commercial platforms reveal that our proposed method achieves an accuracy exceeding 78.4%, underscoring its practicality for real-world application deployment.

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

↑