SafeVid: Toward Safety Aligned Video Large Multimodal Models
Yixu Wang, Jiaxin Song, Yifeng Gao, Xin Wang, Yang Yao, Yan Teng, Xingjun Ma, Yingchun Wang, Yu-Gang Jiang
TL;DR
The paper addresses safety misalignment in Video Large Multimodal Models (VLMMs) by proposing SafeVid, a framework that transfers robust text-based safety reasoning to video through detailed textual video descriptions. SafeVid comprises three components: SafeVid-350K, a 350K-pair video safety preference dataset; Direct Preference Optimization (DPO) for targeted safety alignment; and SafeVidBench, a comprehensive video-focused safety benchmark. Empirical results show substantial safety improvements on SafeVidBench and favorable generalization to OOD safety benchmarks with a modest impact on general video capabilities, supported by scalable data experiments. The work provides public resources and demonstrates that textual grounding can effectively instill video-specific safety principles in VLMMs, with practical implications for safer deployment.
Abstract
As Video Large Multimodal Models (VLMMs) rapidly advance, their inherent complexity introduces significant safety challenges, particularly the issue of mismatched generalization where static safety alignments fail to transfer to dynamic video contexts. We introduce SafeVid, a framework designed to instill video-specific safety principles in VLMMs. SafeVid uniquely transfers robust textual safety alignment capabilities to the video domain by employing detailed textual video descriptions as an interpretive bridge, facilitating LLM-based rule-driven safety reasoning. This is achieved through a closed-loop system comprising: 1) generation of SafeVid-350K, a novel 350,000-pair video-specific safety preference dataset; 2) targeted alignment of VLMMs using Direct Preference Optimization (DPO); and 3) comprehensive evaluation via our new SafeVidBench benchmark. Alignment with SafeVid-350K significantly enhances VLMM safety, with models like LLaVA-NeXT-Video demonstrating substantial improvements (e.g., up to 42.39%) on SafeVidBench. SafeVid provides critical resources and a structured approach, demonstrating that leveraging textual descriptions as a conduit for safety reasoning markedly improves the safety alignment of VLMMs. We have made SafeVid-350K dataset (https://huggingface.co/datasets/yxwang/SafeVid-350K) publicly available.
