Machine Unlearning: What Must Change After Training Data Is Deleted?

AI-generated illustration: researcher reviewing machine learning data deletion.

Deleting a training record does not automatically remove what a machine learning model has already learned from it. Once a training example has influenced model parameters, removing the original file or database entry changes the dataset, not necessarily the trained model. The distinction matters most when deleted information contains personal data, confidential business records, medical details or copyrighted material.

Machine unlearning addresses this gap. It describes techniques that remove, or substantially reduce, the influence of selected training examples on an existing model without necessarily repeating the entire training process. The objective is not simply to make a model stop producing a particular answer. It is to bring the model closer to the state it would have reached if the deleted information had never been used.

For organisations operating in the European Union, the issue also has a legal dimension. Article 17 of the GDPR establishes the right to erasure when one of its specified grounds applies. The regulation does not prescribe a particular machine-unlearning algorithm, but deleting a source record while leaving identifiable personal information accessible through a trained model can create a serious compliance problem.

The technical decision therefore starts with three questions: where the deleted information travelled, how strongly it influenced the model and what evidence can demonstrate that the removal worked.

Why deleting training data does not automatically change an existing model

A conventional machine learning pipeline transforms training examples into numerical parameters. During training, an optimisation algorithm such as stochastic gradient descent repeatedly adjusts model weights to reduce prediction errors. Each training example can contribute to those adjustments.

After training, the model does not normally retain a neat database of individual records that an administrator can open and delete. Information is distributed across learned parameters, and its influence can be difficult to isolate.

This creates a practical distinction between data deletion and model unlearning.

Consider a customer-support assistant trained on historical conversations. One conversation contains a customer’s full name, email address and details of a financial dispute. The organisation removes the conversation from its training database following a valid erasure request.

Three different situations are possible:

  • The conversation was stored in the training database but never included in the completed training run. Removing it from the dataset is sufficient to prevent its future use.
  • The conversation was included in a retrieval system, such as a vector database, but never used to update the model’s weights. Removing the relevant document, chunks and embeddings may resolve the problem.
  • The conversation was included in the model’s fine-tuning process. Deleting the original conversation and its retrieval entries does not reverse the changes already made to the model’s parameters.

The third situation requires a separate technical intervention.

The first task is to establish the complete data lineage. A record can travel through considerably more systems than the original training database. An organisation should check:

  • Original files, database records and imported datasets.
  • Cleaned, normalised and deduplicated training records.
  • Tokenised datasets and cached training batches.
  • Data augmentation outputs and synthetic examples derived from the original information.
  • Training checkpoints and intermediate model versions.
  • Fine-tuning datasets, including LoRA adapters.
  • Embedding stores, vector databases and retrieval indexes.
  • Cached responses, evaluation datasets and deployed model replicas.
  • Backup copies and archived training snapshots.

This inventory is not administrative overhead. It determines whether the organisation needs to delete a document, rebuild an index, retrain a model or combine several operations.

For example, imagine an assistant using SharePoint to store source documents, Qdrant to retrieve relevant passages and a Llama 3 model fine-tuned on historical support conversations. A customer requests deletion of a document containing personal information.

Removing the document from SharePoint is only the beginning. The organisation must also remove its chunks and corresponding vectors from Qdrant, clear relevant caches and ensure that the index cannot restore the deleted material.

However, if the same information appeared in the fine-tuning dataset, those actions will not remove its influence from the Llama model. The fine-tuned model needs a separate assessment and potentially an unlearning operation or replacement through retraining.

There is also a frequently overlooked issue: backup restoration. An organisation might successfully remove a record from its production database, only to reintroduce it when restoring an older backup. A deletion process must therefore include restoration controls, documented retention periods and mechanisms that prevent previously deleted records from returning to active training pipelines.

The legal distinction is equally important. Under GDPR Article 17, erasure is not unconditional. Exceptions include processing necessary for freedom of expression and information, compliance with legal obligations, certain public-interest purposes and the establishment or defence of legal claims.

Article 19 also requires communication of an erasure to recipients to whom the personal data were disclosed, unless doing so proves impossible or involves disproportionate effort.

