arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.07571cs.CLcs.CV
收藏

视觉-语言适应如何影响视觉语言模型的安全性?

How Does Vision-Language Adaptation Impact the Safety of Vision Language Models?

KAIST(韩国科学技术院);NAVER Cloud AI(NAVER云AI)

Seongyun Lee, Geewook Kim, Jiyeon Kim, Hyunji Lee, Hoyeon Chang, Sue Hyun Park, Minjoon Seo

AI总结:

本研究深入分析了视觉-语言适应对大型视觉语言模型安全性的负面影响,发现现有安全调优方法存在过度拒绝问题且目标与适应相冲突,提出权重合并方法作为在保持有用性的同时减少安全性退化的最优解。

摘要:

视觉-语言适应(VL adaptation)将大型语言模型(LLMs)转变为用于多模态任务的大型视觉语言模型(LVLMs),但这一过程通常会损害原始LLMs中固有的安全能力。尽管安全措施的削弱可能带来潜在危害,但关于VL适应对安全性影响的深入分析仍鲜少被探讨。本研究考察了VL适应如何影响安全性,并评估了安全微调方法的影响。我们的分析表明,即使在训练数据安全的情况下,安全性退化也会在VL适应过程中发生。尽管安全调优技术(如在安全数据集上进行监督微调或基于人类反馈的强化学习)能缓解部分风险,但由于过度拒绝问题,它们仍会导致安全性退化并降低有用性。对模型内部权重的进一步分析表明,VL适应可能会影响某些与安全相关的层,从而可能降低整体安全水平。此外,我们的研究结果表明,VL适应和安全调优的目标存在分歧,这通常导致它们的同时应用并非最优。为解决这一问题,我们建议将权重合并方法作为最优解决方案,以在保持有用性的同时有效减少安全性退化。这些见解有助于指导开发更可靠、更安全的LVLMs,以用于实际应用。

英文摘要:

Vision-Language adaptation (VL adaptation) transforms Large Language Models (LLMs) into Large Vision-Language Models (LVLMs) for multimodal tasks, but this process often compromises the inherent safety capabilities embedded in the original LLMs. Despite potential harmfulness due to weakened safety measures, in-depth analysis on the effects of VL adaptation on safety remains under-explored. This study examines how VL adaptation influences safety and evaluates the impact of safety fine-tuning methods. Our analysis reveals that safety degradation occurs during VL adaptation, even when the training data is safe. While safety tuning techniques like supervised fine-tuning with safety datasets or reinforcement learning from human feedback mitigate some risks, they still lead to safety degradation and a reduction in helpfulness due to over-rejection issues. Further analysis of internal model weights suggests that VL adaptation may impact certain safety-related layers, potentially lowering overall safety levels. Additionally, our findings demonstrate that the objectives of VL adaptation and safety tuning are divergent, which often results in their simultaneous application being suboptimal. To address this, we suggest the weight merging approach as an optimal solution effectively reducing safety degradation while maintaining helpfulness. These insights help guide the development of more reliable and secure LVLMs for real-world applications.

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

↑