atlas

Research map / Adversarial robustness and security / Black-box and transfer attacks

When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search

NeurIPS 2024 · Adversarial robustness and security › Black-box and transfer attacks · approach: Decision-based boundary attacks · 6 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 RLbreaker, a black-box jailbreaking attack that trains a PPO-based DRL agent to choose LLM-driven prompt mutators, guiding search for jailbreak prompts instead of random genetic search.

Problem

Black-box jailbreaking of aligned LLMs is inefficient because genetic and in-context attacks select prompt mutations randomly or without sequential refinement strategy, limiting attack success.

Approach

Model jailbreaking as a search problem and train a DRL agent (MLP policy over XLM-RoBERTa state embeddings) to select among five LLM-based prompt mutators, with a reward given by cosine similarity between the target response and an unaligned model's reference answer, optimized by a customized PPO that drops the value function and uses discounted returns directly.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DRL-guided search instead of the strongest shown baselineRLbreaker vs. PAIR · Llama2-70b-chat FullGPT-Judge: 0.1468 -> 0.5250Helped
Use DRL-guided search instead of AutoDANRLbreaker vs. AutoDAN · Mixtral-8x7B-Instruct FullSim.: 0.7739 -> 0.7480Hurt
Use DRL-guided search instead of AutoDANRLbreaker vs. AutoDAN · Mixtral-8x7B-Instruct FullGPT-Judge: 0.6750 -> 1.0000Helped
Replace the RL agent with a random agent (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-JudgeHurt
Replace the RL agent with an LLM agent (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-JudgeHurt
Use keyword matching as the reward instead of cosine similarity (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-JudgeHurt
Use token-level actions instead of mutator-based actions (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-Judge: zerosHurt
Vary the reward threshold from 0.7 (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-JudgeNo clear effect
Change the helper model from GPT-3.5-turbo to Llama2-7b-chat (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-JudgeNo clear effect
Change the text encoder from Bge-large-en-v1.5 to all-MiniLM-L6-v2 (ablation)RLbreaker · Llama2-7b-chat and GPT-3.5-turbo testing setsGPT-JudgeNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench

Benchmarks: AdvBench

Metrics: attack success rate (keyword matching) cosine similarity (Sim.) harmful content detector GPT-Judge run time

Baselines: GPTFUZZER AutoDAN PAIR Cipher GCG

Builds on: PPO GPTFUZZER AutoDAN PAIR

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