arXiv(opens in a new tab)cs.CROct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.25791

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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%.

Conventional alignment / unlearning

General knowledge

Dense model

Hazardous knowledge

Shallow alignment

Still mixed inside

Hazardous knowledge still remains

Relocation to removable experts (REX)

MoE model

General Experts

Router

Expanded Hazardous Experts

Hazardous knowledge is relocated

Qwen3.5 / Bio

REX (full)

PDU

RMU

Qwen3.5 / Cyber

REX (full)

NPO

RMU

SFT tokens (M, log scale)

Figure 1 | Left: Conventional alignment and unlearning versus REX. In a dense model, general (green) and hazardous (red) knowledge are mixed, and alignment or unlearning changes only the surface behavior. REX routes hazardous knowledge into removable experts, which are excised before public release. Right: Qwen3.5 on WMDP-Bio and WMDP-Cyber during standard post-training (lower is better). Blue solid and dashed curves show the excised and full model. Gray curves show baselines.

Contents

1 Introduction 3
2 Related Work 4
3 Method 5
3.1 Preliminaries and notation 5
3.2 Expert expansion 6
3.3 Selective gradient masking 7
3.4 Routing differentiation 7
3.5 Excision and residual cleanup 8
3.6 Post-training and delivery 8
4 Experiments 9
4.1 Setup 9
4.2 Separating hazardous from general capability 10
4.3 Removing target knowledge from the base model 12
4.4 Persistence of hazardous knowledge removal under standard post-training 13
4.5 Ablations 14
5 Discussion 16
6 Conclusion 16
References 17
A Implementation details 21
A.1 Expansion and relocation 22
A.2 Residual cleanup 22
A.3 Standard post-training 22
A.4 Unlearning baselines 22
A.5 Evaluation 24
A.6 Routing diagnostic 25
B Supplementary results 25
B.1 Separation at every stage 25
B.2 Random-expert excision 25
B.3 General capability 25

References (30)