Skip to content

M³: Formalizing Multi-Turn Jailbreak as a Markov Decision Process for Multi-LLM Systems$M^3$: A Multi-LLM System for Multi-Turn Jailbreaking as a Markov Decision Process

arXiv: Dangerous Capabilities & Safety Evals· arXiv:2610.31937· Jekaterina Novikova, Yuqing Huang, Jack Ji, Sagarika Suresh, Jithin Pradeep, Lovedeep GondaraThe Vanguard GroupIndexed by this site · 29 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose a multi-turn jailbreak framework, R3, which lets the attacker remember rejected turns while the target model forgets them; the authors claim that on two benchmarks and six target models, its ASR@5 exceeds the baselines by up to 53%.

Threat modelBlack-box multi-turn jailbreak: the attacker only needs API access to the target LLM and can control the conversation history sent to the target (deleting refused turns via backtracking); the targets are closed-source Claude/GPT-4 and open-source Llama-3 models; success is determined by the success flag of the fixed judge CompassJudge-32B.

Questions
Existing multi-turn jailbreak methods let the attacker and the target model see the same conversation history; the authors consider that the question of what the attacker really needs to remember, and whether it should remember the same content as the target, has not yet been studied.
Methods
Proposes R3 (Reject, Remember, Retry): formalizes multi-turn jailbreaking as an MDP, in which the attacker generates prompts based on a bounded compressed state maintained by a State LLM; turns whose risk score does not exceed the historical maximum are deleted from the target context but remembered in the attacker state, and then retried within the retry budget.
Experiments and results
On Crescendo Tasks and HarmBench, across six target models, the authors report that R3 under a matched query budget improves ASR@1 by up to 33% and ASR@5 by up to 53%; ablations show that remembering refused turns contributes the main gain, and that the risk score is closer to a threshold than to a progress measure.
Limitations and future work
The authors note: only a single attacker model family is used, the target models do not include the latest versions, and the method relies on a single judge model; the estimates in Sec. 5.3 are off-policy estimates; API seeds do not guarantee deterministic sampling. The experiments cover two benchmarks and six target models, and ASR@5 is over 5 independent runs.
Experimental setupGPT-4o、GPT-4o mini et al. · Crescendo Tasks、HarmBench · ASR@1、ASR@5 et al.
Evaluated models
GPT-4oGPT-4o miniClaude 3.5 SonnetClaude 3 HaikuLlama 3-70B-ItLlama 3-8B-It
Benchmarks
Crescendo TasksHarmBench
Metrics
ASR@1ASR@5Gini indexnAUCrectnAUCtrapdAUC
AI summaryThe researchers propose M³, an automated red-teaming framework that formalizes multi-turn jailbreaks as a finite-horizon Markov decision process (MDP), in which an attack LLM interacts with a target LLM and operates on a compact internal state generated by a state LLM. On two benchmarks and six target models, M³'s attack success rate (ASR) consistently outperforms state-of-the-art multi-turn red-teaming methods, with ASR@5 improving by up to 53%; even with a lightweight attack model, ASR@1 and ASR@5 improve by up to 26% and 34%, respectively, compared with baselines using higher-capacity attackers. M³ also exhibits steeper risk escalation with conversation turns and achieves more consistent performance across risk categories without relying on predefined risk taxonomies (Gini index improvement up to 4.82), providing a scalable framework for multi-turn red-teaming and safety evaluation.

