Soft Prompts Go Hard: Steering Visual Language Models with Hidden Meta-Instructions

Tingwei Zhang, Collin Zhang, John Xavier Morris, Eugene Bagdasaryan, Vitaly Shmatikov · Submission to ICLR 2025 · Rejected

Abstract

We introduce a new type of indirect, cross-modal injection attacks against language models that operate on images: hidden "meta-instructions" that influence how the model interprets the image and steer its outputs to express an adversary-chosen style, sentiment, or point of view. We create meta-instructions by generating images that act as soft prompts. In contrast to jailbreaking attacks and adversarial examples, outputs produced in response to these images are plausible and based on the visual content of the image, yet also satisfy the adversary's (meta-)objective. We evaluate the efficacy of meta-instructions for multiple models and adversarial meta-objectives, and demonstrate how they "unlock" capabilities of the underlying language models that are unavailable via explicit text instructions. We describe how meta-instruction attacks could cause harm by enabling creation of self-interpreting content that carries spam, misinformation, and spin.
BibTeX
@inproceedings{zhang2025soft,
  author = {Tingwei Zhang and Collin Zhang and John Xavier Morris and Eugene Bagdasaryan and Vitaly Shmatikov},
  title = {{Soft Prompts Go Hard: Steering Visual Language Models with Hidden Meta-Instructions}},
  booktitle = {USENIX Security},
  year = {2025},
}
Figure