arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06172cs.AIcs.CL
收藏

多模态情境安全

Multimodal Situational Safety

University of California, Santa Cruz(加州大学圣克ruz分校);University of California, Berkeley(加州大学伯克利分校)

Kaiwen Zhou, Chengzhi Liu, Xuandong Zhao, Anderson Compalas, Dawn Song, Xin Eric Wang

AI总结:

针对多模态大语言模型在具体情境中的安全判断难题,提出MSSBench基准(1,820对查询-图像)及多代理流水线,发现现有模型难以同时处理情境安全推理,多代理方法可提升安全性。

摘要:

多模态大语言模型(MLLMs)正在快速发展,展现出作为与人类及其环境交互的多模态助手的卓越能力。然而,这种日益增长的复杂性带来了显著的安全隐患。在本文中,我们首次对一种名为“多模态情境安全”的新型安全挑战进行了评估与分析,该挑战探讨了安全考量如何根据用户或代理所处的具体情境而变化。我们认为,要使MLLM安全地响应(无论是通过语言还是行动),它通常需要在相应的视觉情境中评估语言查询的安全影响。为了评估这一能力,我们开发了多模态情境安全基准(MSSBench),以评估当前MLLM的情境安全性能。该数据集包含1,820个语言查询-图像对,其中一半的图像情境是安全的,另一半是不安全的。我们还开发了一个评估框架,分析关键安全方面,包括显式安全推理、视觉理解,以及至关重要的情境安全推理。我们的研究结果表明,当前MLLM在指令遵循设置中难以应对这一微妙的安全问题,并且难以同时解决这些情境安全挑战,这突显了未来研究的一个关键领域。此外,我们开发了多代理流水线来协同解决安全挑战,与原始MLLM响应相比,安全性得到了一致的提升。代码和数据:mssbench.github.io。

英文摘要:

Multimodal Large Language Models (MLLMs) are rapidly evolving, demonstrating impressive capabilities as multimodal assistants that interact with both humans and their environments. However, this increased sophistication introduces significant safety concerns. In this paper, we present the first evaluation and analysis of a novel safety challenge termed Multimodal Situational Safety, which explores how safety considerations vary based on the specific situation in which the user or agent is engaged. We argue that for an MLLM to respond safely, whether through language or action, it often needs to assess the safety implications of a language query within its corresponding visual context. To evaluate this capability, we develop the Multimodal Situational Safety benchmark (MSSBench) to assess the situational safety performance of current MLLMs. The dataset comprises 1,820 language query-image pairs, half of which the image context is safe, and the other half is unsafe. We also develop an evaluation framework that analyzes key safety aspects, including explicit safety reasoning, visual understanding, and, crucially, situational safety reasoning. Our findings reveal that current MLLMs struggle with this nuanced safety problem in the instruction-following setting and struggle to tackle these situational safety challenges all at once, highlighting a key area for future research. Furthermore, we develop multi-agent pipelines to coordinately solve safety challenges, which shows consistent improvement in safety over the original MLLM response. Code and data: mssbench.github.io.

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

↑