atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Visual Adversarial Examples Jailbreak Aligned Large Language Models

AAAI 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Vision-language model robustness · 122 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 a single visual adversarial example (PGD-optimized on a 66-sentence derogatory corpus) can universally jailbreak aligned vision-integrated LLMs (MiniGPT-4, InstructBLIP, LLaVA), with black-box transfer among them.

Problem

Vision-integrated LLMs (VLMs) expose a continuous, high-dimensional visual input that may let adversarial examples bypass the safety alignment of aligned LLMs, enabling harmful generation.

Approach

Optimize a single image adversarial example (PGD, 5000 iterations) to maximize the likelihood of a small few-shot derogatory corpus; prepended to any harmful instruction, it acts as a universal jailbreaker that generalizes beyond the corpus to other harm categories, unlike prior adversarial-example work that only targets verbatim outputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Optimize a visual adversarial image on the few-shot harmful corpusMiniGPT-4 (Vicuna) · MiniGPT-4 harmful-instruction evaluation: Identity Attacksuccess rate: 26.2 -> 78.5Helped
Optimize a visual adversarial image on the few-shot harmful corpusMiniGPT-4 (Vicuna) · MiniGPT-4 harmful-instruction evaluation: Disinfosuccess rate: 48.9 -> 91.1Helped
Optimize a visual adversarial image with epsilon 32/255MiniGPT-4 (Vicuna) · MiniGPT-4 harmful-instruction evaluation: Violence/Crimesuccess rate: 50.1 -> 87.3Helped
Optimize a visual adversarial image with epsilon 32/255MiniGPT-4 (Vicuna) · MiniGPT-4 harmful-instruction evaluation: X-risksuccess rate: 20.0 -> 73.3Helped
Optimize a visual adversarial image with epsilon 64/255MiniGPT-4 (Vicuna) · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 34.8 -> 67.2Helped
Replace the adversarial image with unconstrained adversarial text (ablation)MiniGPT-4 (Vicuna) · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 34.8 -> 54.8; 34.8 -> 66.0Mixed
Transfer the adversarial image optimized on MiniGPT-4InstructBLIP (Vicuna) · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 34.2 -> 57.5Helped
Transfer the adversarial image optimized on MiniGPT-4LLaVA (LLaMA-2-Chat) · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 9.2 -> 17.9Helped
Apply DiffPure with noise level 0.5 to an adversarial image (ablation)MiniGPT-4 (Vicuna) · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 59.4 $\pm$ 1.4 -> 32.7 $\pm$ 0.7Hurt
Vary the perturbation bound from epsilon 16/255 to 32/255 (ablation)MiniGPT-4 visual attack · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 53.6 $\pm$ 1.0 -> 59.4 $\pm$ 1.4Helped
Vary the perturbation bound from epsilon 32/255 to 64/255 (ablation)MiniGPT-4 visual attack · RealToxicityPrompts challenging subsetoutputs with any toxic attribute (Perspective API): 59.4 $\pm$ 1.4 -> 67.2 $\pm$ 0.2Helped

Surprising findings

Limitations

Experimental setup

Datasets: few-shot derogatory corpus (66 sentences, generated by probing LLaMA-1) RealToxicityPrompts challenging subset (1225 prompts) manually curated 40 harmful instructions

Benchmarks: RealToxicityPrompts (challenging subset) manually curated 40 harmful instructions

Metrics: attack success rate (manual) percentage of outputs with toxic attribute (Perspective API) percentage of outputs with toxic attribute (Detoxify) toxicity ratio under transfer

Baselines: benign image (no attack) adversarial text attack (discrete optimization) DiffPure

Builds on: PGD prompt tuning hotflip DiffPure

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