UPDF AI

(Ab)using Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs

Eugene Bagdasarian,Tsung-Yin Hsieh,Ben Nassi,Vitaly Shmatikov

2023 · DOI: 10.48550/arXiv.2307.10490
arXiv.org · 104 Citations

TLDR

It is demonstrated how images and sounds can be used for indirect prompt and instruction injection in multi-modal LLMs by an attacker generating an adversarial perturbation corresponding to the prompt and blends it into an image or audio recording.

Abstract

We demonstrate how images and sounds can be used for indirect prompt and instruction injection in multi-modal LLMs. An attacker generates an adversarial perturbation corresponding to the prompt and blends it into an image or audio recording. When the user asks the (unmodified, benign) model about the perturbed image or audio, the perturbation steers the model to output the attacker-chosen text and/or make the subsequent dialog follow the attacker's instruction. We illustrate this attack with several proof-of-concept examples targeting LLaVa and PandaGPT.