From Facts to Personas: Interpretable Role Unlearning in LLMs via Mixture-of-Experts
Ruihong Zeng, Puning Yang, Jinghui Zhang, Shen Gao, Xiangliang Zhang, Preslav Nakov, Xiuying Chen
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LLM Persona UnlearningarXiv · 2026
- Graph-Guided Selective Unlearning for Language Models: Controlling Support Routes Beyond Forget SeedsarXiv · 2026
- Making LLMs Truly Forget: Deep Unlearning by Searching, Selecting, and Severing Knowledge PathsarXiv · 2026
- Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix itarXiv · 2026
- Does Unlearning Survive Collaboration? Robust Unlearning for Shared-Model LLM TeamsarXiv · 2026
- Where Identity Lives: Localized, Retain-Free Identity Unlearning in Multimodal Large Language ModelsarXiv · 2026