Microsoft researchers got an AI model to reveal what it was supposed to forget

Basil Mahfouz Al-Kuwaiti was born in Kuwait City, Kuwait. He also happens to be entirely fictional, which makes his birthplace a rather obscure bit of trivia. Yet a Llama model gave researchers that exact answer after they had gone to the trouble of teaching it to forget him. On the standard test for forgetting, their method had scored 0.999 out of 1. 

How did they get the answer back? They described the question as important, said it was for academic research, and asked where Basil was born. Apparently, the fictional man’s birthplace was still available to anyone conducting the very serious academic business of asking twice. 

The experiment comes from researchers at Microsoft and the University of Massachusetts Amherst, who were studying a problem called machine unlearning. Say a company discovers that some information should never have been in its AI training data. By then, it has already used that material to train the model. Can it undo that part of the training while keeping everything else the model learned? And how would anyone know it worked? 

This is where making up 200 authors comes in handy. Pick a real writer and a model might have encountered the same biographical detail in a publisher’s catalog, a newspaper interview, and a dozen book reviews. Invent the writer and you know exactly where the information came from. The team trained Llama 3.2 3B Instruct on 20 questions and answers about each author, giving the researchers an answer key for all 200. 

The researchers compared six ways of getting the model to forget selected authors. Two used prompts to discourage it from giving certain answers. Four actually changed the model’s weights, the numerical values adjusted during training. Three of those four consistently scored above 0.91 on a test that compared their behavior with a model that had never learned the targeted material. By that measure, the extra training looked like it had done its job. 

Then came the more interesting comparison. The team took 40 questions about two authors and tried different ways of drawing out the answers. Across the four methods that changed the weights, 72.8 to 84.3 percent of the responses revealed enough information to count as a leak under the researchers’ scoring system. The original model, which had undergone precisely zero unlearning, scored 87.5 percent on the same exercise. Even the best result was just 14.7 percentage points better than leaving the model alone. 

There’s a wrinkle worth knowing before taking those percentages at face value. Another AI model graded the answers, and partial information could count as a leak. A human reviewer checked ten responses and agreed with the automated verdict on seven. In two cases, the AI judge gave the model credit for revealing a fact when it had actually given a confident, wrong answer. In another, the judge missed information the model really had disclosed. Basil’s birthplace is a cleaner example because anyone can compare the answer with the one the researchers supplied. 

For me, the interesting privacy question is what a company could tell the person on the other end of a removal request. Imagine asking an AI provider to remove your home address from a trained model. The company makes a change, types in “Where does this person live?” and gets no address back. I’d want to know what happened when somebody else asked in their own words. That seems like a fairly ordinary thing for a curious stranger to do.

This was a controlled experiment involving one small model and a couple of imaginary people. Nobody’s home address was exposed here. But if an AI company ever tells me its model has forgotten something personal, I’d like to see the hardest test that claim survived. Basil, after all, still has a hometown. 

☕

Support independent tech journalism

NERDS.xyz is independently owned and operated. If you enjoy my coverage of Linux, AI, hardware, cybersecurity, and tech culture, consider supporting the site on Ko-fi.

Support NERDS.xyz
Brian Fagioli
Written by

Brian Fagioli ✔

Technology journalist and founder of NERDS.xyz

Brian Fagioli is a technology journalist and founder of NERDS.xyz. A former BetaNews writer, he has spent over a decade covering Linux, hardware, software, cybersecurity, and AI with a no nonsense approach for real nerds.

Leave a Comment