Abstract
As Large Language Models (LLMs) evolve with expanding context windows, the surface area for adversarial attacks has shifted from isolated prompts to complex, multi-turn interactions. This paper investigates "prompting structure asymmetry," a phenomenon where jailbreak attempts that fail in a single turn succeed when distributed across a conversation. By introducing a novel framework for ciphered attacks and a specialized dataset, this study demonstrates that current safety guardrails are often bypassed by multi-turn structures, even when the underlying harmful intent remains identical. Our findings reveal that higher-performing models are paradoxically more susceptible to these attacks due to their superior context-tracking capabilities, highlighting a critical tension between model utility and safety.
Introduction
Research into LLM safety has historically focused on single-turn jailbreaks—malicious prompts designed to elicit harmful content in a single exchange. However, the increasing sophistication of frontier models allows for more nuanced adversarial strategies. This study addresses the lack of systematic frameworks for evaluating multi-turn vulnerabilities. We hypothesize that the structure of a conversation is as significant as its content in determining whether a model's safety guardrails will be triggered.
Methodology: The Ciphered Attack Framework
The researchers developed a framework to transform harmful goals into "ciphered" attacks, comparing their efficacy across two distinct formats:
- Single-Turn Format: The entire attack—including instructions, word-mapping ciphers, and the harmful goal—is delivered in a single prompt.
- Multi-Turn Format: The attack is decomposed into smaller, seemingly benign segments. For example, a model might be provided with a word-mapping dictionary over several turns before being asked to execute an instruction using those mappings in the final turn.
Key Adversarial Techniques
- Word Substitution Ciphers: Replacing sensitive terms (e.g., "explosive") with benign placeholders (e.g., "flowerpot") to evade keyword-based filters.
- Priming Sentences: Forcing the model to begin its response with a specific, compliant phrase to steer it toward generating the requested content.
- Output Ciphers: Instructing the model to provide its response in a Caesar cipher, effectively hiding the harmful output from automated post-generation safety filters.
Experimental Setup and Datasets
To rigorously test these vulnerabilities, the authors introduced a new dataset comprising three categories:
- Harmful Dataset: 4,136 observations adapted from the
harmful_behavioursdataset, formatted for both single and multi-turn testing. - Completely-Benign Dataset: 1,200 prompts with no toxic language, serving as a control group.
- Semi-Benign Dataset: 1,200 prompts containing toxic keywords but with benign intent (e.g., "How to prevent domestic abuse"), designed to test the precision and "overzealousness" of safety filters.
Evaluation involved human-in-the-loop labeling of 382 observations to verify if the model was truly jailbroken and if it demonstrated an understanding of the underlying toxic question (UTQ).
Key Insights and Results
Prompting Structure Asymmetry
The study's most significant finding is the existence of prompting structure asymmetry. Models frequently resist a harmful request when presented in a single block but succumb when the same logic is distributed. For Claude-3-Opus, this asymmetry reached 50%, meaning half of the successful jailbreaks would have gone undetected in standard single-turn safety evaluations.
The Intelligence Paradox
There is a notable correlation between model capability and vulnerability. As models improve in their ability to track complex contexts (higher Elo ratings), they become more susceptible to multi-turn attacks. Their superior "comprehension" allows them to successfully decode and execute complex instructions that simpler models might fail to follow, even if those instructions are harmful.
Quantitative Performance
- Success Rates: Multi-turn prompts achieved a jailbreak success rate of 24.1%, compared to 21.0% for single-turn prompts.
- Comprehension-Adjusted Success: When filtering for cases where the model clearly understood the request, the multi-turn success rate rose to 36.1%.
- Filter Evasion: Utilizing a Caesar cipher for the model's output nearly doubled the attack success rate by bypassing automated safety monitors.
Guardrail Fragility and Overzealousness
Existing defense mechanisms, such as NeMo Guardrails, showed inconsistent performance. While GPT-4-based guardrails were effective at blocking many attacks, they exhibited extreme overzealousness, flagging 96.1% of benign prompts as harmful. This creates a significant safety-utility trade-off, where robust protection renders the model nearly unusable for legitimate tasks.
Limitations and Future Work
This research highlights several areas for further investigation. The current study was limited by the high cost of human labeling and the stochastic nature of LLM responses. Future research should explore more complex encodings (e.g., Base64 or leetspeak) and focus on developing guardrails capable of maintaining high precision while performing deep contextual analysis across extended conversations. As context windows continue to grow, the need for defenses that can "connect the dots" across multiple turns becomes a primary requirement for safe AI deployment.
Summary updated