atlas

Research map / Vision-language and multimodal / Multimodal LLMs

Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Models

ICLR 2024 · Vision-language and multimodal › Multimodal LLMs · approach: VLM capability analysis · 11 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that benign-looking adversarial images, optimized in CLIP's embedding space to match malicious triggers and paired with generic text prompts, can jailbreak VLMs like LLaVA and LLaMA-Adapter V2 without LLM access.

Problem

Text-only jailbreak defenses in aligned LLMs can be bypassed through the vision modality of vision-language models, and existing image attacks require full white-box access to the VLM, so it is unclear whether attackers with only vision-encoder access can jailbreak VLMs.

Approach

Decompose a harmful prompt into a generic text instruction plus an image whose CLIP embedding matches a malicious trigger (text, OCR text, visual, or combined). The adversarial image is optimized only through the CLIP vision encoder by L2 embedding matching, so the attack needs no LLM access.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the textual trigger target with an OCR textual, visual, or combined trigger target (ablation)Compositional jailbreak attack on LLaVA · 8 jailbreak scenarios (Avg.)ASR: 0.007 -> 0.849; 0.007 -> 0.849; 0.007 -> 0.870Helped
Replace the textual trigger target with an OCR textual, visual, or combined trigger target (ablation)Compositional jailbreak attack on LLaMA-Adapter V2 · 8 jailbreak scenarios (Avg.)ASR: 0.006 -> 0.604; 0.006 -> 0.608; 0.006 -> 0.633Helped
Use combined OCR textual and visual trigger targets instead of an OCR textual or visual target (ablation)Compositional jailbreak attack on LLaVA · 8 jailbreak scenarios (Avg.)ASR: 0.849 -> 0.870Helped
Use combined OCR textual and visual trigger targets instead of an OCR textual or visual target (ablation)Compositional jailbreak attack on LLaMA-Adapter V2 · 8 jailbreak scenarios (Avg.)ASR: 0.604 -> 0.633; 0.608 -> 0.633Helped
Replace a textual trigger target with an OCR textual trigger target (ablation)Jailbreak attack on LLaMA-Adapter V2 · Jailbreak outputsPerspective Tox.: 2.28 -> 33.21Helped
Replace an OCR textual trigger target with a visual trigger target (ablation)Jailbreak attack on LLaMA-Adapter V2 · Jailbreak outputsPerspective Tox.: 33.21 -> 36.26Helped
Use combined OCR textual and visual trigger targets instead of visual trigger targets (ablation)Jailbreak attack on LLaMA-Adapter V2 · Jailbreak outputsPerspective Tox.: 36.26 -> 46.74Helped
Use combined visual and OCR trigger targets instead of visual trigger targets (ablation)Indirect hidden prompt injection on LLaVA · Indirect hidden prompt injection (Avg.)ASR: 0.75 -> 0.81Helped
Use combined visual and OCR trigger targets instead of OCR textual trigger targets (ablation)Indirect hidden prompt injection on LLaMA-Adapter V2 · Indirect hidden prompt injection (Avg.)ASR: 0.40 -> 0.42Helped

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench OpenAI prohibited usage scenarios (8 categories)

Benchmarks: OpenAI prohibited scenarios (8 categories, custom) AdvBench subset

Metrics: attack success rate toxicity score Fleiss' Kappa

Baselines: Textual trigger OCR textual trigger Visual trigger

Builds on: LLaVA CLIP AutoPrompt Adam

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy