mlsanityData to 14 Oct 2026

Sparse Autoencoders as Plug-and-Play Firewalls for Adversarial Attack Detection in VLMs

arXiv 2605.07447 ↗First posted 8 May 2026cs.CV cs.AI cs.CLcited by 1

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

also in 1 more
Abstract (arXiv)

Vision-language models (VLMs) have advanced rapidly and are increasingly deployed in real-world applications, especially with the rise of agent-based systems. However, their safety has received relatively limited attention. Even the latest proprietary and open-weight VLMs remain highly vulnerable to adversarial attacks, leaving downstream applications exposed to significant risks. In this work, we propose a novel and lightweight adversarial attack detection framework based on sparse autoencoders (SAEs), termed SAEgis. By inserting an SAE module into a pretrained VLM and training it with standard reconstruction objectives, we find that the learned sparse latent features naturally capture attack-relevant signals. These features enable reliable classification of whether an input image has been adversarially perturbed, even for previously unseen samples. Extensive experiments show that SAEgis achieves strong performance across in-domain, cross-domain, and cross-attack settings, with particularly large improvements in cross-domain generalization compared to existing baselines. In addition, combining signals from multiple layers further improves robustness and stability. To the best of our knowledge, this is the first work to explore SAE as a plug-and-play mechanism for adversarial attack detection in VLMs. Our method requires no additional adversarial training, introduces minimal overhead, and provides a practical approach for improving the safety of real-world VLM systems.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in MLLM jailbreaks and adversarial robustness, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 31 of its 39 references that are in the map. First posted on arXiv 8 May 2026.

Builds on

31 of 39 references.

Closest ancestors · 11

Same direction, newest first

  1. 2026Pushing the Frontier of Black-Box LVLM Attacks via Fine-Grained Detail Targeting19 Feb
  2. 2025Are Vision-Language Models Safe in the Wild? A Meme-Based Benchmark Study21 May
  3. 2025HiddenDetect: Detecting Jailbreak Attacks against Large Vision-Language Models via Monitoring Hidden States20 Feb
  4. 2025VLM-Guard: Safeguarding Vision-Language Models via Fulfilling Safety Alignment Gap14 Feb
  5. 2024Effective and Efficient Adversarial Detection for Vision-Language Models via A Single Vector30 Oct
  6. 2024AnyAttack: Towards Large-scale Self-supervised Adversarial Attacks on Vision-language Models7 Oct
  7. 2024PIP: Detecting Adversarial Examples in Large Vision-Language Models via Attention Patterns of Irrelevant Probe Questions8 Sep
  8. 2024MirrorCheck: Efficient Adversarial Defense for Vision-Language Models13 Jun
  9. 2024Efficient Generation of Targeted and Transferable Adversarial Examples for Vision-Language Models Via Diffusion Models16 Apr
  10. 2023How Robust is Google's Bard to Adversarial Image Attacks?21 Sep
  11. 2023On Evaluating Adversarial Robustness of Large Vision-Language Models26 May

Other references · 20

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  6. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,711
  7. 2015VQA: Visual Question Answeringcited by 2,506
  8. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
  9. 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 225
  10. 2024HuatuoGPT-Vision, Towards Injecting Medical Visual Knowledge into Multimodal LLMs at Scalecited by 200
  11. 2019Image Captioning: Transforming Objects into Wordscited by 171
  12. 2025LlamaV-o1: Rethinking Step-by-step Visual Reasoning in LLMscited by 147
8 more
  1. 2022Frequency Domain Model Augmentation for Adversarial Attackcited by 130
  2. 2023Rethinking Model Ensemble in Transfer-based Adversarial Attackscited by 89
  3. 2020Referring Expression Comprehension: A Survey of Methods and Datasetscited by 79
  4. 2024DeepStack: Deeply Stacking Visual Tokens is Surprisingly Simple and Effective for LMMscited by 75
  5. 2025Adversarial Attacks against Closed-Source MLLMs via Feature Optimal Alignmentcited by 43
  6. 2025Route Sparse Autoencoder to Interpret Large Language Modelscited by 26
  7. 2025Chain-of-Action: Trajectory Autoregressive Modeling for Robotic Manipulationcited by 17
  8. 2025Survey on Vision-Language-Action Modelscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Detect and Suppress: A Mechanistic Defense against Adversarial Patches in VLA Models
  2. 2025Unleashing the Power of Pre-trained Encoders for Universal Adversarial Attack Detection
  3. 2026VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defense
  4. 2026Towards Understanding the Robustness of Sparse Autoencoders
  5. 2026PHANTOM: A Large-Scale Dataset of Multimodal Adversarial Attacks for Vision-Language Models
  6. 2025Sparse Autoencoder Features for Classifications and Transferability
  7. 2025Sparse Autoencoders Learn Monosemantic Features in Vision-Language Models
  8. 2024Adversarial Attacks of Vision Tasks in the Past 10 Years: A Survey