Jailbreak Detection on Large Language Models via Contrastive Prototype Structures
Presents novel safety detection architecture with strong empirical results for LLM security researchers.
AI Summary
Researchers propose JDPI, a contrastive prototype method for jailbreak detection that outperforms classifier baselines and Llama Guard 3-8B across multiple benchmarks.
Excerpt
Jailbreak attempts and harmful prompts remain a challenge for the safe deployment of large language models. We study whether contrastively learned representations can support safety detection without training an additional downstream classifier. We propose Jailbreak Detection with Prototype Inference (JDPI), which uses binary safety labels to construct harmful and benign prototypes and makes predictions from relative prototype distances. JDPI uses only binary safety labels for encoder adaptation
