arXiv:2610.05346cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05346

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. Wooldridge

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Self-play red-teaming improves language-model safety by pitting attacker and defender roles against each other in a zero-sum game. However, real adversaries increasingly use mosaic attacks: multi-turn sequences whose individual fragments are innocuous in isolation yet assemble into a harmful payload. We develop a theory of mosaic defense that characterizes what is required to prevent such attacks without sacrificing helpfulness. We first show that no fixed bounded window of recent prompts is sufficient in general: safety-relevant information may occur arbitrarily far back in the interaction. We formalize a watchman, an online state mechanism that carries this information forward, and show that under explicit assumptions it enables zero-failure defense with positive benign helpfulness. Under stronger conditions, it is also optimal among zero-failure defenders. An exact watchman may nevertheless require exponentially many queries, while exact maliciousness detection can require exponentially many queries in an unstructured black-box model. These state and query lower bounds do not by themselves imply hard learning: the construction underlying the state lower bound is efficiently learnable from labeled examples, whereas certifying worst-case safety can require substantially more information under restricted access. We also show that self-play equilibrium alone does not certify usefulness, motivating a constrained formulation that maximizes worst-case benign helpfulness among zero-failure defenders. Empirically, training role-specific attacker and defender LoRA adapters over frozen LLMs via multi-turn self-play strengthens both roles: attackers become more effective at eliciting harmful responses, while defenders become more robust to attack, with improvements also observed on unseen attack objectives.

“Gigi, who is the strongest attacker that you have played?”

— Antonio Cassano (circa 2025 CE)

1 INTRODUCTION

A growing body of work trains safer language models through self-play red-teaming: a single model plays an attacker that searches for jailbreaks and a defender that must answer benign requests while refusing harmful ones, with both optimized through adversarial interaction (Liu et al., 2026; La Malfa et al., 2026). This paradigm has also been used in recent large-scale safety training: OpenAI reports training GPT-Red through attacker-defender self-play and using it to adversarially train GPT-5.6 (Wallace et al., 2026). However, language-model interactions are inherently multi-turn,

Figure

(A)

(B)

(C)

Figure 1: (A) A mosaic attacker decomposes a harmful objective into individually benign subprompts. Each response can be appropriate in isolation, while the collection of responses becomes harmful through composition. (B) Unlike escalation attacks such as Crescendo (Russinovich et al., 2025), mosaic fragments need not become progressively more harmful; their risk arises from composition. (C) We train role-specific LoRA adapters over a shared frozen backbone; a judge scores each conversation to update both roles through self-play (Liu et al., 2026; La Malfa et al., 2026).

and whether a response is safe can depend on the preceding conversation rather than on the current prompt alone. Recent multi-turn red-teaming work demonstrates that models remain vulnerable to attacks that develop harmful objectives across a conversation (Rahman et al., 2025; Russinovich et al., 2025; Yang et al., 2024). We study this problem through mosaic attacks, a particularly challenging form of multi-turn attack in which a harmful objective is decomposed into fragments that are innocuous in isolation but harmful in combination (Balashov et al., 2025). A defender evaluating each turn locally may therefore answer every request as it normally would, even though the resulting collection of responses advances a harmful objective. The challenge is not only to recognize harmful prompts, but to determine when an otherwise benign request becomes unsafe to answer because of its role in the preceding interaction. Figure 1 illustrates this setting.

Our contributions. We formalize mosaic defense as a finite extensive-form game with imperfect information (Section 3), in which the attacker knows the latent objective and chooses prompts over multiple turns, while the defender may observe different amounts of interaction history. We treat safety and helpfulness separately: a defender can trivially avoid harm by refusing every request, but at the cost of providing no useful responses to benign requests. Under our refusal-safety assumption, this policy is fully safe but has zero benign helpfulness. The key question is whether a defender can prevent harmful interactions while retaining enough information to answer benign requests.

History dependence and watchmen (Sections 4 and 5). We prove that no fixed bounded window of recent prompts is sufficient, in general, to defend against multi-turn mosaic attacks while remaining helpful on benign interactions: information needed to determine whether the current request is safe to answer may have appeared earlier than the defender's observation window. We introduce the watchman, an online state mechanism that carries this safety-relevant information forward. Under certain conditions, it enables zero-failure defense with positive benign helpfulness; under stronger conditions, the resulting defender is optimal among zero-failure defenders.

Watchman complexity and learnability (Section 5). We establish that an exact watchman may require exponentially many states, and determining whether a prompt completes a mosaic can require exponentially many queries to an unstructured black-box maliciousness oracle. These limitations are distinct and do not by themselves imply hard learning: the state lower-bound construction is efficiently learnable from labeled examples, whereas verifying worst-case safety can require substantially more information under restricted access.

Safety and helpfulness beyond equilibrium (Section 6). A safety-only self-play objective admits a trivial solution: under refusal safety, a defender that refuses every request is maximin-optimal despite being entirely unhelpful. We formalize this degeneracy, showing that equilibrium in the malicious game alone does not guarantee usefulness. We thus consider a constrained formulation requiring zero failure while maximizing worst-case benign helpfulness; under additional assumptions, the watchman defender is optimal for this formulation. We also extend the analysis to approximate watchmen, characterizing how false negatives degrade safety and false positives reduce helpfulness.

Empirical evaluation (Section 7). We train separate attacker and defender LoRA adapters over three frozen mixture-of-experts models (Qwen3.6-35B-A3B, Gemma4-26B-A4B, and DeepSeek-V2-Lite). Multi-turn self-play strengthens both roles: attackers elicit more harmful responses, while defenders become more robust across harm categories, including on unseen objectives. Learned attackers compose benign-in-isolation fragments rather than relying on conventional jailbreaks.