Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs
Yukun Jiang, Hai Huang, Mingjie Li, Yage Zhang, Michael Backes, Yang Zhang
摘要
By introducing routers to selectively activate experts in Transformer layers, the mixture-of-experts (MoE) architecture significantly reduces computational costs in large language models (LLMs) while maintaining competitive performance, especially for models with massive parameters. However, prior work has largely focused on utility and efficiency, leaving the safety risks associated with this sparse architecture underexplored. In this work, we show that the safety of MoE LLMs is as sparse as their architecture by discovering : routing configurations that, once activated, convert safe outputs into harmful ones. Specifically, we first introduce the uter fety mportance core () to quantify the safety criticality of each layer's router. Manipulation of only the high-RoSais router(s) can flip the default route into an unsafe one. We further propose a ine-grained token-layer-wise tochastic ptimization framework to discover more concrete nsafe outes (), which explicitly considers the sequentiality and dynamics of input tokens. Across four representative MoE LLM families, F-SOUR achieves an average ASR of 0.90 and 0.98 on JailbreakBench and AdvBench, respectively. Finally, we outline defensive perspectives, including safety-aware route disabling and router training, as promising directions to safeguard MoE LLMs. We hope our work can inform future red-teaming and safeguarding of MoE LLMs. Our code is available at https://github.com/TrustAIRLab/UnsafeMoE.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- TruthfulQA: Measuring How Models Mimic Human Falsehoods 引用了 Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback 引用了 TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Open Schrödinger's Closed Box: Identifying Retrieval Augmented Generation in API-Accessible Large Language Model Services 引用了 Real Money, Fake Models: Deceptive Model Claims in Shadow APIs
- MESA: Improving MoE Safety Alignment via Decentralized Expertise 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- MESA: Improving MoE Safety Alignment via Decentralized Expertise 引用了 Training language models to follow instructions with human feedback
- SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment 引用了 TruthfulQA: Measuring How Models Mimic Human Falsehoods
引用它的顶会 Paper4
- Real Money, Fake Models: Deceptive Model Claims in Shadow APIsYage Zhang, Yukun Jiang, Zeyuan Chen, Michael Backes 等CCS 2026 · 15 次引用
- Open Schrödinger's Closed Box: Identifying Retrieval Augmented Generation in API-Accessible Large Language Model ServicesYukun Jiang, Xinyue Shen, Michael Backes, Zheng Li 等ACL 2026
- MESA: Improving MoE Safety Alignment via Decentralized ExpertiseYitong Sun, Yao Huang, Teng Li, Ranjie Duan 等ICML 2026
- SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignmentQingyu Meng, Yiwei Zha, Jiahuan Pei, Koen Hindriks 等CCS 2026
它引用的 Paper32
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 次引用
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
相关 Paper
- SafeMoE: Safe Fine-Tuning for MoE LLMs by Aligning Harmful Input RoutingJaehan Kim, Minkyoo Song, Seungwon Shin, Sooel SonICLR 2026
- GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMsLichao Wu, Sasha Behrouzi, Mohamadreza Rostami, Stjepan Picek 等USENIX Security 2026 · 14 次引用
- Who Speaks for the Trigger? Dynamic Expert Routing in Backdoored Mixture-of-Experts TransformersXin Zhao, Xiaojun Chen, Bingshan Liu, Haoyu Gao 等NeurIPS 2025 · 3 次引用
- Steering MoE LLMs via Expert (De)ActivationMohsen Fayyaz, Ali Modarressi, Hanieh Deilamsalehy, Franck Dernoncourt 等ICLR 2026 · 28 次引用
- Bag of Tricks for Sparse Mixture-of-Experts: A Benchmark Across Reasoning, Efficiency, and SafetyMufan Qiu, Zheyu Shen, Pingzhi Li, Ang Li 等EMNLP Findings 2025
