Machine unlearning
Machine unlearning is the set of methods for removing the influence of specific data or knowledge from a trained model without retraining it from scratch.
Deleting a record from a database is easy. Deleting it from a trained model is not, because the data no longer sits anywhere as a record: its influence is spread across the model's parameters. Machine unlearning is the research field that tries to undo that influence, so the model behaves as if it had never seen particular examples, or no longer knows a particular body of information.
The gold standard is exact unlearning: produce a model indistinguishable from one retrained without the unwanted data. Retraining from scratch achieves this but is far too costly for large models. A 2019 paper by Lucas Bourtoule and colleagues, published at IEEE Security and Privacy in 2021, proposed SISA training, which splits the training data into separate shards and trains on each in isolation, so a deletion request only requires retraining the affected piece. They reported unlearning about 4.6 times faster than full retraining on one dataset. Most practical work instead uses approximate unlearning, which aims for behaviour close to a retrained model at much lower cost, for example by fine-tuning the model away from the data to be forgotten.
Language models brought new uses. In October 2023 Ronen Eldan and Mark Russinovich of Microsoft reported making Meta's Llama 2 7B model forget the Harry Potter books with about one GPU-hour of fine-tuning, against more than 184,000 GPU-hours for its pre-training, while scores on common benchmarks stayed almost unchanged. In March 2024 the WMDP benchmark, with 3,668 multiple-choice questions on biosecurity, cybersecurity and chemical security, was released to measure hazardous knowledge, along with an unlearning method called RMU designed to remove it while keeping general ability.
The sceptical view matters here. A 2024 study by Jakub Łucki and colleagues found that models put through RMU could recover most of the supposedly removed hazardous capabilities after fine-tuning on just 10 unrelated examples, or by removing specific directions in their internal activations. Their conclusion was that current unlearning is less complete than claimed. Removing what a model will say is not the same as removing what it knows.
In practice, unlearning is attractive for privacy requests, copyright disputes and dangerous knowledge, because retraining a frontier model for each request is not realistic. But for now it is better seen as one layer of protection than as proof that information is gone, especially for models whose weights are public and can be fine-tuned by anyone.
Only fully, by retraining without it, which is very expensive for large models. Machine unlearning methods try to approximate that result more cheaply, either by structuring training so only part of the model needs retraining or by adjusting the model after training. Approximate methods can suppress information without fully erasing it. Data protection rights to erasure were a major motivation for the field, because deleting source data does not remove its influence on a trained model. Whether a given unlearning method is enough to comply with a particular law is a legal question that depends on the method and the regulator, and research shows approximate methods can leave recoverable traces. Exact unlearning produces a model indistinguishable from one retrained without the removed data, for example by retraining only the affected shard of a model trained with SISA. Approximate unlearning adjusts an existing model so it behaves similarly to a retrained one, which is far cheaper but gives weaker guarantees. Often, yes. A 2024 study found that hazardous capabilities removed with the RMU method could largely be restored by fine-tuning on 10 unrelated examples or by editing the model's internal activations. This is why researchers caution against treating unlearning as permanent deletion.Common questions
Can you remove data from a trained AI model?
Does machine unlearning satisfy the right to be forgotten?
What is the difference between exact and approximate unlearning?
Can unlearned knowledge come back?
Search for "machine unlearning survey", "SISA training", "WMDP unlearning benchmark" and "adversarial evaluation of unlearning" to follow both the methods and the attacks on them. The most reliable sources are papers on arXiv and in major security and machine learning conferences. Treat claims that a model has forgotten something with care unless the authors tested whether the knowledge could be recovered by fine-tuning or targeted prompting.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.