GhostPrompt: Cross-Image Adversarial Prompt for Vision-Language Models
Li Zeng, Zeyu Ye, Meng Xie, Hangtao Zhang, Xianlong Wang, Yanchun Li, Zhetao Li
Abstract
Vision-Language Models (VLMs) are known to be vulnerable to adversarial attacks, where subtle perturbations to images or texts induce erroneous outputs. However, most text-based attacks are adapted from language-model-centric methods, in which the visual input is fixed during optimization, resulting in adversarial prompts that are tied to specific images and thus limiting their attack effectiveness. To this end, we first introduce a new research perspective: cross-image transferability for adversarial prompts. We then propose GhostPrompt, an adversarial prompt that is optimized once and reused to steer VLM outputs toward attacker-specified responses across diverse images. GhostPrompt employs a joint optimization that distills image-invariant adversarial features into the prompt by "worst-case" generation. Specifically, it alternates between constructing hard visual conditions for the current prompt and updating the prompt to remain effective under these conditions. Extensive experiments on prevalent VLMs verify that achieves an improvement of over 30% in attack success rates compared to state-of-the-art (SoTA) baselines, while reducing computation time by ~70%. Our code is avalable at https://github.com/Ye-ze-yu/GhostPrompt.
Create a lesson
Metadata
- Comments
- Accepted to ACM MM 2026. Code: this https://github.com/Ye-ze-yu/GhostPrompt
Related papers
Architectural Backdoors in Vision-Language Model Supply Chains via Representation Steering
Shared title terminologycs.CRMaria Rosaria Briglia, Igor Maljkovic, Antonio Emanuele Cinà et al.
ReVision : A Post-Hoc, Vision-Based Technique for Replacing Unacceptable Concepts in Image Generation Pipeline
Shared title terminologycs.CRGurjot Singh, Prabhjot Singh, Aashima Sharma et al.
Adversarial Prompts for Acceptance Collapse in Speculative Decoding
Shared title terminologycs.CRRun Wang, Chaoyi Zhou, Xi Liu et al.
A Survey of Security, Privacy, and Ethics of Large Language Models in Telecom
Shared title terminologycs.CRJoy Bose, Srinivas Adyapak
Make the Adversary Spend More: Stateful Deception as a Cost-Exchange Primitive for AI-Era Cyber Defense
Shared title terminologycs.CRAlessandro Cantelli-Forti, Isabella Marasco, Hosam Alamleh et al.
Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems
Shared title terminologycs.CRManit Baser, Vyoman Jain, Rachel Yeo Hui Min et al.