Reflections and Fragments: Securing LLMs Against Sequential Mosaic Attacks

Emanuele La Malfa, Saar Cohen, Gabriele La Malfa, Mickel Liu, Christian Schroeder de Witt, Natasha Jaques, Michael J. WooldridgearXiv 2026

TL;DR

This paper introduces mosaic attacks, a sophisticated multi-turn jailbreaking strategy where an adversary decomposes a harmful objective into individually innocuous fragments that only become dangerous when combined. The authors develop a formal theory of "watchman" defenders—stateful mechanisms that track safety context across turns—and demonstrate that training role-specific LoRA adapters through multi-turn self-play significantly hardens LLMs against these compositional threats without sacrificing general helpfulness.

What Problem Does This Paper Address?

Current LLM safety training often focuses on "single-shot" jailbreaks or "escalation" attacks (where prompts become progressively more toxic). However, real-world adversaries are moving toward mosaic attacks. In a mosaic attack, every individual prompt and response in a conversation might pass a standard safety filter, yet the cumulative information provided to the user enables a harmful outcome (e.g., piecing together the components of a fraudulent invoice).

The core challenge is that a defender evaluating turns locally cannot distinguish between a benign request and a fragment of a malicious mosaic. The authors set out to answer: What information must a defender retain to stop these attacks, and can we train models to recognize these patterns through adversarial self-play?

Mosaic vs. Escalation attacks and the self-play training framework.

Methods

The researchers formalize the interaction as a Sequential Mosaic Game, a finite extensive-form game with imperfect information.

  1. The Watchman Mechanism: They prove that no fixed, bounded window of recent prompts is sufficient for defense. Instead, they propose a "watchman"—an online state mechanism that compresses interaction history into a safety-relevant state.
  2. Role-Specific Self-Play: They use Anchored Bipolicy Self-Play, training two separate Low-Rank Adaptation (LoRA) adapters—an Attacker and a Defender—over a shared frozen backbone model (e.g., Qwen, Gemma).
  3. Optimization: Training is conducted using a multi-turn adaptation of GRPO (Group Relative Policy Optimization). A separate "Judge" model provides rewards based on terminal verdicts (success, refusal, etc.) and per-turn harmful progress scores.
  4. Role Separation: By using disjoint LoRA parameters for the attacker and defender, the authors prevent "gradient collision," where updates for one role might inadvertently undo progress for the other.

Datasets

  • WildMosaic: A new dataset assembled for this work, containing 915 malicious seeds (from safety benchmarks) and 1,000 synthetic benign prompts.
  • AdvBench: Used for out-of-distribution evaluation of harmful behaviors.
  • WildJailbreak: A large-scale benchmark used to test the decomposability of malicious objectives and evaluate defender robustness.

Key Insights and Ideas

  • The Impossibility of Memoryless Defense: The authors mathematically prove that if an "ambiguous fragment" exists (a prompt that is helpful in one context but completes a mosaic in another), a stateless defender must fail at either safety or helpfulness.
  • Exponential Complexity: While a watchman can theoretically provide zero-failure defense, an exact watchman might require exponentially many states relative to the number of fragments. However, they show these states are often efficiently learnable from examples.
  • Equilibrium $\neq$ Usefulness: In a pure zero-sum safety game, the "optimal" defender is one that refuses every single request (zero failure, but zero helpfulness). To avoid this degeneracy, the authors frame the problem as maximizing benign helpfulness subject to a zero-failure safety constraint.
  • Mosaic Strategy Convergence: Interestingly, as training progresses, attackers naturally shift away from obvious "cover stories" or "escalation" and toward composing truly benign-in-isolation fragments, confirming the potency of the mosaic approach.

Key Results

The self-play training significantly improved both attack and defense capabilities across three different model families (Qwen3.6-35B, Gemma4-26B, and DeepSeek-V2-Lite).

  • Defender Robustness: On the WildMosaic held-out set, the Qwen defender reduced the Attack Success Rate (ASR) from 17.0% to 7.7%. On AdvBench, it achieved a massive 15.3 percentage point reduction in ASR compared to the base model.
  • Attacker Efficacy: The trained attackers became much better at eliciting harmful responses from the base models, with the Gemma attacker increasing ASR by 11.3 percentage points on WildMosaic.
  • Generalization: The defenders showed improved robustness even on unseen attack categories and different attack styles like "Crescendo," though the transfer to Crescendo was model-dependent (strong for Gemma, negligible for Qwen).
Table 1: Attack success rate (ASR) on the WildMosaic held-out split, AdvBench, and WildJailbreak. Base is the frozen model’s ASR; Attacker is the LoRA attacker against the base defender (↑better), and Defender is the base attacker against the LoRA defender (↓better). ∆is the absolute ASR change in percentage points (pp), i.e. ASRatt−ASRbase for the attacker and ASRbase−ASRdef for the defender. Values are mean with standard deviation in parentheses across three evaluated checkpoints. For AdvBench and WildJailbreak, significance is assessed separately at each checkpoint using an exact two-sided McNemar test on paired malicious prompts (n = 520 for Qwen and Gemma and n = 300 for DeepSeek; α = 0.05); checkpoint-level tests are not combined into a test of the reported mean. Bold ∆indicates significance at all three evaluated checkpoints, while † indicates significance at one or two checkpoints. No significance marker is reported for WildMosaic, for which checkpoint-level McNemar tests are not reported here. Benign refusal is the share of benign prompts refused by the base model and the trained defender and is reported separately to characterize the safety-helpfulness trade-off.

Limitations and Future Work

  • Model-Based Evaluation: The study relies heavily on LLM-as-a-judge for scoring harmful progress and intent equivalence, which may have its own biases.
  • Scaling: Future work is needed to see how these "watchman" states scale with much longer interaction lengths (e.g., hundreds of turns).
  • Structured Maliciousness: The current query complexity bounds assume an unstructured "black-box" maliciousness oracle; exploring structured maliciousness might lead to more efficient detection algorithms.
  • Helpfulness Trade-off: While the defenders are more robust, there is a measurable increase in "benign refusal" (over-refusal), particularly in the Gemma models, suggesting the safety-helpfulness balance remains a delicate tuning task.

Summary updated

BibTeX
@misc{malfa2026reflections,
  author = {Emanuele La Malfa and Saar Cohen and Gabriele La Malfa and Mickel Liu and Christian Schroeder de Witt and Natasha Jaques and Michael J. Wooldridge},
  title = {{Reflections and Fragments: Securing LLMs Against Sequential Mosaic Attacks}},
  year = {2026},
  eprint = {2610.05346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.05346},
}
Figure