NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Models in Multi-turn Interactions

Hao Yang, Lizhen Qu, Ehsan Shareghi, Gholamreza HaffariCOLM 2025

TL;DR

This paper introduces "Jigsaw Puzzles" (JSP), a novel multi-turn jailbreak strategy that breaks down harmful questions into harmless fragments. JSP effectively bypasses LLM safeguards, achieving a 93.76% attack success rate across five advanced LLMs, highlighting significant vulnerabilities in current multi-turn interaction defenses.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly capable of complex reasoning and multi-turn conversations. However, they remain susceptible to "jailbreak attacks," where malicious prompts trick them into generating harmful content. While single-turn jailbreak strategies have been explored, the vulnerabilities of LLMs in multi-turn interactions, where context and memory play a crucial role, are less understood. Existing defenses often rely on detecting explicit harmful keywords, which can be circumvented. This paper addresses the challenge of effectively jailbreaking LLMs in multi-turn settings by developing a strategy that hides harmful intent within seemingly innocuous conversational turns.

Methods

The core of the proposed method, Jigsaw Puzzles (JSP), involves a three-stage process to transform harmful queries into a series of benign inputs for multi-turn interaction:

  1. Re-write Queries: The original harmful question is rephrased into a standardized format, typically "How do I implement for [harmful behavior]?", to ensure a consistent structure.
  2. Sentence-level Splitting: Harmful and sensitive words or phrases are identified within the rephrased question. These are then isolated from the rest of the sentence.
  3. Word-level Splitting: The identified harmful words are further broken down into smaller, meaningless letter fractions. These fractions are designed to be at least two letters long and not form new, recognizable words, ensuring they appear harmless individually.

The JSP strategy also incorporates a specific prompt that instructs the LLM not to reveal the concatenated question and to include a disclaimer in its response, aiming to bypass both input and output-side defenses. The LLM is then fed these fractions sequentially over multiple turns, and upon receiving a "Begin" command, it reconstructs the question and provides a harmful response.

Datasets

The primary dataset used for experiments is derived from Figstep (Gong et al., 2023), which contains 500 questions across 10 harmful categories. For this study, three categories (legal advice, medical advice, and financial advice) were removed, resulting in a final dataset of 189 harmful questions. The authors also used the Advbench and Malicious-Instruct benchmarks to validate the generality of their approach.

Key Insights and Ideas

  • Multi-turn Vulnerability: LLMs are significantly more vulnerable to jailbreaking in multi-turn interactions than in single-turn settings, as the sequential nature of conversation can obscure harmful intent.
  • Decomposition is Key: Breaking down a harmful query into seemingly benign fragments is a highly effective strategy for bypassing content-based safety filters. The LLM's attempt to reconstruct the full query from these fragments can lead it to generate the harmful output.
  • Disclaimer as a Shield: Including a disclaimer in the prompt, while seemingly counterintuitive, helps bypass output-side guardrails by framing the subsequent harmful content as hypothetical or for informational purposes.
  • Model Differences: While JSP is effective across various LLMs, there are differences in their susceptibility. Open-source models like Llama-3.1-70B show weaker defenses compared to commercial models like Gemini-1.5-Pro and GPT-4, though even the latter are significantly impacted by JSP.
  • Defense Evasion: JSP demonstrates strong resistance to both input-side defenses (which analyze the prompt) and output-side defenses (which monitor the response), particularly when the disclaimer is present.

Key Results

  • JSP achieved an average attack success rate (ASR-q) of 93.76% across 189 harmful queries and 5 advanced LLMs (Gemini-1.5-Pro, Llama-3.1-70B, GPT-4, GPT-4o, GPT-4o-mini).
  • On specific models, the success rate was even higher: above 95% on Llama-3.1-70B, GPT-4, and GPT-40-mini.
  • The strategy demonstrated consistent performance across different jailbreaking benchmarks.
  • The full JSP strategy (including word-level splitting) significantly improved jailbreaking success rates compared to sentence-level splitting alone.
  • JSP showed strong resistance to defense mechanisms like SelfDefend and PurpleLlama, especially when the disclaimer was used.

Limitations and Future Work

  • Offensive Content: The paper explicitly warns that it contains offensive examples, a necessary byproduct of demonstrating jailbreaking capabilities.
  • Model Specificity: While effective across many LLMs, JSP did not jailbreak all models tested (e.g., o1-mini, o1, Claude Sonnet 3.5). The authors suggest that some models detect the jailbreaking intent more effectively.
  • Computational Cost: Multi-turn interactions inherently increase inference time and cost compared to single-turn attacks.
  • Future Work: The authors suggest further exploring LLM vulnerabilities in multi-turn settings and developing more robust defense mechanisms that can handle these complex interaction patterns. They also highlight the need to understand how newer LLM versions or different architectures might respond to such attacks.

Summary updated

BibTeX
@inproceedings{yang2025jigsaw,
  author = {Hao Yang and Lizhen Qu and Ehsan Shareghi and Gholamreza Haffari},
  title = {{Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Models in Multi-turn Interactions}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=zuNM3eoPVi},
}
Figure