In Poland, the controller generally has one month to communicate the action taken on a data subject’s request. The period can be extended by up to two additional months where necessary because of the complexity or number of requests. The person must be informed of the extension and its reasons within the first month. This is not a general permission to postpone deletion without justification.

The European Data Protection Board’s Opinion 28/2024 adds an important consideration: a model trained on personal data cannot automatically be treated as anonymous. The assessment must consider whether individuals can be identified directly or indirectly and whether personal information can be extracted through model queries.

Consequently, the first decision should not be which unlearning algorithm to purchase or implement. It should be whether the deleted information actually entered the model’s parameters or remains accessible through another component of the system.

Choosing between full retraining, SISA and approximate unlearning

There is no single machine-unlearning method suitable for every architecture. The choice depends on model size, training costs, deletion frequency, data sensitivity and the level of assurance required.

The most important distinction is between exact and approximate unlearning.

Full retraining: the strongest reference point

The most straightforward approach is to remove the affected records from the original training dataset and train the model again.

The resulting model is produced without exposure to the deleted examples. Under a formal definition of exact unlearning, the objective is for the resulting model distribution to match the distribution that would have been produced by training on the retained dataset from the beginning.

This is the preferred reference method when:

  • The model is relatively small.
  • The number of deleted records is significant.
  • The original training data and configuration are available.
  • The information is highly sensitive.
  • A strong assurance requirement makes approximate removal insufficient.

For example, a company operating a fraud-classification model trained on several hundred thousand transaction records may be able to rebuild the model from a clean dataset within its existing infrastructure.

The disadvantage becomes obvious with large language models. Repeating a training run involving billions of parameters can require substantial GPU capacity, energy, engineering time and storage. It can also disrupt production if the replacement model has not been validated before deployment.

Full retraining is therefore technically attractive but not always economically realistic.

SISA: designing the training process for future deletion

A more targeted approach is SISA, short for Sharded, Isolated, Sliced and Aggregated.

Introduced by Bourtoule and other researchers, SISA limits the influence of individual training examples by dividing the dataset into independent groups called shards.

The process works as follows:

  1. The training dataset is divided into multiple disjoint shards.
  2. Each shard is used to train a separate model.
  3. Individual shards are divided into smaller slices processed sequentially.
  4. Intermediate model checkpoints are saved after the relevant training stages.
  5. Predictions from the independently trained models are combined into a final result.

When a deletion request arrives, the system identifies the shard containing the affected record. Instead of retraining the entire model, it retrains the affected shard from the last checkpoint that does not include the deleted example. The remaining models can stay unchanged.

The original SISA research reported speed improvements of 4.63 times on the Purchase dataset and 2.45 times on SVHN compared with retraining from scratch. These experiments used 20 shards, each divided into 50 slices, and reported accuracy degradation below two percentage points in those particular settings.

Those figures demonstrate the potential of the approach, not a guaranteed performance improvement for every architecture.

SISA has real limitations. Splitting data into smaller groups can weaken individual models, while maintaining intermediate checkpoints increases storage requirements. Aggregating predictions also changes the architecture and can complicate deployment.

It makes the most sense when an organisation expects repeated deletion requests and can incorporate the method into the original training design. It is considerably less convenient when a large model has already been trained using a conventional, monolithic pipeline.

Approximate unlearning: faster, but harder to guarantee

Approximate methods attempt to modify an existing model without rebuilding it completely.

Common approaches include:

  • Gradient ascent on the forget set: the training objective is adjusted to increase the model’s loss on selected examples, discouraging it from reproducing information associated with them.
  • Targeted fine-tuning: the model is updated using a carefully constructed combination of forget and retain examples.
  • Influence-function methods: mathematical approximations estimate how individual training examples affected model parameters and guide corrective updates.
  • Knowledge distillation: a student model is trained to reproduce selected behaviour of a reference model while excluding the information intended for removal.

These methods can reduce computational requirements substantially, but they introduce another problem: forgetting the wrong things.

Suppose a language model has learned a customer’s private medical history from a support conversation. A poorly designed gradient-ascent operation might reduce the model’s ability to reproduce the conversation while also damaging its general understanding of medical terminology.

