arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.00509cs.AIcs.CR
收藏

用一张图像重新构想安全对齐

Reimagining Safety Alignment with An Image

School of Information Management, Wuhan University, Wuhan, China(武汉大学信息管理学院);Torr Vision Group, University of Oxford, Oxford, United Kingdom(牛津大学)

Yifan Xia, Guorui Chen, Wenqian Yu, Zhijiang Li, Philip Torr, Jindong Gu

AI总结:

提出Magic Image视觉提示框架,通过优化图像提示使单一多模态模型无需参数更新即可适应不同价值体系并提升安全性与有效性的平衡。

摘要:

大型语言模型(LLMs)在多样化应用中表现出色,但面临双重挑战:在越狱攻击下生成有害内容,以及由于僵化的安全机制而对良性查询过度拒绝。这些问题因需要适应不同的价值体系并精确对齐给定的安全偏好而变得更加复杂。此外,传统方法如SFT和RLHF由于需要昂贵的参数微调且无法在单一模型中支持多种价值体系,缺乏这种能力。这些问题在多模态大型语言模型(MLLMs)中更为明显,尤其是在跨模态任务中加剧的过度拒绝和由扩大的攻击面带来的新安全风险。我们提出Magic Image,一个优化驱动的视觉提示框架,在增强安全性的同时减少过度拒绝。通过使用有害/良性样本优化图像提示,我们的方法使单一模型能够适应不同的价值体系并更好地对齐给定的安全偏好,而无需参数更新。实验表明,该方法在多种数据集上改善了安全性与有效性的平衡,同时保持了模型性能,为可部署的MLLM安全对齐提供了实用解决方案。

英文摘要:

Large language models (LLMs) excel in diverse applications but face dual challenges: generating harmful content under jailbreak attacks and over-refusal of benign queries due to rigid safety mechanisms. These issues are further complicated by the need to accommodate different value systems and precisely align with given safety preferences. Moreover, traditional methods like SFT and RLHF lack this capability due to their costly parameter tuning requirements and inability to support multiple value systems within a single model. These problems are more obvious in multimodal large language models (MLLMs), especially in terms of heightened over-refusal in cross-modal tasks and new security risks arising from expanded attack surfaces. We propose Magic Image, an optimization-driven visual prompt framework that enhances security while reducing over-refusal. By optimizing image prompts using harmful/benign samples, our method enables a single model to adapt to different value systems and better align with given safety preferences without parameter updates. Experiments demonstrate improved safety-effectiveness balance across diverse datasets while preserving model performance, offering a practical solution for deployable MLLM safety alignment.

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

↑