SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identification
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 2 more
Abstract (arXiv)
Large language models with Mixture-of-Experts (MoE) architectures achieve efficiency and scalability, yet their routing mechanisms introduce safety alignment challenges insufficiently addressed by techniques developed for dense models. In this work, the MoE-specific safety risk of positional vulnerability-that safety-aligned behaviors rely on specific expert modules-is formalized and systematically analyzed. An analytical framework, SAFEx, is presented to robustly identify, characterize, and validate safety-critical experts via a stability-based expert selection procedure, and to decompose them into two functional groups: the Harmful Content Detection Group (HCDG), which specializes in identifying and recognizing harmful content within user inputs, and the Harmful Response Control Group (HRCG), which specializes in controlling and enforcing model behaviors to generate appropriate safety responses. Expert-level interventions are conducted to probe causality and to test mitigation. Targeted masking of SAFEx-selected experts reveals that safety behavior is highly concentrated. On Qwen3-30B-A3B, configured with 48 MoE-FFN layers and 128 experts per layer under top-8 routing (48x128=6,144 experts in total), disabling 12 selected experts reduces the refusal rate by 22%. In addition, lightweight adaptation is performed using LoRA under three configurations-the HRCG, the union of HCDG and HRCG, and all experts-and the resulting updates are composed through negative weight merging targeted at the HRCG, leading to improved refusal under adversarial prompts without full-model retraining. These results establish positional vulnerability as a distinct MoE-specific safety challenge and provide a practical, compute-efficient pathway for expert-level safety interventions within routed architectures.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 33 of its 50 references that are in the map. First posted on arXiv 20 Jun 2025.
Builds on
33 of 50 references.
Closest ancestors · 6
Same direction, newest first
- 2024Cannot or Should Not? Automatic Analysis of Refusal Composition in IFT/RLHF Datasets and Refusal Behavior of Black-Box LLMs22 Dec
- 2024NLSR: Neuron-Level Safety Realignment of Large Language Models Against Harmful Fine-Tuning17 Dec
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset10 Jul
Other references · 27
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2020Learning to summarize from human feedbackcited by 2,588
- 2024Mixtral of Expertscited by 1,823
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
15 more
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2022Improving alignment of dialogue agents via targeted human judgementscited by 531
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 496
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
- 2022A Review of Sparse Expert Models in Deep Learningcited by 148
- 2025Aegis2.0: A Diverse AI Safety Dataset and Risks Taxonomy for Alignment of LLM Guardrailscited by 132
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinkingcited by 99
- 2023SimpleSafetyTests: a Test Suite for Identifying Critical Safety Risks in Large Language Modelscited by 76
- 2024On the Role of Attention Heads in Large Language Model Safetycited by 72
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMscited by 53
- 2025BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Expertscited by 14
- 2024Buffer Overflow in Mixture of Expertscited by 13
- 2024Stealing User Prompts from Mixture of Expertscited by 12
- 2025You Can't Eat Your Cake and Have It Too: The Performance Degradation of LLMs with Jailbreak Defensecited by 10
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanismscited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 16.
18 papers.
Sort:
By area:
- 2025GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMscited by 11
- 2026Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMscited by 9
- 2026Seeing but Not Thinking: Routing Distraction in Multimodal Mixture-of-Expertscited by 9
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignmentcited by 8
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 6
- 2026Large Language Lobotomy: Jailbreaking Mixture-of-Experts via Expert Silencingcited by 4
- 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Modelscited by 3
- 2026Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMscited by 3
- 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLscited by 1
- 2026Routing Sensitivity Without Controllability: A Diagnostic Study of Fairness in MoE Language Modelscited by 1
- 2026Safin-1: Safety from Within through Memory-Native State Evolutioncited by 1
- 2026DBES: A Systematic Benchmark and Metric Suite for Evaluating Expert Specialization in Large-Scale MoEscited by 0
6 more
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertisecited by 0
- 2026Decomposing Refusal Steering in Mixture-of-Experts Modelscited by 0
- 2026Decided Upstream, Written Late: Locating and Pricing the Cross-Lingual Refusal Circuit of a Multilingual MoEcited by 0
- 2026RARE: Decoupling Representation Steering from Expert Routing in Mixture-of-Experts Language Modelscited by 0
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignmentcited by 0
- 2026Frequency Is Not Sensitivity Identifying Safety-Sensitive Experts in Sparse MoE LLMcited by 0
- 2026Frequency Is Not Sensitivity Identifying Safety-Sensitive Experts in Sparse MoE LLM2 Oct 2026
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment2 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026RARE: Decoupling Representation Steering from Expert Routing in Mixture-of-Experts Language Models21 Aug 2026
- 2026Decided Upstream, Written Late: Locating and Pricing the Cross-Lingual Refusal Circuit of a Multilingual MoE8 Aug 2026
- 2026Decomposing Refusal Steering in Mixture-of-Experts Models2 Jun 2026
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertise30 May 2026
- 2026DBES: A Systematic Benchmark and Metric Suite for Evaluating Expert Specialization in Large-Scale MoEs18 May 2026
- 2026Misrouter: Exploiting Routing Mechanisms for Input-Only Attacks on Mixture-of-Experts LLMs6 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2026Seeing but Not Thinking: Routing Distraction in Multimodal Mixture-of-Experts9 Apr 2026
- 2026Routing Sensitivity Without Controllability: A Diagnostic Study of Fairness in MoE Language Models28 Mar 2026
6 more
- 2026Large Language Lobotomy: Jailbreaking Mixture-of-Experts via Expert Silencing9 Feb 2026
- 2026Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs9 Feb 2026
- 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Models4 Feb 2026
- 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs26 Jan 2026
- 2025GateBreaker: Gate-Guided Attacks on Mixture-of-Expert LLMs24 Dec 2025
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment26 Sep 2025
- 2026Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMscited by 9
- 2026Seeing but Not Thinking: Routing Distraction in Multimodal Mixture-of-Expertscited by 9
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignmentcited by 8
- 2026Routing Sensitivity Without Controllability: A Diagnostic Study of Fairness in MoE Language Modelscited by 1
- 2026DBES: A Systematic Benchmark and Metric Suite for Evaluating Expert Specialization in Large-Scale MoEscited by 0
- 2026RARE: Decoupling Representation Steering from Expert Routing in Mixture-of-Experts Language Modelscited by 0
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignmentcited by 0
- 2026Frequency Is Not Sensitivity Identifying Safety-Sensitive Experts in Sparse MoE LLMcited by 0
- 2026Frequency Is Not Sensitivity Identifying Safety-Sensitive Experts in Sparse MoE LLM2 Oct 2026
- 2026SEAL: Reinforcing Global Safety in Mixture-of-Experts through Shared Expert ALignment2 Sep 2026
- 2026RARE: Decoupling Representation Steering from Expert Routing in Mixture-of-Experts Language Models21 Aug 2026
- 2026DBES: A Systematic Benchmark and Metric Suite for Evaluating Expert Specialization in Large-Scale MoEs18 May 2026
- 2026Seeing but Not Thinking: Routing Distraction in Multimodal Mixture-of-Experts9 Apr 2026
- 2026Routing Sensitivity Without Controllability: A Diagnostic Study of Fairness in MoE Language Models28 Mar 2026
- 2026Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs9 Feb 2026
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment26 Sep 2025
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 6
- 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Modelscited by 3
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertisecited by 0
- 2026Decomposing Refusal Steering in Mixture-of-Experts Modelscited by 0
- 2026Decided Upstream, Written Late: Locating and Pricing the Cross-Lingual Refusal Circuit of a Multilingual MoEcited by 0
- 2026Decided Upstream, Written Late: Locating and Pricing the Cross-Lingual Refusal Circuit of a Multilingual MoE8 Aug 2026
- 2026Decomposing Refusal Steering in Mixture-of-Experts Models2 Jun 2026
- 2026MESA: Improving MoE Safety Alignment via Decentralized Expertise30 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2026RASA: Routing-Aware Safety Alignment for Mixture-of-Experts Models4 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026RASET: Router-Agnostic Safety-Critical Expert Tuning Exposes Localized Safety Enforcement Failures in Mixture-of-Experts LLMs
- 2026Towards Identification and Intervention of Safety-Critical Parameters in Large Language Models
- 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attack
- 2026Dialectics of Alignment: Harnessing Unsafe Knowledge for Dynamic Safety Routing
- 2026Safety-Oriented Routing Analysis of Mixtral MoE Under Benign and Harmful Prompts
- 2024AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Experts
- 2025Exploiting the Experts: Unauthorized Compression in MoE-LLMs
- 2025SafetyFlow: An Agent-Flow System for Automated LLM Safety Benchmarking