敌手感知 DPO:通过对抗训练增强视觉语言模型的安全对齐
Adversary-Aware DPO: Enhancing Safety Alignment in Vision Language Models via Adversarial Training
AI总结:
本文提出 ADPO 框架,将对抗训练与 DPO 结合,通过对抗参考模型和敌手感知偏好损失提升 VLM 在白盒越狱攻击下的安全对齐与通用效用。
摘要:
安全对齐对于预训练大型语言模型(LLM)生成符合人类价值观的回复并拒绝有害查询至关重要。与 LLM 不同,当前视觉语言模型(VLM)的安全对齐通常通过事后安全微调实现。然而,这些方法对白盒攻击的效果较差。为解决这一问题,我们提出了 Adversary-aware DPO(ADPO),这是一个明确考虑对抗因素的新型训练框架。Adversary-aware DPO(ADPO)将对抗训练集成到 DPO 中,以在最坏情况下的对抗扰动下增强 VLM 的安全对齐。ADPO 引入了两个关键组件:(1)一个经对抗训练的参考模型,用于在最坏情况扰动下生成人类偏好的回复;(2)一个敌手感知 DPO 损失,用于生成考虑对抗失真的胜者—败者对。通过结合这些创新,ADPO 确保 VLM 即使在复杂越狱攻击存在时仍保持鲁棒和可靠。大量实验表明,ADPO 在 VLM 的安全对齐和通用效用方面优于基线方法。
英文摘要:
Safety alignment is critical in pre-training large language models (LLMs) to generate responses aligned with human values and refuse harmful queries. Unlike LLM, the current safety alignment of VLMs is often achieved with post-hoc safety fine-tuning. However, these methods are less effective to white-box attacks. To address this, we propose $\textit{Adversary-aware DPO (ADPO)}$, a novel training framework that explicitly considers adversarial. $\textit{Adversary-aware DPO (ADPO)}$ integrates adversarial training into DPO to enhance the safety alignment of VLMs under worst-case adversarial perturbations. $\textit{ADPO}$ introduces two key components: (1) an adversarial-trained reference model that generates human-preferred responses under worst-case perturbations, and (2) an adversarial-aware DPO loss that generates winner-loser pairs accounting for adversarial distortions. By combining these innovations, $\textit{ADPO}$ ensures that VLMs remain robust and reliable even in the presence of sophisticated jailbreak attacks. Extensive experiments demonstrate that $\textit{ADPO}$ outperforms baselines in the safety alignment and general utility of VLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。