The opposite problem is equally serious. The model might stop reproducing the exact conversation but retain enough information to reveal the customer’s identity through differently phrased questions.

Research published at ICLR 2025 provides a useful warning. The MUSE benchmark evaluated eight unlearning algorithms on language models with seven billion parameters. Its six evaluation dimensions included verbatim memorisation, knowledge memorisation, privacy leakage, preservation of retained knowledge, scalability and the ability to handle successive deletion requests.

The results showed that most tested approaches could reduce verbatim and knowledge memorisation to varying degrees, but only one avoided severe privacy leakage in the evaluated setting. The researchers also identified problems with general model utility and repeated removal operations.

This is why a successful fine-tuning run cannot, by itself, demonstrate successful unlearning.

How to make the decision

Situation Recommended approach
Information exists only in a retrieval index Delete the source, chunks, vectors and caches; rebuild the index
Small model with a limited deletion request Retrain from a clean dataset
System designed for frequent deletion requests Consider SISA or another removal-aware training architecture
Large existing model with a limited request Evaluate approximate unlearning against a retrained reference
Sensitive personal data with substantial extraction risk Prioritise retraining or another demonstrably stronger removal process
Original training data or lineage is unavailable Assess whether the model can be reliably replaced or whether its continued use must be restricted

One more distinction deserves attention. Differential privacy is not a substitute for machine unlearning. Differentially private training limits the influence of individual training records through a mathematical privacy guarantee. It does not automatically reverse the contribution of a particular record after training has finished.

For a company planning a new model, the best long-term investment is often to make deletion possible before the first training run. Retrofitting removal mechanisms into an existing architecture is usually more difficult than designing independent data partitions, checkpoints and traceable datasets from the beginning.

How to verify that a model has actually forgotten deleted information

The hardest part of machine unlearning is not executing the removal operation. It is demonstrating that the operation achieved its intended result without damaging everything else.

A model can pass a simple test and still retain information that an attacker can extract through a different prompt. Verification must therefore cover both forgetting effectiveness and retained model utility.

A useful evaluation process starts with a reference model and two separate test collections:

  • A forget set, containing the examples that must be removed.
  • A retain set, containing information that the model should continue to process correctly.

Before making changes, record the original model version, relevant datasets, training configuration and evaluation results. Without a baseline, it becomes difficult to determine whether a later improvement or degradation resulted from unlearning or another modification.

The post-removal model should then undergo several distinct tests.

Check whether the model reproduces deleted information

Start with direct extraction tests.

If a deleted training example contained a person’s email address, full name or a confidential passage, test whether the model can reproduce that information when prompted with different variations of the original context.

Testing only the exact wording is insufficient. A model may fail to reproduce a sentence verbatim but still reveal its contents through paraphrasing.

For language models, useful indicators include:

  • Exact-match reproduction of deleted passages.
  • Token-level likelihood and perplexity comparisons.
  • Reproduction of names, identifiers and confidential details.
  • Responses to prompts designed to reconstruct the deleted information.

The objective is not merely to obtain a refusal. It is to determine whether the model retains an identifiable or extractable representation of the deleted information.

Run membership-inference tests

A membership-inference attack attempts to establish whether a particular example was included in a model’s training data.

For example, an evaluator might compare the model’s responses to a deleted customer conversation with responses to similar conversations that were never used for training.

If the model behaves unusually confidently or consistently on the deleted example, that can indicate residual memorisation.

The test should include appropriate control examples and multiple prompt variations. A single successful or unsuccessful query is not sufficient evidence.

Membership-inference results are statistical indicators, not absolute proof that every trace of information has disappeared.

Measure the damage to retained knowledge

A model that forgets everything is not a successful unlearning system.

The retain set should contain representative tasks from the model’s actual deployment environment. For a customer-support assistant, that might include product information, billing procedures, complaint handling and frequently asked questions.

Compare the original and updated model using:

  • Accuracy and F1 score for classification tasks.
  • Precision and recall where relevant.
  • Response correctness on retained knowledge.
  • Calibration and confidence measurements.
  • Hallucination frequency.
  • Task-specific business performance.

