Manuscript Offprint

arXiv:2610.40926

CoFiBreak: A Coarse-to-Fine Diversity Reward for Effective Multi-Turn Jailbreak

Jialin Song, Xiaodong Liu, Weiwei Yang, Mingqian Feng, Chengquan Guo, Qiyao Ma, Carolyn Buractaon, Anson Ho, Wuyang Chen, Christopher White

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

ABSTRACT

Automated red teaming trains an attacker large language model (LLM) to elicit harmful responses from a victim LLM, but reinforcement learning can collapse attackers onto a narrow set of prompts when attack success is the only reward. Such a collapse of attack diversity can bias safety evaluation toward repeatedly testing near-duplicate attack patterns rather than the underlying harmful intents. Existing methods often trade off attack success or inference cost for greater content or strategy diversity. We propose CoFiBREAK, a coarse-to-fine diversity reward for Group Relative Policy Optimization (GRPO) that improves attack diversity while preserving strong attack effectiveness and low inference cost. The coarse reward broadens which strategies the attacker uses by encouraging strategies underrepresented within each GRPO group, while the fine reward broadens how those strategies are realized by discouraging reuse of the same personas, framings, and output formats after harmful-intent information is removed from prompt embeddings. Diversity rewards apply only to attacks that already exceed an effectiveness threshold, so diversity cannot be gained through ineffective attacks. Since both rewards are computed only during training, CoFiBREAK also retains inference efficiency. Trained with Llama3.1-8B-Instruct as the victim, CoFiBREAK discovers 1.6–2.0× as many distinct successful fine-grained strategies as the strongest baseline across frontier victims on HarmBench. It reaches 98.8% ASR@10 (attack success rate with 10 generations per intent) on AdvBench with the highest diversity score among all compared methods, which is 2.1× that of the strongest-attacking baseline. The resulting attacks transfer to unseen frontier LLMs, reaching 71.0% ASR@10 on AdvBench with the unseen victim Claude-Opus-4.6. The code will be released.

1 INTRODUCTION

Automated red teaming trains a model to generate adversarial prompts that elicit harmful responses from a victim LLM, exposing failures before deployment and producing challenging examples for safety training and evaluation (Perez et al., 2022; Ganguli et al., 2022). Multi-turn attacks (Russinovich et al., 2025; Pavlova et al., 2024) extend this setting to conversational interactions and can be more effective than single-turn prompts for the same harmful intent (Song et al., 2026). For an automated attacker to be useful at scale, three properties matter: effectiveness, which reveals model vulnerabilities through attack success (Wang et al., 2019); diversity, which avoids repeatedly testing the same template or strategy (Wang et al., 2025; Rahman et al., 2025); and inference-time cost, which determines how broadly the evaluation can be run.

Figure 1a illustrates the resulting tradeoff among effectiveness, diversity, and inference cost. SEMA (Feng et al., 2026) is efficient at inference, but optimizing attack success alone leaves it with low diversity. TROJail (Xiong et al., 2026) has the highest diversity among baselines but low attack effectiveness (11.0% ASR@10 on Claude-Opus-4.6). Prompted attackers such as Crescendo (Russinovich et al., 2025) and AutoDAN-Turbo (Liu et al., 2025) reach higher attack effectiveness than TROJail while keeping moderate diversity. Crescendo gradually escalates the conversation from

∗^{*}Work done during the internship at Microsoft Research. Correspondence to: jialin.song@sfu.ca, weiwei@asemic.ai, xiaodl@microsoft.com.

Figure

(a)

(b)

Figure 1: (a) Attack effectiveness (x-axis), diversity (y-axis) and inference cost (point color) for existing red-teaming methods and COFiBREAK. Effectiveness is ASR@10 on AdvBench transferred to Claude-Opus-4.6; diversity is the per-turn diversity score of Xiong et al. (2026) computed across intents after the intent subspace is erased. Point color is the wall-clock time to generate one attack: blue is cheap, gray is expensive. Upper right is better. (b) First turns of generations for one held-out intent. COFiBREAK opens each with a different fine-grained strategy (Dabas et al., 2026), whereas the baseline repeats near-duplicate generations. Strategy definitions are in Appendix B.5.

