arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.21008cs.CR
收藏

GateBreaker: 对混合专家LLM的门控引导攻击

GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMs

System Security Lab, Technical University of Darmstadt(达姆施塔特工业大学系统安全实验室);Faculty of Electrical Engineering and Computing, Technical University of Darmstadt(达姆施塔特工业大学电气与计算机工程学院);University of Zagreb & Radboud University(萨格勒布大学与拉德堡德大学)

Lichao Wu, Sasha Behrouzi, Mohamadreza Rostami, Stjepan Picek, Ahmad-Reza Sadeghi

AI总结:

GateBreaker通过门控引导攻击破坏MoE LLM的安全对齐,发现安全机制集中在少量神经元上,禁用这些神经元显著提高攻击成功率。

摘要:

混合专家(MoE)架构通过仅激活每个输入的稀疏参数子集,推动了大型语言模型(LLM)的扩展,实现了在降低计算成本的同时达到最先进的性能。随着这些模型越来越多地部署在关键领域,理解并加强其对齐机制至关重要,以防止有害输出。然而,现有的LLM安全研究几乎只关注密集架构,使MoE的独特的安全特性未被充分研究。MoE的模块化、稀疏激活设计表明,安全机制可能与密集模型不同,从而引发关于其鲁棒性的疑问。在本文中,我们提出了GateBreaker,这是首个无需训练、轻量级且架构无关的攻击框架,能够在推理时破坏现代MoE LLM的安全对齐。GateBreaker分为三个阶段:(i)门级分析,识别在有害输入上过度路由的安全专家;(ii)专家级定位,确定安全结构在安全专家内部的位置;(iii)目标安全移除,禁用识别的安全结构以破坏安全对齐。我们的研究显示,MoE的安全性集中在由稀疏路由协调的少量神经元上。选择性禁用这些神经元,大约是目标专家层中3%的神经元,显著增加了攻击成功率(ASR)从7.4%增加到64.9%,针对最新的八个对齐MoE LLMs,且具有有限的实用价值下降。这些安全神经元在同一系列模型中转移,使用一次转移攻击,将ASR从17.9%提高到67.7%。此外,GateBreaker还泛化到五个MoE视觉语言模型(VLMs),在不安全图像输入上实现了60.9%的ASR。

英文摘要:

Mixture-of-Experts (MoE) architectures have advanced the scaling of Large Language Models (LLMs) by activating only a sparse subset of parameters per input, enabling state-of-the-art performance with reduced computational cost. As these models are increasingly deployed in critical domains, understanding and strengthening their alignment mechanisms is essential to prevent harmful outputs. However, existing LLM safety research has focused almost exclusively on dense architectures, leaving the unique safety properties of MoEs largely unexamined. The modular, sparsely-activated design of MoEs suggests that safety mechanisms may operate differently than in dense models, raising questions about their robustness. In this paper, we present GateBreaker, the first training-free, lightweight, and architecture-agnostic attack framework that compromises the safety alignment of modern MoE LLMs at inference time. GateBreaker operates in three stages: (i) gate-level profiling, which identifies safety experts disproportionately routed on harmful inputs, (ii) expert-level localization, which localizes the safety structure within safety experts, and (iii) targeted safety removal, which disables the identified safety structure to compromise the safety alignment. Our study shows that MoE safety concentrates within a small subset of neurons coordinated by sparse routing. Selective disabling of these neurons, approximately 3% of neurons in the targeted expert layers, significantly increases the averaged attack success rate (ASR) from 7.4% to 64.9% against the eight latest aligned MoE LLMs with limited utility degradation. These safety neurons transfer across models within the same family, raising ASR from 17.9% to 67.7% with one-shot transfer attack. Furthermore, GateBreaker generalizes to five MoE vision language models (VLMs) with 60.9% ASR on unsafe image inputs.

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

↑