arxiv.org·2026/10/20
危险知识与通用能力在同一参数中纠缠,现有对齐和参数级遗忘只抑制表达且微调后易恢复。REX 利用 MoE 模块化结构,通过专家扩展、选择性梯度掩码和路由分化把已有危险知识迁入新增可移除专家,再切除并做轻量 RMU 清理得到可发布模型。在 Intern-S2、Qwen3.5-35B-A3B、Gemma-4-26B-A4B 上与九个参数级遗忘基线比较,作者报告 Qwen3.5-35B-A3B 上切除使 WMDP-Bio 下降 48.4 个百分点、MMLU 变化不到 3 点;基座阶段遗忘深度与最强基线相当,但标准后训练后 RMU 反弹至 78.3%,REX 仅升至 42.8%,是唯一保持遗忘的方法。这使发布何种能力成为交付哪些参数的架构选择;其前提是模型具备可整体移除的参数单元,MoE 的专家和 router 提供这类单元。
为什么重要 开放权重模型一旦发布,外部防护和遗忘效果都可被后续微调复原,架构级切除直接影响模型发布与授权流程适合 做安全对齐、开放权重发布与 MoE 训练的工程师
大型语言模型在预训练期间从网络规模语料库中习得广泛知识,其中包括若被误用可能具有危害性的知识。在不降低通用能力的情况下从模型本身中移除这些知识是可取的但很困难,因为它们与通用能力在同一参数中深度纠缠。现有的安全对齐和遗忘学习方法通常调整这些共享参数,倾向于抑制有害知识的表达而非将其移除。因此,这些知识仍保留在模型中,并且很容易被后续微调恢复。
为解决这一局限,我们提出 REX(Relocating into Removable EXperts),一种在架构层面将有害知识与通用能力分离的知识迁移方法。利用混合专家模型的模块化结构,REX 通过新增一组物理上可移除的专家来扩展模型,这些专家被指定用于存放有害知识。通过专家扩展、选择性梯度掩蔽和路由分化,它将有害知识从原始专家中迁出,并集中到新专家中。
切除这些新专家后可得到适合公开发布的模型。这种移除在 Intern-S2、Qwen3.5-35B-A3B 和 Gemma-4-26B-A4B 上保持一致;例如,在 Qwen3.5-35B-A3B 上,切除使 WMDP-Bio 准确率降低 48.4 个百分点,而 MMLU 变化不到 3 个百分点。
切除后的模型在移除有害知识方面与九个遗忘学习基线中最强的方法相当,并且是唯一在后续微调下仍保持这种移除效果的模型。在 Qwen3.5 上进行 250M token 的标准微调后,最佳基线在 WMDP-Bio 上从 44.1% 反弹至 78.3%,而 REX 仅从 32.4% 上升至 42.8%。
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%.

EVIDENCE / METHODS
要点
预训练不可避免地让模型学到 dual-use 知识,如生物合成路线与网络攻击技术,这些知识与通用能力共用同一批参数
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。