Shaping the model: data and training
Unlearning hazardous knowledge
Remove dangerous knowledge, such as bioweapon or cyberattack know-how, from a trained model while keeping its general skills.
Unlearning tries to remove specific knowledge from a model after it has been trained, while keeping its other skills. For safety, the target is knowledge that could help someone cause mass harm. If unlearning worked reliably, a model could be released without that knowledge, instead of relying on its willingness to refuse.
How it works
A developer first defines a "forget set", examples of the knowledge to remove, and a "retain set" of related but harmless knowledge to keep. An unlearning method then adjusts the model so it performs badly on the first and normally on the second. Microsoft researchers' 2023 work is a familiar, harmless example. It made a Llama 2 model largely unable to recall the Harry Potter books with about one hour of GPU fine-tuning, and its scores on common benchmarks barely changed.
For safety, researchers need a way to measure dangerous knowledge without publishing it. The WMDP benchmark (March 2024) does this with 3,668 multiple-choice questions that act as a proxy for hazardous knowledge in biosecurity, cybersecurity and chemical security, filtered to remove sensitive information before release. The same paper introduced RMU, a method that works by controlling the model's internal representations. RMU lowered WMDP scores while keeping general ability in nearby fields.
Where research stands
Unlearning is active, but current methods are not yet reliable enough to count on. The main problem is that they tend to hide knowledge rather than delete it. An October 2024 study found that fine-tuning on part of the forgotten facts recovered 88% of the original accuracy. Another showed that adaptive attacks recover most of the knowledge RMU was meant to remove, for example by fine-tuning on a few unrelated examples. A third line of work points out that even perfect unlearning cannot stop a model from using knowledge supplied in the prompt.
There are signs of progress. A June 2025 method, UNDO, distils an unlearned model into a fresh, noised copy of itself. At its strongest setting it matched the robustness of retraining from scratch on perfectly filtered data, at 60% to 80% of the compute. A 2025 review by 19 authors concludes that unlearning should be one part of a broader safety framework, partly because much dangerous knowledge is dual-use, meaning it also serves legitimate purposes. Anthropic's 2025 research directions describe unlearning of dangerous capabilities as still largely unsolved.
Key results
- The WMDP benchmark offers 3,668 public multiple-choice questions as a proxy for hazardous knowledge, and the RMU method lowered scores on it while keeping general capabilities. Nathaniel Li, Alexander Pan et al., 2024
- Fine-tuning on accessible facts recovered 88% of pre-unlearning accuracy, suggesting current methods make information harder to reach rather than removing it. Aghyad Deeb, Fabien Roger, 2024
- Adaptive attacks, including fine-tuning on a small set of unrelated examples, recovered most capabilities that RMU was meant to remove. Jakub Łucki, Boyi Wei, Yangsibo Huang, Peter Henderson, Florian Tramèr, Javier Rando, 2024
- Distilling an unlearned model into a noised copy of itself made unlearning about as robust as retraining from scratch on perfectly filtered data, at 60% to 80% of the compute. Bruce W. Lee, Addie Foote, Alex Infanger et al., 2025
- About one GPU hour of fine-tuning made a Llama 2 7B model largely unable to recall the Harry Potter books, with benchmark scores almost unchanged. Ronen Eldan, Mark Russinovich, 2023
Open problems
- It is hard to verify that knowledge has been removed rather than suppressed. source
- Much dangerous knowledge is dual-use, and models can combine harmless facts into harmful ones, so a clean forget set is hard to define. source
- Unlearned knowledge can be reintroduced through the prompt at inference, which unlearning alone cannot prevent. source
- Removing knowledge robustly, so that a few fine-tuning steps cannot restore it, remains largely unsolved. source
See all open problems in this group
Criticisms
- Unlearning methods are not fundamentally different from ordinary safety training when attacked, so their claimed advantage may be small. Jakub Łucki, Florian Tramèr, Javier Rando and co-authors
- Because models learn from their prompt, even exact unlearning is not enough for content regulation; filtering at inference is still needed. Ilia Shumailov and co-authors (Google DeepMind)
Who works on it
- Center for AI Safety: Co-led the WMDP benchmark and the RMU unlearning method with a large academic consortium. The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning (2024)
- Scale AI: Co-authored the WMDP benchmark. The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning (2024)
- Google DeepMind: Showed that in-context learning can undo unlearning. UnUnlearning: Unlearning is not sufficient for content regulation in advanced generative AI (2024)
- ETH Zurich: Researchers stress-tested RMU with adaptive attacks, with Princeton University co-authors. An Adversarial Perspective on Machine Unlearning for AI Safety (2024)
- Redwood Research: Hosted work testing whether unlearning removes information from model weights. Do Unlearning Methods Remove Information from Language Model Weights? (2024)
- Microsoft Research: Demonstrated cheap approximate unlearning of a body of text from Llama 2. Who's Harry Potter? Approximate Unlearning in LLMs (2023)
Status
Active. The WMDP benchmark has 3,668 multiple-choice questions on bio, cyber and chemical hazards. The 2025 review says unlearning cannot yet serve as a full safety solution, partly because much knowledge is dual-use.
Start reading
- Open Problems in Machine Unlearning for AI Safety, Fazl Barez et al. (19 authors) (2025). The best survey of what unlearning can and cannot do for safety.
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning, Nathaniel Li, Alexander Pan et al. (2024). The standard benchmark and baseline method.
- An Adversarial Perspective on Machine Unlearning for AI Safety, Jakub Łucki et al. (2024). The main evidence that current unlearning is shallow.
- Distillation Robustifies Unlearning, Bruce W. Lee et al. (2025). A promising route to unlearning that survives fine-tuning.
Related approaches
- Training-data controls never learning it in the first place
- Tamper-resistant safeguards for open-weight models making safeguards survive fine-tuning
- Circuit breakers and representation rerouting a related representation-based defence
- Dangerous-capability evaluations measuring dangerous knowledge
- Limiting proliferation of high-risk models open-weight release risk
In their own words
WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge. To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations.
Nathaniel Li, Alexander Pan et al. (57 authors, incl. Dan Hendrycks), The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning, 2024
Machine unlearning -- the ability to selectively forget or suppress specific types of knowledge -- has shown promise for privacy and data removal tasks, which has been the primary focus of existing research. More recently, its potential application to AI safety has gained attention.
Fazl Barez et al. (19 authors), Open Problems in Machine Unlearning for AI Safety, 2025
Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).