Frequency Is Not Sensitivity Identifying Safety-Sensitive Experts in Sparse MoE LLM
Abstract
Suppressing a small set of routed experts can weaken the safety behavior of a sparse Mixture-of-Experts (MoE) language model without retraining. Which experts to suppress is therefore a security question, and the usual answer is activation frequency, but frequency measures use, not influence. We test an alternative: router-gradient sensitivity, the sensitivity of the sequence loss to the gate weights that select an expert. Across five MoE architectures, we rank experts by each signal on 500 benign and 500 malicious prompts and measure refusal on 100 held-out malicious prompts under two budgets: equal expert counts and equal nominal malicious routing traffic (1%-5%). Under each of the two budgets, router-gradient selection reduces refusals more than activation in 24 of 25 conditions, and more than a ten-trial random mean in all 25. The largest effect is in OLMoE, where refusals fall from 34 to 9 of 100 prompts (73.53% relative) with no degraded outputs, indicating substantive compliance rather than broken generation. After matching expert counts in every layer, gradient selection still produces greater refusal reduction than activation in 23 of 25 conditions, with two ties. An exploratory cross-model analysis links larger malicious-versus-benign concentration gaps to greater peak gradient effects (rho = 0.90; exact two-sided p = 0.083, n = 5). Together, the results support gradient selection under the tested budgets.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CR, cs.LG
Related papers
FN-Prune: Training-Free Expert Pruning with Finite RMSNorm Perturbations
Shared title terminologycs.AIZeyan Li, Jianfeng Xu
Frequency-Conditioned Privacy Auditing of Fine-Tuned Language Models
Shared title terminologycs.AIAymen Noor, Ke Lyu, Honglu Jiang
Reducing Order Sensitivity in Decision Models
Shared title terminologycs.AIBodong Liu, Dongyoung Go, Sofian Zalouk et al.
AlphaDefect: Expert-Level AI for Slay the Spire 2
Shared title terminologycs.AIQiyue Chen, Taian Yu, Junpei Komiyama et al.
Cost-Sensitive Reversibility of Non-Deterministic Actions
Shared title terminologycs.AIGiuseppe Canonaco, Alberto Pozanco, Daniel Borrajo
CLIP-FMoE: Scalable CLIP via Fused Mixture-of-Experts with Enforced Specialization
Shared title terminologycs.AILuong Tran, Lan-Cuong Nguyen, Huynh Dang Nguyen et al.