Skip to content

Jailbreaking black-box large language models in twenty queriesJailbreaking Black Box Large Language Models in Twenty Queries

arXiv· arXiv:2310.08419· SaTML 2025· Patrick Chao, Alexander Robey, Edgar Dobriban, Hamed Hassani, George J. Pappas, Eric WongUniversity of PennsylvaniaIndexed by this site · 27 days ago· Originally publishedSelected AttacksSelectedAttention42

Translation in progress — untranslated text is omitted.

AI summary

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.

Why it was selected

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抗越狱

Related papers

Show 3 more papers
Read originalSaTML 2025