AnyAttack: Towards Large-scale Self-supervised Adversarial Attacks on Vision-language Models
About
Due to their multimodal capabilities, Vision-Language Models (VLMs) have found numerous impactful applications in real-world scenarios. However, recent studies have revealed that VLMs are vulnerable to image-based adversarial attacks. Traditional targeted adversarial attacks require specific targets and labels, limiting their real-world impact.We present AnyAttack, a self-supervised framework that transcends the limitations of conventional attacks through a novel foundation model approach. By pre-training on the massive LAION-400M dataset without label supervision, AnyAttack achieves unprecedented flexibility - enabling any image to be transformed into an attack vector targeting any desired output across different VLMs.This approach fundamentally changes the threat landscape, making adversarial capabilities accessible at an unprecedented scale. Our extensive validation across five open-source VLMs (CLIP, BLIP, BLIP2, InstructBLIP, and MiniGPT-4) demonstrates AnyAttack's effectiveness across diverse multimodal tasks. Most concerning, AnyAttack seamlessly transfers to commercial systems including Google Gemini, Claude Sonnet, Microsoft Copilot and OpenAI GPT, revealing a systemic vulnerability requiring immediate attention.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Adversarial Attack | NIPS Adversarial Attacks and Defenses Competition dataset 2017 | ASR7 | 25 | |
| Geolocation Inference Privacy Protection | DoxBench (test) | Top-1 Protection Rate (Region)42.9 | 21 | |
| Universal Targeted Adversarial Attack | Seen Samples (Used for Optimization) (train) | KMRa5.6 | 18 | |
| Mobile GUI Automation | PrivScreen | Accuracy90 | 18 | |
| Universal Targeted Adversarial Attack | Unseen (test) | KMRa8.9 | 18 | |
| Adversarial Attack | ChestMNIST (test) | KMRa0.03 | 15 | |
| Black-Box LVLM Attack | PatternNet | KMRa6 | 15 | |
| Black-box Adversarial Attack | GPT-5 | KMRa9 | 9 | |
| Black-box Adversarial Attack | Gemini 2.5-Pro | KMRa0.35 | 9 | |
| Black-box Adversarial Attack | Claude thinking 4.0 | KMR (a)0.05 | 9 |