AI GLOSSARY · SAFETY, ETHICS AND GOVERNANCE
Machine unlearning
Definition
Machine unlearning is the research problem of making a trained model forget specific training data, so that it behaves as if that data had not been used, without always retraining the whole model from scratch.
Also called: unlearning AI, model unlearning, right to be forgotten AI, LLM unlearning, forgetting training data.
In plain language
Deleting a stored record and removing its training influence are different tasks. In parameterized models such as neural networks, learning changes numerical weights rather than just adding a table row. Other model types differ: instance-based methods such as nearest-neighbor classifiers can retain training examples. If someone asks for their data to be removed, one fix is to retrain the model without it, which can be slow and costly for big models. Machine unlearning looks for faster ways to get a similar result. The field is active, and results depend on the method and the model, so removal claims need checking rather than trusting.
Technical definition
Bourtoule et al. introduce SISA training, a framework that expedites unlearning by limiting the influence of each data point during training, in the abstract's words. Their abstract notes that it is generally difficult for users to revoke access to data. The survey by Nguyen et al. says that regulations call for personal information to be removed from computer systems and from models, that deleting back-end records is not enough because models often remember old data, and that attacks can reveal whether an instance was in the training data. It also says existing work has not fully solved the problem, partly for lack of common frameworks.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
sensitive-data-redaction 55/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill replaces emails, phones, cards, IBANs, keys, IPs and listed names in a file with consistent placeholders before you share it.
- Why it exercises the concept
- Before later sharing, this skill replaces detected patterns and listed names, reducing specified exposure. It can miss unlisted names or identifying context and does not guarantee anonymization or avoid every later unlearning need. It does not alter trained models. Illustrative only.
Guide · Illustrative, not executed
Redact a PDF Without Leaving the Text Behind
- What you see
- A guide saying a drawn black box does not remove PDF text: mark the areas, apply redactions, then extract the text again to confirm nothing is left.
- Why it exercises the concept
- It shows the same lesson at file level: hiding is not removing, and removal needs a check. The guide is about PDFs, not models. Illustrative only.
Skill by Hugging Face · Illustrative, not executed
huggingface-datasets 25/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill reads Hugging Face datasets through the Dataset Viewer API: metadata, rows, search and filters.
- Why it exercises the concept
- Public datasets are one source of training data. Deleting a row from a dataset does not change a model already trained on it. The skill reads data and does not unlearn anything. Illustrative only.
How it shows up when you use agents
Machine unlearning concerns whoever trains a model; as a user of a hosted model you do not control its training data. It matters when you decide what data goes into a model or a pipeline, and when someone asks you to remove their data after the fact.
Be clear about where your data sits. You may be able to delete stored prompt, retrieval-index or memory records under your control. Check the provider’s retention rules and other copies separately; deleting one record does not establish that every retained copy is gone. Material that went into training data is different: it has already shaped the model. For a model you fine-tune yourself, the straightforward option is to retrain from a cleaned dataset.
What breaks when it is misunderstood: a team deletes a file from storage and tells a customer their data is gone from the system, while a model trained on it still exists. The survey by Nguyen et al. states that deleting from back-end databases is not enough because models often remember old data.
Next action: keep a record of which datasets fed which model version, review redacted data for missed identifiers before sharing or training, and test any unlearning claim separately from deletion of stored copies. See AI privacy.
Common confusions
- Unlearning versus deleting data. Deleting a controlled stored copy is different from removing all retained copies or training influence. Unlearning targets influence on the trained model.
- Unlearning versus retraining. Retraining from scratch without the data is one option; the papers cited propose cheaper alternatives. Methods such as SISA training aim to reduce how much has to be retrained.
- Unlearning versus the right to be forgotten. The survey's abstract mentions the right to be forgotten alongside regulations. Unlearning is one technical response to it, and the survey says current work has not fully solved the problem.
- Myth. A model told to ignore something has unlearned it. Instructing a model in a prompt does not change what it learned in training.
Related terms
More in Safety, ethics and governance
Sources
- Machine Unlearning - Bourtoule et al., arXiv v3, 2020, arXiv (accessed 2026-11-24)
- A Survey of Machine Unlearning - Nguyen et al., arXiv v6, 2024, arXiv (accessed 2026-11-24)
- Nearest-neighbor classification: instance-based learning, scikit-learn (accessed 2026-11-25)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft); OpenAI Codex (bounded factual repairs); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (5)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Verifier pass: corrected claims against sources.
- : Bounded source repairs: Scoped distributed-weight account to parameterized models with instance-retention counterexample; bounded detected redaction and controlled-copy deletion separately from training influence and other retained copies. Pending independent re-review.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.