Enhancing Jailbreak Attacks on LLMs via Persona Prompts
Zheng Zhang, Peilin Zhao, Deheng Ye, Hao Wang
TL;DR
This work exposes a systemic vulnerability in LLM safety by showing that carefully evolved persona prompts can substantially reduce refusal behavior and amplify the success of jailbreak attacks. It introduces a genetic-algorithm framework that initializes with sanitized persona prompts, then iteratively crossovers and mutations prompts to produce highly effective adversarial personas. The evolved prompts generalize across multiple LLMs and synergize with existing jailbreak methods, highlighting a critical need for defenses that consider persona-driven manipulation and cross-method attacks. The results emphasize broader implications for safety alignment and prompt-based defenses in real-world AI deployments.
Abstract
Jailbreak attacks aim to exploit large language models (LLMs) by inducing them to generate harmful content, thereby revealing their vulnerabilities. Understanding and addressing these attacks is crucial for advancing the field of LLM safety. Previous jailbreak approaches have mainly focused on direct manipulations of harmful intent, with limited attention to the impact of persona prompts. In this study, we systematically explore the efficacy of persona prompts in compromising LLM defenses. We propose a genetic algorithm-based method that automatically crafts persona prompts to bypass LLM's safety mechanisms. Our experiments reveal that: (1) our evolved persona prompts reduce refusal rates by 50-70% across multiple LLMs, and (2) these prompts demonstrate synergistic effects when combined with existing attack methods, increasing success rates by 10-20%. Our code and data are available at https://github.com/CjangCjengh/Generic_Persona.