The researchers propose M³, an automated red-teaming framework that formalizes multi-turn jailbreaks as a finite-horizon Markov decision process (MDP), in which an attack LLM interacts with a target LLM and operates on a compact internal state generated by a state LLM. On two benchmarks and six target models, M³'s attack success rate (ASR) consistently outperforms state-of-the-art multi-turn red-teaming methods, with ASR@5 improving by up to 53%; even with a lightweight attack model, ASR@1 and ASR@5 improve by up to 26% and 34%, respectively, compared with baselines using higher-capacity attackers. M³ also exhibits steeper risk escalation with conversation turns and achieves more consistent performance across risk categories without relying on predefined risk taxonomies (Gini index improvement up to 4.82), providing a scalable framework for multi-turn red-teaming and safety evaluation.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    What the attacker should remember in multi-turn jailbreaks: the authors propose asymmetric memory, letting the attacker remember rejected turns while the target forgets them.

    Core question: in multi-turn jailbreak attacks, what exactly the attacker needs to remember, and whether it should remember the same conversation history as the target model, had not been studied before.

    • Setting and importance: LLMs are increasingly deployed in interactive systems; the authors state that alignment techniques have substantially constrained single-turn adversarial prompts, whereas multi-turn jailbreaks (gradually revealing malicious intent across a conversation) are closer to real-world misuse scenarios and can surface vulnerabilities that single-turn evaluations miss.
    • Shortcomings of existing methods: the authors state that existing methods either rely on human-curated datasets and human trajectories, or rely on predefined strategies, or require fine-tuning an attacker model, and generally let the attacker and the target see the same full conversation, so the attacker's memory grows with the conversation.
    • Core observation: if rejected turns remain in the target context, they reveal the attack intent; if they are simply deleted, the attacker also loses the reason for failure; letting the attacker remember the reason for failure while the target forgets it may be more effective.
    • Proposed in the paper: R3 (Reject, Remember, Retry), a black-box multi-LLM framework that formalizes multi-turn jailbreaking as an MDP, in which the attacker generates prompts based on a bounded compressed state rather than the raw conversation; the authors call this asymmetric memory.
    • Threat model:
      • Goal: make the target LLM complete a predefined harmful task (jailbreak), as determined by the judge model's success flag.
      • Knowledge: black-box, requiring only API access to the target model, with no training or fine-tuning.
      • Capability: the attacker can control the conversation history sent to the target (the client supplies the message list and can delete rejected turns), and has a bounded retry budget.
      • Victim systems: closed-source Claude 3.5 Sonnet, Claude 3 Haiku, GPT-4o, GPT-4o mini, and open-source Llama 3-70B-It, Llama 3-8B-It.
  2. What related research exists?

    Related work falls into four groups: multi-turn jailbreak, MDP/RL red teaming, constant-state reasoning, and learning from failure; the baselines are Crescendo, GOAT, and ActorAttack.

    Multi-turn jailbreak methods

    • Crescendo (Russinovich et al., 2025): uses gradual conversational buildup to bypass filters, and rolls back the conversation when a refusal is detected; the paper notes that its attacker and target see the same truncated history, and information from rolled-back attempts is not retained.
    • GOAT (Pavlova et al., 2025), ActorAttack (Ren et al., 2024), X-Teaming (Rahman et al., 2025): agentic multi-component architectures; the paper notes that they leave refused exchanges in the target context and require long interaction histories or complex architectures.
    • Early methods (Guo et al., 2025; Li et al., 2025) rely on example learning or human involvement; taxonomy-driven methods (Mo et al., 2025; Zhang et al., 2024) require predefined risk categories, which the authors consider to limit generalization.

    Red teaming based on MDP and reinforcement learning

    • RL methods: automatic LLM red-teaming (Belaire et al., 2025), xJailbreak (Lee et al., 2025), RLbreaker (Chen et al., 2024); the paper notes that they require expensive training or fine-tuning, or rely on a fixed action space.
    • Search-based: Kov (Moss, 2024), Chain of Attack (Yang et al., 2024) use tree search and predefined query strategies; the paper notes that they rely on handcrafted strategies.

    Constant-state reasoning

    • MEM1 (Zhou et al., 2025) and Markovian Thinker (Aghajohari et al., 2025): use a bounded internal state to support long-horizon reasoning without growing the context; the paper notes that these ideas have not yet been applied to jailbreak scenarios, and R3 is inspired by them.

    Learning from failure

    • PAIR (Chao et al., 2024) and TAP (Mehrotra et al., 2024): in the single-turn setting, the attacker uses target responses and judge scores to iteratively improve; the paper notes that their target answers each prompt from scratch and never sees earlier failures, whereas R3 brings this idea into the multi-turn setting.
    • Reflexion (Shinn et al., 2023), AutoDAN-Turbo (Liu et al., 2025): retain reflections or a strategy library across trials.

    Baselines and benchmarks: the comparison baselines are Crescendo, GOAT, and ActorAttack (each with LC/HC attacker-capacity versions); the benchmarks are Crescendo Tasks and HarmBench.

    Positioning: the authors state that R3 differs from the above methods in that the attacker and target maintain different histories (asymmetric memory), and that evaluation is conducted under the premise that the per-round query budget equals that of the baselines; Yang et al. (2025) argue that multi-turn advantages mainly stem from repeated sampling, and the authors respond in Sec. 6 with three points: matched budget, gated accounting, and ablation.

  3. How does the paper address this problem?

    R3 formalizes multi-turn jailbreaking as an MDP over a summary state: the judge score gates turns, and rejected turns are deleted from the target context but recorded in the attacker state.

    Overall approach: R3 divides labor among four LLMs (attack, target, state, judge) and compresses an arbitrarily long conversation into a bounded internal state, on which the attacker bases its decisions alone; turns whose risk score does not exceed the historical maximum are rejected (deleted from the target context), but their content and failure reasons are remembered by the state, and the attacker retries in a different direction within the retry budget.

    Problem formalization

    • Multi-turn jailbreak is formalized as a finite-horizon MDP (A, T, S, R), where each turn is a decision step; the authors note that the interaction is only partially observable to the attacker, that the Markov assumption is an approximation, and they measure the cost of the approximation experimentally in Sec. 5.2 and 5.5.
    • The state Si is a bounded summary generated by the State LLM, and the attacker policy is conditioned only on Si, treating it as a sufficient statistic of the interaction.

    Roles of the components

    • Policy (π): the Attacker LLM (La) generates the next adversarial prompt directly from the current state Si; the State LLM (Ls) updates Si based on the new prompt, the target response, and the judge feedback.
    • Environment (T): the Target LLM (Lt) answers based on the accumulated conversation; the Evaluator LLM (Lj) determines whether the task is completed and assesses risk.
    • Reward (R): the judge outputs three items for each response: a risk exposure score Ri ∈ [0, 100], a binary success flag (used for early termination), and a brief explanation.

    Action space and rejection mechanism

    • Two actions: Proceed (send a new prompt based on Si) and Reject (implemented as backtracking, deleting the most recent exchange from the conversation sent to the target).
    • Risk-gated acceptance: a turn is retained only if its risk score exceeds the highest accepted score so far, otherwise it is rejected, subject to a bounded retry budget C; once the retry budget is exhausted, the next turn is accepted regardless of score and the reference score is reset (Alg. 1, App. A.2).
    • The state is updated after each judgment, including turns that are subsequently rolled back—this is the mechanism by which the attacker remembers what the target forgets.

    State design

    • The state compactly records: task progress, information disclosed, refusals encountered (count and reasons), effective and ineffective strategies, remaining escalation directions, and suggested posture for the next step; App. A.9 gives a state example.
    • The authors give three design purposes: circumvent the attacker's context length limit, maintain memory of failures and judge feedback across turns, and retain information after rejection.

    Implementation and key parameters

    • No training or fine-tuning is required; everything goes through black-box APIs; prompt templates are in App. A.6 (full prompts for modules such as attack, judge, and state maintenance).
    • Hyperparameters (App. A.3): judge temperature 0, seed 0; attacker and target temperature 0.5; ASR@5 uses seeds {0,1,2,3,4}; judge and target generate at most 512 tokens, state and attacker 1024 tokens (ActorAttack has no limit); R3 and Crescendo have maximum turns I=10 and maximum retries C=10, ActorAttack and GOAT have I=20; in comparisons, backtrack counts as one query, and all methods make at most 20 target queries per run.

    Success determination

    • Success is determined by the success flag of the fixed judge CompassJudge-32B; ASR@1 is the single-run success rate, and ASR@5 is at least one success in five independent runs; the Gini index of the ASR distribution across 12 risk categories is also used to measure consistency of success.
  4. What experiments did the paper conduct?

    Two benchmarks, six target models, three baselines: R3 has higher ASR under a matched budget, and ablations show that remembering refused turns contributes the main gain.

    Experimental setup

    • Target models evaluated (6): GPT-4o, GPT-4o mini, Claude 3.5 Sonnet, Claude 3 Haiku, Llama 3-70B-It, Llama 3-8B-It.
    • Attacker models: Mistral-Small-2402 (low-capacity, LC) and Mistral-Large-2402 (high-capacity, HC); the State LLM is the same as the attacker; methods are labeled by attacker capacity (e.g., R3-LC).
    • Judge: CompassJudge-32B as a fixed judge for all methods, with a single call outputting both the risk score and the success flag.
    • Benchmarks and scale: Crescendo Tasks (15 tasks, 8 risk categories); a HarmBench subset (15 tasks randomly sampled from each of 6 categories, 90 in total); category analysis merges into 12 non-overlapping risk categories.
    • Baselines: Crescendo, GOAT, ActorAttack, each with LC/HC versions.
    • Metrics and budget: ASR@1, ASR@5, Gini index, AUC-type metrics; each method is allowed at most 20 target queries per run, backtracking counts as a query, and ASR@5 is over 5 independent runs.

    Main results

    According to Table 1 (ASR@1 | ASR@5; bold is best for that model + metric):

    Swipe horizontally to read the table

    MethodGPT-4oClaude 3.5 SonnetLlama 3-70B-It
    Crescendo Tasks: ActorAttack-HC6.7% | 20.0%13.3% | 20.0%26.7% | 26.7%
    Crescendo Tasks: GOAT-HC13.3% | 40.0%20.0% | 40.0%26.7% | 46.7%
    Crescendo Tasks: Crescendo-HC20.0% | 26.7%13.3% | 26.7%13.3% | 20.0%
    Crescendo Tasks: R3-HC20.0% | 60.0%20.0% | 46.7%40.0% | 60.0%
    HarmBench: GOAT-HC10.0% | 15.6%5.6% | 13.3%6.7% | 13.3%
    HarmBench: Crescendo-HC4.4% | 6.7%4.4% | 4.4%2.2% | 4.4%
    HarmBench: R3-LC17.8% | 36.7%11.1% | 17.8%18.9% | 31.1%
    HarmBench: R3-HC24.4% | 42.2%11.1% | 27.8%17.8% | 26.7%

    (The three columns for GPT-4o mini, Claude 3 Haiku, and Llama 3-8B-It and the LC baseline rows are omitted; see Table 1 for the full numbers. On HarmBench, ActorAttack-HC against GPT-4o is 7.8% | 13.3%.)

    • The authors report that R3 improves over the SOTA baselines by up to 33% (ASR@1) and 53% (ASR@5); R3-HC reaches a maximum ASR@5 of 66.67% on Crescendo Tasks (Claude 3 Haiku).
    • The authors state that on HarmBench, the ASR@1 of a single R3 run (≤20 queries) exceeds the ASR@5 of all baselines over five runs (≤100 queries), for GPT-4o, GPT-4o mini, and Llama 3-70B-It, and call this a more conservative comparison than a matched budget.
    • Exceptions: on HarmBench, for Claude 3 Haiku ASR@1, R3-HC is 4.4%, below R3-LC's 5.6% and tied with ActorAttack-LC/HC's 4.4%; on Llama 3-8B-It, the ASR@5 of both R3-HC and R3-LC is 16.7%.

    Information structure vs. attacker capacity (Sec. 5.2)

    • What was measured: low-capacity R3-LC compared with high-capacity baselines (Crescendo-HC, GOAT-HC, ActorAttack-HC) on all results in Table 1.
    • Results: the authors report that R3-LC improves over the high-capacity baselines by up to 26% (ASR@1) and 34% (ASR@5), observed on two benchmarks and three model families.
    • Authors' interpretation: LC and HC attackers differ only in model scale, whereas R3-LC and the high-capacity baselines differ in the conditional information structure; the authors therefore conclude that information structure matters more than capacity.

    Reward signal behavior (Sec. 5.3, based on R3-HC trajectories)

    • What was measured: estimating, from logged trajectories, the probability that an episode succeeds at a later turn, conditional on the current turn's risk range.
    • Results: the estimates are non-monotonic for every benchmark-target combination (Figure 3); on HarmBench, leaving the 0-20 range raises the subsequent success probability by 2 to 5 times, but the 80-100 range is below the episode base rate for most combinations; the risk score ranks closeness to success weakly (AUC 0.59-0.70 on HarmBench, about 0.5 on Crescendo Tasks). Episodes that peaked at 80-100 without succeeding have a subsequent success rate of 8.7%, versus 18.8% for those peaking at 40-60 (GEE clustered by task, p = 0.007).
    • Authors' interpretation: the risk score is a coarse threshold rather than a progress measure; once the highest risk band is entered without success, the acceptance rule spends the remaining budget on rejections and the attack stalls.

    Risk category consistency (Sec. 5.4)

    • What was measured: the Gini index of the ASR@5 distribution across 12 risk categories (Table 2).
    • Results: R3-HC's Gini is 4.24-6.22, below the next-best values of all baselines (6.20, GOAT-HC against Llama 3-70B-It) down to 9.06 (Crescendo-HC against GPT-4o mini); the authors report a maximum improvement of 4.82.
    • Authors' interpretation and exceptions: the authors state that categories such as Violence, Self-Harm, and Profanity are easier to jailbreak, that Hate is the hardest, and that R3 fails in that category against most models.

    Other ablations and analyses

    • Ablation (Table 3, R3-HC, HarmBench with GPT-4o and Crescendo Tasks with Llama 3-8B-It, averaged over the two benchmarks): full R3 has ASR@5 51.1% (6092 tokens); stateless but remembering rejections 48.3% (6277); stateless without remembering 36.1% (7570); no rejection 35.6% (6201). The authors state that rejection itself brings no gain, that remembering rejected turns is what matters, and that the compressed state achieves the highest ASR@5 with the fewest tokens.
    • Gating accounting (Sec. 5.5): across target models, 49-50% of attacks are rejected, only 15-21% of rejections are immediately followed by an accepted turn, and 68-94% of multi-turn episodes exhaust the retry budget.
    • Attack progress (Table 4): R3 has the highest nAUCrect, nAUCtrap, and dAUC on both benchmarks and both model-size groups (e.g., HarmBench large-model group nAUCrect 0.20 ±0.14, GOAT large-model group 0.11 ±0.03).
    • Figure 2: cumulative ASR@5 versus turn curves for the GPT-4 family on HarmBench; the authors state that R3 rises more steeply and the baselines plateau earlier; the specific curve values are not visible in the converted text.
  5. What are some points that can be further explored?

    The authors list limitations such as the choice of attacker/target models, reliance on a single judge, and off-policy estimation, and propose directions for improving the acceptance rule and for defenses.

    Limitations noted by the authors and future directions

    • Choice of attack and target models (Limitations): evaluation uses only a single attack model family, and the target models do not include the latest released versions; the authors state that these models are larger and have higher inference cost, making comprehensive experiments infeasible within the existing compute budget.
    • Category differences and reliance on the judge (Limitations): results rely on a single LLM judge, and the risk score and success flag are produced by the same call and are not independent; the two may also be inconsistent (in App. A.7, one response was judged successful when its risk score was only 35%); the authors state that using the same judge for all methods ensures fairness, but absolute ASR values are specific to that judge.
    • Statistical estimation issues (Limitations): the value estimates in Sec. 5.3 are based on states actually visited by the controller and are uncorrected off-policy estimates; iterations are nested within episodes and target models, and uncorrected tests are anti-conservative, so the authors report mixed-effects inference; API seeds do not guarantee deterministic sampling.
    • Improving the acceptance rule (Sec. 6): the authors propose two possible fixes—reject only when the score falls back to the lowest band, or cap/reset the reference score after reaching the highest risk band; both are left for future work.
    • Future work (Conclusion): test acceptance rules based on bands and resets, compare with single-turn best-of-N under a matched budget, and fine-tune R3 with rewards; the authors also suggest that asymmetric memory could be used for defense—a target system that retains a compressed record of refused exchanges may be harder to attack over multiple turns.
    • Cost of state drift (Sec. 6): the authors state that in failed attacks the state records a redirected topic as a valid direction, and the summary preserves recent progress at the expense of the original goal; a possible remedy is to anchor the state to the task (e.g., explicit task distance).

    Scope of experiments

    • The target models tested are GPT-4o, GPT-4o mini, Claude 3.5 Sonnet, Claude 3 Haiku, Llama 3-70B-It, and Llama 3-8B-It, 6 in total; the attacker is from a single family only, Mistral-Small-2402 and Mistral-Large-2402.
    • The benchmarks are Crescendo Tasks (15 tasks) and a HarmBench subset (90 tasks); the category analysis covers 12 merged risk categories.
    • The comparison baselines are Crescendo, GOAT, and ActorAttack (each LC/HC); each method makes at most 20 target queries per run, and ASR@5 is over 5 independent runs.
    • The judge is fixed as CompassJudge-32B; the paper does not report an experiment on agreement between the judge and human judgments.
    • Ablations are performed on R3-HC, with judge, prompts, temperature, seed, and per-round budget fixed, configured as HarmBench with GPT-4o and Crescendo Tasks with Llama 3-8B-It (Sec. 4.2).
  6. Summarize the main content of the paper

    R3 uses asymmetric memory for multi-turn jailbreaks: the attacker remembers rejected turns while the target forgets them; under a matched budget, ASR exceeds the baselines, and the ablation attributes this to memory.

    A multi-turn jailbreak attack paper that proposes R3 (Reject, Remember, Retry) and studies what the attacker needs to remember in multi-turn conversations.

    • Problem: the authors state that existing multi-turn jailbreak methods let the attacker and target see the same full conversation history, the attacker's memory grows with the conversation, and information from refused turns is either exposed to the target or lost to the attacker.
    • Method: multi-turn jailbreak is formalized as an MDP, and the attacker generates prompts based only on a bounded compressed state maintained by a State LLM; turns whose risk score does not exceed the historical maximum are deleted from the target context via backtracking, but their content and failure reasons are recorded in the attacker's state, and the attacker retries in a different direction within a bounded retry budget; the whole process is black-box and requires no training.
    • Main results: on Crescendo Tasks and HarmBench, across six target models, the authors report that R3 under a matched query budget improves ASR@1 by up to 33% and ASR@5 by up to 53% (Table 1); R3-HC achieves ASR@5 up to 66.67% on Crescendo Tasks (Claude 3 Haiku).
    • Capacity comparison: the low-capacity R3-LC improves over the high-capacity baselines by up to 26% (ASR@1) and 34% (ASR@5), on which basis the authors argue that information structure is more critical than attacker capacity.
    • Ablation: after removing rejection, ASR@5 drops from 51.1% to 35.6%; rejection without remembering gives 36.1%; stateless but remembering rejections recovers to 48.3% (Table 3); the authors state that the gain mainly comes from remembering refused turns, and that the compressed state has the lowest token cost.
    • Reward analysis: the authors report that the judge's risk score is a coarse threshold rather than a progress measure; episodes whose peak entered the 80-100 band without success had a subsequent success rate of only 8.7% (18.8% for the 40-60 band, p = 0.007), and the acceptance rule causes attacks to stall in the high-score band.
    • Authors' conclusion: asymmetric memory is the main source of R3's advantage; the authors suggest a defense implication—a server retaining a compressed record of refused exchanges can deprive the attacker of the ability to erase history, and a similar representation could be used for trajectory-level monitoring on the defense side; limitations include a single attack model family, targets that do not include the latest models, and reliance on a single judge.

Related papers

Show 3 more papers
Read originalarxiv.org