arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.16622cs.CVcs.AI
收藏

回答还是不回答?面向视觉语言模型的提示词适配对抗图像

Answer It or Not? Towards Prompt-Adapted Adversarial Images on Vision Language Models

Xi’an Jiaotong University(西安交通大学)

Shunyuan Bai, Yuchen Ren, Le Yang, Chenhao Lin, Chao Shen, Zhengyu Zhao

AI总结:

针对现有VLM对抗图像与提示词无关的局限,提出ProAda对抗图像,通过迭代更新提示词平衡拒有害提示与响应合法提示,在视觉隐私数据集上实现拒90%有害提示、允90%合法提示,性能更优且鲁棒性强。

摘要:

随着语言建模的发展,对抗图像的研究最近已从图像分类器转向视觉语言模型(VLMs)。尽管VLMs具有新的文本提示驱动特性,但我们发现现有的VLM对抗样本在很大程度上忽略了文本提示的动态性。在典型用例中,对抗图像可通过拒绝VLMs回答关于图像的问题来保护视觉隐私。然而,现有的保护措施与提示词无关,即不加区分地拒绝任何问题,包括那些用于图像潜在合法用途的问题。为解决这一局限,我们提出了提示词适配(ProAda)对抗图像,其优化目标是在拒绝有害提示词与正确响应合法提示词之间取得平衡。特别地,为实现更准确的对抗方向,我们还通过一个简单分类器迭代更新文本提示,以判断提示词的有害性是否仍存在。在视觉隐私相关数据集上的大量实验验证,ProAda可拒绝超过90%的有害提示词,同时允许超过90%的合法提示词,与现有的提示词无关的VLM对抗样本相比,表现出更优的整体性能。此外,我们的ProAda实现了具有竞争力的跨模型迁移性,并提升了对抗对策的鲁棒性。

英文摘要:

With the advancement in language modeling, research on adversarial images has recently shifted from image classifiers to vision-language models (VLMs). Despite the new, text-prompt-driven nature of VLMs, we find that existing VLM adversaries have largely overlooked the dynamics of text prompts. In a typical use case, adversarial images can protect visual privacy by rejecting VLMs from answering questions about the image. However, existing protections are prompt-agnostic, i.e., indiscriminately rejecting any question, including those for potential legitimate use of the image. To address this limitation, we propose Prompt-Adapted (ProAda) adversarial images, which are optimized to balance the rejection of harmful prompts and the correct response of legitimate prompts. In particular, to achieve a more accurate adversarial direction, the text prompt is also iteratively updated with a simple classifier judging whether the harmfulness of the prompt remains. Extensive experiments on visual-privacy-related datasets validate that ProAda can reject over 90% of harmful prompts while allowing over 90% of legitimate ones, demonstrating superior overall performance compared to existing prompt-agnostic VLM adversaries. In addition, our ProAda achieves competitive overall cross-model transferability and improved robustness against countermeasures.

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

↑