AntifakePrompt:提示微调的视觉语言模型是假图像检测器
AntifakePrompt: Prompt-Tuned Vision-Language Models are Fake Image Detectors
AI总结:
本文提出AntifakePrompt方法,利用视觉语言模型和提示微调技术,将深度伪造检测视为视觉问答问题,在多个生成模型数据集上显著提升检测准确率,实现高效泛化。
摘要:
深度生成模型可以生成极其逼真的假图像,同时引发了对错误信息和版权侵权的担忧,这被称为深度伪造威胁。深度伪造检测技术旨在区分真实和假图像,现有方法通常在图像域或各种特征域中学习分类器。然而,深度伪造检测对新兴和更先进的生成模型的泛化能力仍然具有挑战性。在本文中,受视觉语言模型(VLM)零样本优势的启发,我们提出了一种名为AntifakePrompt的新方法,使用VLM(如InstructBLIP)和提示微调技术来提高对未见数据的深度伪造检测准确性。我们将深度伪造检测表述为视觉问答问题,并为InstructBLIP调整软提示以回答查询图像的真实/虚假信息。我们在来自3个保留和20个保留生成模型的多样化数据集上进行了全谱实验,涵盖了现代文本到图像生成、图像编辑和对抗性图像攻击。这些测试数据集为深度伪造检测领域的进一步研究提供了有用的基准。此外,结果表明:(1)使用预训练视觉语言模型和提示微调,深度伪造检测准确性可以显著且一致地提高(在未见域上的平均准确率从71.06%提高到92.11%);(2)我们的优越性能以更少的训练数据和可训练参数为代价,为深度伪造检测提供了有效且高效的解决方案。代码和模型可在https://github.com/nctu-eva-lab/AntifakePrompt找到。
英文摘要:
Deep generative models can create remarkably photorealistic fake images while raising concerns about misinformation and copyright infringement, known as deepfake threats. Deepfake detection technique is developed to distinguish between real and fake images, where the existing methods typically learn classifiers in the image domain or various feature domains. However, the generalizability of deepfake detection against emerging and more advanced generative models remains challenging. In this paper, being inspired by the zero-shot advantages of Vision-Language Models (VLMs), we propose a novel approach called AntifakePrompt, using VLMs (e.g., InstructBLIP) and prompt tuning techniques to improve the deepfake detection accuracy over unseen data. We formulate deepfake detection as a visual question answering problem, and tune soft prompts for InstructBLIP to answer the real/fake information of a query image. We conduct full-spectrum experiments on datasets from a diversity of 3 held-in and 20 held-out generative models, covering modern text-to-image generation, image editing and adversarial image attacks. These testing datasets provide useful benchmarks in the realm of deepfake detection for further research. Moreover, results demonstrate that (1) the deepfake detection accuracy can be significantly and consistently improved (from 71.06% to 92.11%, in average accuracy over unseen domains) using pretrained vision-language models with prompt tuning; (2) our superior performance is at less cost of training data and trainable parameters, resulting in an effective and efficient solution for deepfake detection. Code and models can be found at https://github.com/nctu-eva-lab/AntifakePrompt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。