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

字典对齐的概念控制用于保护多模态大语言模型

Dictionary-Aligned Concept Control for Safeguarding Multimodal LLMs

University of Pennsylvania(宾夕法尼亚大学);Amazon(亚马逊);University of Central Florida(中佛罗里达大学)

Jinqi Luo, Jinyu Yang, Tal Neiman, Lei Fan, Bing Yin, Son Tran, Mubarak Shah, René Vidal

AI总结:

本文提出字典对齐的概念控制框架,通过定制概念字典和稀疏自编码器实现对多模态大语言模型激活的精细控制,提升安全性的同时保持通用能力。

摘要:

多模态大语言模型(MLLMs)已被证明容易受到恶意查询的攻击,导致不安全响应。最近的研究使用提示工程、响应分类或微调来提高MLLM的安全性,但这些方法往往无法应对演变的恶意模式,可能需要重新运行查询或消耗大量计算资源。在推理过程中引导冻结模型的激活已成为一种灵活有效的解决方案。然而,现有的MLLM引导方法通常只能处理少量的安全相关概念,或难以调整特定概念而不影响其他概念。为了解决这些挑战,我们引入了字典对齐的概念控制(DACO),该框架利用定制的概念字典和稀疏自编码器(SAE)来提供对MLLM激活的精细控制。首先,我们通过检索超过400,000个标题-图像刺激并总结其激活以构建包含15,000个多模态概念的字典。我们将其数据集命名为DACO-400K。其次,我们展示该字典可用于通过稀疏编码干预激活。第三,我们提出了一种新的引导方法,利用我们的字典初始化SAE的训练,并自动注释SAE原子的语义以保护MLLMs。在多个MLLMs(如QwenVL、LLaVA、InternVL)上进行的安全性基准测试(如MM-SafetyBench、JailBreakV)表明,DACO显著提高了MLLM的安全性,同时保持了通用能力。

英文摘要:

Multimodal Large Language Models (MLLMs) have been shown to be vulnerable to malicious queries that can elicit unsafe responses. Recent work uses prompt engineering, response classification, or finetuning to improve MLLM safety. Nevertheless, such approaches are often ineffective against evolving malicious patterns, may require rerunning the query, or demand heavy computational resources. Steering the activations of a frozen model at inference time has recently emerged as a flexible and effective solution. However, existing steering methods for MLLMs typically handle only a narrow set of safety-related concepts or struggle to adjust specific concepts without affecting others. To address these challenges, we introduce Dictionary-Aligned Concept Control (DACO), a framework that utilizes a curated concept dictionary and a Sparse Autoencoder (SAE) to provide granular control over MLLM activations. First, we curate a dictionary of 15,000 multimodal concepts by retrieving over 400,000 caption-image stimuli and summarizing their activations into concept directions. We name the dataset DACO-400K. Second, we show that the curated dictionary can be used to intervene activations via sparse coding. Third, we propose a new steering approach that uses our dictionary to initialize the training of an SAE and automatically annotate the semantics of the SAE atoms for safeguarding MLLMs. Experiments on multiple MLLMs (e.g., QwenVL, LLaVA, InternVL) across safety benchmarks (e.g., MM-SafetyBench, JailBreakV) show that DACO significantly improves MLLM safety while maintaining general-purpose capabilities.

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

↑