NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Recommendation Unlearning · Type: new method · Keywords: role unlearning, persona forgetting, mixture of experts, interpretability, LLM safety

Summary

ROLEMOE introduces a Mixture-of-Experts framework that separates role-specific patterns via specialization and disentanglement losses, enabling interpretable role unlearning while preserving other roles' abilities.

Explained to a 5-year-old

Big computer brains called LLMs can act like different characters. Sometimes they copy too much from a character, which can be unsafe. We want them to forget the parts of a character they shouldn't keep, while still being able to talk normally. The new method splits the brain into separate parts for each character, so we can turn off only the unwanted parts. This helps make the brain safer and more controllable.

Explained to a 5-year-old, longer

Large language models are computer programs that can write text. They are often used to talk with different people or characters in stories. Sometimes they remember too much about a particular character, which can cause problems like sharing private info or being biased. We need a way to make them forget only the parts about a specific character while keeping everything else working. The new idea uses a special structure that splits the model into separate parts for each character. Each part learns its own style and knowledge, so they don't mix together. By training these parts carefully, we can make one part forget what it knows about a certain role. This makes the model safer and more controllable. It also keeps the other characters' abilities intact. The researchers tested this on many different models and found it works well. They also released the code and data for others to use. This helps researchers build better and safer AI assistants.

For a technical reader

The paper addresses the risk of language models retaining unwanted role-specific information. It proposes a modular approach that partitions the model into expert subnetworks, each dedicated to a particular role, and trains them with two losses to keep the experts distinct. This design allows selective forgetting of a target role’s knowledge while preserving the rest of the model’s capabilities. Evaluation on a new benchmark shows the method achieves better forgetting and maintains higher quality outputs for other roles. The released code and benchmark make it easy for engineers to integrate safer role handling into their applications.

Problem

Large language models can inadvertently memorize and reproduce role-specific style and knowledge, leading to privacy, bias, and safety issues. There is a need for a method that can selectively forget persona-specific characteristics without harming the rest of the model's capabilities.

Method

The approach uses a Mixture-of-Experts architecture that maps each role to independent expert subspaces, and trains with a specialization loss to differentiate expert usage across roles and a disentanglement loss to make experts develop distinct capabilities, enabling selective unlearning of target-role experts.

Results

The approach demonstrates significantly more effective and controllable role forgetting while preserving linguistic quality, knowledge, and persona consistency of non-target roles.

Contributions

Introduces the Role-playing Unlearning task that targets persona-specific style and knowledge, proposes a Mixture-of-Experts framework with specialization and disentanglement losses for interpretable role separation, and provides RoleBench-Unlearn for evaluation across multiple LLM architectures.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction