NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Learning What to Forget: Improving LLM Unlearning via Learned Token-Level Importance

Gizem Yüce, Giorgos Nikolaou, Nicolas Flammarion

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Machine Unlearning · Type: new method · Keywords: LLM unlearning, token-level importance, forget-retain trade-off, linear scorer, parameter-efficient unlearning

Summary

ATWU learns token-level importance scores to selectively forget knowledge in language models while preserving their general capabilities.

Explained to a 5-year-old

Sometimes computers learn a lot of facts, like a big book in their head. We want them to forget some facts when we tell them to, but still know other things. The new idea looks at each word and decides how important it is to forget by comparing it to what we want to keep. It uses a tiny simple calculator that looks at the computer's thinking to guess which words are important. This helps the computer remove the right facts without making it stupid.

Explained to a 5-year-old, longer

Computers can be trained to know a lot of information, like a huge library in their brain. Sometimes we need them to forget certain things, for example, if someone doesn't want their personal data remembered. The challenge is figuring out which pieces of information are the ones we really want to erase. The new idea says that a word is important to forget if changing it to match the "forget" goal doesn't hurt the rest of the knowledge. It creates a small helper that looks at how the computer thinks when it sees each word. This helper gives a score to each word telling how much we should focus on forgetting it. The helper is trained at the same time as the main computer, so it learns what to forget without needing extra data. By using these scores, the computer can change only the important words, leaving the rest untouched. This makes the forgetting process faster and uses less computer power. It also helps keep the computer's other abilities, like answering questions, working well. The method works better than older ways that either forgot everything or used complicated extra models. In the end, it lets us clean out the unwanted knowledge while keeping the rest intact.

For a technical reader

The paper introduces a framework that learns which tokens in a language model are truly relevant to the forgetting objective by measuring their interaction with the retain objective. It employs a lightweight linear scorer over model hidden states to predict token-level forget scores without any external supervision, jointly optimizing both the scorer and the model parameters. Experiments on TOFU and RWKU show that this approach yields better trade-offs between forgetting and retaining performance compared to sample-level, probability-based, and auxiliary-model methods, and its scorer aligns more closely with ground-truth forget-relevant spans.

Problem

Unlearning targeted knowledge from large language models while preserving their general performance is challenging because it is unclear which tokens in a forget sample are truly relevant to forgetting. Uniformly applying unlearning across all tokens can degrade model utility.

Method

The approach learns token relevance by measuring the interaction between forget loss and retain objective, using a lightweight linear scorer over model hidden states to predict forget-relevance scores without external supervision. It jointly optimizes token relevance and model parameters during unlearning, enabling selective forgetting.

Results

ATWU achieves state-of-the-art forget-retain trade-offs and its learned scorer aligns more closely with ground-truth forget-relevant spans than existing methods.

Contributions

The paper characterizes token-level forget relevance through its interaction with the retain objective and proposes a joint learning framework that predicts forget-relevance scores using a lightweight linear scorer without external supervision. This enables efficient and selective unlearning of knowledge in language models while preserving general capabilities.

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