PA-Attack: Guiding Gray-Box Attacks on LVLM Vision Encoders with Prototypes and Attention

Hefei Mei, Zirui Wang, Chang Xu, Jian-Yuan Guo, Min-Jing Dong
2/1/2026
3 citations
transformer-attention

No official code found. Best implementation: hefeimei06/PA-Attack (6 stars, last commit 2026-05-13).

Abstract

Large Vision-Language Models (LVLMs) are foundational to modern multimodal applications, yet their susceptibility to adversarial attacks remains a critical concern. Prior white-box attacks rarely generalize across tasks, and black-box methods depend on expensive transfer, which limits efficiency.

Show full abstract

The vision encoder, standardized and often shared across LVLMs, provides a stable gray-box pivot with strong cross-model transfer. Building on this premise, we introduce PA-Attack (Prototype-Anchored Attentive Attack). PA-Attack begins with a prototype-anchored guidance that provides a stable attack direction towards a general and dissimilar prototype, tackling the attribute-restricted issue and limited task generalization of vanilla attacks. Building on this, we propose a two-stage attention enhancement mechanism: (i) leverage token-level attention scores to concentrate perturbations on critical visual tokens, and (ii) adaptively recalibrate attention weights to track the evolving attention during the adversarial process. Extensive experiments across diverse downstream tasks and LVLM architectures show that PA-Attack achieves an average 75.1% score reduction rate (SRR), demonstrating strong attack effectiveness, efficiency, and task generalization in LVLMs. Code is available at https://github.com/hefeimei06/PA-Attack.

View on arXivView PDF

Code Implementations(1)

[CVPR 2026] PA-Attack: Guiding Gray-Box Attacks on LVLM Vision Encoders with Prototypes and Attention

60Feb 22, 20266 months ago

Similar Papers

Cite this paper

@article{mei2026paattack,
  title  = {PA-Attack: Guiding Gray-Box Attacks on LVLM Vision Encoders with Prototypes and Attention},
  author = {Hefei Mei and Zirui Wang and Chang Xu and Jian-Yuan Guo and Min-Jing Dong},
  year   = {2026},
  eprint = {2602.19418},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2602.19418},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.19418.svg)](https://codeofpaper.com/paper/2602.19418)

Discussion