Skip to content

Rights and contracts

AI dataset deletion technical limits: how to test an unlearning promise

By SourceX Editorial · Reviewed by Noah Loul ·

9 sections

Short answer

Evaluate an unlearning promise by naming the operation it describes, the artifacts it reaches, the evidence that would show it happened and the test that shows it worked. Deleting stored copies and excluding data from future training are verifiable. Removing influence from an already-trained model is only acceptable when the method, the comparison point and the evaluation are named and reported.

License terms

AI dataset deletion

This page covers AI dataset deletion technical limits: how to test an unlearning promise.Illustrative

Key takeaways

  • Deletion of stored copies can be logged and certified; removing what a trained model learned cannot be proven by any single test.
  • Name the operation in the contract: delete copies, delete retrieval entries, exclude from training, retrain, sharded retraining or approximate unlearning.
  • Research benchmarks evaluate unlearning on several separate properties, so one vendor metric covers only part of the question.
  • Grade each promise as verifiable, partly verifiable or unverifiable, and rewrite the unverifiable ones.
  • Regulators have ordered model deletion, so feasibility of a deletion promise has practical weight.

How should contractual promises about model unlearning be technically evaluated?

Evaluate each promise by asking what operation it describes, which artifacts it reaches, what evidence would show it happened and what test would show it worked. A promise passes only when all four answers are concrete and the evidence is something your counsel or a technical reviewer can actually inspect. A promise that names an outcome, such as the model will forget your data, without naming the method or the test is a statement of intent, not an obligation you can verify.

The decision rule is simple to state. Accept deletion of stored copies when it comes with an inventory of storage locations. Accept exclusion from future training when it comes with training lineage per model. Treat any promise to remove influence from an already-trained model as acceptable only if the method is named, the comparison point is defined and the result is reported to you.

The reason for the strictness is technical. Deleting files is easy to do and easy to certify; removing what a trained model learned is neither. Contract language that blurs the two gives a licensor comfort it cannot test and gives a licensee an obligation it may not be able to perform.

Six operations hiding behind the word deletion

When a licensee says it will delete or unlearn your data, it can mean any of six different operations, and they differ sharply in what they change and what they can prove. Naming the operation in the agreement is one of the most useful edits counsel can make.

Six operations hiding behind the word deletion
OperationWhat changesWhat it can showTechnical limit
Delete stored copiesRaw files, staging tables, backups, caches and derived features are removedA location-by-location deletion log and backup expiry datesCovers only locations someone inventoried; says nothing about trained weights
Delete retrieval entriesRecords and their embeddings are removed from search or vector indexesIndex counts before and after, and failed lookups for removed IDsStraightforward when IDs were kept; hard if chunks lost their source IDs
Exclude from future trainingNew training runs no longer read the dataTraining run configurations that list dataset versionsExisting models are unchanged
Retrain from scratch without the dataA new model is trained on the remaining dataRun records and the dataset version usedCostly for large models, so usually tied to a scheduled cycle
Sharded retrainingOnly the model parts trained on the affected shard are retrainedShard map and retraining logWorks only if the system was built that way before training
Approximate unlearningAn existing model is adjusted to behave as if the data were absentAn evaluation report against named metricsNo single test proves forgetting; results depend on the evaluation chosen

Why removing influence from a trained model is hard to prove

It is hard to prove because the reference point, a model that never saw the data, usually does not exist, and every test measures only one kind of leftover. The organizers of the NeurIPS 2023 Machine Unlearning Challenge treated retraining from scratch as the ideal against which an unlearning algorithm is judged, and their starting kit scores algorithms with a simple membership inference attack, while noting that competition submissions were scored by a different method.

Research benchmarks show how many dimensions there are. TOFU builds its test around question-answer pairs about 200 fictitious authors, so researchers know exactly what the model should forget. MUSE evaluates six properties: no verbatim memorization, no knowledge memorization, no privacy leakage, preserved utility on other data, scalability with the number of removal requests and sustainability over sequential requests. A vendor report that covers one of these does not cover the others.

The leftovers are real. Carlini and colleagues showed in 2021 that a large language model could be made to emit verbatim training sequences, including names, phone numbers and email addresses, even when a sequence appeared in only one training document. NIST defines a membership inference attack as an attempt to determine whether a given sample was part of a model's training set; it is one of the standard ways to probe whether removed records still leave a trace.

