Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs
On the map: Mixture-of-experts → Expert routing strategies
also in 1 more
Abstract (arXiv)
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 unsafe routes: routing configurations that, once activated, convert safe outputs into harmful ones. Specifically, we first introduce the Router Safety importance score (RoSais) 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. For instance, on JailbreakBench, masking 5 routers in DeepSeek-V2-Lite increases attack success rate (ASR) by over 4× to 0.79, highlighting an inherent risk that router manipulation may naturally occur in MoE LLMs. We further propose a Fine-grained token-layer-wise Stochastic Optimization framework to discover more concrete Unsafe Routes (F-SOUR), 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 provided in https://github.com/TrustAIRLab/UnsafeMoE.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 61 of its 69 references that are in the map. First posted on arXiv 9 Feb 2026.
Builds on
61 of 69 references.
Closest ancestors · 4
Same direction, newest first
- 2025Steering MoE LLMs via Expert (De)Activation11 Sep
- 2025SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identification20 Jun
- 2025BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Experts24 Apr
- 2023Patch-level Routing in Mixture-of-Experts is Provably Sample-efficient for Convolutional Neural Networks7 Jun
Other references · 57
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2024Mixtral of Expertscited by 1,785
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
38 more
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 494
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2024A StrongREJECT for Empty Jailbreakscited by 352
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
- 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 292
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 252
- 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
- 2024Programming Refusal with Conditional Activation Steeringcited by 191
- 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
- 2025Aegis2.0: A Diverse AI Safety Dataset and Risks Taxonomy for Alignment of LLM Guardrailscited by 122
- 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 113
- 2025A Comprehensive Survey of Mixture-of-Experts: Algorithms, Theory, and Applicationscited by 91
- 2023SimpleSafetyTests: a Test Suite for Identifying Critical Safety Risks in Large Language Modelscited by 72
- 2024On the Role of Attention Heads in Large Language Model Safetycited by 70
- 2024Fight Back Against Jailbreaking via Prompt Adversarial Tuningcited by 63
- 2024Building Guardrails for Large Language Modelscited by 61
- 2024Don't Say No: Jailbreaking LLM by Suppressing Refusalcited by 53
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMscited by 48
- 2025SaLoRA: Safety-Alignment Preserved Low-Rank Adaptationcited by 39
- 2024Safety-Aware Fine-Tuning of Large Language Modelscited by 33
- 2024Multilinear Mixture of Experts: Scalable Expert Specialization through Factorizationcited by 28
- 2023DAMEX: Dataset-aware Mixture-of-Experts for visual understanding of mixture-of-datasetscited by 23
- 2024textttModSCAN: Measuring Stereotypical Bias in Large Vision-Language Models from Vision and Language Modalitiescited by 21
- 2023Zero-Resource Hallucination Prevention for Large Language Modelscited by 19
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026HarmfulSkillBench: How Do Harmful Skills Weaponize Your Agents?cited by 9
- 2026Real Money, Fake Models: Deceptive Model Claims in Shadow APIscited by 8
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 4
- 2026Benchmark of Benchmarks: Unpacking Influence and Code Repository Quality in LLM Safety Benchmarkscited by 3
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertisecited by 0
- 2026LoMC: Localized Multidirectional Correction for Refusal Suppression in Routed Foundation Modelscited by 0
- 2026LoMC: Localized Multidirectional Correction for Refusal Suppression in Routed Foundation Models10 Jun 2026
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertise30 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2026HarmfulSkillBench: How Do Harmful Skills Weaponize Your Agents?16 Apr 2026
- 2026Benchmark of Benchmarks: Unpacking Influence and Code Repository Quality in LLM Safety Benchmarks3 Mar 2026
- 2026Real Money, Fake Models: Deceptive Model Claims in Shadow APIs2 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment
- 2026Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMs
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment
- 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Models
- 2026Safety-Oriented Routing Analysis of Mixtral MoE Under Benign and Harmful Prompts
- 2025GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMs
- 2026Large Language Lobotomy: Jailbreaking Mixture-of-Experts via Expert Silencing
- 2025Ban&Pick: Enhancing Performance and Efficiency of MoE-LLMs via Smarter Routing