Knowledge Base Regulation Tracker Standards & Frameworks OSS Directory AI Incident Database Research Paper Library Case Studies Society Articles News Jobs About Charter Sign inBecome a Member
Home/OSS Directory/persuasive_jailbreaker

persuasive_jailbreaker

Jailbreak and attack libraries

Persuasive Jailbreaker: we can persuade LLMs to jailbreak them!

ai-security

Persuasive Jailbreaker: A Taxonomy-Driven Approach to LLM Jailbreaking

The Persuasive Jailbreaker project introduces a structured methodology for generating Persuasive Adversarial Prompts (PAPs), which exploit human-like persuasion techniques to bypass safety alignment in large language models (LLMs). Developed by researchers from Virginia Tech, Renmin University of China, UC Davis, and Stanford University, this work was published as an arXiv preprint in 2024 and builds on findings that demonstrate a 92% attack success rate (ASR) on advanced models like Llama 2-7b Chat, GPT-3.5, and GPT-4 without specialized optimization. The core innovation lies in treating LLMs as human-like communicators rather than algorithmic systems, thereby introducing a novel dimension to adversarial prompt engineering.

The project’s foundation is a taxonomy of 40 persuasion techniques, each designed to manipulate LLMs into producing harmful or unauthorized outputs. These techniques range from logical appeals to emotional manipulation, reflecting real-world persuasion strategies. Unlike traditional jailbreak methods—such as GCG (Gradient-based Contextual Guessing) or PAIR (Prompt-Aided Iterative Refinement)—PAPs prioritize human-readable, interpretable prompts that mimic natural language persuasion.

The research was conducted in collaboration with Meta and OpenAI, with findings disclosed proactively to mitigate potential risks. Despite the high effectiveness of PAPs, the authors note that real-world misuse remains constrained due to the complexity of crafting successful prompts. The trained Persuasive Paraphraser and full attack pipelines are withheld to prevent unauthorized scaling of adversarial prompt generation. Access to the underlying dataset (hosted on Hugging Face) is granted only to approved researchers under strict ethical guidelines.

How It Works: From Taxonomy to Adversarial Prompts

The Persuasive Jailbreaker framework operates in two primary phases: Persuasive Paraphraser Training and Persuasive Paraphraser Deployment. In the first phase, researchers generate training data by applying the 40 persuasion techniques to paraphrase plain harmful queries into high-quality PAPs. This process involves methods such as in-context prompting or fine-tuning a paraphraser using examples from the taxonomy. The resulting dataset is then used to fine-tune a model capable of stably generating PAPs for new queries.

The second phase deploys the fine-tuned paraphraser to produce PAPs for specific harmful queries, selecting techniques based on the target risk category (e.g., fraud, deception, or harmful content generation). The output is evaluated using a GPT-4 Judge, which assesses the harmfulness of the LLM’s response on a scale of 1 to 5. The project provides example code (incontextsamplingexample.ipynb) and a taxonomy file (persuasiontaxonomy.jsonl) to facilitate reproducible research, though the full attack pipeline remains restricted.

A key distinction of PAPs is their multi-technique and multi-turn adaptability. This flexibility makes them particularly effective against advanced models, as demonstrated in the study’s iterative probe experiments. Over 10 trials, PAPs achieved a 92% ASR on Llama 2 and GPT models, with GPT-4 proving more vulnerable than GPT-3.5—a counterintuitive finding given the latter’s model’s reputation for robustness. Claude, however, exhibited resistance to PAPs, suggesting model-specific vulnerabilities.

Use Cases: Evaluating Persuasion Across Risk Categories

The project systematically evaluates PAP effectiveness across 14 risk categories defined by OpenAI, including fraud, deception, hate speech, and self-harm promotion. For each category, 60 PAP variants (3 plain queries × 20 technique-specific prompts) were tested on GPT-3.5. Results reveal that persuasion significantly enhances jailbreak success rates across all categories, with some techniques (e.g., logical appeal, authority appeal) proving universally effective. Categories like fraud/deception showed higher susceptibility to persuasion, while others (e.g., violence) required more targeted techniques. The bottom row of the study’s heatmap compares PAP success to plain queries, underscoring the multiplicative effect of persuasion on adversarial success.

Beyond static evaluations, the research explores iterative jailbreaking, where successful PAPs are refined and reused to attack models like Llama 2 and GPT-4. This mimics how real-world attackers might adapt prompts based on partial successes. Notably, adaptive defenses—such as Adaptive System Prompts and Targeted Summarization—were found to neutralize PAPs while also mitigating other jailbreak methods, though at the cost of reduced model utility.

The project also examines defensive strategies against PAPs, testing post-hoc methods like rephrasing, tokenization mutations, and context randomization. While mutation-based defenses (e.g., Rand-Drop, RAIN) reduced ASR, they were less effective on advanced models like GPT-4, where contextual understanding outweighed superficial mutations. The authors propose that adaptive defenses—which dynamically adjust to persuasive contexts—offer a more scalable solution. However, they acknowledge a trade-off between safety and model performance, emphasizing the need for tailored defenses based on specific use cases.

Key Features and Capabilities

  • Taxonomy of 40 Persuasion Techniques: A structured framework for generating interpretable adversarial prompts, categorized by psychological and rhetorical strategies (e.g., reciprocity, social proof, emotional appeal). The taxonomy is provided in persuasiontaxonomy.jsonl and serves as a foundation for both attack and defense research.
  • High Attack Success Rate (92%): Demonstrated on Llama 2-7b, GPT-3.5, and GPT-4 without model-specific optimization, highlighting the effectiveness of human-like persuasion over algorithmic exploits. GPT-4’s higher vulnerability to PAPs suggests that advanced models may prioritize contextual coherence over safety alignment in persuasive scenarios.
  • Iterative and Multi-Turn Adaptability: PAPs can evolve based on LLM responses, making them resilient to static defenses. The study’s 10-trial experiments show that iterative refinement significantly boosts ASR, particularly when combining multiple techniques.
  • Defense Generalization: Adaptive defenses (e.g., system prompt adjustments, summarization-based filtering) were found to mitigate not only PAPs but also other jailbreak methods (GCG, Masterkey).
  • Ethical Constraints and Responsible Disclosure: The full attack pipeline and paraphraser are withheld to prevent misuse, while the dataset is shared with approved researchers via Hugging Face. Pre-publication disclosures to Meta and OpenAI ensured timely mitigation efforts, though the study acknowledges that real-world effectiveness may diminish as defenses evolve.
  • Cross-Model Vulnerability Analysis: The project identifies model-specific weaknesses, such as Claude’s resistance to PAPs, while GPT models exhibit higher susceptibility. This variability underscores the need for model-agnostic safety mechanisms that account for persuasive interactions.
  • Reproducibility Tools: Example notebooks (incontextsamplingexample.ipynb) and taxonomy files enable researchers to replicate PAP generation without accessing harmful data. The Hugging Face dataset (advbench sub-dataset) provides refined jailbreak examples for safety studies, subject to access approval.

Sources

Contribute

Spot an error, or know a record we should add? Members can propose additions and submit corrections.