Publication
arXiv
Stage
Preprint
What we read
Summary of the paper
Authors
Yan Qiu, Yuanyuan Li
Universities and research institutions
Technical University of Munich, Munich Re

Institution metadata: Original paper ↗

What they did and found

Researchers trained a text encoder to separate harmful from benign examples, then classified new prompts by their distance from the two groups’ prototypes. Contrastive encoder training raised this prototype detector’s accuracy by 9.1 to 18.0 percentage points across four benchmarks.

Why it matters

The detector was close to a separate classifier built on the same encoder in several tests and can avoid that extra classifier training step.

In a fixed multi-turn replay test, using accumulated user history improved the prototype method’s conversation-level accuracy compared with judging each turn alone.

Across 12 transfers between datasets, the prototype method beat the classifier on accuracy in eight directions, but its false-positive and false-negative rates shifted by dataset.

Original sources · 1
  1. Jailbreak Detection on Large Language Models via Contrastive Prototype Structures ↗arXiv · 2026-11-18

Check the original paper for its authors, methods, version and access terms.

What remains uncertain

The reported gains depend on benchmark and threshold. In the TomGibbs transfer, fewer false alarms came with more missed harmful inputs; this is not a guarantee for live safety screening.