A systematic evaluation of adversarial jailbreak attacks and defenses across seven large language modelsSystematic Evaluation of Adversarial Jailbreaking Attacks and Defenses Across Seven Large Language Models
Translation in progress — untranslated text is omitted.
A systematic evaluation tested five types of jailbreak attacks—direct request, role-playing, hypothetical framing, instruction override, and obfuscation—on seven large language models including Llama-3-8B, Mistral-7B, and Qwen2.5-7B; the obfuscation attack achieved an average attack success rate (ASR) of 54.3% and could bypass all tested models. The evaluation also compared four defenses: keyword blacklists, self-reminder prompts, paraphrase sanitization, and perplexity filtering; among them, self-reminder prompts were the most stable, reducing Mistral-7B's ASR from 44% to 10% and Llama-3.1-8B's from 48% to 5%, with zero false positives and no additional inference cost. Model scale could not predict adversarial robustness (Spearman r=-0.57).
- Existing jailbreak evaluations mostly test only a single model or a few models, lacking systematic comparison of multiple attack families, multiple model families, and practical defenses under controlled conditions, and the relationship between model scale and robustness is also unclear.
- Deployed 7 open-source 3B–14B models locally on Ollama and ran a black-box evaluation with 50 prompts from each of 5 attack families (250 per model), with a phi4:14b content judge as the primary judge (HARMFUL or PARTIAL counted as success) and a rule-based judge reported as a control; 4 defenses were also tested on 2 high-ASR models.
- Under the content judge, obfuscation had the highest aggregate ASR (62.3%, of which HARMFUL was only 7.1%), and it was non-zero on all 7 models; the correlation between model scale and ASR was not significant (ρ=−0.64, p=0.12, n=7); self-reminder reduced ASR by 40 percentage points on each of the two models (rule-based judge, provisional).
- The authors note: the content judge was not validated against human labels and is lenient; the rule-based judge has known defects; the defense experiments used only the rule-based judge, 20 prompts per model, and 2 models; white-box attacks were not tested; generation set no random seed and each prompt was run only once.