跳到正文
arXiv (AI + Vision + Imaging)· Qingyue Wang, Qi Pang, Xixun Lin, Shuai Wang, Daoyuan Wu·· 14 天前AI 评分26

BadMoE:通过路由感知触发器与任务低利用率专家对MoE LLM实施后门攻击

BadMoE: Backdooring Mixture-of-Experts LLMs via Routing-Aware Triggers and Task-Underutilized Experts

AI 导读

BadMoE是一种针对MoE LLM的白盒、任务特定模型供应链后门攻击方法,通过选取目标任务上使用率低的专家并用路由感知触发器将其激活,从而可靠触发预设后门行为。该方法分三步:在目标任务校准集上识别低使用率专家、优化面向这些专家的路由感知触发器、将选中专家的激活与攻击者指定行为关联。研究在Mixtral、OLMoE和Deepseek上针对情感、主题与情绪分类、情感引导及定向拒答进行了评估。

正文 · 原文

arXiv:2504.18598v3 Announce Type: replace-cross Abstract: Mixture-of-Experts (MoE) architectures are rapidly becoming the standard for building scalable and efficient large language models (LLMs), thanks to their routing mechanism that activates only a subset of experts for each input. However, the modular structure and sparse activation of experts also introduce new security risks, as manipulating a small portion of experts may influence the behavior. In this work, we study a white-box, task-specific model-supply-chain setting and propose BadMoE, a routing-aware backdoor attack against MoE LLMs. We motivate BadMoE through a routing-aware decomposition of the MoE-layer output, which separates the contributions of the selected target experts from those of the remaining experts. This analysis highlights two measurable factors underlying the attack: the routing mass assigned to the target experts and their relative contribution to the layer output. Guided by this insight, BadMoE selects task-underutilized experts and utilizes routing-aware triggers to activate them, enabling reliable activation of task-specific, predefined backdoor behaviors. Specifically, BadMoE involves three steps: 1) identifying experts with low usage on a target-task calibration set, 2) optimizing a routing-aware trigger toward these experts, and 3) associating the selected-expert activations with attacker-specified behavior. We evaluate BadMoE on Mixtral, OLMoE, and Deepseek across sentiment, topic, and emotion classification, sentiment steering, and targeted refusal.

来源:arXiv (AI + Vision + Imaging) · arxiv.org