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.
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.
Comments & Questions (0)
No comments yet
Be the first to comment!