mlsanityData to 7 Oct 2026

PIP: Detecting Adversarial Examples in Large Vision-Language Models via Attention Patterns of Irrelevant Probe Questions

arXiv 2409.05076 ↗First posted 8 Sep 2024cs.CV cs.AIcited by 14

On the map: Multimodal LLMs / vision-language models → MLLM jailbreaks and adversarial robustness

Abstract (arXiv)

Large Vision-Language Models (LVLMs) have demonstrated their powerful multimodal capabilities. However, they also face serious safety problems, as adversaries can induce robustness issues in LVLMs through the use of well-designed adversarial examples. Therefore, LVLMs are in urgent need of detection tools for adversarial examples to prevent incorrect responses. In this work, we first discover that LVLMs exhibit regular attention patterns for clean images when presented with probe questions. We propose an unconventional method named PIP, which utilizes the attention patterns of one randomly selected irrelevant probe question (e.g., "Is there a clock?") to distinguish adversarial examples from clean examples. Regardless of the image to be tested and its corresponding question, PIP only needs to perform one additional inference of the image to be tested and the probe question, and then achieves successful detection of adversarial examples. Even under black-box attacks and open dataset scenarios, our PIP, coupled with a simple SVM, still achieves more than 98% recall and a precision of over 90%. Our PIP is the first attempt to detect adversarial attacks on LVLMs via simple irrelevant probe questions, shedding light on deeper understanding and introspection within LVLMs. The code is available at https://github.com/btzyd/pip.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in MLLM jailbreaks and adversarial robustness, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 17 of its 33 references that are in the map. First posted on arXiv 8 Sep 2024.

Builds on

17 of 33 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Universal Adversarial Perturbations for Vision-Language Pre-trained Models9 May
  2. 2023How Robust is Google's Bard to Adversarial Image Attacks?21 Sep
  3. 2023Set-level Guidance Attack: Boosting Adversarial Transferability of Vision-Language Pre-training Models26 Jul
  4. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Models22 Jun
  5. 2022Towards Adversarial Attack on Vision-Language Pre-training Models19 Jun

Other references · 12

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  3. 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,855
  4. 2023VisionLLM: Large Language Model is also an Open-Ended Decoder for Vision-Centric Taskscited by 499
  5. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  6. 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
  7. 2023Are aligned neural networks adversarially aligned?cited by 305
  8. 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 268
  9. 2023Image Hijacks: Adversarial Images can Control Generative Models at Runtimecited by 165
  10. 2016Adversarial Examples Detection in Deep Networks with Convolutional Filter Statisticscited by 77
  11. 2022ALA: Naturalness-aware Adversarial Lightness Attackcited by 11
  12. 2019MetaAdvDet: Towards Robust Detection of Evolving Adversarial Attackscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 9.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Detecting Adversarial Images through Response Profiles of Vision-Language Models
  2. 2025Transferable Adversarial Attacks on Black-Box Vision-Language Models
  3. 2023On Evaluating Adversarial Robustness of Large Vision-Language Models
  4. 2023On the Robustness of Large Multimodal Models Against Image Adversarial Attacks
  5. 2025Tracking the Copyright of Large Vision-Language Models through Parameter Learning Adversarial Images
  6. 2025Robust-LLaVA: On the Effectiveness of Large-Scale Robust Image Encoders for Multi-modal Large Language Models
  7. 2026PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attacks
  8. 2024A Survey of Attacks on Large Vision-Language Models: Resources, Advances, and Future Trends