ARTFEED — Contemporary Art Intelligence

Trace: Trajectory-Aware Reasoning Defense Against Multi-Turn Jailbreak Attacks

ai-technology · 2026-08-18

A novel defense strategy named Trace has been launched to address multi-turn jailbreak assaults on large language models (LLMs). These attacks fragment harmful goals across a series of seemingly harmless interactions to evade safety measures. Current defenses struggle to recognize changing manipulation tactics, frequently over-rejecting innocent inquiries concerning sensitive subjects. Trace utilizes trajectory-aware structured reasoning: prior to crafting each reply, the model detects manipulation signals from the conversation's trajectory, assesses both benign and malicious interpretations of user intent, assigns a jailbreak score, and decides on an action: Allow, Caution, or Decline. The researchers compiled 4,000 multi-turn adversarial dialogues from five attack frameworks, alongside 2,400 benign dialogues and 600 sensitive-but-benign exchanges. They trained Llama-3.1-8B-Instruct via supervised fine-tuning (SFT) and group relative policy optimization (GRPO) with a multi-component reward optimizing both safety and helpfulness. The paper is accessible on arXiv with the identifier 2608.15594.

Key facts

  • Trace is a multi-turn defense with trajectory-aware structured reasoning.
  • It identifies manipulation cues from the conversation trajectory.
  • It evaluates benign and adversarial interpretations of user intent.
  • It assigns a jailbreak score and commits to Allow, Caution, or Decline.
  • The training data includes 4k adversarial conversations from five attack frameworks.
  • It also includes 2.4k benign dialogs and 600 sensitive-but-benign conversations.
  • The model is trained on Llama-3.1-8B-Instruct using SFT and GRPO.
  • The paper is available on arXiv with ID 2608.15594.

Entities

Institutions

  • arXiv

Sources