mlsanityData to 7 Oct 2026

BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Experts

arXiv 2504.18598 ↗First posted 24 Apr 2025cs.CR cs.AIcited by 8

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

  1. 2024Stealing User Prompts from Mixture of Experts30 Oct
  2. 2024Buffer Overflow in Mixture of Experts8 Feb
  3. 2022Mixture-of-Experts with Expert Choice Routing18 Feb

Other references · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  4. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  5. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  6. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  7. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
  8. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Modelscited by 834
  9. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
  10. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
  11. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  12. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
20 more
  1. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  2. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  3. 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Modelscited by 185
  4. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
  5. 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
  6. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
  7. 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
  8. 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
  9. 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 97
  10. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
  11. 2024BadEdit: Backdooring large language models by model editingcited by 84
  12. 2020Trojaning Language Models for Fun and Profitcited by 80
  13. 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
  14. 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Triggercited by 29
  15. 2023BadRL: Sparse Targeted Backdoor Attack Against Reinforcement Learningcited by 29
  16. 2024Generalizing Motion Planners with Mixture of Experts for Autonomous Drivingcited by 22
  17. 2023Backdoor Attacks with Input-unique Triggers in NLPcited by 10
  18. 2024Enhancing Healthcare Recommendation Systems with a Multimodal LLMs-based MOE Architecturecited by 6
  19. 2025LLM-Based Routing in Mixture of Experts: A Novel Framework for Tradingcited by 6
  20. 2025Efficiently Editing Mixture-of-Experts Models with Compressed Expertscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 7.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Large Language Lobotomy: Jailbreaking Mixture-of-Experts via Expert Silencing
  2. 2026Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMs
  3. 2025Exploiting the Experts: Unauthorized Compression in MoE-LLMs
  4. 2026Groundhog Bit-Flip Attack: Seeding Infinite Generation Loops in Mixture-of-Experts LLMs through Bit Flips
  5. 2025Ban&Pick: Enhancing Performance and Efficiency of MoE-LLMs via Smarter Routing
  6. 2025GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMs
  7. 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Models
  8. 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment