Image Hijacks: Adversarial Images can Control Generative Models at Runtime
Luke Bailey, Euan Ong, Stuart Russell, Scott Emmons
摘要
Are foundation models secure against malicious actors? In this work, we focus on the image input to a vision-language model (VLM). We discover image hijacks, adversarial images that control the behaviour of VLMs at inference time, and introduce the general Behaviour Matching algorithm for training image hijacks. From this, we derive the Prompt Matching method, allowing us to train hijacks matching the behaviour of an arbitrary user-defined text prompt (e.g. 'the Eiffel Tower is now located in Rome') using a generic, off-the-shelf dataset unrelated to our choice of prompt. We use Behaviour Matching to craft hijacks for four types of attack, forcing VLMs to generate outputs of the adversary's choice, leak information from their context window, override their safety training, and believe false statements. We study these attacks against LLaVA, a state-of-the-art VLM based on CLIP and LLaMA-2, and find that all attack types achieve a success rate of over 80%. Moreover, our attacks are automated and require only small image perturbations.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 72 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Best-of-N Jailbreaking 引用了 BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- Best-of-N Jailbreaking 引用了 HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
- Best-of-N Jailbreaking 引用了 Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast
- Improving Alignment and Robustness with Circuit Breakers 引用了 Locating and Editing Factual Associations in GPT
- Improving Alignment and Robustness with Circuit Breakers 引用了 HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
- Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Visual Instruction Tuning 引用了 BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- Visual Instruction Tuning 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast 引用了 Visual Instruction Tuning
- Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast 引用了 Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game
- Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper72
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust RefusalMantas Mazeika, Long Phan, Xuwang Yin, Andy Zou 等ICML 2024 · 1,031 次引用
- Improving Alignment and Robustness with Circuit BreakersAndy Zou, Long Phan, Justin Wang, Derek Duenas 等NeurIPS 2024 · 362 次引用
- Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially FastXiangming Gu, Xiaosen Zheng, Tianyu Pang, Chao Du 等ICML 2024 · 128 次引用
- Tensor Trust: Interpretable Prompt Injection Attacks from an Online GameSam Toyer, Olivia Watkins, Ethan Adrian Mendes, Justin Svegliato 等ICLR 2024 · 123 次引用
- Best-of-N JailbreakingJohn Hughes, Sara Price, Aengus Lynch, Rylan Schaeffer 等NeurIPS 2025 · 78 次引用
它引用的 Paper9
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Visual Instruction TuningHaotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae LeeNeurIPS 2023 · 11,349 次引用
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language ModelsJunnan Li, Dongxu Li, Silvio Savarese, Steven C. H. HoiICML 2023 · 7,873 次引用
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation LearningWeixin Liang, Yuhui Zhang, Yongchan Kwon, Serena Yeung 等NeurIPS 2022 · 834 次引用
相关 Paper
- Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language ModelsChristian Schlarmann, Naman Deep Singh, Francesco Croce, Matthias HeinICML 2024 · 114 次引用
- Web Artifact Attacks Disrupt Vision Language ModelsMaan Qraitem, Piotr Teterwak, Kate Saenko, Bryan A. PlummerICCV 2025 · 4 次引用
- On Evaluating Adversarial Robustness of Large Vision-Language ModelsYunqing Zhao, Tianyu Pang, Chao Du, Xiao Yang 等NeurIPS 2023 · 404 次引用
- Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language ModelsErfan Shayegani, Yue Dong, Nael B. Abu-GhazalehICLR 2024 · 271 次引用
- Attack as Defense: Safeguarding Large Vision-Language Models from Jailbreaking by Adversarial AttacksChongxin Li, Hanzhang Wang, Yuchun FangEMNLP Findings 2025 · 1 次引用
