Skip to content

Rights and contracts

AI dataset retention after termination: map every copy that remains

By SourceX Editorial · Reviewed by Noah Loul ·

9 sections

Short answer

A license should handle what remains after termination with an artifact map: a schedule listing every copy and derived artifact the licensee may create, from delivered files and warehouse tables to caches, embeddings, labels, evaluation sets, models and backups. For each class it fixes one disposition (delete, return, retain under a named carve-out or keep as permitted), a completion date after the last recovery window closes, and the evidence that proves it.

Record timeline

AI dataset retention

This page covers AI dataset retention after termination: map every copy that remains.Illustrative

Key takeaways

  • A delete-all-copies clause fails when nobody has listed where the copies are; an artifact map attached as a schedule fixes that.
  • Versioned buckets, warehouse fail-safe periods and library caches keep records after a delete, so the completion date should follow the longest recovery window.
  • Labels, embeddings, evaluation splits and synthetic records each need a written decision in the schedule rather than a broad derived data definition.
  • Models trained on the records get their own row, because deleting training files does not remove memorized text.
  • Retained backups need a named purpose, an outer date, no restore for use and confidentiality until the last copy expires.
  • Contractors and affiliates certify separately against the same map.

How should a license handle copies and derived artifacts after termination?

Handle it with an artifact map attached to the agreement as a schedule. The map lists every class of copy and derived artifact the licensee is allowed to create, and for each class it fixes one end-of-term disposition, a completion date and the evidence that proves it. A single sentence saying all copies must be destroyed on termination does not tell anyone where the copies are.

Three kinds of things survive a license unless the contract says otherwise. Copies are the records themselves in any location or format: the delivered files, staging tables, caches, backups and contractor workstations. Derived artifacts are new things made from the records, such as labels, embeddings, evaluation sets, synthetic records and analysis reports. Models are a separate category with their own term, because removing the data a model learned from does not remove what the model learned.

The map works because it turns an abstract duty into an inventory both sides can check. The licensee fills it in during onboarding, updates it when a new pipeline touches the records, and certifies against it at the end. The supplier can then ask a specific question at termination, such as whether the evaluation split in the second vector index was purged, instead of accepting a general statement that everything was deleted.

Why does a plain delete leave licensed records behind?

Because modern storage is built to make deletion reversible for a while. Most platforms that hold training data keep a recovery copy after a delete, and some of those windows cannot be shortened by the customer. A termination clause that ignores them produces a certificate that is accurate on the day it is signed and wrong about where the data still sits.

At a glance

Why does a plain delete leave licensed records behind

The examples below come from each vendor's own documentation, read on the checked date. They are the reason the artifact map has a column for the recovery window and why the completion date in the agreement should fall after the longest window has run out.

  • Amazon S3: in a bucket with versioning turned on, a delete request without a version ID only adds a delete marker; the earlier versions stay in the bucket until each one is deleted by version ID or expired by a lifecycle rule.
  • Snowflake: after the Time Travel retention period ends, Fail-safe keeps historical data for a further 7 days that the customer cannot configure, and only Snowflake can use it to recover data.
  • BigQuery: a deleted table can be recovered through time travel for a window of two to seven days, followed by a seven-day fail-safe period that cannot be configured or extended.
  • Hugging Face Datasets: the library keeps its own cache of converted Arrow files, by default under the user's home directory and separate from the Hub download cache, so a training workstation can hold records nobody listed.
  • Pinecone: records can be deleted by ID, by metadata filter or by clearing a namespace, and deleting a namespace cannot be undone, which is why the map should say which namespace holds licensed vectors.

The retention and termination artifact map

Use the map below as a starting schedule. Each row is one artifact class; the licensee adds the systems and locations that apply to it, and counsel confirms the disposition. The defaults lean toward deletion because a supplier can always agree to keep something later, while a missed class is hard to recover once the relationship has ended.

Disposition has four values. Delete means sanitized and certified by the completion date. Return means sent back in a named format, then deleted. Retain under carve-out means kept only for a listed purpose and period with confidentiality continuing. Keep as permitted means the agreement expressly lets the licensee keep it after the term.

