PIP: Detecting Adversarial Examples in Large Vision-Language Models via Attention Patterns of Irrelevant Probe Questions
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
- 2024Universal Adversarial Perturbations for Vision-Language Pre-trained Models9 May
- 2023How Robust is Google's Bard to Adversarial Image Attacks?21 Sep
- 2023Set-level Guidance Attack: Boosting Adversarial Transferability of Vision-Language Pre-training Models26 Jul
- 2023Visual Adversarial Examples Jailbreak Aligned Large Language Models22 Jun
- 2022Towards Adversarial Attack on Vision-Language Pre-training Models19 Jun
Other references · 12
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,855
- 2023VisionLLM: Large Language Model is also an Open-Ended Decoder for Vision-Centric Taskscited by 499
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
- 2023Are aligned neural networks adversarially aligned?cited by 305
- 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 268
- 2023Image Hijacks: Adversarial Images can Control Generative Models at Runtimecited by 165
- 2016Adversarial Examples Detection in Deep Networks with Convolutional Filter Statisticscited by 77
- 2022ALA: Naturalness-aware Adversarial Lightness Attackcited by 11
- 2019MetaAdvDet: Towards Robust Detection of Evolving Adversarial Attackscited by 3
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 9.
14 papers.
Sort:
By area:
- 2024Mitigating Hallucination in Multimodal Large Language Model via Hallucination-targeted Direct Preference Optimizationcited by 20
- 2024DHCP: Detecting Hallucinations by Cross-modal Attention Pattern in Large Vision-Language Modelscited by 11
- 2025A Satellite-Ground Synergistic Large Vision-Language Model System for Earth Observationcited by 2
- 2025Empowering Multimodal LLMs with External Tools: A Comprehensive Surveycited by 2
- 2026Safe responses matter: Output-aware safety guardrail mitigate over-refusal in MLLMscited by 2
- 2025Fighting Fire with Fire (F3): A Training-free and Efficient Visual Adversarial Example Purification Method in LVLMscited by 1
- 2026VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defensecited by 1
- 2026Sparse Autoencoders as Plug-and-Play Firewalls for Adversarial Attack Detection in VLMscited by 1
- 2026Feature-Space Smoothing: Certified Robustness of Deep Representationscited by 0
- 2026Seeing No Evil: Blinding Large Vision-Language Models to Safety Instructions via Adversarial Attention Hijackingcited by 0
- 2026CAST: Mitigating Object Hallucination in Large Vision-Language Models via Caption-Guided Visual Attention Steeringcited by 0
- 2026MHSA: A Lightweight Framework for Mitigating Hallucinations via Steered Attention in LVLMscited by 0
2 more
- 2026Structure-Guided Visual Perturbation Neutralization for LVLMscited by 0
- 2026GeoDetect: Geometric Adversarial Detection for VLPscited by 0
- 2026GeoDetect: Geometric Adversarial Detection for VLPs16 Jul 2026
- 2026Safe responses matter: Output-aware safety guardrail mitigate over-refusal in MLLMs20 Jun 2026
- 2026Structure-Guided Visual Perturbation Neutralization for LVLMs27 May 2026
- 2026MHSA: A Lightweight Framework for Mitigating Hallucinations via Steered Attention in LVLMs14 May 2026
- 2026Sparse Autoencoders as Plug-and-Play Firewalls for Adversarial Attack Detection in VLMs8 May 2026
- 2026CAST: Mitigating Object Hallucination in Large Vision-Language Models via Caption-Guided Visual Attention Steering6 May 2026
- 2026Seeing No Evil: Blinding Large Vision-Language Models to Safety Instructions via Adversarial Attention Hijacking11 Apr 2026
- 2026VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defense23 Feb 2026
- 2026Feature-Space Smoothing: Certified Robustness of Deep Representations22 Jan 2026
- 2025Empowering Multimodal LLMs with External Tools: A Comprehensive Survey14 Aug 2025
- 2025A Satellite-Ground Synergistic Large Vision-Language Model System for Earth Observation8 Jul 2025
- 2025Fighting Fire with Fire (F3): A Training-free and Efficient Visual Adversarial Example Purification Method in LVLMs1 Jun 2025
- 2024Mitigating Hallucination in Multimodal Large Language Model via Hallucination-targeted Direct Preference Optimizationcited by 20
- 2024DHCP: Detecting Hallucinations by Cross-modal Attention Pattern in Large Vision-Language Modelscited by 11
- 2025Empowering Multimodal LLMs with External Tools: A Comprehensive Surveycited by 2
- 2026Safe responses matter: Output-aware safety guardrail mitigate over-refusal in MLLMscited by 2
- 2025Fighting Fire with Fire (F3): A Training-free and Efficient Visual Adversarial Example Purification Method in LVLMscited by 1
- 2026VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defensecited by 1
- 2026Sparse Autoencoders as Plug-and-Play Firewalls for Adversarial Attack Detection in VLMscited by 1
- 2026Seeing No Evil: Blinding Large Vision-Language Models to Safety Instructions via Adversarial Attention Hijackingcited by 0
- 2026CAST: Mitigating Object Hallucination in Large Vision-Language Models via Caption-Guided Visual Attention Steeringcited by 0
- 2026MHSA: A Lightweight Framework for Mitigating Hallucinations via Steered Attention in LVLMscited by 0
- 2026Structure-Guided Visual Perturbation Neutralization for LVLMscited by 0
- 2026GeoDetect: Geometric Adversarial Detection for VLPscited by 0
- 2026GeoDetect: Geometric Adversarial Detection for VLPs16 Jul 2026
- 2026Safe responses matter: Output-aware safety guardrail mitigate over-refusal in MLLMs20 Jun 2026
- 2026Structure-Guided Visual Perturbation Neutralization for LVLMs27 May 2026
- 2026MHSA: A Lightweight Framework for Mitigating Hallucinations via Steered Attention in LVLMs14 May 2026
- 2026Sparse Autoencoders as Plug-and-Play Firewalls for Adversarial Attack Detection in VLMs8 May 2026
- 2026CAST: Mitigating Object Hallucination in Large Vision-Language Models via Caption-Guided Visual Attention Steering6 May 2026
- 2026Seeing No Evil: Blinding Large Vision-Language Models to Safety Instructions via Adversarial Attention Hijacking11 Apr 2026
- 2026VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defense23 Feb 2026
- 2025Empowering Multimodal LLMs with External Tools: A Comprehensive Survey14 Aug 2025
- 2025Fighting Fire with Fire (F3): A Training-free and Efficient Visual Adversarial Example Purification Method in LVLMs1 Jun 2025
- 2024DHCP: Detecting Hallucinations by Cross-modal Attention Pattern in Large Vision-Language Models27 Nov 2024
- 2024Mitigating Hallucination in Multimodal Large Language Model via Hallucination-targeted Direct Preference Optimization15 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2026Detecting Adversarial Images through Response Profiles of Vision-Language Models
- 2025Transferable Adversarial Attacks on Black-Box Vision-Language Models
- 2023On Evaluating Adversarial Robustness of Large Vision-Language Models
- 2023On the Robustness of Large Multimodal Models Against Image Adversarial Attacks
- 2025Tracking the Copyright of Large Vision-Language Models through Parameter Learning Adversarial Images
- 2025Robust-LLaVA: On the Effectiveness of Large-Scale Robust Image Encoders for Multi-modal Large Language Models
- 2026PDA: Text-Augmented Defense Framework for Robust Vision-Language Models against Adversarial Image Attacks
- 2024A Survey of Attacks on Large Vision-Language Models: Resources, Advances, and Future Trends