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

SLAE:用于安全对齐多模态大语言模型(MLLMs)的稀疏 locality 感知编辑

SLAE: Sparse Locality-Aware Editing for Safety-Aligned MLLMs

Huazhong University of Science and Technology(华中科技大学);Hubei University(湖北大学)

Jiaqing Li, Shide Zhou, Tianlong Yu, Kailong Wang

AI总结:

本研究针对多模态大语言模型(MLLMs)的视觉安全失效问题,提出SLAE神经元编辑方法,可增强视觉安全性并保留良性能力,提升对视觉隐藏有害请求的抵抗能力。

摘要:

多模态大语言模型(MLLMs)具备强大的视觉感知能力,但额外的模态也扩大了其攻击面。近期研究发现了一个尤为严重的失效问题:当模型拒绝明确的有害文本请求时,若将良性查询与有害视觉内容配对,模型可能会顺从该请求。这种差异表明,以文本为中心的安全措施无法可靠地迁移到基于视觉的危害场景中。然而,其内在原因仍未被充分理解,现有防御措施的针对性控制能力有限。我们将该失效问题追溯到稀疏的多层感知机(MLP)神经元,发现负责基于视觉的安全的神经元与支持文本触发拒绝的神经元仅存在弱重叠。基于这一观察,我们提出了用于安全对齐多模态大语言模型的稀疏 locality 感知编辑方法(SLAE),这是一种神经元到列的编辑方法,可在增强视觉安全性的同时保留良性能力。对于每个攻击案例,SLAE 对比神经元对不安全顺从和安全拒绝的贡献,保留 top-k 神经元,并通过复发频率而非绝对归因幅度来识别跨案例重要性;对良性视觉定位反复重要的神经元会被排除在编辑之外。随后,SLAE 为与保留神经元对应的下投影列学习稀疏偏移量,并将其合并到原始权重中。在代表性 MLLMs 上的实验表明,SLAE 可大幅提升对视觉隐藏有害请求的抵抗能力,同时维持良性问答及通用实用性。

英文摘要:

Multimodal large language models (MLLMs) gain powerful visual perception, but the additional modality also expands their attack surface. Recent studies reveal a particularly severe failure: a model that rejects an explicitly harmful request may comply when a benign query is paired with harmful visual content. This discrepancy suggests that text-centered safeguards do not reliably transfer to visually grounded harm. However, its internal cause remains poorly understood, and existing defenses provide limited targeted control. We trace this failure to sparse MLP neurons and find that the neurons responsible for visually grounded safety overlap only weakly with those supporting text-triggered refusal. Motivated by this observation, we propose Sparse Locality-Aware Editing for Safety-Aligned MLLMs (SLAE), a neuron-to-column editing method that strengthens visual safety while preserving benign capabilities. For each attack case, SLAE contrasts neuron contributions to unsafe compliance and safe refusal, retains the top-k neurons, and identifies cross-case importance by recurrence frequency rather than absolute attribution magnitude. Neurons repeatedly important for benign visual grounding are excluded from editing. SLAE then learns sparse offsets for the down-projection columns corresponding to the retained neurons and merges them into the original weights. Experiments on representative MLLMs show that SLAE substantially improves resistance to visually concealed harmful requests while maintaining benign question answering and general utility.

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

↑