English

Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs

Cryptography and Security 2023-10-04 v4 Artificial Intelligence Computation and Language Machine Learning

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.

Cite

@article{arxiv.2307.10490,
  title  = {Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs},
  author = {Eugene Bagdasaryan and Tsung-Yin Hsieh and Ben Nassi and Vitaly Shmatikov},
  journal= {arXiv preprint arXiv:2307.10490},
  year   = {2023}
}
R2 v1 2026-06-28T11:35:23.589Z