atlas

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

Image Hijacks: Adversarial Images can Control Generative Models at Runtime

ICML 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Vision-language model robustness · 4 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.

Introduces image hijacks, adversarial images that control VLM behaviour at inference time, via Behaviour Matching and Prompt Matching, evaluated on LLaVA-13B across specific string, leak-context, jailbreak and disinformation attacks.

Problem

Vision-language models accept continuous image inputs, creating a new channel for adversarial control; it is unknown whether image inputs can hijack VLM behaviour (output, leakage, safety bypass, false beliefs) at inference time.

Approach

Behaviour Matching optimises an adversarial image so the VLM's per-token logits match a target behaviour across a large context set; Prompt Matching extends this by using the logits produced under a target text prompt as soft targets, so images can mimic arbitrary text prompts without needing to match embeddings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Behaviour Matching image hijacks instead of GCG text tokensLLaVA LLaMA-2-13B-Chat · Specific string attacksuccess rate: 13.5% to 100%Helped
Use Behaviour Matching image hijacks instead of GCG text tokensLLaVA LLaMA-2-13B-Chat · Leak context attacksuccess rate: 0% to 100%Helped
Use Behaviour Matching image hijacks instead of GCG text tokensLLaVA LLaMA-2-13B-Chat · Jailbreak attacksuccess rate: 82% to 64%Hurt
Increase the ℓ∞ perturbation budget from 2/255 to 4/255 (ablation)Behaviour Matching specific-string hijack · Specific string attacksuccess rate: 0% to 94%Helped
Increase the ℓ∞ perturbation budget from 2/255 to 4/255 (ablation)Behaviour Matching leak-context hijack · Leak context attacksuccess rate: 0% to 80%Helped
Increase the ℓ∞ perturbation budget from 2/255 to 4/255 (ablation)Behaviour Matching jailbreak · Jailbreak attacksuccess rate: 8% to 76%Helped
Increase stationary patch size from 40px to 60px (ablation)Behaviour Matching specific-string hijack · Specific string attacksuccess rate: 0% to 95%Helped
Increase stationary patch size from 40px to 60px (ablation)Behaviour Matching leak-context hijack · Leak context attacksuccess rate: 0% to 4%Helped
Increase moving patch size from 120px to 160px (ablation)Behaviour Matching specific-string hijack · Specific string attacksuccess rate: 0% to 98%Helped
Increase moving patch size from 120px to 160px (ablation)Behaviour Matching leak-context hijack · Leak context attacksuccess rate: 0% to 0%No clear effect
Use Prompt Matching rather than an untrained imageLLaVA LLaMA-2-13B-Chat · Disinformation attack, unconstrainedsuccess rate: 0% to 85%Helped
Constrain Prompt Matching to ℓ∞ ε=4/255 instead of leaving it unconstrained (ablation)LLaVA LLaMA-2-13B-Chat · Disinformation attacksuccess rate: 85% to 0%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca AdvBench ImageNet

Benchmarks: Alpaca held-out instructions (specific string, leak context) AdvBench-based jailbreak test set disinformation validation/test questions

Metrics: attack success rate context transfer rate Levenshtein edit distance validation loss

Baselines: Greedy Coordinate Gradient (GCG) original unmodified image untrained image

Builds on: Greedy Coordinate Gradient knowledge distillation Alpaca instruction tuning

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