arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.17682cs.LGcs.AI
收藏

Safe RLHF-V:基于多模态人类反馈的安全强化学习

Safe RLHF-V: Safe Reinforcement Learning from Multi-modal Human Feedback

Peking University(北京大学);Hong Kong University of Science and Technology(香港科技大学)
Jiaming Ji, Xinyu Chen, Rui Pan, Conghui Zhang, Han Zhu, Jiahao Li, Donghai Hong, Boyuan Chen, Jiayi Zhou, Kaile Wang, Juntao Dai, Chi-Min Chan, Yida Tang, Siru… 展开作者

Jiaming Ji, Xinyu Chen, Rui Pan, Conghui Zhang, Han Zhu, Jiahao Li, Donghai Hong, Boyuan Chen, Jiayi Zhou, Kaile Wang, Juntao Dai, Chi-Min Chan, Yida Tang, Sirui Han, Yike Guo, Yaodong Yang

AI总结:

提出Safe RLHF-V框架,通过双偏好数据集和护栏系统,在约束优化中实现多模态模型安全对齐,显著提升安全性与帮助性。

摘要:

多模态大语言模型(MLLMs)对于构建通用人工智能助手至关重要,然而它们也带来了日益增长的安全风险。我们如何确保MLLMs的安全对齐以防止不良行为?更进一步,探索如何在满足安全约束的同时微调MLLMs以保持能力是至关重要的。从根本上说,这一挑战可以表述为一个最小-最大优化问题。然而,现有的数据集尚未将单一偏好信号分解为明确的安全约束,阻碍了在这一方向上的系统性研究。此外,这些约束能否被有效纳入多模态模型的优化过程仍是一个未解决的问题。在这项工作中,我们首次探索了Safe RLHF-V——首个多模态安全对齐框架。该框架包括:(I)BeaverTails-V,首个具有帮助性和安全性双重偏好标注的开源数据集,并辅以多级安全标签(轻微、中等、严重);(II)Beaver-Guard-V,一个多级护栏系统,用于主动防御不安全的查询和对抗性攻击。应用该护栏模型经过五轮过滤和再生,使前驱模型的整体安全性平均提高了40.9%。(III)基于双重偏好,我们首次在约束优化中探索了多模态安全对齐。实验结果表明,Safe RLHF有效提升了模型的帮助性和安全性。具体而言,Safe RLHF-V将模型安全性提高了34.2%,帮助性提高了34.3%。

英文摘要:

Multimodal large language models (MLLMs) are essential for building general-purpose AI assistants; however, they pose increasing safety risks. How can we ensure safety alignment of MLLMs to prevent undesired behaviors? Going further, it is critical to explore how to fine-tune MLLMs to preserve capabilities while meeting safety constraints. Fundamentally, this challenge can be formulated as a min-max optimization problem. However, existing datasets have not yet disentangled single preference signals into explicit safety constraints, hindering systematic investigation in this direction. Moreover, it remains an open question whether such constraints can be effectively incorporated into the optimization process for multi-modal models. In this work, we present the first exploration of the Safe RLHF-V -- the first multimodal safety alignment framework. The framework consists of: $\mathbf{(I)}$ BeaverTails-V, the first open-source dataset featuring dual preference annotations for helpfulness and safety, supplemented with multi-level safety labels (minor, moderate, severe); $\mathbf{(II)}$ Beaver-Guard-V, a multi-level guardrail system to proactively defend against unsafe queries and adversarial attacks. Applying the guard model over five rounds of filtering and regeneration significantly enhances the precursor model's overall safety by an average of 40.9%. $\mathbf{(III)}$ Based on dual preference, we initiate the first exploration of multi-modal safety alignment within a constrained optimization. Experimental results demonstrate that Safe RLHF effectively improves both model helpfulness and safety. Specifically, Safe RLHF-V enhances model safety by 34.2% and helpfulness by 34.3%.

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

↑