VLSBench: Unveiling Visual Leakage in Multimodal Safety
Xuhao Hu, Dongrui Liu, Hao Li, Xuanjing Huang, Jing Shao
TL;DR
VSIL reveals that safety judgments in multimodal models can be derived from textual cues alone, exposing unreliable cross-modal evaluations. To address this, the authors build VLSBench, a leakage-free 2.2k image-text dataset and data-generation pipeline that detoxifies harmful textual queries and pairs them with safe, matched images, enabling faithful cross-modal safety assessment. Through extensive experiments comparing textual SFT against multimodal alignment, they find textual approaches can rival multimodal ones on VSIL-affected benchmarks, while multimodal alignment shines in VSIL-free contexts. The work underscores the need for dedicated multimodal safety alignment and provides a practical benchmark and methodology to drive future improvements, with broad implications for evaluating and deploying safe MLLMs in real-world settings.
Abstract
Safety concerns of Multimodal large language models (MLLMs) have gradually become an important problem in various applications. Surprisingly, previous works indicate a counterintuitive phenomenon that using textual unlearning to align MLLMs achieves comparable safety performances with MLLMs aligned with image text pairs. To explain such a phenomenon, we discover a Visual Safety Information Leakage (VSIL) problem in existing multimodal safety benchmarks, i.e., the potentially risky content in the image has been revealed in the textual query. Thus, MLLMs can easily refuse these sensitive image-text pairs according to textual queries only, leading to unreliable cross-modality safety evaluation of MLLMs. We also conduct a further comparison experiment between textual alignment and multimodal alignment to highlight this drawback. To this end, we construct multimodal Visual Leakless Safety Bench (VLSBench) with 2.2k image-text pairs through an automated data pipeline. Experimental results indicate that VLSBench poses a significant challenge to both open-source and close-source MLLMs, e.g., LLaVA, Qwen2-VL and GPT-4o. Besides, we empirically compare textual and multimodal alignment methods on VLSBench and find that textual alignment is effective enough for multimodal safety scenarios with VSIL, while multimodal alignment is preferable for safety scenarios without VSIL. Code and data are released under https://github.com/AI45Lab/VLSBench
