The Training Data Questions Your AI Stack Cannot Answer

A subject access request arrives with a twist: delete everything you collected about me. Your CRM can answer that in an afternoon. Your training corpus cannot. It is tens of terabytes, crawled from hundreds of sources, merged, deduplicated and re-sharded twice, and on top of it sits a model that has, in the only sense that matters now, never met a data subject. It has absorbed them.

Nobody in that pipeline did anything unusual. The corpus was built the way most are: engineers solving a data problem, one shard of provenance at a time, none of it captured. The gap shows up the first time someone external asks a question about the data instead of asking the data a question.

That reframes the whole conversation with regulation. GDPR and the EU AI Act do not ask you to be perfect. They ask you to be able to answer, with evidence, a short list of questions about the data behind your models. Both instruments, in different registers, are privacy engineering specs wearing legal language. If your stack cannot answer the questions, the gap is architectural, and architecture is where you should fix it.

Here are the five questions that keep coming up in privacy assessments of ML systems, and the systems that answer each one.

Q1: Where did this row come from, and on what basis is it here?

This is lineage, and it fails in a predictable way: provenance has to be captured at ingestion. You cannot reconstruct it later. A row that arrives without a source URI, a collection timestamp, a licence or consent record and a transform chain is anonymous forever, in the unhelpful sense.

The forcing function already exists for anyone shipping general purpose models in Europe. The AI Act requires GPAI providers to publish a sufficiently detailed summary of their training content, and the AI Office published a template in 2025 that asks for the breakdown along something like a five-layer pyramid: web text, books and scientific writing, code, other modalities, and generated or synthetic content. Filling that template honestly is a design review for your ingestion pipeline. Teams that attempt it discover their honest answer is “nobody tracked which rows came from which layer”, and they discover it in the least convenient possible setting.

The engineering is unglamorous but standard: an immutable provenance record per ingest batch, keyed into each row, following it through every transform. What makes it non-optional is that four of the five questions downstream depend on it.

Q2: What purpose was this data collected for, and is training inside it?

Purpose limitation is the GDPR clause people skim, and it converts cleanly into an engineering control. Attach a purpose label to rows and collections at write time. Declare the allowed purposes in a registry. When a training job is launched, it states its purposes, and the build system refuses the combinations that were never declared.

This is the data-plane version of least privilege, and it has the same property: it is cheap at write time and impossible at read time. A corpus ingested “to improve support ticket routing” is not automatically a corpus for training a product-wide model. Whether any particular secondary use is compatible is a balancing question for counsel, and counsel’s answer is much better when engineering can hand them a purpose field to look at instead of a twenty-minute reconstruction of where the data came from.

The model registry belongs in this loop too. A model that was trained for purpose A carries that purpose forward into deployment decisions: can it serve purpose B? That is a check you can automate.

Q3: Which of these rows are personal data?

Classification, asked again, but for a different set of artefacts than your DPO’s spreadsheet remembers. A scraped text corpus is personal data if it contains names. It also contains sentences that identify people after de-duplication, and it contains email signatures, phone numbers and address blocks that regex rules will mostly, not entirely, find.

The artefacts people forget are on the training-adjacent side: prompt logs are personal data. Agent memories are personal data. Embeddings computed from personal data are personal data in the same way that a photograph of a document about someone is personal data. The vector space is derived from the person, and re-identification research keeps making adjacent-dataset attacks cheaper than anyone’s threat model assumed.

The control is a classification pipeline over corpora and derived artefacts, with reclassification on a schedule, because “anonymous” is a property that decays. A hash of personal data is comfortable pseudonymisation until an external dataset shows up and the hash becomes a join key. Set a review period for classification decisions, record the dataset-level decisions and their dates, and treat the schedule as part of the system. Also be honest that classification is not one-shot: a ruling changes, a technique changes, a corpus that was fine in January is a problem in October.

Q4: When does this row go?

Retention is a solved pattern for application data that has quietly never reached ML infrastructure. Training stores get built for cheapness and scale: append-only object storage, no TTL, no propagation. The AI Act’s data governance expectations, and GDPR’s storage limitation, both assume the opposite. The engineering is again standard: time-bombed staging areas, retention by collection class, and deletion that propagates to feature stores, caches and label sets, because a row that is deleted from the corpus but alive in three derived stores has not been deleted.

And then the hard part, which deserves the plain statement: erasure from trained weights is an open research problem. Machine unlearning exists in papers and in vendor decks, and what “removed” means varies from honest (removed from the index and future training; the model has been retrained since) to marketing (a fine-tuning pass the vendor calls deletion). Article 17 does not currently have a technical answer for weights nobody can meaningfully edit.

Your options are the ones it makes sense to choose from deliberately: do not train on personal data in the first place where you can partition or substitute it; segregate high-risk records so erasure requests touch a small blast radius; or retrain and document the evidence trail of what changed. A small-ε DP argument is complementary here rather than equivalent: a bounded-influence model gives you a defensible position that an individual’s data has limited effect on the weights, and I have written what that costs in practice. None of this substitutes for erasure; it changes the calculus while you wait for unlearning to mature. Whatever your position is, write it into the DPIA. A documented, honest position survives review. An undocumented one becomes whatever the auditor imagines.

Q5: Can you show the data was suitable, representative and examined for bias?

This is AI Act territory: Article 10 expects the data governance practices for high-risk systems to be documented, and expects training, validation and testing sets to be relevant, sufficiently representative and examined for bias, with the examination results available. Legal prose, sure. The engineering behind it is also what a competent ML team should want without the regulation.

Dataset cards for corpora and fine-tuning sets. Split-level evaluations so you know the model’s quality per population segment, not just in aggregate. Explicit definitions, written before testing, of what “representative” means and for whom, because a model trained on 2019-era text is “representative” of 2019, and whether that satisfies you depends on the purpose you declared in Q2. Coverage tests for the populations you claim to serve, with the negative results kept: evidence that bias examination happened includes evidence of failed checks.

The part teams resent about Article 10 is usually the documentation. The part that saves them is usually the test itself, the split-level evaluation that finds the segment where accuracy has quietly collapsed. The regulation points at a good habit it did not invent.

Inventory is not governance

I have argued before that supply-chain style inventories for AI (AIBOMs) are arriving and matter. Inventory answers “what exists”: which models, which datasets, which dependencies. Governance answers “what may happen to it”: for what purpose, until when, under which basis, with what evidence. The two stack, and you need both, but only one of them is a catalogue you can buy. The other is five questions wired into your build system and your storage TTLs.

A build order that does not fight itself

Teams that try to do all five at once stall. The order that works in practice:

  1. Catalogue and classify what you already have before ingesting anything new. You cannot govern data you cannot name, and every day of not knowing is day one of the problem.
  2. Start provenance at ingestion now. No retrofit exists. Provenance is the dependency for erasure, purpose and reporting, so it is the thing to stop the world for.
  3. Wire purpose into the build system. The registry and the training-job declaration are a weekend of work and the highest-value control on the list.
  4. Put clocks on staging and derived stores. Retention with propagation, not a policy PDF.
  5. Dry-run the paperwork twice a year. Attempt a genuine Article 53-style training summary and a genuine erasure request against your own stack as an exercise. The gap between what you can say and what you thought you could say is your backlog, discovered on your schedule rather than the regulator’s.

None of the five questions needs new law to answer, and none of them needs exotic technology. They need join keys, labels, clocks and evidence records, the boring parts of a data platform, pointed at obligations that are now explicit in the regulations your models already operate under. The organisations that build this will ship AI faster than the ones that do not, because each argument happens once at design review instead of six times in meetings that were called by someone else’s enforcement notice.