Achieving zero-shot defense against harmful images by leveraging the intrinsic multimodal alignment of LVLMsZero-Shot Defense Against Toxic Images via Inherent Multimodal Alignment in LVLMs
The researchers propose SafeCLIP, a zero-shot harmful image detection method that leverages the intrinsic multimodal alignment of LVLMs and requires no changes to the model architecture. The method projects the CLS token discarded by CLIP into text space and then matches it against harmful descriptions, enabling dynamic safety correction during inference and fine-tuning with little additional latency. Experiments show that SafeCLIP achieves a defense success rate of 66.9%, a false positive rate of 3.2%, and 7.2% additional overhead, whereas the compared existing method achieves a success rate of 52.9%, a false positive rate of 10.7%, and 210% overhead. The paper states that this shows leveraging intrinsic multimodal alignment can achieve low-cost, efficient LVLM safety protection, and the code is released at anonymous.4open.science/r/safeclip-2C01.