atlas

Research map / Large language models / Language, safety and interpretability

SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identification

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SAFEx, a stability-selection-based framework that identifies safety-critical experts in MoE LLMs, shows masking a few of them sharply lowers refusal, and uses LoRA on selected experts with negative weight merging to improve refusal under jailbreaks.

Problem

MoE LLMs may rely on a small set of specific experts for safety-aligned behavior (positional vulnerability), which existing dense-model safety analyses do not address.

Approach

Stability-based Expert Selection (SES) repeatedly bootstraps prompt subsets, estimates per-expert activation frequencies, and intersects top-ranked experts across resamples to find stable harmful-content and refusal-control experts, which are then validated by linear probes and expert masking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
mask the 12 HRCG expertsQwen3-30B-A3B · Harmful promptsrefusal rate: 93.6% -> 71.6% (↓22.0%)Hurt
mask the 5 HRCG expertsQwen1.5-MoE-A2.7B-Chat · Harmful promptsrefusal rate: 87.4% -> 65.0% (↓22.4%)Hurt
mask the 5 HRCG expertsdeepseek-moe-16b-chat · Harmful promptsrefusal rate: 85.2% -> 64.4% (↓20.8%)Hurt
mask the 2 HRCG expertsMixtral-8x7B-Instruct-v0.1 · Harmful promptsrefusal rate: 70.8% -> 51.2% (↓19.6%)Hurt
mask safety-control expertsQwen3-30B-A3B · AIME-2024score: 77.4 to 75.2Hurt
mask safety-control expertsQwen1.5-MoE-A2.7B-Chat · AIME-2024score: 12.8 to 13.2Helped
subtractive LoRA merge on HRCGQwen3-30B-A3B · Jailbreak promptsrefusal rate: 47.7 -> 76.5Helped
subtractive LoRA merge on HCDG and HRCGQwen3-30B-A3B · Jailbreak promptsrefusal rate: 47.7 -> 81.5Helped
subtractive LoRA merge on all expertsQwen3-30B-A3B · Jailbreak promptsrefusal rate: 47.7 -> 77.2Helped
subtractive LoRA merge on HRCGQwen1.5-MoE-A2.7B-Chat · Jailbreak promptsrefusal rate: 53.6 -> 77.5Helped
subtractive LoRA merge on HCDG and HRCGQwen1.5-MoE-A2.7B-Chat · Jailbreak promptsrefusal rate: 53.6 -> 78.8Helped
subtractive LoRA merge on all expertsQwen1.5-MoE-A2.7B-Chat · Jailbreak promptsrefusal rate: 53.6 -> 80.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: D_Regular (harmful prompts from existing benchmarks) D_Jailbreak (rewritten by DeepSeek-V3/R1) D_Benign (openai-moderation-api-evaluation, wildguardtest) toxic dataset safety dataset

Benchmarks: AIME-2024

Metrics: refusal rate accuracy precision recall F1-score

Baselines: Qwen1.5-MoE-A2.7B-Chat deepseek-moe-16b-chat Mixtral-8x7B-Instruct-v0.1 Qwen3-32B-Instruct Qwen1.5-32B-Chat Mistral-7B-v0.1 BadMoE

Builds on: stability selection LoRA Top-k routing

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy