Jailbreaking black-box large language models in twenty queriesJailbreaking Black Box Large Language Models in Twenty Queries
Translation in progress — untranslated text is omitted.
Researchers at the University of Pennsylvania propose the PAIR algorithm, which uses an attacker model to automatically and iteratively generate semantic jailbreak prompts against a target large language model, requiring only black-box query access and typically succeeding in fewer than twenty queries. The attacker model generates candidates based on three types of system prompts—role-playing, logical appeal, and authority endorsement—and iteratively improves them based on target responses and scores, with no human involvement. On the 100 behaviors in JailbreakBench, with Mixtral 8x7B as the attacker model, PAIR's jailbreak success rate is 50% against GPT-3.5 and GPT-4, 88% against Vicuna-13B, and 73% against Gemini-Pro; with Vicuna as the target, it finds a successful jailbreak in an average of 34 seconds, using 366MB of CPU memory at a cost of about $0.03, and the paper states that query efficiency is more than 250 times higher than GCG.
The paper proposes PAIR, a black-box automated jailbreak method that typically succeeds in fewer than twenty queries, is more than 250 times more efficient than GCG, and whose procedure red teams can use at low cost.
Related events and news
1 events · 2 news mentions
News that mentions this paper
OpenAI用自动化红队训练GPT-6 Astra抗越狱
- OpenAI Alignment Researchcites the paper's id or linkOpenAI 用自动化红队训练 GPT-6 Astra,提升高风险领域抗越狱鲁棒性
This harness is structurally similar to Prompt Automatic Iterative Refinement (PAIR) by Chao et al.
- Failure-Firstcites the paper's id or link大语言模型越狱史:完整研究文章
Chao et al. “Jailbreaking Black Box Large Language Models in Twenty Queries” (2023) — PAIR. arXiv:2310.08419