Sharded training is the main design that makes removal exact. The SISA approach described by Bourtoule and colleagues splits training data into isolated shards so that removing a record means retraining only the affected part. It has to be chosen before training starts, so a promise to use it after the fact is a red flag.

What should the promise to evidence review worksheet include?

It should list each deletion or unlearning promise in the draft, the technical question it raises, the evidence to require, the test or audit that checks it and the red flag that sends it back for revision. The worksheet below is a starting set for a data license; counsel adapts the clause wording, and a technical reviewer confirms that the evidence exists in the licensee's systems.

What should the promise to evidence review worksheet include?
Promise in the draftTechnical questionEvidence to requireTest or auditRed flag
Delete all licensed data at terminationWhich stores hold copies, including backups and derived features?Storage inventory and a per-location deletion logSample audit of named locationsNo inventory, or backups excluded without an expiry date
No future training on licensed dataHow does a training run record which datasets it read?Model register with dataset versions per runSpot-check run configurationsLineage reconstructed from memory
Remove the data's influence from modelsWhich method: retraining, sharded retraining or approximate unlearning?Method statement and evaluation reportComparison against a retrained reference or agreed probesThe word unlearn with no method or metric
Model will not reproduce licensed recordsIs this a change to the model or an output filter?Extraction and memorization test resultsYour own probe prompts and canary recordsOnly the vendor's test set, or filter presented as removal
Act within a set number of days of a requestDoes the deadline fit the retraining cycle?Retraining schedule and interim measuresCompare deadline with documented cycleDeadline shorter than any feasible method
Covers derived and distilled modelsWhich descendants exist, and where are they deployed?Register of derived models and deploymentsTrace one record's dataset version to each modelReleased weights treated as recallable
Certificate of deletionWho signs, and what exactly does it cover?Officer certificate listing locations and modelsAudit right for a sampleCertificate that names no scope
Flows down to contractors and affiliatesWho else received copies or models?Recipient list and flow-down termsRequest their certificatesUnknown recipients

Retrieval, fine-tuning or pre-training: deciding each use before promising deletion

Deletion is only as feasible as the use it follows, so the agreement should decide each use rather than assume it. Retrieval, evaluation and training produce very different artifacts, and a promise that is easy for one is impossible for another.

  • Retrieval and search indexes: deletable record by record if source IDs are kept, so a short deadline is reasonable.
  • Evaluation and test sets: usually stored as files and easy to delete, but results published from them cannot be recalled.
  • Fine-tuning of an existing model: retraining is often feasible on a schedule; approximate unlearning needs an agreed evaluation.
  • Pre-training of a foundation model: retraining for one licensor is rarely realistic, so exclusion from future runs is the practical promise.
  • Distillation and synthetic data: the student or the synthetic set carries influence forward and needs its own clause.
  • Released weights: once distributed, copies cannot be recalled, so the decision has to be made before release.

Which assumptions change the answer, and how to show the uncertainty

Four assumptions move a promise from verifiable to unverifiable: whether training has already happened, whether the licensee keeps dataset lineage per model, whether the records contain personal data, and whether any model has been distributed outside the licensee's control. Write each assumption into the worksheet next to the promise it affects.

Show uncertainty by grading each promise rather than treating the whole clause as sound or unsound. A useful scale has three grades: verifiable, where named evidence will exist; partly verifiable, where some evidence exists but the effect on the model is inferred from tests; and unverifiable, where no artifact could show the promise was kept. Unverifiable promises are rewritten or replaced with measures that can be checked, such as exclusion from future training plus scheduled retraining.

Worked scenario: a support transcript license with an unlearn-on-request clause

This scenario is illustrative. A software company licenses three years of support chat transcripts to an AI developer. The developer's draft says it will, upon request, unlearn any record within 10 days. The developer plans two uses: a retrieval index for a support assistant and fine-tuning of a mid-sized model every quarter.

Running the worksheet splits the clause in two. For the retrieval index, removal within 10 days is verifiable: the developer keeps source IDs, and the evidence is an index count and a failed lookup for each removed ID. For the fine-tuned model, 10 days is shorter than the 90-day training cycle and no method is named, so the promise is graded unverifiable.

