ContraSafe-VL: A Contrastive Safety Preference Dataset for Vision-Language Models
Di Wu, Yanyan Zhao, Xin Lu, Hao Yang, Taotao Zhang, Yunzhen Zhao
Abstract
Vision-Language Models (VLMs) are increasingly deployed as general-purpose multimodal assistants, making multimodal safety alignment an important challenge. Safety depends on the interplay between textual and visual content, with visual context often playing a critical role. However, VLMs may fail to use visual information appropriately, either overlooking safety-relevant visual content or over-interpreting sensitive visual content, leading to unsafe responses or over-refusal. Existing multimodal safety alignment datasets largely follow the response-preference paradigm, which teaches models how to respond but provides limited supervision on how visual context should inform the safety judgment, making it difficult to balance safety and over-refusal. To address this limitation, we introduce ContraSafe-VL, a Contrastive Safety preference dataset for Vision-Language Models. For each fixed textual query, ContraSafe-VL constructs paired visual contexts that result in multimodal queries with different safety labels, providing direct supervision for how visual context should inform multimodal safety judgments. It further provides response preference pairs based on harmlessness and helpfulness to encourage models to generate responses that are both safe and helpful. Experiments across three VLM architectures and multiple benchmarks demonstrate that training with ContraSafe-VL improves cross-modal safety recognition and achieves a better safety--over-refusal trade-off while preserving general multimodal capabilities. The dataset is available at https://github.com/pikepokenew/ContraSafe-VL
Create a lesson
Metadata
- Comments
- 5 figures, 5 tables
Related papers
Find the Clue, Not the Scene: Rethinking Reasoning for Entity Recognition in Vision-Language Models
Shared title terminologycs.CVKyungmin Min, Soyeon Kim, Junseok Kim et al.
VisualMontage: Manipulating the Beliefs of Vision-Language Agents with Authentic Image Sequences
Shared title terminologycs.CVJinwei Hu, Lai Wei, Zhuoyun Li et al.
Attacking Hard-Label Large Vision-Language Models with Model-Sensitive Adversarial Patch Designs
Shared title terminologycs.CVNian Ai, Guangke Chen, Xiaowen Cai et al.
Architectural Sampling: Test-Time Scaling via Computational Diversity in Frozen Vision-Language Models
Shared title terminologycs.CVAkshit Singh, Shyam Marjit, Wei Lin et al.
Not All Error Yields to Scale: Where Scaling Stops in Vision-Language Inference
Shared title terminologycs.CVXinye Zhao, Yunkai Dang, Yunchen Wu et al.
Beyond Domain-Level Adaptation: Margin-Oriented Semantic-Appearance Interaction Correction for Personalized Federated Vision-Language Models
Shared title terminologycs.CVWentao Yue, Qingyu Mao, Tianyou Lai et al.