atlas

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

Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs

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

Benchmarks token-level and prompt-level jailbreak attacks across eight key implementation factors (target model size, fine-tuning, safety system prompt, template, attacker ability, suffix length, budget, intention) and seven defenses on AdvBench and MaliciousInstruct, releasing JailTrickBench.

Problem

Jailbreak attack evaluations are inconsistent because implementation details (target model settings, attacker settings, budgets) are rarely standardized, and attacks are seldom benchmarked against defense-enhanced LLMs.

Approach

Systematically isolates eight overlooked implementation factors (target-level and attacker-level) and then benchmarks seven representative jailbreak attacks against six defenses under unified prefix-based and GPT-4-agent-based ASR metrics, distilling the findings into a "bag of tricks".

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase target model sizeLlama-family targets under AutoDAN and PAIR · Jailbreak attack settingsASRNo clear effect
Fine-tune the target model on conversational or domain-specific dataLLMs, including Vicuna-13B · Jailbreak attack settingsASRHurt
Add a safety system promptLLMs under token-level and prompt-level attacks · Jailbreak attack settingsASRHurt
Use the original default template instead of the zero-shot templateLLMs under AutoDAN and PAIR · Jailbreak attack settingsASRHurt
Use a stronger attacker LLMPrompt-level jailbreak attacks · Jailbreak attack settingsASRHelped
Increase adversarial suffix lengthGCG · Jailbreak attack settingsASRHelped
Increase attack budgetToken-level jailbreak attacks · Jailbreak attack settingsASRHelped
Increase attack budgetPrompt-level jailbreak attacks · Jailbreak attack settingsASRNo clear effect
Change the attack intentionToken-level and prompt-level jailbreak attacks · HEx-PHIASRMixed
Apply defense methods instead of no defenseJailbreak attacks on Vicuna-13B and LLaMA-2-7B · AdvBench and MaliciousInstructASR_AgentMixed

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench MaliciousInstruct HEx-PHI Tulu v2 SFT

Benchmarks: AdvBench MaliciousInstruct HEx-PHI

Metrics: ASR_Prefix ASR_Agent

Baselines: GCG AutoDAN AmpleGCG AdvPrompter PAIR TAP GPTFuzz

Builds on: GCG AutoDAN PAIR AdvPrompter SmoothLLM

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