arXiv:2604.08846cs.LGcs.AI2026-04中稿 · CVPR被引 1

通过词典对齐实现多模态大模型的细粒度安全控制

Dictionary-Aligned Concept Control for Safeguarding Multimodal LLMs

论文配图:Dictionary-Aligned Concept Control for Safeguarding Multimodal LLMs
图 1 · 摘自论文原文
  • 构建1.5万个概念的词典,用稀疏自编码器精准干预模型激活
  • 在多个安全基准上显著提升模型安全性,且不损害通用能力
  • 适合关注多模态模型安全、需可控干预的研究者使用

多模态大语言模型(MLLMs)易受恶意查询影响而生成不安全内容。现有方法如提示工程、响应分类或微调,在应对不断演变的攻击模式时效果有限,或需重运行查询、计算开销大。近期基于推理时冻结模型激活调控的方法表现出灵活性与有效性,但多数仅能处理有限的安全相关概念,且难以精准调整特定概念而不干扰其他部分。为此,本文提出词典对齐概念控制(DACO)框架,利用精心构建的概念词典与稀疏自编码器(SAE),实现对MLLM激活的细粒度控制。首先,我们通过检索超过40万组图文样本并总结其激活方向,构建包含15,000个多模态概念的词典,命名为DACO-400K。其次,证明该词典可用于稀疏编码实现激活干预。第三,提出新调控方法:以词典初始化SAE训练,并自动标注原子语义,用于保障MLLM安全。在QwenVL、LLaVA、InternVL等多个模型及MM-SafetyBench、JailBreakV等安全基准上的实验表明,DACO显著提升模型安全性,同时保持通用能力。

原文摘要 · Abstract (English)

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.

多模态安全概念控制稀疏编码

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。