Adversarial prompt works across images, boosting attack success >30%
GhostPrompt increases VLM attack success rates by over 30% and reduces computation time by about 70% compared to prior methods
Security & privacy arXiv 22 Jul 2026 Attack Prototype evidence
Published as “GhostPrompt: Cross-Image Adversarial Prompt for Vision-Language Models”
Why it matters
A universal adversarial prompt can hijack VLM outputs across arbitrary images, exposing a new security risk for services that rely on user-provided prompts.
Summary
GhostPrompt raises attack success rates on vision-language models by over 30% compared to prior prompt attacks, while cutting training time by roughly 70%. The improvement is demonstrated on four popular VLMs (MiniGPT-4, BLIP-2, InstructBLIP, LLaVA) using MS-COCO and ImageNet validation images and measured with Attack Success Rate. The paper provides quantitative results but does not give absolute ASR numbers, so the strength of the evidence rests on relative gains reported in tables.
What they found 2
- GhostPrompt consistently outperforms competing methods across all evaluated datasets, models, and attack targets.
“GhostPrompt consistently outperforms competing methods across all evaluated datasets, models, and attack targets.”
- Training time is reduced by approximately 70% compared to white-box baselines.
“GhostPrompt also reduces training times by approximately 70% over white-box baselines while maintaining similar convergence”
Caveats 1
- More critically, it proves superior on the majority of benchmarks (2 out of 3) even when pitted against elite black-box methods (e.g., TAP and PAIR), which are designed for transferability.
What’s new here 4
- Introduces cross-image transferability for adversarial prompts, enabling a single prompt to work across many unseen images.
- Formulates prompt generation as a min-max optimization over visual and textual domains, synthesizing worst-case images.
- Applies the Gumbel-Softmax trick to optimize discrete token distributions in continuous space.
- Achieves roughly 70% faster prompt generation than white-box baselines.