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

注意力劫持:跨查询的视觉-语言模型响应操控

Attention Hijacking: Response Manipulation Across Queries in Vision-Language Models

Hong Kong University of Science and Technology(香港理工大学);Shanghai Jiao Tong University(上海交通大学);Beihang University(北京航空航天大学)

Zhiqiang Wang, Dongrui Liu, Yan Li, Zonghao Ying, Wei Xue, Wenhan Luo, Yike Guo

AI总结:

本文研究了视觉-语言模型中跨查询响应操控问题,提出了一种新的对抗攻击方法Attention Hijacking,通过引导内部注意力分布保持图像主导模式,提高攻击在不同查询下的有效性。

摘要:

现有针对视觉-语言模型(VLMs)的对抗攻击可以将模型输出导向攻击者指定的目标响应,但当相同扰动输入与不同文本查询配对时,其效果往往会下降。本文研究了跨查询响应操控,即期望一个对抗示例在多样化的用户查询中保持有效。我们首先分析了现有攻击的局限性,发现成功转移与在响应生成过程中保持图像主导的注意力模式密切相关。受此观察启发,我们提出了Attention Hijacking,一种新的对抗攻击方法,该方法明确引导内部注意力分布向持久的图像主导模式倾斜。通过放大视觉标记对目标响应标记的影响,同时抑制文本标记的竞争影响,我们的方法减少了 manipulated 输出对特定查询用语的依赖。在广泛使用的VLMs上的大量实验表明,Attention Hijacking显著提高了跨查询转移性,适用于多样化的目标响应和未见查询。该方法也有效扩展到多种攻击场景,为VLMs中注意力稳定性在可转移响应操控中的作用提供了新的见解。

英文摘要:

Existing adversarial attacks on vision-language models (VLMs) can steer model outputs toward attacker-specified target responses, but their effectiveness often degrades when the same perturbed input is paired with different textual queries. This paper studies cross-query response manipulation, where a single adversarial example is expected to remain effective across diverse user queries. We first analyze the limitations of existing attacks and find that successful transfer is closely associated with preserving an image-dominant attention pattern during response generation. Motivated by the observation, we propose \textbf{Attention Hijacking}, a novel adversarial attack that explicitly steers internal attention distributions toward a persistent image-dominant pattern. By amplifying the influence of visual tokens on target response tokens while suppressing the competing influence of textual tokens, our method reduces the dependence of the manipulated output on the specific wording of the query. Extensive experiments on widely used VLMs show that Attention Hijacking substantially improves cross-query transferability across diverse target responses and unseen queries. The method also extends effectively to multiple attack scenarios, offering new insights into the role of attention stability in transferable response manipulation for VLMs.

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

↑