Back to AI News
arxiv

SelfGuard: Self-Supervised Detection of Multi-Modal Jailbreak Attacks

SelfGuard is a self-supervised framework for detecting jailbreak attacks against multi-modal large language models by modeling benign vision-language regularities and scoring deviations. It synthesizes pseudo-harmful samples through controlled transformations targeting cross-modal semantic inconsistency, format manipulation, and semantic toxicity. The method uses multi-task self-supervised learning for misalignment discrimination, reconstruction-based toxicity modeling, and contrastive format modeling, then aggregates task-specific deviation scores at inference. Code is available on GitHub.

AI Brief

It presents a concrete AI safety method for detecting evolving multi-modal jailbreak attacks without relying on scarce labeled harmful data, with released code for reproducibility.

arXiv:2611.41910v1 Announce Type: new Abstract: Multi-modal large language models (MLLMs) achieve strong vision-language reasoning ability but remain vulnerable to jailbreak attacks that exploit subtle cross-modal cues to bypass safety mechanisms. Detecting such attacks is difficult because harmful data are scarce and rapidly evolving, while detectors trained on known patterns often fail to generalize. In this paper, we cast multi-modal jailbreak detection as self-supervised deviation modeling and learn generalizable deviation signals from benign data only. We propose SelfGuard, a self-supervised framework, which models benign multi-modal regularities and learns to score structured violations via controlled pseudo-harmful deviations. SelfGuard synthesizes pseudo-harmful samples via controlled transformations that target three signature cues, cross-modal semantic inconsistency, format manipulation, and semantic toxicity. It then learns complementary deviation statistics through multi-task self-supervised learning, including misalignment discrimination, reconstruction-based toxicity modeling, and contrastive format modeling. At inference, SelfGuard performs multi-view deviation estimation by aggregating task-specific deviation scores to identify departures from benign multi-modal regularities. Extensive experiments on various benchmarks show the effectiveness of our method. The code is available at https://github.com/jingchenchen/SelfGuard.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!