[Paper Review] Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Models
The paper introduces cross-modality, embedding-space adversarial attacks that jailbreak vision-language models by pairing benign prompts with adversarial images, without needing access to the language model. It shows high jailbreak success across VLMs by targeting embedding space and four trigger types.
We introduce new jailbreak attacks on vision language models (VLMs), which use aligned LLMs and are resilient to text-only jailbreak attacks. Specifically, we develop cross-modality attacks on alignment where we pair adversarial images going through the vision encoder with textual prompts to break the alignment of the language model. Our attacks employ a novel compositional strategy that combines an image, adversarially targeted towards toxic embeddings, with generic prompts to accomplish the jailbreak. Thus, the LLM draws the context to answer the generic prompt from the adversarial image. The generation of benign-appearing adversarial images leverages a novel embedding-space-based methodology, operating with no access to the LLM model. Instead, the attacks require access only to the vision encoder and utilize one of our four embedding space targeting strategies. By not requiring access to the LLM, the attacks lower the entry barrier for attackers, particularly when vision encoders such as CLIP are embedded in closed-source LLMs. The attacks achieve a high success rate across different VLMs, highlighting the risk of cross-modality alignment vulnerabilities, and the need for new alignment approaches for multi-modal models.
Motivation & Objective
- Motivate and formalize cross-modality vulnerabilities in vision-language models (VLMs).
- Propose an embedding-space, compositional attack that requires only a vision encoder to craft adversarial images.
- Demonstrate four malicious trigger strategies and show high jailbreak success across multiple VLMs.
- Highlight defense implications and the need for cross-modal alignment approaches.
Proposed method
- Represent malicious prompts as a combination of a generic textual instruction embedding and an adversarial image embedding in the joint embedding space.
- Define four malicious trigger types in the joint embedding space: textual trigger, OCR textual trigger, visual trigger, and combined OCR textual and visual trigger.
- Optimize adversarial images to align their embeddings with target malicious embeddings using end-to-end gradient-based updates (embedding-space matching).
- Constrain updates with an embedding-space loss and use CLIP’s image encoder to generate benign-looking yet effective adversarial images.
- Evaluate attacks on two VLMs (LLaVA and LLaMA-Adapter V2) using human and automatic toxicity evaluations across eight jailbreak categories.

Experimental results
Research questions
- RQ1Can cross-modality, embedding-space attacks break textual safety alignment in VLMs without white-box access to the LLM?
- RQ2How effective are image-based adversarial triggers (including OCR and combined triggers) compared to textual triggers in jailbreaking VLMs?
- RQ3Do embedding-space attacks generalize and remain compositional across different prompt types and triggers?
Key findings
- Adversarial images optimized toward image-based triggers (OCR, visual, or combined) achieve high jailbreaking success across eight categories, outperforming textual triggers.
- OCR textual and visual combined triggers yield the highest attack success rates among trigger types.
- LLaVA is more vulnerable than LLaMA-Adapter V2, but both are susceptible to visual-based triggers; modality gap limits textual-trigger effectiveness.
- Automatic toxicity evaluations show OCR and visual triggers can lead to higher toxicity scores, with combined triggers being most effective.
- Hidden prompt injections via images demonstrate potential prompt-leaking and indirect prompt injection capabilities.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.