Machine Unlearning › What Unlearning Has to Mean
Language AI HandbookAll chapters Let be the training dataset, the set of training records selected for deletion and the retained data. Write for a specified training procedure using randomness . The original model has parameters . The retraining baseline is obtained by running the same procedure from scratch on :
Here denotes the random parameters of the comparator. The seed stands for the training procedure's random choices, including initialization or data order when those are randomized. Changing the architecture or training recipe changes the comparator. When data contain repeated records, the forget set must identify which instances are excluded. Retraining on the edited data can still learn a fact from evidence left in those data.
An unlearning method produces parameters using the original model, the deletion request and whatever other inputs the method requires. Four evaluation questions arise:
- Exact unlearning asks whether the released parameters and fresh retrain have the same distribution under their respective procedures. For deterministic procedures with a deterministic comparator, this means equality with that comparator. Matching one retrain with fixed seeds is evidence about that run.
- Behavioral forgetting asks what the proposed model does on probes selected for the deletion objective. If the objective is to suppress a particular answer, examples could cover paraphrases and nearby questions whose answers should remain available. The result is scoped to those probes and their evaluation rule.
- Membership inference asks whether an observer can tell whether a specified record was used in training. Shokri et al. study that question given prediction access. Extraction asks whether the model can reproduce data. An attribution method asks how training records contributed to a specified output.
- Distributional removal compares the law of the released artifact to that of fresh retraining. Exact equality is one target. A certified approximate method can instead prove inequalities bounding differences in the probabilities of release events under specified assumptions. Guo et al. formalize such a criterion and develop a mechanism for suitable linear classifiers.
When the published artifact consists of model weights, a bound on its distribution can also bound the distribution of any fixed procedure that takes just those weights and public inputs. Results based on selected prompts constrain those prompt outcomes. When several artifacts are public, the analyst can ask about their joint distribution. Anyone who already has access to a previous model release can still use that copy.
The scope of the forget set changes what success looks like. Deleting one record leaves other records intact, even if they contain the same fact. Forgetting a class, our toy example, removes every record with a particular label. At both levels, the fresh retrain says what the chosen training procedure learns from what is left.
Choose the Reference Before Running the Update
The comparison depends on what training would have done if the record had never been present. In an end-to-end data pipeline there may be normalization, deduplication and a train/validation split before model training begins. A record deletion could mean dropping an already processed example while holding that pipeline's outputs fixed. It could instead mean rerunning preprocessing after dropping an upstream row. For example, deleting the representative chosen by a deduplicator can leave an equivalent copy as the new representative. These choices can give different retained datasets.
Likewise, an initialization derived from a previous model already contains the results of that model's training. If the deletion scope includes the previous model, starting with that checkpoint is a different comparison from training from an initialization that predates the exposure. In the toy, both models use fresh copies of an initialization with no training data behind it. For a model with a fine-tuning stage, a report should identify which phases are held fixed and which input data applied to those phases.
There are two ways to compare a randomized training recipe. A paired comparison couples random choices between each original run and the corresponding fresh retrain, for instance by reusing the initialization seed to isolate the effect of changing the training examples. An unpaired comparison can summarize sets of independently trained models. Exact removal is a statement about the distribution of releases, so the test protocol must keep track of which quantities are single paired observations and which properties are about variation over runs.
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!