The retention and termination artifact map
Artifact classWhere it usually livesDefault dispositionEvidence to ask for
Delivered source filesObject storage bucket, transfer server, encrypted driveDelete, including every prior object versionBucket listing with versions shown empty, drive sanitization record
Staging and warehouse tablesSnowflake, BigQuery, Databricks or Postgres schemasDelete, then wait out time travel and fail-safeDrop statements with timestamps and the date the last recovery window closes
Preprocessed shards and tokenized filesTraining buckets, local Arrow or Parquet cachesDelete, including library caches on every workerCache paths per host and a cleanup log
Embeddings and vector indexesPinecone namespaces, pgvector tables, FAISS filesDelete the namespace or index that holds licensed vectorsIndex or namespace IDs and deletion responses
Labels and annotations added by the licenseeLabeling tool projects, annotation exportsDelete or keep as permitted, decided in the agreementProject IDs and export locations, plus the clause that applies
Evaluation and benchmark splitsEval harness repos, experiment trackersDelete unless a carve-out names the benchmarkRepo and run IDs, record counts per split
Synthetic records generated from the dataGeneration outputs, augmentation bucketsTreat as derived; decision requiredGeneration job IDs and a sample check for copied text
Logs, notebooks and error reports quoting recordsExperiment trackers, BI dashboards, ticketsDelete record excerpts; aggregate metrics may staySearch results for record identifiers across tools
Backups and snapshotsBackup vaults, table snapshots, disaster recovery sitesRetain under carve-out until natural expiry, never restored for trainingBackup schedule, expiry dates, restore restrictions
Copies held by contractors and affiliatesVendor tenants, labeling vendors, consultantsSame disposition as the licensee, certified separatelyEach party's own certificate against the same map

Which derived artifacts need an explicit scope decision?

Any artifact a buyer could use to rebuild, quote or stand in for the records needs a written decision, because the default rules of contract interpretation will not answer it cleanly. The artifacts that most often cause disputes are the ones a licensee creates with its own effort and therefore feels it owns.

At a glance

Which derived artifacts need an explicit scope decision

Write the decision for each class into the schedule, not into a definition buried in the main agreement. A short line such as embeddings: delete with the source records, or annotation labels: licensee may keep labels without record text, is easier to audit than a broad definition of derived data that both sides read differently.

  • Labels and annotations: the labels are the licensee's work, but they are attached to the supplier's records. A common split is that label values without record text may stay, and labeled records may not.
  • Embeddings and vector indexes: they are built to retrieve the original passages, so most suppliers treat them as copies and require deletion with the source.
  • Evaluation sets: a held-out split often survives as a benchmark long after training. Decide whether it may be kept, for how long, and whether results computed on it may still be published.
  • Synthetic records: generators can reproduce source text. Require a copy check before any synthetic set is kept, and say who decides whether it passed.
  • Aggregate reports and metrics: summary statistics usually carry little risk, but tables listing individual records do not count as aggregates. Define the threshold, for example no row describing fewer than a set number of records.

Do trained models belong on the same map as the data copies?

Yes, as its own row with its own decision, because a model is neither a copy nor a simple derived file. Research has shown that trained language models can reproduce training text verbatim: Carlini and colleagues extracted hundreds of memorized sequences from a public model, including names, phone numbers and email addresses. Deleting the training files does nothing to that memorized text.

Regulators have also treated models as something that can be ordered destroyed. In its 2021 final order against Everalbum, the Federal Trade Commission required deletion of affected work product, defined as models or algorithms developed in whole or in part using biometric information the company collected from its app users. A supplier's contract is not an enforcement order, but the order shows that model deletion is a real and drafted remedy rather than a theoretical one.

The common model outcomes are keep and use, keep but freeze the version trained during the term, or delete. Whichever the parties choose, the artifact map should name each model and checkpoint trained on the records, including fine-tuned adapters and distilled students, so the choice applies to a known list. The linked pages go deeper into the model terms themselves; this map only makes sure no model is left off.

How long may a recovery window or retained copy outlast the term?

Only as long as the agreement lists a purpose, a maximum period and the controls that apply while the copy exists. Recovery windows and backup cycles are legitimate reasons to hold data for a while after the term, but an open-ended carve-out for backups quietly converts deletion into indefinite retention.

At a glance

How long may a recovery window or retained copy outlast the term

Where the licensee processes personal data for the supplier, European law already sets the pattern. GDPR Article 28(3)(g) requires a processor contract to provide that, at the controller's choice, the processor deletes or returns all personal data at the end of the services and deletes existing copies unless EU or member state law requires storage. A data license is often not a processor arrangement, but the same structure works well in a commercial schedule: delete or return, delete remaining copies, and allow storage only where a stated legal duty requires it.

For the deletion method, point to a recognized standard rather than inventing one. NIST SP 800-88 Revision 2 keeps the clear, purge and destroy categories, treats cryptographic erase as a technique across encrypted media, and introduces information storage media as a term that covers cloud, container and object storage. Asking the licensee to name the method used for each row gives the certificate something concrete to attest to.

  • Purpose: name the reason, such as disaster recovery or a statutory record duty, not a general business need.
  • Maximum period: set an outer date, such as the end of the longest backup rotation after termination.
  • No restore for use: a retained copy may be restored only to recover systems, and licensed records found in a restore are deleted again.
  • Access: limit retained copies to named roles and keep confidentiality running until the last copy expires.
  • Final notice: the licensee confirms in writing when the last retained copy has expired.

Worked example (illustrative): a support ticket archive reaching its end date

The figures here are invented for illustration. A software company licensed two years of closed support tickets to a model developer. At termination, the developer's filled-in map has 9 rows and 23 named locations, including 3 storage buckets, 2 warehouse schemas, 1 vector namespace, 4 training workers with local caches, 1 labeling vendor and 2 evaluation repositories.

