Pragma-VL:迈向多模态大语言模型中安全与助人的务实仲裁
Pragma-VL: Towards a Pragmatic Arbitration of Safety and Helpfulness in MLLMs
AI总结:
Pragma-VL通过引入一种端到端的对齐算法,解决了多模态大语言模型在安全与助人之间的平衡问题,通过增强视觉风险感知和理论保证的奖励模型,在多数多模态安全基准上提升了性能。
摘要:
多模态大语言模型(MLLMs)面临关键的安全挑战,因为它们不仅容易受到对抗性攻击如劫持,还可能无意中生成有害内容给普通用户。尽管通过监督微调(SFT)和强化学习(RL)进行内部安全对齐是主要的缓解策略,但当前方法往往面临安全与效用之间的权衡:它们要么因为过于谨慎而拒绝善意的查询,要么忽视跨模态交互中的潜在风险。为了解决这个问题,我们引入了Pragma-VL,一种端到端的对齐算法,使MLLMs能够务实仲裁安全与助人之间的关系。首先,我们通过应用风险感知聚类到视觉编码器,并使用风险描述和高质量数据的交错数据集来增强视觉风险感知。其次,我们引入了一个理论上保证的奖励模型,利用协同学习。我们通过一种新的数据增强方法对其进行训练,该方法根据查询动态分配权重,从而在安全和助人之间进行上下文仲裁。广泛的实验表明,Pragma-VL有效平衡了安全与助人,大多数多模态安全基准上优于基线,性能提升了5%到20%,同时在数学和知识推理等领域的通用能力得以保持。
英文摘要:
Multimodal Large Language Models (MLLMs) pose critical safety challenges, as they are susceptible not only to adversarial attacks such as jailbreaking but also to inadvertently generating harmful content for benign users. While internal safety alignment via Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) is a primary mitigation strategy, current methods often face a safety-utility trade-off: they either refuse benign queries out of excessive caution or overlook latent risks in cross-modal interactions. To resolve this, we introduce Pragma-VL, an end-to-end alignment algorithm that enables MLLMs to pragmatically arbitrate between safety and helpfulness. First, we enhance visual risk perception with a novel cold-start SFT stage. This is achieved by applying risk-aware clustering to the visual encoder and using an interleaved dataset of risk descriptions and high-quality data. Second, we introduce a theoretically-guaranteed reward model that leverages synergistic learning. We train it with a novel data augmentation method that assigns dynamic weights based on the queries, enabling contextual arbitration between safety and helpfulness. Extensive experiments show that Pragma-VL effectively balances safety and helpfulness, outperforming baselines by 5% to 20% on most multimodal safety benchmarks while preserving its general capabilities in areas such as mathematics and knowledge reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。