Abstract
Current jailbreaking work on large language models (LLMs) aims to elicit unsafe outputs from given prompts. However, it only focuses on single-turn jailbreaking targeting one specific query. On the contrary, the advanced LLMs are designed to handle extremely long contexts and can thus conduct multi-turn conversations. So, we propose exploring multi-turn jailbreaking, in which the jailbroken LLMs are continuously tested on more than the first-turn conversation or a single target query. This is an even more serious threat because 1) it is common for users to continue asking relevant follow-up questions to clarify certain jailbroken details, and 2) it is also possible that the initial round of jailbreaking causes the LLMs to respond to additional irrelevant questions consistently. As the first step in exploring multi-turn jailbreaking, we construct a Multi-Turn Jailbreak Benchmark (MTJ-Bench) for benchmarking this setting on a series of open- and closed-source models and provide novel insights into this new safety threat. By revealing this new vulnerability, we aim to call for community efforts to build safer LLMs and pave the way for a more in-depth understanding of jailbreaking LLMs.
Introduction
While most jailbreaking research focuses on a single "gotcha" prompt, this study reveals that once an LLM’s safety guardrails are breached in the first turn of a conversation, the model often enters a state of "universal harmfulness." Current safety alignment techniques are remarkably good at catching a single malicious query. However, modern LLMs are designed for multi-turn conversations and massive context windows (up to millions of tokens). This research identifies a critical gap: jailbreaking research has largely ignored the "persistence" of a breach. If an attacker successfully bypasses a model's filters in Turn 1, the model often stays "broken" for the rest of the chat, lowering the barrier for subsequent harmful requests.
The Multi-Turn Threat Model
The researchers formalize "Many-Turn Jailbreaking" into two distinct scenarios to reflect realistic user interactions:
- Irrelevant Multi-turn: After an initial jailbreak attempt (successful or not), the user asks a completely unrelated harmful question (e.g., Turn 1 is about explosives; Turn 2 is about drug manufacturing).
- Relevant Multi-turn: The user asks follow-up questions that expand on the initial successful jailbreak (e.g., Turn 1 asks for a plan to destroy humanity; Turn 2 asks for specific details on "Step 1").
To evaluate these, the study used four state-of-the-art attack baselines—GCG, PAIR, TAP, and AutoDAN—to generate the initial "breaker" prompt. They then measured the Attack Success Rate (ASR) of the subsequent turns using a "Claude-as-a-Judge" approach (Claude-3-Sonnet), validated against human annotations.
MTJ-Bench: A New Benchmark for Safety
The authors introduced MTJ-Bench (Multi-Turn Jailbreak Benchmark), a dataset derived from HarmBench. It consists of two components:
- MTJ-Bench-ir: Contains 10 irrelevant follow-up questions for each of the 320 original HarmBench queries.
- MTJ-Bench-re: Contains 11 relevant follow-up questions per query, categorized into styles such as Codes, Copyright, Persuasiveness, Offensiveness, Technique, and Step-by-step instructions.
Key Results and the "Free Lunch" Effect
The study tested 14 open-source models (including Llama-2, Llama-3, Mistral, and Qwen) and one closed-source model (Claude 3 Sonnet). All were found to be vulnerable to many-turn jailbreaking. A central finding is the ASR Gain—the rate of harmful questions answered in the second turn that the model successfully refused in a single-turn setting.
For irrelevant follow-ups, the ASR Gain generally varied between 5% and 20%. This means 1 in 5 questions that the model would normally refuse are suddenly answered simply because they follow a jailbreak attempt. In the "Relevant" scenario, the second-turn ASR was even higher, often reaching 30% to 40% across various models. This suggests that once a model provides a harmful response, it effectively "forgets" its alignment for the duration of the session.
Insights into Model Persistence
- Universal Harmfulness: The probability of a model answering subsequent, even unrelated, harmful questions increases significantly after an initial breach. Testing up to five turns showed that the safety mechanism doesn't "reset" just because a new turn starts.
- The "Failed Turn 1" Surprise: Surprisingly, even if the first-turn attack fails to elicit a harmful response, the presence of the adversarial prompt in the history can still weaken the model enough that a second-turn irrelevant question succeeds.
- Scaling Impact: Increasing the number of follow-up questions in the context (from 10 to 200) almost doubled the ASR Gain for some models, showing that longer "harmful" contexts further degrade safety alignment.
Conclusion
This research highlights a significant vulnerability in current LLMs: the persistence of jailbroken states across multi-turn conversations. While the study focuses on revealing this threat rather than proposing a specific fix, the authors suggest that future work should explore "context-aware" safety filters. Understanding the internal neural mechanisms that cause this persistence remains a critical area for future investigation to ensure the development of truly robust and safe AI systems.
Summary updated