benign turns that build on the victim's own replies and AutoDAN-Turbo assembles attacks from a strategy library discovered through repeated exploration. However, such procedures require repeated API calls and take 2.6–3.6 seconds per attack generation compared to 0.03–0.21 seconds for locally hosted attackers, such as ADV-LLM (Sun et al., 2025) and Jailbreak-R1 (Guo et al., 2025) (Table 4). Since no baseline reaches the upper right corner with low cost in Figure 1a, this tradeoff motivates our central question:

"Given a harmful intent, how can an attacker be diverse in its generations while retaining strong attack success and low inference cost?"

We propose COFiBREAK, a Coarse-to-Fine diversity jailbreak reward for GRPO (Shao et al., 2024). The two reward levels are complementary and target different forms of collapse. At the coarse level, we expand the strategy coverage of a single attacker by rewarding strategies that are underrepresented within the GRPO group. This differs from methods that select from predefined strategies given risk categories (Chen et al., 2025; Lin et al., 2024) or train separate attackers for different strategies (Wang et al., 2025). At the fine level, we discourage repeated templates and framings by rewarding content dispersion after removing the shared intent direction from prompt embeddings. Table 1 motivates this erasure, where raw embedding similarity is dominated by harmful intent rather than differences in strategy or framing (Beutel et al., 2024; Belrose et al., 2023).

Table 1: Mean pairwise cosine similarity between prompt embeddings grouped by what each pair shares: I+S = same intent and same strategy; I only = same intent, different strategy; S only = different intent, same strategy, I+S – I only = Difference between changing strategy while holding intent fixed, I+S – S only = Difference between changing intent while holding strategy fixed. Similarity stays high when intent is shared and falls once intent changes. We show the result under 50 intents from AdvBench × 2 strategy taxonomies and 2 embedding models (Qwen3-Embedding-8B (Zhang et al., 2025), text-embedding-3-large (OpenAI, 2024)); how the prompts were generated and paired is described in Appendix B.3.

Strategy taxonomyEmbedding modelI+SI onlyS onlyI+S – I onlyI+S – S only
Déjà Vu (Dabas et al., 2026)Qwen3-Embedding-8B0.7170.6490.3470.0680.370
text-embedding-3-lg0.6840.5950.4010.0890.283
PAP (Zeng et al., 2024)Qwen3-Embedding-8B0.7050.6070.3920.0980.313
text-embedding-3-lg0.6820.5530.3880.1290.294

Figure 1b further gives a qualitative view of the resulting variation. For the same held-out intent, CoFiBREAK opens different generations with different fine-grained strategies, while the baseline repeats nearly the same pattern. Section 4 evaluates whether this added variation preserves attack success and transfers to stronger victims.

The contributions of this paper are listed as follows:

  • We introduce a coarse-to-fine diversity reward that expands both strategy coverage and content variation for a single trained attacker without adding inference-time search. On the training-time victim Llama3.1-8B-Instruct, CoFiBREAK reaches 98.8% ASR@10 on AdvBench and 98.1% on HarmBench. On AdvBench, it achieves a diversity score of 0.3633, which is 2.1× that of the baseline with comparable attack effectiveness.

  • Using an independent fine-grained strategy taxonomy, we find that CoFiBREAK discovers 1.6–2.0× as many distinct successful jailbreak strategies as the strongest baseline attackers across three frontier victims. The dominant strategies differ by victim, with GPT-5-mini most exposed through fictional context masking and Claude-Opus-4.6 through stepwise instruction elicitation and targeted specificity bait, shown in Figure 4.

  • Our attacker, trained only with Llama3.1-8B-Instruct as victim, produces attacks that transfer to unseen frontier victims. Relative to the second-best method, CoFiBREAK reaches roughly 4× ASR@1 on AdvBench against Claude-Opus-4.6 and 2× ASR@1 on HarmBench against GPT-5-mini.

References (63)