Skip to content

State-dependent safety failures in multi-turn language model interactionsState-Dependent Safety Failures in Multi-Turn Language Model Interaction

arXiv· arXiv:2603.15684· ICML 2026· Pengcheng Li, Jie Zhang, Tianwei Zhang, Han Qiu, Zhang kejun, Weiming Zhang, Nenghai Yu, Wenbo Zhou·Indexed by this site · 2026-10-12· Originally publishedAlignment

Quick read

Attacks

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

STAR achieves an SFR of 96.1% for Gemini 2.0-Flash on HarmBench (Table 1).

Threat modelReal-world misuse is described by the authors as multi-turn, adaptive, and black-box, with no access to model internals or gradients. STAR only intervenes on the observable history: an auxiliary model generates softened queries, roles, and subsequent turns, and refusal turns can be replaced with benign alternatives as conditioning; it does not modify the model's already-generated responses. Success is defined as a judge score of J=5 within the turn budget. The representation analysis additionally performs white-box analysis on LLaMA-3-8B-IT.

Questions
Safety alignment is typically evaluated on isolated queries, but real-world use is multi-turn. The authors aim to determine whether safety boundaries are static or can be crossed along conversation trajectories. The authors believe many failures arise from contextual state evolution rather than single-prompt manipulation.
Methods
STAR treats persona context and conversation history as explicit state variables. Initialization performs semantics-preserving softening and persona generation; evolution filters history on a 1-to-5 scale, replaces refusal turns with benign substitutes, and retries when scores drop. The authors describe this as a diagnostic protocol, with the auxiliary model being Qwen2.5-32B-Instruct without red-team fine-tuning.
Experiments and results
On HarmBench, STAR's SFR is 96.1% for Gemini 2.0-Flash, 94.5% for GPT-4o, and 74.0% for Claude 3.5 Sonnet (Table 1). The authors state this is higher than the multi-turn baselines in the same table.
Limitations and future work
Appendix H states it does not enumerate all interaction trajectories, nor characterize the full complexity of internal dynamics. Future directions include longer time horizons, multimodality, and defenses that monitor and regulate dialogue state. The main experiments have five target models; white-box analysis is on LLaMA-3-8B-IT. The paper does not report the number of repetitions for main experiments or agreement between evaluator and humans.
Experimental setupGPT-4o、Claude 3.5 Sonnet et al. · HarmBench、JailbreakBench · Safety Failure Rate (SFR)、Token Cost et al.
Evaluated models
GPT-4oClaude 3.5 SonnetGemini 2.0-FlashLLaMA-3-8B-InstructLLaMA-3-70B-Instruct
Benchmarks
HarmBenchJailbreakBench
Metrics
Safety Failure Rate (SFR)Token Costjudge score J
AI summaryThe paper proposes the STAR framework, analyzing safety failures in multi-turn interactions from a state-space perspective, and finds that frontier models that appear robust under static evaluation exhibit rapid and reproducible safety collapse in structured multi-turn interactions. STAR treats conversation history as a state transition operator and conducts controlled analysis of safety behavior along interaction trajectories, rather than optimizing attack strength. Mechanism analysis shows that models exhibit monotonic drift in refusal-related representations, and role-conditioned context can trigger abrupt phase transitions. The authors accordingly argue for treating language model safety as a dynamic, state-dependent process defined over conversation trajectories.

The paper proposes the STAR framework, analyzing safety failures in multi-turn interactions from a state-space perspective, and finds that frontier models that appear robust under static evaluation exhibit rapid and reproducible safety collapse in structured multi-turn interactions. STAR treats conversation history as a state transition operator and conducts controlled analysis of safety behavior along interaction trajectories, rather than optimizing attack strength. Mechanism analysis shows that models exhibit monotonic drift in refusal-related representations, and role-conditioned context can trigger abrupt phase transitions. The authors accordingly argue for treating language model safety as a dynamic, state-dependent process defined over conversation trajectories.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Multi-turn safety failures are attributed by the authors to contextual state evolution; STAR is used to diagnose along trajectories rather than to optimize attacks.

    Is the safety boundary of aligned models fixed on a single query, or can it be penetrated as state evolves across multi-turn dialogues.

    • Scenario: The authors note that models are deployed in interactive settings, but safety alignment is often evaluated on isolated queries. The authors argue that it is necessary to determine whether existing alignment still provides protection under coherent multi-turn interactions.
    • Existing shortcomings: Single-turn jailbreaks seek inputs that directly bypass refusal under a static threat model. The introduction states that most multi-turn methods focus on empirical effectiveness, with less mechanistic understanding of how dialogue context weakens safety.
    • Hypothesis: The authors believe many failures arise from contextual state evolution rather than prompt-level manipulation. Initialization places the model near the decision boundary, after which the model conditions on its own previous responses and self-reinforces; a single prompt can still appear benign.
    • Method: STAR (State-oriented Role-playing framework) treats the role and dialogue history as explicit state variables, separately initializing (§3.2) and evolving (§3.3). The authors position it as a diagnostic framework rather than optimizing attack strength.
    • Threat model:
      • Goals: Examine whether safety-aligned behavior remains stable across multi-turn interactions. Success means the trajectory achieves a judge score of J=5 within the turn budget.
      • Knowledge: The authors describe real-world misuse as multi-turn, adaptive, and black-box, with no access to model internals or gradients. §5.4 separately performs white-box hidden state analysis on LLaMA-3-8B-IT.
      • Capabilities: Construct prompts for each turn and select which history enters the conditional context. Turns with J of 1 or 2 can be replaced with benign alternative responses. The authors state they do not modify the model's own generated responses.
      • Victim system: Safety-aligned language models. Main experiments use GPT-4o, Claude 3.5 Sonnet, Gemini 2.0-Flash, LLaMA-3-8B-Instruct, and LLaMA-3-70B-Instruct.
  2. What related research exists?

    Single-turn work evaluates static inputs; multi-turn work writes that context weakens constraints; the authors treat history as a controllable state variable.

    Section 2 of the paper divides related work into single-turn bypass and multi-turn conversation; comparison baselines are listed in Section 4.

    Single-Turn Jailbreaks and Representation Interventions

    • Optimization and prompt engineering: Zou et al. (2023), Liu et al. (2023), Guo et al. (2024), Chao et al. (2025), Yu et al. (2023), Li et al. (2023), Mehrotra et al. (2024), etc., search for adversarial suffixes on a single input, or probe refusals with templates and fictional scenarios. The paper notes they are suited to discovering prompt-level vulnerabilities but evaluate per-query independently, not designed for analyzing interaction history.
    • Persona and refusal direction: Shah et al. (2023) and Yu et al. (2023; 2024) use persona or boundary manipulation for single-turn bypass. Arditi et al. (2024) identify a dominant refusal direction in white-box hidden space and state that suppressing this direction eliminates refusals. The paper notes the latter still operates on a single input or representation and does not address how safety behavior degrades across sequential interactions.

    Multi-Turn Jailbreaks

    • Context and escalation: Anil et al. (2024)'s many-shot in-context attack, Russinovich et al. (2024) and Zhou et al. (2024)'s gradual escalation, and Ren et al. (2024), Yang et al. (2024b), and Wang et al. (2024)'s persona or semantic dialogues distribute harmful intent across turns. The paper states that extended context and narrative coherence can weaken safety constraints.
    • Agent trajectories: Rahman et al. (2025) use multi-agent coordination to explore conversation trajectories. The introduction states most multi-turn methods focus on establishing empirical effectiveness; Section 2.2 states that the paper builds on these results by framing failures as adjustable state evolution.

    Baselines and Benchmarks

    • Baseline methods: Single-turn are GCG, PAIR, CodeAttack; multi-turn are RACE, CoA, Crescendo, X-teaming, ActorAttack. X-teaming follows the original protocol; the authors reproduce it on LLaMA-3-8B-Instruct and state the SFR matches, with X-teaming numbers for other models cited from Rahman et al. (2025).
    • Benchmarks: HarmBench with 50 curated safety-critical instructions; JailbreakBench with 100 human-verified, category-labeled instructions.

    The authors frame the difference between this paper and the above work as: conversation history is not a passive record but a controllable state variable, used to examine how aligned models cross safety boundaries under autoregressive conditioning.

  3. How does the paper address this problem?

    STAR score initialization and evolution: softening plus role approaching the boundary, then filtering history by review scores and retrying.

    STAR formulates multi-turn safety behavior as transitions of a latent state along the conversation trajectory. History is an observable proxy for this state; the authors treat the latent state as an analytical construct for interpretation, with interventions acting only on observable history.

    Problem Setup

    The interaction has T turns. Each turn sends a prompt, the model responds, and history updates accordingly:

    rt = M(Ht−1 ⊕ pt), Ht = Ht−1 ∪ {(pt, rt)}

    This equation indicates that the response is generated autoregressively from the existing history and the current prompt, with history being the accumulation of both.

    • Trajectory signal: The judge J scores queries and responses on a 1–5 scale. The analysis target is the change in J(q, r_t) along the trajectory, not just binary success or failure.
    • Boundary assumption: The authors assume the state space is divided into a refusal region and a compliance region. Multi-turn interactions can induce directional trajectories that cross the boundary, without relying on a single adversarial prompt. z_0 refers to the state before any initialization intervention.
    • Decomposition use: The two stages can be ablated separately, history can be modified with a fixed final query, and per-turn representation tracking can be performed.

    State Initialization

    The goal is to preserve the semantic intent of the original query while reducing immediate safety activation, bringing the initial state closer to the boundary. All three components are implemented by the auxiliary model M_A.

    • Semantics-preserving softening: Directly posing a safety-critical query typically yields a strong refusal. M_A generates a candidate set, then selects the best-aligned one using sentence-vector cosine similarity:

    q0 = argmaxc ∈ C cos(ϕ(q), ϕ(c))

    φ is the sentence vector; the paper cites BERT's [CLS] as an example. The authors interpret this as reducing implicit safety activation while preserving semantics.

    • Query-related persona: M_A generates a persona based on the original query. The paper states that the persona prompt specifies a query-related professional identity and legitimate-use framing, maintained across subsequent turns.
    • Turn template: Each turn's prompt concatenates the persona, accumulated history, and current sub-query in a fixed format, with persona markers and separators.

    State Evolution

    After initialization, the trajectory is modulated using persona-conditioned execution and history-layer interventions; the authors state both can be removed independently.

    • Per-turn execution: The target model responds to the templated prompt, the judge gives a per-turn score, which serves as feedback for subsequent generation. The authors state that no explicit objective is optimized; instead, the auxiliary model heuristically generates the next query based on current history, score, and response patterns, while maintaining semantic alignment with the original query. Appendices B, C, and D provide the full prompts for softening, persona generation, and judging.
    • History filtering: The authors observe that explicit refusals reinforce defenses in later turns. Responses are classified by score into full refusal, partial refusal, weak compliance, strong compliance, and full compliance, corresponding to 1 through 5. For scores of 3 or 4, the original response is retained; for scores of 1 or 2, a benign substitute that does not reinforce defensive wording is written into history. A score of 5 terminates the trajectory without further history updates. This operation only modifies the conditioning context.
    • Adaptive retry: The score difference is the current turn's score minus the previous turn's score. When the difference is negative, up to K retries are attempted before writing to history; when the difference is not negative, a more conservative continuation prompt is used instead. The authors describe this as maintaining momentum to reduce the likelihood of reactivating defenses.

    Implementation and Metrics

    • Auxiliary model: Default Qwen2.5-32B-Instruct. The authors state it is a general helpful-only model without specialized red-team fine-tuning, responsible only for implementing the interaction protocol.
    • Default hyperparameters: Maximum 7 turns, violation threshold 5, retry budget 3; softening generates 5 candidates, sentence vectors use BERT-base-uncased.
    • Metrics: SFR is the percentage of queries reaching a judge score of 5 within the turn budget. Token Cost is the average number of input tokens processed by the target model before reaching that score.
  4. What experiments did the paper conduct?

    The authors state that STAR's SFR on HarmBench is higher than multi-turn baselines, with Gemini 2.0-Flash at 96.1%.

    Experimental Setup

    • Target models: Closed-source GPT-4o, Claude 3.5 Sonnet, Gemini 2.0-Flash; open-source LLaMA-3-8B-Instruct, LLaMA-3-70B-Instruct. Abbreviated as Llama 3-8B-IT, Llama 3-70B-IT in Table 1.
    • Data: 50 selected items from HarmBench, covering illegal activities, hate speech, malware generation, and related risks; 100 human-verified instructions from JailbreakBench with category labels.
    • Auxiliary models: Trajectory construction defaults to Qwen2.5-32B-Instruct; soft selection of sentences uses BERT-base-uncased. Appendix E also tests Qwen2.5-7B-Instruct.
    • Evaluation: GPT-4o scores each round 1–5, with a success threshold of 5. The authors state the rules are the same as X-Teaming, with a more comprehensive prohibited-use policy added; Appendix D provides the full prompt. GPT-4o is also a tested model. The paper does not report agreement with human annotations, nor does it specify whether a different instance was used when evaluating GPT-4o.
    • Protocol and metrics: Unless otherwise stated, maximum rounds 7, threshold 5, retries 3, soft candidates 5. Metrics are SFR and Token Cost. In the temperature experiment, the target model remains deterministic.
    • Baselines: Single-turn GCG, PAIR, CodeAttack; multi-turn RACE, CoA, Crescendo, ActorAttack, X-teaming. The authors state that reproducing X-teaming on LLaMA-3-8B-Instruct yields consistent SFR; X-teaming results for other models are cited from the original paper.

    Main Results

    Table 1, HarmBench, SFR (%):

    Swipe horizontally to read the table

    ModelSTARX-teamingActorAttackCodeAttack
    GPT-4o94.594.384.570.5
    Claude 3.5 Sonnet74.067.966.539.5
    Gemini 2.0-Flash96.187.442.1Not reported
    Llama 3-8B-IT89.085.579.046.0
    Llama 3-70B-IT85.584.985.066.0
    • The authors state that under static single-turn evaluation, the tested models show non-trivial robustness, but under STAR trajectories this robustness decreases, and safety collapse can occur quickly and reproducibly. They argue the decision boundary is not fixed. Gemini's single-turn cell in Table 1 is “–”.
    • The authors state that under the same protocol, STAR's SFR is higher than previous multi-turn baselines. On Gemini 2.0-Flash, they claim it is 8.7 percentage points higher than X-Teaming and more than 50 percentage points higher than ActorAttack, attributing this to structured state evolution rather than large-scale random search over decomposed subqueries.
    • Multi-turn baselines are not higher than single-turn in every cell: GPT-4o's CoA is 17.5% (Table 1). RACE is only reported for GPT-4o at 82.8%, others not reported. The paper does not explain these two points.

    Component Ablation

    Figure 2 and §5.2: JailbreakBench, target LLaMA-3-8B-IT, removing one component at a time. The y-axis is Performance Drop (SFR %).

    • History accumulation: Removing it drops SFR by 25.5%, the largest among components. The authors state that without history, the model is repeatedly reset to the default aligned state, preventing a directed trajectory.
    • Retry and feedback: Removing adaptive retry drops 19.7%; removing momentum-based feedback control drops 14.7% (labeled State Feedback in the figure). The authors state the former leaves refusals in history, and the latter causes the trajectory to retreat to the defensive region.
    • Initialization: Removing query-related roles drops 17.8%; removing semantic-preserving softening drops 11.6%. The authors state these are used to place potential states near the decision boundary; without them, trajectories start deep in the refusal region.

    History Causality

    §5.3 fixes the final query and perturbs history. The main text and Figure 3 caption do not give scores for each perturbation; Appendix F states that shuffling order uses 3 random seeds averaged, but does not list the average scores. §5.3 does not specify the target model.

    • Order and length: The authors state that shuffling scene order reduces compliance, thus bypassing relies on the path, not just content; truncating history also reduces compliance. Keeping only the last two scenes yields lower compliance than keeping only the last scene. The authors believe that without early setup, intermediate rounds act more like noise interfering with evolution.
    • Refusal injection: Inserting refusals at different positions reduces compliance. The authors state the effect is strongest when the trajectory is later or when the initial scene is replaced; refusals act as state signals that persistently bias subsequent generation via autoregressive conditioning.
    • Authors' conclusion: Compliance at round T depends on the induced trajectory, not just the final query. The authors state history is a causally effective state operator, making history filtering critical for STAR.

    Representation Analysis

    §5.4 all on LLaMA-3-8B-IT, reading white-box hidden states.

    • Refusal direction: Projection along the refusal direction of Arditi et al. (2024). The authors state that directly harmful prompts have an activation peak near Layer 12, while STAR trajectories suppress refusal activation across the network. The final-layer projection goes from 2.35 for the static original prompt to 0.13 after round 1, 0.08 after round 2, and -0.0081 after round 3. The authors state that the strongest trajectories of X-Teaming and ActorAttack still maintain positive refusal projections; the main text does not give projection values for these two. Figure 4 caption states the maximum divergence is around Layer 12; the transcript does not contain curve coordinates.
    • t-SNE: Figure 5 shows final-layer representations; the caption states all trajectories start from the same z_0. The authors state STAR first moves significantly away from the refusal region into the compliance region, then takes small steps within the compliance region; X-Teaming and ActorAttack have shorter displacements, stay near the boundary, and repeatedly approach the refusal region. The transcript does not show coordinates or inter-cluster distances.
    • Role anchors: The authors state role conditions often cause abrupt changes rather than gradual ones, with named entities acting as representation anchors. Appendix A text states cosine similarity between prompt embeddings and generated token representations, and states Figure 6 has spikes at named entities; Figure 6 and Figure 7 captions state estimated mutual information between hidden states and compliance outcomes. The authors state that after anchor activation, generation shifts toward role consistency, and safety conditions weaken.

    Other Ablations and Analyses

    • Table 3, JailbreakBench, column order LLaMA-3-8B, GPT-4o, Gemini 2.0-Flash: STAR SFR is 94.0, 96, 100, Avg Token Cost 29K; ActorAttack is 37.5, 46, 42 and 15K; X-Teaming is 85.5, 94, 86 and 37K. The table does not specify the aggregation unit for the token average, nor does it include Claude or 70B.
    • Table 2: Auxiliary model temperatures 0.2, 0.7, 1.0 give SFR 88.0%, 89.0%, 88.0%, with the target model deterministic. The table does not specify the target model or dataset. The authors state collapse is not driven by sampling randomness.
    • Table 4, target LLaMA-3-8B-IT: Qwen2.5-32B at the three temperatures is 88%, 89%, 88%; Qwen2.5-7B is 84%, 88%, 82%. The authors state the difference is small, both are 88% at 0.7, and 7B is more sensitive to temperature.
    • Other single-turn results in Table 1: GPT-4o GCG 12.5%, PAIR 39.0%; Claude 3.5 Sonnet both 3.0%; Llama 3-8B-IT 34.5% and 18.7%; Llama 3-70B-IT 17.0% and 36.0%. Crescendo is 46.0%, 50.0%, 60.0%, 62.0%, Gemini not reported.
  5. What are some points that can be further explored?

    Appendix H states that not all trajectories were enumerated and internal dynamics were not exhaustively covered; future work includes long-horizon, multimodal, and state-based defenses.

    Limitations and Future Directions Noted by the Authors

    • Trajectory scope: The authors state STAR is a controlled diagnostic perspective and does not claim to enumerate all possible interaction trajectories (Appendix H).
    • Internal dynamics: The authors also state they do not claim to capture the full complexity of model internal dynamics (Appendix H).
    • Longer interactions: Future work could extend this perspective to longer-horizon interactions (Appendix H).
    • Multimodality: Future work could extend to multimodal settings (Appendix H).
    • State-based defenses: Future work could study defense mechanisms that actively monitor and modulate conversation state (Appendix H).
    • Safety invariants: The authors state that how to enforce safety invariants over evolving contexts remains an open question (Appendix H).

    Experimental Coverage

    • Main experiments target GPT-4o, Claude 3.5 Sonnet, Gemini 2.0-Flash, LLaMA-3-8B-Instruct, and LLaMA-3-70B-Instruct (§4, Table 1).
    • Data are 50 curated HarmBench items and 100 JailbreakBench items; defaults are maximum 7 turns, 3 retries, 5 softening candidates, success threshold of judge score 5, and GPT-4o as the judge model (§4, Appendix D).
    • Component ablations are on JailbreakBench with LLaMA-3-8B-IT (§5.2, Figure 2). Refusal direction, t-SNE, and mutual information analyses are on LLaMA-3-8B-IT's white-box hidden states (§5.4). §5.3 does not specify the target model for the history causality test.
    • The auxiliary model for main experiments is Qwen2.5-32B-Instruct; Appendix E additionally compares Qwen2.5-7B-Instruct on target LLaMA-3-8B-IT. In Table 1, X-teaming numbers except for LLaMA-3-8B-IT are cited from the original paper (§4).
    • The paper does not report the number of repetitions for the main SFR, nor judge-human agreement. Appendix F only states that history shuffling uses 3 seeds, without giving scores.
  6. Summarize the main content of the paper

    The authors use STAR to diagnose state-dependent multi-turn safety failures, with Gemini 2.0-Flash achieving an SFR of 96.1% on HarmBench.

    The authors frame multi-turn safety failure as a problem of conversation state evolving along a trajectory, using STAR for controlled diagnosis rather than optimizing the strength of a single adversarial prompt.

    • Problem: Refusals on isolated queries do not answer whether alignment boundaries remain fixed in multi-turn, black-box interactions. The authors hypothesize that failures arise from initialization near the boundary and self-reinforcement when the model conditions on its own prior responses.
    • Approach: An auxiliary model performs semantics-preserving softening and persona generation; a template concatenates the persona and history into each turn. The judge score controls history filtering and retries: turns scored 1 or 2 are replaced with benign substitutes in the conditioning context, and a score of 5 stops the process. The default turn budget is 7, and the auxiliary model is Qwen2.5-32B-Instruct without red-team fine-tuning.
    • HarmBench: STAR's SFR is 94.5% on GPT-4o, 74.0% on Claude 3.5 Sonnet, 96.1% on Gemini 2.0-Flash, 89.0% on Llama 3-8B-IT, and 85.5% on Llama 3-70B-IT (Table 1). The authors state this is higher than the multi-turn baselines in the same table, and that on Gemini it is 8.7 percentage points higher than X-Teaming.
    • Other measurements: On JailbreakBench, STAR's SFR for LLaMA-3-8B, GPT-4o, and Gemini 2.0-Flash is 94.0%, 96%, and 100% (Table 3). Removing history accumulation drops LLaMA-3-8B-IT's SFR by 25.5% (Figure 2). The model's last-layer refusal projection goes from 2.35 on static prompts to -0.0081 by turn 3 (§5.4.1).
    • Authors' conclusion: Conversation history is an active state transition operator, and there is a gap between static evaluation and trajectory-level alignment. The impact statement suggests examining persona initialization alongside whether refusal-direction suppression and persona coupling strengthening co-occur; this suggestion has no corresponding defense experiments. Appendix H states that trajectories and internal dynamics have not been exhaustively explored.

Related papers

Show 3 more papers
Read originalICML 2026