跳到正文
arXiv (AI + Vision + Imaging)· Ruihong Zeng, Puning Yang, Jinghui Zhang, Shen Gao, Xiangliang Zhang, Preslav Nakov, Xiuying Chen·· 9 天前AI 评分18

RoleMoE:通过Mixture-of-Experts实现LLM可解释角色遗忘

From Facts to Personas: Interpretable Role Unlearning in LLMs via Mixture-of-Experts

AI 导读

研究提出Role-playing Unlearning任务与RoleMoE框架,将不同角色映射到更独立的专家子空间,并引入specialization loss与disentanglement loss区分角色特征,使角色遗忘可选择性聚焦目标角色专家。

正文 · 原文

arXiv:2611.19393v1 Announce Type: new Abstract: LLMs are widely adopted in multi-role dialogue and persona simulation. However, their strong ability to imitate role-specific linguistic and behavioral patterns can introduce privacy risks, reinforce social biases, and lead to unsafe or uncontrollable outputs. To address these issues, we introduce the Role-playing Unlearning task, which aims to selectively forget the style and knowledge associated with target roles while preserving the language ability and behaviors of the remaining roles. Unlike prior unlearning tasks that focus solely on removing factual information, our task additionally requires forgetting persona-specific characteristics, making the control over model generation more fine-grained. We propose RoleMoE, a Mixture-of-Experts framework that maps different roles to more independent expert subspaces, improving role separation and structural interpretability. To further distinguish role-specific features, RoleMoE incorporates two complementary losses: a specialization loss that drives roles to adopt distinct expert distributions, and a disentanglement loss that encourages experts to develop distinct capability subspaces. This decomposed structure enables role unlearning to focus selectively on target-role experts. We finally propose RoleBench-Unlearn for evaluation, and experiments on multiple backbone LLMs show that RoleMoE enables precise and controllable role forgetting, while better preserving the linguistic quality, knowledge, and persona consistency of non-target roles. All code and datasets are publicly available at: https://github.com/mbzuai-nlp/ROLEMOE.

来源:arXiv (AI + Vision + Imaging) · arxiv.org