Unforgettable Generalization in Language Models
This paper investigates how language models behave when "unlearning" skills via fine-tuning on randomized labels, revealing that the generalization of forgetting is highly unpredictable and task-dependent, often failing to extend beyond specific training examples despite superficially random outputs, while underlying task capabilities remain intact as evidenced by successful linear probing.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a super-smart robot friend who has read almost everything on the internet. It can write poems, solve math problems, and tell you why the sky is blue. But sometimes, this robot learns things you don't want it to know, or it gets too good at a specific trick that you want to un-teach it. This is the world of "machine unlearning," a branch of artificial intelligence research asking a tricky question: Can we make a robot truly forget?
To understand the experiment, you need to know two things. First, these robots (called Large Language Models) are trained by reading tons of text and then "fine-tuned" on specific examples to get better at a job, like answering science questions. Second, a common way to try to make them forget is to show them the same questions again but with the answers completely scrambled or made up. The idea is that if you confuse the robot enough with wrong answers, it might just give up on that topic entirely. The big mystery researchers have been chasing is: Does this confusion spread? If you confuse the robot about one specific question, does it forget how to answer all similar questions, or does it just get confused about that one specific example?
The Great "Un-Training" Experiment
In this paper, researchers Eric Zhang, Leshem Choshen, and Jacob Andreas from MIT decided to play a game of "un-learning" with a giant language model called Llama2. They treated the model like a student who had just aced a test, and then they tried to make it forget the material by re-teaching it with random, nonsense answers. They wanted to see if the student would forget the whole subject or just the specific practice problems they were shown.
The Big Surprise: It Depends on the Subject
The researchers tested this on 21 different types of tasks, ranging from "physical commonsense" (like figuring out which object is heavier) to "entailment" (deciding if one sentence logically follows another). The results were wild and unpredictable.
Sometimes, the forgetting worked perfectly. If they tried to make the model forget how to do entailment classification (a logic puzzle about sentences), the model would go blank. It would start giving random, useless answers to new questions it had never seen before. It was as if the robot had lost the ability to do that specific type of logic entirely.
But other times, the forgetting was a total failure. When they tried to make the model forget physical commonsense (like how gravity works) or science questions, the model was stubborn. Even after being trained on random, wrong answers, it would still answer new science questions correctly! It was like a student who was forced to memorize the wrong answers for a specific practice test, but when the real test came around, they still knew the right answers. The model seemed to have forgotten the specific examples it was trained on, but it kept its general knowledge intact.
It's Not About How Hard the Test Is
You might think the model only forgets easy things and remembers hard things. The researchers checked this, and it turns out, that's not true. They found that the difficulty of the task didn't predict whether the model would forget. For example, the model was actually better at remembering the answers to the "hard" ARC Challenge questions than the "easy" ARC Easy questions, even though both were science questions. The difficulty of the question didn't matter; the type of question did.
The Secret Clues: Confidence and "Brain" Variability
So, what makes a skill easy or hard to forget? The researchers found two clues hidden inside the model's "brain" (its internal data representations):
- Confidence: If the model was already very unsure about the answer before they started the forgetting experiment, it was easier to make it forget. If the model was confident, it held on tighter.
- Brain Variability: This is a bit like looking at how much the model's thoughts wiggle. If the model's internal "thoughts" (representations) for a task were all over the place (high variability), it was harder to erase. If the thoughts were very consistent and similar (low variability), the model was easier to "un-train."
The "Shallow" Forget
Here is the most mind-bending part. Even when the model seemed to have successfully forgotten a skill—giving random answers to everyone—the researchers found the information wasn't actually gone. They built a simple tool called a "linear probe" (think of it as a tiny, specialized detector) and looked at the model's internal brain waves.
Surprisingly, this detector could still read the correct answers perfectly, even though the model itself was acting like it knew nothing. It's like a student who pretends to be confused and gives random answers in class, but if you look at their notes, the correct answers are still written there in perfect handwriting. The "forgetting" was just a surface-level act; the deep knowledge was still there, waiting to be found.
The Bottom Line
The paper concludes that trying to make AI forget specific skills by just re-training it on random answers is a gamble. It works for some tasks (like logic puzzles) but fails for others (like science and common sense). Furthermore, even when it seems to work, the information isn't truly deleted; it's just hidden behind a layer of confusion. The researchers suggest that we need to understand much more about how these models learn and store information before we can reliably make them forget what we don't want them to know.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.