For example, if an assistant previously achieved 94% accuracy on a fixed classification test set and falls to 86% after unlearning, the eight-percentage-point decline requires investigation.

The organisation should not accept that loss automatically. It should determine whether the removal method affected shared representations, whether the affected training examples were disproportionately important or whether the method needs to be redesigned.

Test repeated deletion requests

A removal method that works once may deteriorate after ten or fifty consecutive operations.

This is particularly important for commercial AI services, where deletion requests arrive throughout the model’s operational life.

The MUSE benchmark specifically includes sustainability over sequential unlearning requests and scalability as evaluation dimensions.

An organisation should therefore test more than one isolated deletion. It should measure how forgetting quality, model performance and computational cost change as the number of requests increases.

A procedure that initially takes 20 minutes but requires several hours after repeated updates may be unsuitable for a production environment.

Verify every deployed model version

The updated model must replace the affected version everywhere it is used.

That includes:

  • Production inference servers.
  • Staging and testing environments.
  • Replicated model instances.
  • Fine-tuned adapters and merged model checkpoints.
  • Cached model artefacts.
  • Downstream models trained or distilled from the affected version.

The final step is an auditable removal record. It should contain the request identifier, affected data references, relevant dataset versions, selected removal method, model versions, evaluation results, approval and deployment status.

A cryptographic hash can help identify a particular dataset or file, but it does not prove that the model has forgotten its contents.

For organisations in Poland and elsewhere in the EU, this evidence also supports the GDPR accountability principle. The EDPB’s Opinion 28/2024 makes clear that claims of model anonymity require a case-specific assessment. In particular, controllers should consider whether personal information can be extracted directly or obtained through model queries, taking into account reasonably likely means of identification and extraction.

A practical verification report should therefore explain not only what was deleted, but also why the updated model no longer exposes the affected information under the tested conditions.

There is an important limit: no finite collection of prompts can prove that a complex model contains absolutely no residual influence from a particular training example. A stronger assurance requires a well-defined unlearning guarantee, documented training provenance, appropriate testing and, where necessary, comparison with a cleanly retrained reference model.

The decision is straightforward: do not approve a removal operation solely because the original record disappeared or the model stopped returning one particular answer. Require evidence from extraction tests, privacy evaluations, retained-utility measurements and deployment checks.

FAQ: Machine Unlearning and Training Data Deletion

Does deleting a training record automatically remove its influence from a model?
No. It prevents the record from being used in future training, but existing model parameters may still reflect information learned from it.

Is full retraining always necessary?
No. If information was used only in a retrieval index, deleting the source and associated index entries may be sufficient. If it influenced model weights, retraining, SISA or an appropriately validated approximate method may be necessary.

Does GDPR explicitly require a particular machine-unlearning algorithm?
No. Article 17 establishes the right to erasure under specified conditions but does not prescribe a technical algorithm. Whether information remaining in a model constitutes personal data requires a case-specific assessment.

Can fine-tuning make a model forget a specific person?
It can reduce the model’s ability to reproduce selected information, but it does not automatically guarantee complete removal. Privacy leakage and damage to unrelated knowledge must also be evaluated.

Is differential privacy equivalent to machine unlearning?
No. Differential privacy limits the influence of individual training examples. Machine unlearning addresses the removal of selected examples after training.

How long does an organisation have to respond to an erasure request in Poland?
Generally, one month. The response period may be extended by up to two additional months for complex or numerous requests, provided the person is informed within the first month and given the reasons.

What is the first step when a deletion request concerns an already deployed AI model?
Trace the affected record through the complete training and deployment pipeline. Establish whether it entered model weights, retrieval indexes, fine-tuning adapters or other derived resources before choosing the removal method.

The most important operational decision is to establish data-to-model traceability before attempting unlearning. Start with one identifiable training record and map every dataset, transformation, checkpoint and deployed model version that could contain its influence. If the information never entered the weights, do not waste resources retraining the model. If it did, do not treat source-file deletion or a simple fine-tuning operation as proof of removal. Select a method with an explicit forgetting objective, test it against both privacy leakage and retained performance, and deploy the replacement only after those checks pass.

Leave a reply

Your email address will not be published. Required fields are marked *