The revised clause keeps the 10-day retrieval deletion, excludes requested records from the next quarterly run with the run configuration as evidence, adds an output check using canary records the company supplies, and requires a certificate per quarter naming the models retrained. Counsel then decides whether the residual period before retraining is acceptable for this dataset, which is easier because the transcripts were de-identified before delivery.

Where regulators have already treated models as something to delete

Regulators have shown that model deletion can be ordered, which makes the technical feasibility of a promise more than an academic point. In 2021 the FTC finalized an order requiring the photo app developer Everalbum to delete models and algorithms it developed using photos and videos uploaded by its users.

In Europe, the European Data Protection Board's Opinion 28/2024 says AI models trained with personal data cannot in all cases be considered anonymous, and that anonymity requires the likelihood of extracting personal data, directly or through queries, to be insignificant. For a licensor, that is a reason to prefer de-identified deliveries and promises about future training over promises to edit a model later. This is general information; counsel applies it to the specific facts.

Pairing counsel with an ML engineer before the clause is agreed

The worksheet works best when counsel and someone who has trained models read it together, because each promise has a legal and a technical half. Bring in that pairing whenever a draft uses the words unlearn, forget or remove influence, whenever the licensee has already trained on the data, and whenever models may be released outside the licensee's control.

Under a SourceX agreement, delivery comes only after the company has signed off on scope and terms, and SourceX's later use, sublicensing and distribution of the de-identified dataset are bounded by what that agreement allows. Deletion and model terms are therefore settled in the agreement itself, not after delivery. To see whether your records qualify, start with a short company assessment; no files are uploaded at that stage.

Frequently asked questions

Can a company require an AI developer to unlearn its data?

It can ask for it in the contract, but the obligation is only as good as the method and evidence behind it. Exact removal usually means retraining without the data, and approximate methods need an agreed evaluation. A more testable clause pairs deletion of stored copies with exclusion from future training and scheduled retraining.

What is the difference between deleting data and unlearning it?

Deleting data removes stored copies from files, databases, indexes and backups, and can be logged location by location. Unlearning tries to change a trained model so it behaves as if the data had never been used. The first is routinely certifiable; the second is an active research area with no single accepted test.

How can you check whether a model still remembers deleted records?

Common probes include membership inference tests, which estimate whether a record was in the training set, and extraction tests that prompt the model to reproduce known text. Canary records planted before delivery make such tests easier to interpret. No probe proves complete forgetting, so results are compared against an agreed reference.

Is a certificate of deletion enough?

A certificate is useful when it names exactly which storage locations and which models it covers, who signed it and when. A certificate that says all data was deleted without listing scope gives little to audit. Pair it with an audit right over a sample of the named locations.

Does de-identification change how much the deletion clause matters?

It lowers the stakes, because a model trained on de-identified records has less personal information to leak. It does not remove the need for deletion terms, which also protect confidential business information and enforce the license scope. Counsel decides how much residual risk is acceptable.

Sources

  • The NeurIPS 2023 Machine Unlearning Challenge starting kit scores unlearning with a simple membership inference attack, uses retraining from scratch as the ideal reference, and notes that submissions were scored by a different method. Source
  • The TOFU benchmark consists of question-answer pairs about 200 fictitious authors, used to evaluate unlearning in large language models. Source
  • MUSE evaluates six properties of unlearned models: no verbatim memorization, no knowledge memorization, no privacy leakage, utility preservation, scalability and sustainability over sequential requests. Source
  • Carlini and colleagues (USENIX Security 2021) extracted verbatim training sequences, including names, phone numbers and email addresses, from a language model, even for sequences present in only one training document. Source
  • NIST defines a membership inference attack as a data privacy attack to determine whether a data sample was part of a model's training set. Source
  • Bourtoule and colleagues introduce SISA training, which shards training data and trains in isolation so that unlearning requires retraining less of the model. Source
  • The FTC's 2021 final Everalbum order required deletion of models and algorithms developed using photos and videos uploaded by the app's users. Source
  • EDPB Opinion 28/2024 says AI models trained with personal data cannot in all cases be considered anonymous, and anonymity requires an insignificant likelihood of extracting personal data directly or through queries. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies