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.
Figures & tables
Figure 1: Motivation for evidence localization. Standard conversation-level safety detection determines whether an interaction is unsafe. Multi-turn attribution identifies the behaviorally relevant evidence for the unsafe trajectory.
Statistic
Train
Dev
Test
Stress
Total
Full inventory
2,852
364
364
587
4,167
Primary benchmark
1,706
364
364
–
2,434
Detection-only auxiliary
1,146
–
–
–
1,146
Hard-benign stress
–
–
–
587
587
Primary adversarial
853
182
182
–
1,217
Primary benign
853
182
182
–
1,217
Table 1: MTAG-Bench statistics.
Evidence localization
Method
Turn F1
Span F1
Top-1
False attribution ↓
MTAG-Probe
63.6
91.5
85.0
28.7
Target-model self-attribution
35.6
75.6
59.0
99.3
Safety-judge attribution
39.5
71.5
83.0
94.7
Human evidence validation
Method
Two-human hit †
Agreed recall
Prec. vs. union
Rec. vs. union
Table 2: Attribution validation across model, human, and external-guard evaluations.
Figure 2: Internal faithfulness and behavioral replay. (a) Probe decision flips after deleting the highest-ranked user-word evidence at fixed budgets. (b) Full-trajectory replay at the 15% budget, reporting the fraction of cases whose final response changes from unsafe to safe, error bars show 95% bootstrap confidence intervals.
Model
Det. AP
Turn F1
Span F1
ΔP
Flip
Full
94.5
61.9
91.4
38.2
48.4
No Cross-turn
97.5
50.6
92.8
9.4
17.0
Frozen Backbone
96.1
59.7
94.9
37.0
45.1
Single-stage
95.0
55.8
94.6
23.1
31.3
Detection-only
96.3
6.8
58.3
3.9
4.9
Table 3: MTAG-Probe ablations.
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 3: Construction of the primary corpus and detection-only auxiliary data. Solid paths contribute to the primary corpus, and dashed paths contribute detection-only auxiliary examples.
Role
Model
Response-adaptive
Adversarial generator
Qwen2.5-7B/14B-Instruct
Benign generator
Qwen2.5-7B-Instruct
Target / CF replay
Llama-3-8B-Instruct
Validator / CF judge
Mistral-7B-Instruct-v0.3
Scenario-controlled
Appendix
Table 4: Models used for dataset construction, validation and behavioral replay.
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.
Hidden malicious intent in multi-turn dialogue poses a growing threat to deployed large language models (LLMs). Rather than exposing a harmful objective in a single prompt, attackers can distribute their intent across multiple benign-looking turns, making defense a problem not only of whether a dialogue is harmful, but also of when intervention becomes necessary. Existing trace-level labeling approaches provide only coarse safety signals and do not identify this intervention boundary, making it difficult to distinguish timely intervention from premature refusal or a block that comes too late. This work introduces turn-level harm-enabling supervision for multi-turn defense. We define the earliest harm-enabling turn as the first point at which delivering a candidate response would make the accumulated interaction sufficient to enable harmful action. To instantiate this supervision at scale, we construct the Multi-Turn Intent Dataset (MTID), which contains adaptive attack rollouts, matched benign hard negatives, and annotations of this boundary. Using MTID, we train TurnGate, a response-aware monitor that learns when to intervene, and further optimize its policy through multi-turn reinforcement learning. Experiments show that turn-level boundary supervision improves intervention localization, while reinforcement learning further improves the safety--utility trade-off. TurnGate outperforms existing guardrails and multi-turn monitoring baselines, and generalizes across risk domains, attacker pipelines, and target models. Our code is available at https://github.com/Graph-COM/TurnGate.
Xinjie Shen, Rongzhe Wei, Peizhi Niu +6
Georgia Institute of Technology · University of Illinois Urbana-Champaign · UCSD +3
Safety-aligned large language models (LLMs) often refuse a harmful request but comply once the same goal is spread over several turns. Preference objectives score whole responses to single prompts, so their training loss alone cannot control risk on unseen histories. Our analysis gives sufficient conditions under which suppression at supervised single-turn contexts yields a bound on multi-turn trajectory risk. The bound accounts for coverage, transfer slack, and leakage, and characterizes contraction relative to a base-policy risk budget evaluated on the trained policy's contexts. TRACE (Trajectory Return Attribution and Contrastive Erasure) turns this principle into a token-level objective. On the safe response, each token is weighted by the discounted return of a refusal-attributable advantage. The advantage compares a frozen reference model with its refusal-ablated copy, allowing earlier response tokens to receive credit from later refusal-related evidence. At high-gap positions on rejected responses, TRACE combines the observed token with policy-selected alternatives in the erasure target. A gradient-norm penalty replaces the retain set. Across five open-weight models and seven multi-turn attacks, TRACE gives the lowest attack success rate (ASR) in all 35 model and attack pairs, while the model utility evaluated on MMLU and HellaSwag drop by at most 1.23 points. Source code can be found in the supplemental material.
Fengpeng Li, Kemou Li, Qizhou Wang +3
PRADA Lab, King Abdullah University of Science and Technology · State Key Laboratory of Internet of Things for Smart City, University of Macau · Imperfect Information Learning Team, RIKEN Center for Advanced Intelligence Project +1