arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.16643cs.CVcs.AI
收藏

从评估到防御:推进视频大语言模型的安全性

From Evaluation to Defense: Advancing Safety in Video Large Language Models

Yiwei Sun, Peiqi Jiang, Chuanbin Liu, Luohao Lin, Zhiying Lu, Hongtao Xie

AI总结:

本文提出VideoSafety-R1框架,通过创新方法提升视频大语言模型的安全性,实验显示其在多个安全数据集上取得显著提升。

摘要:

尽管图像基于大语言模型的安全风险已广泛研究,但视频基于模型(Video LLMs)的安全性研究仍严重不足。为系统研究此问题,我们引入VideoSafetyEval——一个大规模真实世界基准,包含11.4k视频查询对,涵盖19个主要风险类别。基于此,我们发现整合视频模态会降低安全性性能平均34.2%,暴露出多模态攻击利用的系统性风险。为解决此漏洞,我们提出VideoSafety-R1,双阶段框架通过三个创新实现前所未有的安全提升:(1)VideoSafetyThinking数据集包含46k视频查询-思考响应三元组;(2)Alarm Token-Guided Safety Fine-Tuning(AT-SFT)将可学习的警报标记注入视觉和文本序列,通过多任务目标实现跨模态的显式危害感知;(3)安全引导的GRPO通过动态策略优化增强防御推理,利用双模态验证得到的基于规则的奖励。这些组件协同作用,将安全性对齐从危害感知转向主动推理。该框架在VSE-HH上实现71.1%的提升,在图像安全数据集MMBenchmark、VLGuard和FigStep上分别提升59.1%、44.3%和15.0%。我们的代码和数据集可在https://github.com/Emiya-syw/VideoSafety-R1.git获取。注意:本文包含有害语言和图像示例,建议读者自行判断。

英文摘要:

While the safety risks of image-based large language models (Image LLMs) have been extensively studied, their video-based counterparts (Video LLMs) remain critically under-examined. To systematically study this problem, we introduce VideoSafetyEval - a large-scale, real-world benchmark for Video LLM safety, which comprises 11.4k video-query pairs and spans 19 principal risk categories. Based on this, we reveal that integrating video modality degrades safety performance by an average of 34.2%, thereby exposing systemic risks in multimodal attack exploitation. To address this vulnerability, we propose VideoSafety-R1, a dual-stage framework achieving unprecedented safety gains through three innovations: (1) the VideoSafetyThinking dataset contains 46k video-query-thinking response triplets; (2) Alarm Token-Guided Safety Fine-Tuning (AT-SFT) injects learnable alarm tokens into visual and textual sequences, enabling explicit harm perception across modalities via multitask objectives; and (3) safety-guided GRPO enhances defensive reasoning through dynamic policy optimization with rule-based rewards derived from dual-modality verification. These components synergize to shift safety alignment from harm perception to active reasoning. The framework achieves a 71.1% improvement on VSE-HH, and improves by 59.1%, 44.3%, and 15.0% on the image safety datasets MMBench, VLGuard, and FigStep, respectively. Our code and dataset are available at https://github.com/Emiya-syw/VideoSafety-R1.git. Note: This paper contains harmful language and image examples, and reader discretion is recommended.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