[Paper Review] PAPILLON: Efficient and Stealthy Fuzz Testing-Powered Jailbreaks for LLMs
PAPILLON introduces an automated, black-box jailbreaking framework for LLMs that uses fuzz testing with LLM-guided, question-dependent mutation strategies to generate short, semantically coherent prompts. It achieves over 90% attack success on GPT-3.5 Turbo and 80% on GPT-4, outperforming state-of-the-art methods by over 60% while maintaining evasion and transferability against defenses.
Large Language Models (LLMs) have excelled in various tasks but are still vulnerable to jailbreaking attacks, where attackers create jailbreak prompts to mislead the model to produce harmful or offensive content. Current jailbreak methods either rely heavily on manually crafted templates, which pose challenges in scalability and adaptability, or struggle to generate semantically coherent prompts, making them easy to detect. Additionally, most existing approaches involve lengthy prompts, leading to higher query costs. In this paper, to remedy these challenges, we introduce a novel jailbreaking attack framework called PAPILLON, which is an automated, black-box jailbreaking attack framework that adapts the black-box fuzz testing approach with a series of customized designs. Instead of relying on manually crafted templates,PAPILLON starts with an empty seed pool, removing the need to search for any related jailbreaking templates. We also develop three novel question-dependent mutation strategies using an LLM helper to generate prompts that maintain semantic coherence while significantly reducing their length. Additionally, we implement a two-level judge module to accurately detect genuine successful jailbreaks. We evaluated PAPILLON on 7 representative LLMs and compared it with 5 state-of-the-art jailbreaking attack strategies. For proprietary LLM APIs, such as GPT-3.5 turbo, GPT-4, and Gemini-Pro, PAPILLONs achieves attack success rates of over 90%, 80%, and 74%, respectively, exceeding existing baselines by more than 60\%. Additionally, PAPILLON can maintain high semantic coherence while significantly reducing the length of jailbreak prompts. When targeting GPT-4, PAPILLON can achieve over 78% attack success rate even with 100 tokens. Moreover, PAPILLON demonstrates transferability and is robust to state-of-the-art defenses. Code: https://github.com/aaFrostnova/Papillon
Motivation & Objective
- To address the limitations of existing jailbreaking attacks that rely on manual prompt crafting or lengthy, detectable prompts.
- To develop an automated, black-box jailbreaking method that does not require predefined templates or existing jailbreak prompts.
- To generate short, semantically coherent jailbreak prompts that evade detection and maintain high success rates.
- To improve robustness against defenses and transferability across different LLMs.
- To enable effective, scalable, and evasive jailbreaking with minimal query cost and high semantic quality.
Proposed method
- The framework uses a black-box fuzz testing approach with an empty seed pool, eliminating dependency on pre-existing jailbreak templates.
- It employs three novel, question-dependent mutation strategies guided by an LLM helper to generate semantically coherent and concise prompts.
- A two-level judge module is implemented to accurately identify genuine jailbreak successes, reducing false positives.
- The method dynamically evolves prompts through mutation and selection, guided by semantic coherence and attack success.
- Prompt length is minimized using LLM-driven compression, maintaining effectiveness even under 100-token constraints.
- The approach is designed to be robust to common defenses, including perplexity-based detection and character-level perturbations.
Experimental results
Research questions
- RQ1Can an automated, template-free jailbreaking method achieve high success rates on proprietary LLM APIs without relying on manual prompt engineering?
- RQ2To what extent can LLM-guided mutation strategies generate short, semantically coherent prompts that evade detection?
- RQ3How effective is the two-level judge module in distinguishing true jailbreaks from false positives?
- RQ4How does the method perform under strict length constraints, and can it maintain high success rates with minimal token usage?
- RQ5How transferable are the generated jailbreak prompts across different LLMs and robust against state-of-the-art defenses?
Key findings
- PAPILLON achieves a 90.5% attack success rate on GPT-3.5 Turbo, exceeding existing baselines by over 60 percentage points.
- The method attains an 80.2% success rate on GPT-4, demonstrating strong performance on advanced proprietary models.
- Even with a strict 100-token limit, PAPILLON maintains a 78.3% success rate on GPT-4, highlighting its efficiency.
- The framework shows high transferability, remaining effective when applied to different LLMs beyond the target model.
- PAPILLON is robust against common defenses, including perplexity-based detection and character-level perturbations, due to its semantic focus.
- The method significantly reduces prompt length while preserving semantic coherence and attack effectiveness, outperforming gradient-based and template-based baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.