arXiv:2508.13739cs.CV2025-08被引 3

通过中间投影器提升视觉语言模型的精准攻击能力。

Enhancing Targeted Adversarial Attacks on Large Vision-Language Models via Intermediate Projector

  • 利用Q-Former生成细粒度查询,增强攻击精度和隐蔽性。
  • 在标准攻击中成功率超基线,细粒度攻击中保留无关内容更优。
  • 适用于真实场景,对商业模型如Gemini、GPT也有良好迁移性。

大型视觉语言模型(VLMs)的广泛应用引发安全担忧,攻击者可能利用模型漏洞诱导有害输出,其中目标型黑盒对抗攻击尤为严重。现有方法多聚焦于编码器级全局相似性最大化,缺乏实现隐蔽且精准的细粒度攻击所需粒度,且普遍忽视了VLM中关键的投影器组件——其负责多模态对齐。为此,本文提出一种新型黑盒目标攻击框架,利用投影器提升攻击效果。具体而言,采用广泛使用的查询变换器(Q-Former),将全局图像嵌入转换为细粒度查询输出,以增强攻击强度与粒度。针对标准全局目标攻击,提出中间投影器引导攻击(IPGA),通过对齐Q-Former的细粒度查询输出与目标,提升攻击效力;并利用未针对特定大语言模型微调的预训练Q-Former,提高攻击迁移性。针对细粒度攻击,引入残差查询对齐(RQA)模块,约束非目标查询输出以保持无关内容。大量实验表明,IPGA在全局目标攻击中显著优于基线,结合RQA的IPGA-R在细粒度攻击中成功率更高,且能更好保留无关内容。该方法还可有效迁移至Google Gemini、OpenAI GPT等商用VLM。

原文摘要 · Abstract (English)

The growing deployment of Large Vision-Language Models (VLMs) raises safety concerns, as adversaries may exploit model vulnerabilities to induce harmful outputs, with targeted black-box adversarial attacks posing a particularly severe threat. However, existing methods primarily maximize encoder-level global similarity, which lacks the granularity for stealthy and practical fine-grained attacks, where only specific target should be altered (e.g., modifying a car while preserving its background). Moreover, they largely neglect the projector, a key semantic bridge in VLMs for multimodal alignment. To address these limitations, we propose a novel black-box targeted attack framework that leverages the projector. Specifically, we utilize the widely adopted Querying Transformer (Q-Former) which transforms global image embeddings into fine-grained query outputs, to enhance attack effectiveness and granularity. For standard global targeted attack scenarios, we propose the Intermediate Projector Guided Attack (IPGA), which aligns Q-Former fine-grained query outputs with the target to enhance attack strength and exploits the intermediate pretrained Q-Former that is not fine-tuned for any specific Large Language Model (LLM) to improve attack transferability. For fine-grained attack scenarios, we augment IPGA with the Residual Query Alignment (RQA) module, which preserves unrelated content by constraining non-target query outputs to enhance attack granularity. Extensive experiments demonstrate that IPGA significantly outperforms baselines in global targeted attacks, and IPGA with RQA (IPGA-R) attains superior success rates and unrelated content preservation over baselines in fine-grained attacks. Our method also transfers effectively to commercial VLMs such as Google Gemini and OpenAI GPT.

对抗攻击视觉语言模型细粒度控制投影器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。