atlas

Research map / Large language models / Language, safety and interpretability

Tree of Attacks: Jailbreaking Black-Box LLMs Automatically

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Jailbreak attacks and defenses · 55 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.

Proposes Tree of Attacks with Pruning (TAP), a black-box automated jailbreaking method that branches attacker-LLM refinements and prunes off-topic and low-scoring prompts, achieving higher jailbreak rates with fewer queries than PAIR.

Problem

Automatically generating interpretable jailbreak prompts for black-box LLMs with high success rate and low query count.

Approach

Extends PAIR's iterative attacker-refinement loop into a tree: branching generates multiple refinements per prompt, and two pruning phases (off-topic check before querying, top-w score retention after) keep queries low while maintaining diversity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use TAP instead of PAIRGPT-4o target on AdvBench Subset · AdvBench Subsetjailbreak rate: 78% -> 94%Helped
Use TAP instead of PAIRGPT-4o target on AdvBench Subset · AdvBench Subsetmean target queries: 40.3 -> 16.2Helped
Use TAP instead of PAIRGPT-4 target on AdvBench Subset · AdvBench Subsetjailbreak rate: 60% -> 90%Helped
Use TAP instead of PAIRGPT-4 target on AdvBench Subset · AdvBench Subsetmean target queries: 39.6 -> 28.8Helped
Add branching (branching factor 4 rather than 1) (ablation)TAP on GPT-4-Turbo · AdvBench Subsetjailbreak rate: 48% -> 84%Helped
Add branching (branching factor 4 rather than 1) (ablation)TAP on GPT-4-Turbo · AdvBench Subsetmean target queries: 33.1 -> 22.5Helped
Add pruning of off-topic prompts (ablation)TAP on GPT-4-Turbo · AdvBench Subsetmean target queries: 55.4 -> 22.5Helped
Add pruning of off-topic prompts (ablation)TAP on GPT-4-Turbo · AdvBench Subsetjailbreak rate: 72% -> 84%Helped

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench Subset

Benchmarks: AdvBench Subset new 123-request harmful dataset

Metrics: jailbreak percentage (GPT4-Metric) human-judged jailbreak percentage mean number of queries to target transfer rate

Baselines: PAIR GCG TAP-No-Branch TAP-No-Prune

Builds on: PAIR Tree of Thoughts GCG

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