Skip to content

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

arXiv· arXiv:2605.17310· Zhiqiang Wang, Dongrui Liu, Yan Li, Zonghao Ying, Wei Xue, Wenhan Luo, Yike GuoHong Kong University of Science and Technology; Shanghai Jiao Tong University; Beihang UniversityIndexed by this site · 25 days ago· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe paper proposes an adversarial attack called attention hijacking, which guides the internal attention of vision-language models to maintain an image-dominant pattern, so that a single adversarial example can still manipulate the target response under a variety of user queries. The authors' analysis finds that the cross-query transferability of existing attacks is closely related to whether an image-dominant attention pattern can be maintained during response generation. The method strengthens the influence of visual tokens on target response tokens while suppressing the competing influence of text tokens, thereby reducing the manipulated output's dependence on the specific wording of the query. Experiments on commonly used vision-language models show that the method improves cross-query transferability across a variety of target responses and unseen queries, and can be extended to multiple types of attack scenarios.

Questions
Existing VLM adversarial attacks optimize for a specific image-question pair, and their effectiveness degrades when the same adversarial image is paired with different user queries. The authors study cross-query response manipulation: whether a single adversarial image can stably induce a target response under diverse queries.
Methods
The authors observe that successful transfer is associated with maintaining an image-dominant attention pattern, and on this basis propose Attention Hijacking: adding an attention redistribution loss to the optimization to amplify the attention of visual tokens to target response tokens and suppress the influence of text tokens, together with a dynamic step size and query augmentation.
Experiments and results
On models such as LLaVA-1.5, InternVL-2.5, and Qwen2.5-VL, the authors report that this method achieves higher ASR than PGD, MIM, and VMA under both similar and irrelevant queries, e.g., InternVL-2.5 irrelevant queries 95.7% vs. PGD 3.5% (Table 1); and they extend it to text-centric attacks, jailbreak, hallucination, and sponge examples.
Limitations and future work
In Appendix C.9, the authors report that cross-model transfer is weak for all methods, and list cross-model and black-box transfer as future directions. The experiments are in a white-box setting, and the evaluated models are 4 open-source VLMs; the main experiments use 100 base queries per dataset, expanded to 1100 evaluation queries.

Related papers

Show 1 more papers
Read originalarxiv.org