The developer deletes the buckets by version ID, drops the warehouse tables and records that the last fail-safe window closes 14 days after the drop. The labeling vendor certifies separately against the same rows. The company's counsel checks the certificate against the map and finds that every row has a location and a completion date.

The exception is one evaluation repository. During the term the developer published a benchmark score on a held-out split of about 2 percent of the tickets, and the agreement says nothing about evaluation sets. The developer wants to keep the split so the published score can be reproduced. The parties settle it by amendment: the split is kept for 12 months in a restricted repository, no new results may be published on it, and it is deleted at the end of that period with a separate certificate.

The limit of the method shows up here too. The map caught the evaluation split because it had a row for it, but no map can show what a model memorized. That question was settled earlier by the model clause, which in this example allowed the developer to keep the model trained during the term without further training on the tickets.

Which map entries go to counsel, and which to the licensee's engineers?

Counsel decides what each row is allowed to be; engineers decide where each row actually is. Mixing those roles is how maps end up with legal language nobody can verify or technical lists nobody agreed to. Stop and get specialist review before signing if any of the conditions below apply.

At a glance

Which map entries go to counsel, and which to the licensee's engineers

  • Counsel: whether labels, embeddings, evaluation sets and synthetic records count as derived works or confidential information under the agreement's definitions and governing law.
  • Counsel: whether personal data in the records brings a privacy law deletion duty that overrides or adds to the commercial schedule.
  • Counsel: whether a carve-out for legal holds or regulatory retention is drafted narrowly enough.
  • Engineers: every storage system, cache and tenant the records will pass through, including contractors.
  • Engineers: the recovery window for each system and the date the last one closes.
  • Both: what evidence each row produces, and who signs the certificate for each party.

Attaching the artifact map before records leave your systems

The easiest time to agree on the map is before any record is delivered, while both sides still have leverage and a clean list of planned systems. A supplier that sees the map early can also decide to narrow the data set rather than negotiate a long list of carve-outs.

In a SourceX license the signed agreement comes first: the company settles scope and terms before any record is delivered, and from then on SourceX's use, sublicensing and distribution of the de-identified dataset are bounded by that document. SourceX carries out the de-identification before release through approved processing routes, and exclusivity and term are written into each deal's agreement. A company curious whether its records qualify can begin with a short assessment, uploading nothing.

Frequently asked questions

Is a certificate of destruction enough at the end of a data license?

Only if it is tied to a list of locations. A certificate that names each row of the artifact map, the method used and the date the last recovery window closed is evidence; a general statement that all copies were deleted is not. Ask for a separate certificate from each contractor that held records.

Do backups have to be deleted when a data license ends?

Not always immediately, but they need a written rule. Many agreements let backups expire on their normal rotation, provided they are never restored for use and confidentiality continues until the last one expires. Set a maximum period so the carve-out cannot run indefinitely.

Can the licensee keep labels it created on our records?

That depends on the agreement, so decide it in the schedule. A common middle ground lets the licensee keep label values and label guidelines without any record text, while labeled copies of the records are deleted with the rest of the data.

Are embeddings copies of the data or something new?

Treat them as copies for deletion purposes. Embeddings and vector indexes exist to find and return the original passages, so most suppliers require them to be deleted with the source records rather than kept as derived work.

When should the artifact map be completed?

Draft it before signing, fill in actual locations during onboarding, and update it whenever a new system touches the records. Reconciling it at least once during the term makes the final certificate a short exercise instead of a search.

Sources

  • In a versioning-enabled Amazon S3 bucket, a delete request without a version ID inserts a delete marker and keeps earlier versions; deleting by version ID removes that version permanently. Source
  • Snowflake Fail-safe provides a non-configurable 7-day period, starting when Time Travel retention ends, during which historical data may be recoverable only by Snowflake. Source
  • BigQuery time travel lasts two to seven days and is followed by a seven-day fail-safe period that is not configurable and cannot be extended. Source
  • Hugging Face Datasets stores converted Arrow files in its own cache, by default under ~/.cache/huggingface/datasets, separate from the Hub download cache. Source
  • Pinecone records can be deleted by ID, by metadata filter or by deleting all records in a namespace, and deleting a namespace cannot be undone. Source
  • Carlini and colleagues extracted hundreds of verbatim training sequences, including names, phone numbers and email addresses, from a trained language model. Source
  • The FTC's Everalbum decision and order defines affected work product as models or algorithms developed in whole or in part using biometric information collected from app users, and requires its deletion. Source
  • GDPR Article 28(3)(g) requires processor contracts to provide for deletion or return of personal data at the end of the services, and deletion of existing copies unless EU or member state law requires storage. Source
  • NIST SP 800-88 Rev. 2 keeps the clear, purge and destroy methods, retains cryptographic erase, and introduces information storage media to cover cloud, container and object storage. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies