# SelfGuard: a jailbreak detector trained only on benign data

> SelfGuard is a NeurIPS 2026 jailbreak detector for vision-language models that trains on benign data only, not on known attack samples.

- **Severity:** Info: Research, tools, evals or lab claims with no direct exposure. Context, not an alert.
- **Category:** Research, Tool
- **Published by:** Zhejiang University of Technology
- **Disclosed:** 2026-11-30
- **Affects:** LLaVA-1.5, CogVLM, Qwen3-VL
- **Research by:** [Chenchen Jing](https://github.com/jingchenchen), Hongli Guo, Huarong Jia, Tianwei Bai, Che Sun, Zhejiang University of Technology
- **Primary source:** https://arxiv.org/abs/2611.41910
- **Page:** https://theinjection.dev/items/selfguard-multimodal-jailbreak-detection/

SelfGuard detects multi-modal jailbreaks after training only on benign inputs, with no known attack samples needed. The authors report the best overall AUROC of ten detectors across three benchmarks. Accepted at NeurIPS 2026, code released.

## What happened

Researchers at Zhejiang University of Technology and three other institutions posted SelfGuard to arXiv on 30 November 2026, noting acceptance at NeurIPS 2026. Code is published on GitHub under an MIT license. The paper frames multi-modal jailbreak detection as self-supervised deviation modeling, so the detector never sees a harmful example during training.

## How it works

Controlled transformations turn clean samples into pseudo-harmful ones that target three cues: cross-modal semantic inconsistency, format manipulation and semantic toxicity. Three self-supervised tasks then learn to spot each cue, namely misalignment discrimination, reconstruction-based toxicity modeling and contrastive format modeling. At inference the detector adds up the per-task deviation scores to decide whether an input is an attack.

## Who is affected

Teams putting guardrails in front of vision-language models are the audience. Detection is measured on MM-SafetyBench, FigStep and JailBreakV-28K, each paired with benign MM-Vet inputs, and the defense variant is measured on LLaVA-1.5-7B, CogVLM-chat-v1.1 and Qwen3-VL-8B.

## What to do

Read the false-positive numbers before deploying. The authors report a 20.18% false positive rate at a 99.08% true positive rate, which means roughly one benign input in five is blocked at that operating point.

## Jailbreak detection, overall AUROC

Higher is better. Across MM-SafetyBench, FigStep and JailBreakV-28K.

| Result | Score |
|---|---|
| **SelfGuard** (this story) | 0.9749AUROC |
| JailDAM | 0.955AUROC |
| GradSafe-7B | 0.8513AUROC |
| HiddenDetect-13B | 0.8425AUROC |
| HiddenDetect-7B | 0.805AUROC |
| Llavaguard-7B | 0.7551AUROC |
| VLGuard-7B | 0.6096AUROC |
| VLGuard-13B | 0.5048AUROC |
| Jailguard-13B | 0.4768AUROC |
| Llavaguard-13B | 0.3797AUROC |

Source: https://arxiv.org/html/2611.41910v1

## Quick facts

- **Venue:** Accepted at NeurIPS 2026
- **Code:** MIT licensed, jingchenchen/SelfGuard on GitHub
- **Benchmarks:** MM-SafetyBench, FigStep and JailBreakV-28K, each paired with benign MM-Vet inputs
- **False positives:** 20.18% FPR at 99.08% TPR, with 89.45% accuracy
- **Found by:** Chenchen Jing and six colleagues

## Sources

1. [arXiv Paper](https://arxiv.org/abs/2611.41910)
2. [SelfGuard Code](https://github.com/jingchenchen/SelfGuard)
3. [Paper Full Text](https://arxiv.org/html/2611.41910v1)
