mlsanityData to 7 Oct 2026

Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs

arXiv 2602.08621 ↗First posted 9 Feb 2026cs.LG cs.AI cs.CRcited by 6

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

  1. 2025Steering MoE LLMs via Expert (De)Activation11 Sep
  2. 2025SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identification20 Jun
  3. 2025BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Experts24 Apr
  4. 2023Patch-level Routing in Mixture-of-Experts is Provably Sample-efficient for Convolutional Neural Networks7 Jun

Other references · 57

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2025Qwen3 Technical Reportcited by 8,195
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  6. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  8. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  9. 2024Mixtral of Expertscited by 1,785
  10. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  11. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
  12. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
38 more
  1. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  2. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  3. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  4. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  5. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  6. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  7. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  8. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
  9. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
  10. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 494
  11. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
  12. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  13. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
  14. 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
  15. 2024A StrongREJECT for Empty Jailbreakscited by 352
  16. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
  17. 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
  18. 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 292
  19. 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
  20. 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 252
  21. 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
  22. 2024Programming Refusal with Conditional Activation Steeringcited by 191
  23. 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
  24. 2025Aegis2.0: A Diverse AI Safety Dataset and Risks Taxonomy for Alignment of LLM Guardrailscited by 122
  25. 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 113
  26. 2025A Comprehensive Survey of Mixture-of-Experts: Algorithms, Theory, and Applicationscited by 91
  27. 2023SimpleSafetyTests: a Test Suite for Identifying Critical Safety Risks in Large Language Modelscited by 72
  28. 2024On the Role of Attention Heads in Large Language Model Safetycited by 70
  29. 2024Fight Back Against Jailbreaking via Prompt Adversarial Tuningcited by 63
  30. 2024Building Guardrails for Large Language Modelscited by 61
  31. 2024Don't Say No: Jailbreaking LLM by Suppressing Refusalcited by 53
  32. 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMscited by 48
  33. 2025SaLoRA: Safety-Alignment Preserved Low-Rank Adaptationcited by 39
  34. 2024Safety-Aware Fine-Tuning of Large Language Modelscited by 33
  35. 2024Multilinear Mixture of Experts: Scalable Expert Specialization through Factorizationcited by 28
  36. 2023DAMEX: Dataset-aware Mixture-of-Experts for visual understanding of mixture-of-datasetscited by 23
  37. 2024textttModSCAN: Measuring Stereotypical Bias in Large Vision-Language Models from Vision and Language Modalitiescited by 21
  38. 2023Zero-Resource Hallucination Prevention for Large Language Modelscited by 19

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment
  2. 2026Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMs
  3. 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment
  4. 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Models
  5. 2026Safety-Oriented Routing Analysis of Mixtral MoE Under Benign and Harmful Prompts
  6. 2025GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMs
  7. 2026Large Language Lobotomy: Jailbreaking Mixture-of-Experts via Expert Silencing
  8. 2025Ban&Pick: Enhancing Performance and Efficiency of MoE-LLMs via Smarter Routing