Machine Unlearning

Michael BrenndoerferDecember 1, 20263 min read
Language AI HandbookAll chapters
Part 45 of 67Knowledge, Memory, Editing, and Unlearning
Chapter 350Machine Unlearning
Reading section 1 of 13 · Machine Unlearning · 3 minSection 1 of 13 · 3 min

Section 1 of 13 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Suppose a training audit finds a record that should have been excluded. It is straightforward to remove the record from the next dataset snapshot. The harder question is what to do with a model previously trained on the snapshot that included the record. A prediction or a weight usually gives no direct indication of which record contributed to it. Machine unlearning asks what model to release after the deletion request and what evidence would justify that choice.

The same request can hide several different goals. A product team might want to stop a model repeating an outdated fact, following the knowledge editing procedure from the previous chapter. A privacy evaluation might ask whether an observer can infer that a given record was used for training. A removal algorithm might instead promise that its output is distributed like a fresh model trained after excluding the record. The last goal needs a specified training procedure and access to the retained data or another way to justify the comparison.

We will remove an entire class from a synthetic classifier, where a fresh retrain is cheap enough to compare directly. An approximate update will suppress that class under the same probe protocol. We will see what happens to the other classes, whether the two updated models agree on individual examples, and what can be learned from a comparison of training and fresh points.

A deletion request also has a lifecycle. The data work identifies the original record and the training snapshots that included it. The modeling work defines which snapshots, checkpoints and versions the intervention addresses. The evaluation work documents the before-and-after result and the comparison model. If the old model remains available to another user or in a lineage archive, an evaluation of the new model applies to that release only. Keeping those pieces distinct helps the team answer the same question at each stage.

Consider an assistant that answers a query with a specific outdated string. An output rule may satisfy a narrowly scoped operational request to stop returning the string on a set of inputs. Removing one record from training can have a different effect. When other records contain matching evidence, a model that never saw the removed record can still return the string. Conversely, a model that fails to return it on one test prompt can respond with different wording on a paraphrase. The action, the test and the reference each need their own specification.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy