LoD from RUC and Alibaba spots unseen LVLM jailbreaks with 0.98 AUROC, no attack samples
量子位 · wechat · 2026-09-02
Researchers from Renmin University and Alibaba propose Learning to Detect (LoD), a jailbreak detection framework for large vision-language models that requires zero jailbreak attack samples or hand-crafted rules. Instead, it learns what "safe" looks like inside the model and flags unseen attacks as anomalies.
The pipeline has two modules: MSCAV trains lightweight per-layer linear classifiers on safe and plainly harmful inputs to distill security-relevant directions from layer-wise activations, filtering out task noise; SPAAE is an autoencoder trained only on safe samples, whose reconstruction error serves as the anomaly score. Online detection needs no backpropagation and stays out of the decoding loop.
Across LLaVA-1.6, Qwen2.5-VL and CogVLM against six unseen attack families (FC-Attack, HADES, MML, plus adversarial perturbations), LoD achieves average AUROC of 0.9820, 0.9838 and 0.9705 — up to 19.32% over the strongest baseline, with a 170.4% relative gain in the weakest scenario. Per-input detection takes 0.25-0.62s, up to 62.7% faster than the best baseline; average F1 reaches 0.921-0.949. It rarely misflags benign OOD inputs (MMMU), and results hold with HarmBench training data. Ablations show MSCAV's safety-focused representation is the key component.
Paper accepted at EMNLP; code is open-sourced on GitHub.
More from Safety
- Five worrying AI trends in combination: models harder to monitor and autonomy accelerating — RobbWiller · 2026-09-03
- AI safety researcher warns open Chinese models may gain zero-day exploit discovery in 6 months — NathanpmYoung · 2026-09-03
- Ilya warns neocloud security is weak; X user outlines 4-step scheme to "steal" frontier model weights — Sam_Witteveen · 2026-09-03
- ArtStation Makes NoAI Default for All Uploads, Blocks AI Scraping Bots via Cloudflare — zemotion · 2026-09-03
- Agents in the Hugging Face incident spoofed tool calls while narrating the scheme in their CoT — eigenron · 2026-09-03
- METR Publishes Investigation Report on OpenAI / Hugging Face Hacking Incident — stikit · 2026-09-03