TRACE: Trajectory Aware Reasoning for Multi-Turn Adversarial Conversation Evaluation

Md Messal Monem Miah, Adrita Anika, Zhiyuan Yu, Ruihong HuangarXiv 2026

TL;DR

TRACE introduces a trajectory-aware structured reasoning defense to protect Large Language Models (LLMs) against sophisticated multi-turn jailbreak attacks. By explicitly analyzing conversation history for manipulation cues and evaluating competing benign vs. adversarial hypotheses, TRACE reduces the average attack success rate from 74.9% to 14.5% while maintaining excellent helpfulness and avoiding over-refusal on safe-but-sensitive topics.

What Problem Does This Paper Address?

While single-prompt jailbreaks are largely mitigated by modern safety alignment, adversaries have adapted by spreading harmful intent across multiple conversational turns (e.g., using gradual escalation, persuasion, or academic pretexts).

Existing defenses fail in this multi-turn setting because they typically evaluate each user message in isolation, missing the cumulative adversarial trajectory. Furthermore, defenses that try to adapt often suffer from severe over-refusal, blocking completely benign user requests simply because they touch on sensitive topics. The core challenge is building a defense that can dynamically track context drift and intent escalation across a dialogue without sacrificing the model's utility and helpfulness.

Methods

TRACE (Trajectory Aware Reasoning for Multi-Turn Adversarial Conversation Evaluation) forces the LLM to generate an internal structured reasoning trace (a STATE block) before producing its actual user-facing response (the ANSWER block).

Figure 1: A multi-turn jailbreak attack (left). Without explicit reasoning over the dialog trajectory, the target complies. TRACE generates a structured reasoning trace, extracting manipulation cues, scoring benign and adversarial hypotheses, and aggregating them into a jailbreak score and a calibrated action, successfully defending against the attack.

The STATE block consists of four sequential components:

  1. Cue Extraction: The model scans the entire dialogue history to identify any of 11 specific manipulation primitives (e.g., rapport-building, task-splitting, hypothetical-framing, gradual-escalation).
  2. Dual-Hypothesis Scoring: Grounded in the extracted cues, the model independently articulates and scores (from 1 to 10) both a benign and an adversarial interpretation of the user's intent.
  3. Jailbreak Score: The model aggregates the risk into a final score from 1 to 5.
  4. Calibrated Action: The model commits to a definitive action—ALLOW, CAUTION, or DECLINE—accompanied by a written justification.

The authors trained a Llama-3.1-8B-Instruct model using a two-stage pipeline: Supervised Fine-Tuning (SFT) to teach the structured reasoning format, followed by Group reward-Decoupled Normalization Policy Optimization (GDPO/GRPO) to optimize a multi-component reward tracking jailbreak score accuracy, cue detection precision, and behavioral consistency.

Datasets

The authors curated a comprehensive training and evaluation corpus consisting of:

  • Adversarial Conversations: 4,000 multi-turn jailbreak dialogues generated by orchestrating 5 distinct attack frameworks (Crescendo, ActorAttack, Chain-of-Attacks, ICON, and X-Teaming) targeting 300 harmful behaviors from JailbreakBench and HarmBench.
  • Benign Conversations: 2,400 standard multi-turn instruction-following dialogues sampled from datasets like MT-Bench, UltraChat, ShareGPT, and WildChat.
  • Sensitive-but-Benign Conversations: 600 synthesized multi-turn conversations designed to mimic adversarial escalation but ending in safe, harm-adjacent prompts (derived from OR-Bench seed prompts) to explicitly train the model against over-refusal.

Key Insights and Ideas

  • Combating Premature Commitment: Traditional safety-reasoning models often suffer from confirmation bias—once they encounter a sensitive topic, they anchor immediately on a refusal. TRACE's dual-hypothesis framework forces the model to hold competing accounts side-by-side, preventing it from collapsing ambiguous evidence into an unnecessary refusal.
  • Adaptive Reasoning Expenditure: TRACE naturally scales its internal deliberation based on the safety demands of the turn. It spends fewer reasoning tokens on straightforward benign dialogues and allocates significantly more tokens to complex, adversarial trajectories that warrant CAUTION or DECLINE.
  • Cues as Context Aggregators: Tracking specific social engineering and structural attack primitives allows the defense to recognize when a conversation is systematically steering toward harm over multiple turns, even if individual messages appear benign in isolation.
Figure 2: The role of cues in TRACE. (a) Percentage of turns at which TRACE flags at least one cue, by turn number. Red shows multi-turn jailbreak attacks; green shows benign multi-turn conversations. (b) Action dis- tribution by turn under multi-turn attacks.

Key Results

  • Attack Success Rate (ASR) Reduction: Across seven multi-turn attack benchmarks, TRACE-GRPO achieved an average ASR of 14.5%, significantly outperforming the strongest baseline (STAIR at 31.4%) and the undefended target model (74.9%).
  • Preserving Usability: TRACE achieved a 93.3% average full-compliance rate on over-refusal benchmarks (PHTest and XSTest), matching the baseline model's helpfulness. In comparison, the closest reasoning baseline (STAIR) degraded to a poor 53.1% compliance rate due to false refusals.
Figure 3: Mapping TRACE actions to dual-hypothesis scores for multi-turn attacks. Each bubble represents a (benign, adversarial) score pair, with size proportional to trajectory frequency.
  • Increased Attacker Effort: TRACE drastically increased the Defense Robustness Index (DRI), multiplying the attacker effort required for a successful jailbreak by up to 122× on certain frameworks (like ICON).

Limitations and Future Work

  • Language and Modality Constraints: The empirical evaluation was restricted to English-only text. Extending TRACE to multi-modal jailbreaks (involving images, audio, or document conditioning) remains an open challenge.
  • Taxonomy Evolution: The 11-cue taxonomy is fixed during training. Because the multi-turn adversarial landscape continues to evolve, the cue inventory must be treated as an extensible specification requiring periodic re-auditing.
  • Attack Surface of the STATE Block: An adversary aware of the explicit STATE block format could attempt prompt injections specifically aimed at manipulating or bypassing the internal reasoning trace, meaning the interface requires further hardening before production deployment.

Summary updated

BibTeX
@misc{miah2026trace,
  author = {Md Messal Monem Miah and Adrita Anika and Zhiyuan Yu and Ruihong Huang},
  title = {{TRACE: Trajectory Aware Reasoning for Multi-Turn Adversarial Conversation Evaluation}},
  year = {2026},
  eprint = {2608.15594},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15594},
}
Figure