[KongchangAI]
ConceptJailbreak Detection with Prototype Inference

JDPI

An LLM jailbreak detection method based on contrastive learned representations and prototype-based reasoning. It requires no training of an additional classifier and discriminates by comparing the distance between an input representation and harmful versus benign prototypes.

Timeline (last 90 days)

Nov 19

JDPI (Jailbreak Detection with Prototype Inference) is a method that achieves jailbreak detection through contrastive learned representations and prototype inference without training an additional downstream classifier.

Unverified50%
Nov 19

JDPI constructs harmful prototypes and benign prototypes using binary safety labels, and predicts by comparing the relative distance of an input representation to the two prototypes: if it is closer to the harmful prototype, it is judged a jailbreak attempt.

Unverified50%
Nov 19

On four benchmarks covering different input formats, contrastive fine-tuning improves JDPI's detection accuracy by 9.1 to 18.0 percentage points.

Unverified50%
Nov 19

Even with the same encoder, JDPI's ROC-AUC is slightly higher than the classifier baseline on one benchmark, and the gap is within 0.017 on all four benchmarks.

Unverified50%
Nov 19

In multi-turn replay experiments on the TomGibbs dataset, JDPI uses accumulated user history as context, and its conversation-level accuracy is higher than methods that use only the current turn.

Unverified50%
Nov 19

On 12 targeted transfer tasks, JDPI's accuracy is on average 1.59 percentage points higher than the classifier baseline.

Unverified50%

All Facts (6)

Source Articles