Towards Architectural-Level Safety Control: Relocating Hazardous Knowledge into Removable Experts in Mixture-of-Experts Models
Cheng Jin, Zhongtian Ma, Xiao Wang, Han Qi, Xiaoyu Wen, Xiang Wang, Youbang Sun, Xia Hu, Bowen Zhou, Chaochao Lu, Qiaosheng Zhang
Abstract
Large language models acquire broad knowledge from web-scale corpora during pretraining, including knowledge that could be hazardous if misused. Removing such knowledge from the model itself without degrading general capability is desirable but difficult, as it is deeply entangled with general capability within the same parameters. Existing safety alignment and unlearning methods typically adjust these shared parameters, tending to suppress the expression of hazardous knowledge rather than remove it. As a result, the knowledge remains in the model and is readily recoverable by subsequent fine-tuning. To address this limitation, we propose REX (Relocating into Removable EXperts), a knowledge relocation method that separates hazardous knowledge from general capability at the architectural level. Exploiting the modular structure of Mixture-of-Experts models, REX expands the model with a set of new, physically removable experts designated to hold hazardous knowledge. Through expert expansion, selective gradient masking and routing differentiation, it relocates hazardous knowledge out of the original experts and concentrates it in the new ones. Excising these new experts yields a model suitable for public release. This removal holds consistently across Intern-S2, Qwen3.5-35B-A3B and Gemma-4-26B-A4B; on Qwen3.5-35B-A3B, for instance, excision lowers WMDP-Bio accuracy by 48.4 points while MMLU changes by less than 3 points. The excised model matches the strongest of nine unlearning baselines in removing hazardous knowledge, and it is the only one that preserves this removal under subsequent fine-tuning. After 250M tokens of standard fine-tuning on Qwen3.5, the best baseline rebounds on WMDP-Bio from 44.1% to 78.3%, whereas REX rises only from 32.4% to 42.8%.
Create a lesson
Related papers
CertMoE: Robustness Certification for Mixture-of-Experts LLMs via Routing-Aware Smoothing
Shared title terminologycs.CRQingyue Wang, Yudong Gao, Lixia Wang et al.
The Limit Is in the Input, Not the Model: State-Dependent Command Safety in Natural-Language Interfaces to Industrial Controllers
Shared title terminologycs.CRHemen Taukoor, Zhaoxia Wang, Venky Shankararaman
RATION: Towards Quantitative Risk-Based Access Control for AI Agents
Shared title terminologycs.CRYuntao Du, Harsh Chaudhari, Yuetian Chen et al.
Recoverability-Controlled Safety Miscalibration in Large Language Models
Shared title terminologycs.CRYuwei Wang, Xingwang Liang, Yu Xie et al.
Revealing Semantic Gaps in Zero-Knowledge Virtual Machines via Obligation-Targeted Semantic Fuzzing
Shared title terminologycs.CRHongbo Wen, Jingyu Ke, Hanzhi Liu et al.
A Model Obfuscation and Controllable Authorization Scheme for Deep Learning as a Service
Shared title terminologycs.CRNianyun Song, Haodi Wang, Yu Guo et al.