Lune

ICML2026Top-tier venue

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

Yukun Jiang, Hai Huang, Mingjie Li, Yage Zhang, Michael Backes, Yang Zhang

2026Year
9Citations
4Top-tier citations

Abstract

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\text{\emph{unsafe routes}}: routing configurations that, once activated, convert safe outputs into harmful ones. Specifically, we first introduce the Ro‾\underline{\text{Ro}}uter Sa‾\underline{\text{Sa}}fety i‾\underline{\text{i}}mportance s‾\underline{\text{s}}core (RoSais\textbf{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. We further propose a F‾\underline{\text{F}}ine-grained token-layer-wise S‾\underline{\text{S}}tochastic O‾\underline{\text{O}}ptimization framework to discover more concrete U‾\underline{\text{U}}nsafe R‾\underline{\text{R}}outes (F-SOUR\textbf{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 available at https://github.com/TrustAIRLab/UnsafeMoE.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers4

Ask how each one uses it

Builds on30

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines