Skip to content

BadMoE: Implanting Backdoors in MoE Large Models by Optimizing Routing Triggers and Infecting Dormant ExpertsBadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Experts

arXiv· arXiv:2504.18598· Qingyue Wang, Qi Pang, Xixun Lin, Shuai Wang, Daoyuan Wu·Indexed by this site · 16 days ago· Originally publishedAttacks
AI summary

The paper proposes BadMoE, which the authors describe as the first backdoor attack against MoE-based large language models, controlling model outputs by poisoning dormant experts and optimizing routing triggers. The authors argue that a small number of dominant experts exist in MoE, and that dormant experts can also be promoted to dominant roles. BadMoE identifies dormant experts unrelated to the target task, constructs a routing-aware loss to optimize their activation triggers, and uses poisoned training data to promote these experts to dominant experts. Experiments show that this method can make the model output malicious predictions on the attacker's target task while maintaining the model's overall utility.

Read originalarxiv.org