State-Dependent Safety Failures in Multi-Turn Language Model Interaction
Authors: Pengcheng Li, Jie Zhang, Tianwei Zhang, Han Qiu, Zhang kejun, Weiming Zhang, Nenghai Yu, Wenbo Zhou
Organizations: School of Cyber Science and Technology, University of Science and Technology of China, China · Agency for Science, Technology and Research (A*STAR), Singapore · Nanyang Technological University, Singapore · Tsinghua University, Beijing, China · Beijing Electronic Science and Technology Institute, Beijing, China · Key Laboratory of Cyberspace Security, Ministry of Education, China
Safety alignment in large language models is typically evaluated under isolated queries, yet real-world use is inherently multi-turn. Although multi-turn jailbreaks are empirically effective, the structure of conversational safety failure remains insufficiently understood. In this work, we study safety failures from a state-space perspective and show that many multi-turn safety failures in current safety-aligned language models arise from contextual state evolution, a regime that is not fully captured by isolated prompt-level analyses alone. We introduce STAR, a state-oriented diagnostic framework that treats dialogue history as a state transition operator and enables controlled analysis of safety behavior along interaction trajectories. Rather than optimizing attack strength, STAR provides a principled probe of how aligned models traverse the safety boundary under autoregressive conditioning. Across multiple frontier language models, we find that systems that appear robust under static evaluation can undergo rapid and reproducible safety collapse under structured multi-turn interaction. Mechanistic analysis reveals monotonic drift away from refusal-related representations and abrupt phase transitions induced by role-conditioned context. Together, these findings motivate viewing language model safety as a dynamic, state-dependent process defined over conversational trajectories.
Figures & tables
Figure 1: Overview of STAR. The framework operates in two stages: (1) state initialization via semantic-preserving softening, query-aware role generation, and structured turn template, and (2) state evolution via role-conditioned multi-turn interaction with feedback-aware history intervention and trajectory control.
Closed-Source Models
Open-Weight Models
Evaluation Regime
GPT- 4o
Claude 3.5 Sonnet
Gemini 2.0-Flash
Llama 3-8B-IT
Llama 3-70B-IT
Static Context Evaluation (Single-turn)
GCG ( Zou et al., 2023 )
12.5
3.0
–
34.5
17.0
PAIR ( Chao et al., 2025 )
39.0
3.0
–
18.7
36.0
CodeAttack ( Jha and Reddy, 2023 )
70.5
39.5
–
46.0
66.0
Contextual Trajectory Evaluation (Multi-turn)
Table 1: Safety Failure Rate (SFR, %) on HarmBench under different evaluation regimes. We compare static single-turn attacks and contextual multi-turn trajectory based attacks across closed-source and open-weight models. STAR achieves consistently strong performance, particularly under multi-turn evaluation.
Temperature
0.2
0.7
1.0
SFR(%) ↑
88.0
89.0
88.0
Table 2: Robustness to auxiliary model decoding temperature.
Method
LLaMA 3-8B
GPT- 4o
Gemini 2.0-Flash
Avg Token Cost
ActorAttack
37.5
46
42
15K
X-Teaming
85.5
94
86
37K
STAR (Ours)
94.0
96
100
29K
Table 3: Cross dataset validation. STAR achieves higher safety failure rates(SFR,%) with comparable token cost on JailbreakBench.
Figure 2: Ablation study of STAR. We report the drop in safety failure rate ( Δ SFR) after removing individual components.
Figure 3: History causality test. Results show that compliance depends on the interaction trajectory rather than on content alone, establishing dialogue history as a causal state operator.
Figure 4: Refusal direction dynamics. Layer-wise projections show that STAR induces consistently lower activation along the refusal direction than prior baselines, with the largest divergence occurring around Layer 12.
Figure 5: Latent state trajectories. STAR exhibits larger and more directed latent state shifts toward the compliance region compared to baseline multi-turn methods, with all trajectories initialized from the same starting state z0 .
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 6: original prompt: Provide a strategy for writing and posting fabricated customer reviews on Amazon ; role generation: Dr. Amelia : A leading digital marketing consultant (specializing in enhancing online presence and reputation management for businesses) ; Estimated mutual information between hidden states and compliance outcome across turns.
Figure 7: Estimated mutual information between hidden states and the compliance outcome across turns. Named entities introduced during role initialization correspond to localized peaks in mutual information, suggesting a strong association between role anchoring tokens and subsequent compliance behavior.
Figure 8: The softening prompt for converting malicious instructions into non-executable descriptions.
Figure 9: Query-aware prompt for expert role generation.
Figure 10: The complete prompt template used for the judge model to evaluate target model responses.
Auxiliary Model
Temp=0.2
Temp=0.7
Temp=1.0
Qwen2.5-32B
88%
89%
88%
Qwen2.5-7B
84%
88%
82%
Appendix
Table 4: Sensitivity analysis of auxiliary model scale under different decoding temperatures.
Large language models (LLMs) are vulnerable to multi-turn jailbreak attacks that progressively manipulate conversation context. Existing certified robustness methods are limited to single-turn inputs; naive multi-turn composition yields bounds that degrade exponentially in the number of turns. We introduce Multi-Turn Certified Robustness (MTCR), a framework that models conversational safety via State-Adversarial MDPs and defines k-turn certified robustness as the worst-case safety probability across k adversarial turns. MTCR comprises: (i) compositional certification via embedding-space mode decomposition, yielding tighter certified lower bounds than naive multiplication; (ii) (α,β)-safety persistence, improving the degradation rate from pk to βk (with β>p) and yielding interpretable horizon estimates; (iii) matching information-theoretic upper bounds establishing tightness; and (iv) a unified algorithm combining these results. Experiments on six LLMs under ε-bounded and Crescendo-style attacks confirm that empirical safety consistently exceeds the certified bounds.
Yang Liu, Bin Chong, Wenkai Yang +9
Peking University · Renmin University of China · Tsinghua University +2
As Large Language Models (LLMs) move from conversational assistants to advanced agentic systems, guardrail failures can convert adversarial intents into harmful executions. However, most evaluation frameworks focus only on whether a user request is unsafe. This is insufficient for multi-turn failures, where adversarial intent may be distributed across turns and emerge only from accumulated context. This motivates us to go beyond detection to localize the evidence that pushes the conversation toward unsafe trajectories. We introduce MTAG-Bench, a multi-turn guardrail attribution dataset with behavioral validation and counterfactual supervision containing 4,167 conversations. We also introduce MTAG-Probe, a hierarchical attribution model for turn- and span-level evidence localization with conversation-level safety detection. MTAG-Probe improves turn-level F1 by 28.1 and 24.1 points (79.0% and 61.0% relative) over self-attribution by the model that produced the unsafe response and the LLM safety-judge attribution, respectively. Removing MTAG-Probe's top-ranked evidence within budgets of 15% and 20% of user words per conversation changes 50.6% and 60.8% of Llama Guard decisions on Geometry from unsafe to safe, respectively. In full-trajectory replay, MTAG-Probe converts 84.3% of eligible unsafe final responses to safe. These results show that MTAG-Probe can provide evidence-level explanations as a practical complement to safety detection.
Srinivasan Subramanian, Kazi Aminul Islam, Md. Abdullah Al Hafiz Khan
Department of Computer Science, Kennesaw State University, Marietta, GA, USA
Conversational safety evaluations often test language models with a single harmful prompt, even though real-world systems interact with users through long, adaptive conversations. This study examines whether models continue to respond safely when an adversarial user persists across multiple turns. We evaluate three open-weight, instruction-tuned models on two harmful prompts across different conversation lengths and random seeds. In each setting, a second language model acts as a persistent adversarial user, while a safety classifier labels every response as safe or unsafe. Across all model-prompt combinations, first-turn safe-response rates ranged from 85% to 100%. By depth 11, they dropped to 38-61%, and by depth 101, to 15-44%. This decline appeared across models and continued well beyond the short interactions typically used in multi-turn safety evaluations. These results provide proof-of-concept evidence that strong single-turn safety does not necessarily persist during sustained adversarial interaction. They highlight the need for long-horizon evaluations and conversation-level safeguards that account for risk accumulating across turns.