atlas

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

Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks

ICLR 2025 · Adversarial robustness and security › Attacks on text and graphs · approach: LLM jailbreak and injection defense · 9 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 leading safety-aligned LLMs (Llama-2/3, Gemma, GPT-3.5/4o, Claude, R2D2) are not robust to simple adaptive attacks combining a manual prompt template, logprob-guided random search, self-transfer, and prefilling, reaching 100% ASR under a GPT-4 judge.

Problem

Existing jailbreak evaluations use static attacks that substantially underestimate the vulnerability of frontier safety-aligned LLMs; robustness evaluations need adaptive attacks tailored to each model's defenses and API access.

Approach

Combine a manually designed rule-based prompt template with random search on an adversarial suffix maximizing the logprob of an affirmative target token, initialized via self-transfer from easier requests, and customize attacks per model (in-context prompts for R2D2, prefilling for Claude, transfer for Claude 3 Opus/others) rather than per request.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add random search and self-transfer to the prompt attack (ablation)Llama-2-Chat-7B · AdvBenchattack success rate: 0% -> 100%Helped
Add self-transfer to prompt plus random search (ablation)Llama-2-Chat-7B · AdvBenchattack success rate: 50% -> 100%Helped
Add self-transfer to prompt plus random search (ablation)Gemma-7B · AdvBenchattack success rate: 84% -> 100%Helped
Add random search to the in-context prompt (ablation)R2D2-7B · HarmBenchattack success rate: 90% -> 100%Helped
Use a model-customized prompt rather than the default prompt (ablation)GPT-4o · AdvBenchattack success rate: 0% -> 72%Helped
Add random search and self-transfer to the custom prompt (ablation)GPT-4o · AdvBenchattack success rate: 72% -> 100%Helped
Use prefilling rather than transfer from GPT-4 (ablation)Claude 3 Opus · AdvBenchattack success rate: 0% -> 100%Helped
Use a 25-token adversarial suffix rather than other tested lengths (ablation)Gemma-7B random search · AdvBenchattack success rateHelped
Search only tokens containing Latin characters rather than the whole vocabulary (ablation)Random search jailbreak attack · AdvBenchattack success rateHurt
Use random search on restricted candidate tokensTrojan detection · Trojan competition held-out test setreward-model score: -30.22 vs -29.21Mixed

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench (50 behaviors curated by HarmBench) SaTML 2024 Trojan Detection Competition data

Benchmarks: AdvBench 50-behavior subset (HarmBench curation) SaTML 2024 Trojan Detection Competition

Metrics: attack success rate jailbreak score (1-10, success at 10/10) reward model score (trojan)

Baselines: GCG PAIR TAP Persuasive Adversarial Prompts Persona Modulation Foot-in-the-Door attack

Builds on: random search adversarial attacks on vision models GCG PAIR TAP PAP

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