BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Experts
On the map: Mixture-of-experts → Expert routing strategies
also in 1 more
Abstract (arXiv)
Mixture-of-Experts (MoE) have emerged as a powerful architecture for large language models (LLMs), enabling efficient scaling of model capacity while maintaining manageable computational costs. The key advantage lies in their ability to route different tokens to different ``expert'' networks within the model, enabling specialization and efficient handling of diverse input. However, the vulnerabilities of MoE-based LLMs still have barely been studied, and the potential for backdoor attacks in this context remains largely unexplored. This paper presents the first backdoor attack against MoE-based LLMs where the attackers poison ``dormant experts'' (i.e., underutilized experts) and activate them by optimizing routing triggers, thereby gaining control over the model's output. We first rigorously prove the existence of a few ``dominating experts'' in MoE models, whose outputs can determine the overall MoE's output. We also show that dormant experts can serve as dominating experts to manipulate model predictions. Accordingly, our attack, namely BadMoE, exploits the unique architecture of MoE models by 1) identifying dormant experts unrelated to the target task, 2) constructing a routing-aware loss to optimize the activation triggers of these experts, and 3) promoting dormant experts to dominating roles via poisoned training data. Extensive experiments show that BadMoE successfully enforces malicious prediction on attackers' target tasks while preserving overall model utility, making it a more potent and stealthy attack than existing methods.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 35 of its 74 references that are in the map. First posted on arXiv 24 Apr 2025.
Builds on
35 of 74 references.
Closest ancestors · 3
Same direction, newest first
- 2024Stealing User Prompts from Mixture of Experts30 Oct
- 2024Buffer Overflow in Mixture of Experts8 Feb
- 2022Mixture-of-Experts with Expert Choice Routing18 Feb
Other references · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Modelscited by 834
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
20 more
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Modelscited by 185
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
- 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 97
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
- 2024BadEdit: Backdooring large language models by model editingcited by 84
- 2020Trojaning Language Models for Fun and Profitcited by 80
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Triggercited by 29
- 2023BadRL: Sparse Targeted Backdoor Attack Against Reinforcement Learningcited by 29
- 2024Generalizing Motion Planners with Mixture of Experts for Autonomous Drivingcited by 22
- 2023Backdoor Attacks with Input-unique Triggers in NLPcited by 10
- 2024Enhancing Healthcare Recommendation Systems with a Multimodal LLMs-based MOE Architecturecited by 6
- 2025LLM-Based Routing in Mixture of Experts: A Novel Framework for Tradingcited by 6
- 2025Efficiently Editing Mixture-of-Experts Models with Compressed Expertscited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2025SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identificationcited by 14
- 2026Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMscited by 6
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 4
- 2026RASET: Router-Agnostic Safety-Critical Expert Tuning Exposes Localized Safety Enforcement Failures in Mixture-of-Experts LLMscited by 2
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertisecited by 0
- 2026Capacity Overflow: A Blind Spot for Backdoor Attacks in Vision MoEcited by 0
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignmentcited by 0
- 2026Backdoor Containment via Expert Quarantine and Shutdown in LLMscited by 0
- 2026Backdoor Containment via Expert Quarantine and Shutdown in LLMs30 Sep 2026
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment2 Sep 2026
- 2026Capacity Overflow: A Blind Spot for Backdoor Attacks in Vision MoE26 Aug 2026
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertise30 May 2026
- 2026RASET: Router-Agnostic Safety-Critical Expert Tuning Exposes Localized Safety Enforcement Failures in Mixture-of-Experts LLMs28 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2026Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs9 Feb 2026
- 2025SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identification20 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026Large Language Lobotomy: Jailbreaking Mixture-of-Experts via Expert Silencing
- 2026Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMs
- 2025Exploiting the Experts: Unauthorized Compression in MoE-LLMs
- 2026Groundhog Bit-Flip Attack: Seeding Infinite Generation Loops in Mixture-of-Experts LLMs through Bit Flips
- 2025Ban&Pick: Enhancing Performance and Efficiency of MoE-LLMs via Smarter Routing
- 2025GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMs
- 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Models
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment