English
Safety
Defense
Jailbreak
Multi-turn
Harmful
Benign
TurnGate-0.1 / README.md
Frinkleko's picture
init commit
5f989e3 verified
metadata
license: apache-2.0
language:
  - en
tags:
  - Safety
  - Defense
  - Jailbreak
  - Multi-turn
  - Harmful
  - Benign
pretty_name: MTID
size_categories:
  - 10K<n<100K
base_model:
  - Qwen/Qwen3-4B-Instruct-2507
datasets:
  - Graph-COM/MTID

TurnGate: Response-Aware Defense Against Hidden Malicious Intent in Multi-Turn Dialogue

arXiv Website GitHub code Cite Python

Overview

TurnGate is a response-aware defense mechanism designed to detect and mitigate hidden malicious intent in multi-turn dialogue systems. Defending state-of-the-art multi-turn malicious attacks like CKA-Agent.

TurnGate Pipeline

TurnGate-0.1

TurnGate is a specialized monitor designed to detect hidden malicious intent in multi-turn dialogues. Unlike traditional filters that look at queries in isolation, TurnGate is response-aware: it inspects the assistant's candidate response in the context of the full dialogue history to identify the precise "closure turn" where a harmful objective becomes actionable.

This repository contains the weights for TurnGate-0.1, a model trained on the Multi-Turn Intent Dataset (MTID) and optimized via reinforcement learning with turn-level process rewards.

Cite

If you find this repository useful for your research, please consider citing the following paper:

@misc{shen2026turnlateresponseawaredefense,
      title={One Turn Too Late: Response-Aware Defense Against Hidden Malicious Intent in Multi-Turn Dialogue}, 
      author={Xinjie Shen and Rongzhe Wei and Peizhi Niu and Haoyu Wang and Ruihan Wu and Eli Chien and Bo Li and Pin-Yu Chen and Pan Li},
      year={2026},
      eprint={2605.05630},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2605.05630}, 
}