Skip to main content

The provenance file: your data map an auditor could follow

The short answer

The provenance file is the followable map

The deliverable of this topic is a single document that lets a stranger trace any output of your system back through every dataset and transformation to its origin, its legal basis, and its owner, without asking you a question. The Royal Free had the data and the good intentions; what it lacked was this map, and the map's absence is what the regulator found.

What you will be able to do

  • Assemble a data provenance file for a real AI system that names every dataset it uses and, for each one, records source, legal basis, original collection purpose, transformations, and a named owner.
  • Trace a single output of your model back through every dataset and transformation that produced it, so an auditor can walk the same path without your help.
  • Record the legal basis and the original collection purpose for each dataset in plain language, and flag where the use you now make of the data differs from the purpose it was collected for.
  • Document an honest "provenance unknown" entry for any dataset whose origin you cannot establish, rather than leaving a silent gap the auditor will find.
  • Compile the findings from Topics 2.1 through 2.5 into the corresponding fields of the file, so the module's work becomes one inspectable artifact rather than five loose notes.
  • Construct the file so a reader who has never met you or your system can follow the data trail end to end, applying the same plain-language glance test you would to any learner-facing document.
  • Assign a named owner and a review date to every dataset entry, so no data source sits in the file unowned and no entry silently goes stale.
  • Connect each provenance entry to the downstream artifact that will consume it, naming the conformity file (Module 5) and the evidence annex (Module 10) as the places this file comes back.
  • Distinguish what a provenance file is responsible for (the followable data map) from what belongs to the data protection impact assessment (Module 10), handing the adjacent material to its owner topic.
  • Proportion the depth of each entry to the stakes of the decision the data feeds and the sensitivity of the data, so effort concentrates where a wrong or unlawful output would harm people most, while every dataset still clears the seven-question floor.
  • Adapt the legal-basis field to the jurisdiction that governs each dataset, flagging where a basis is established under one country's law but still open under another's that the data or system also touches.

The lesson

When an AI pipeline is subjected to hostile regulatory scrutiny, the first thing the auditors look for isn't the complexity of the math. They look for the breaks in the history. A technical bug is a fixable error.

An undocumented data origin is a terminal audit failure. To prevent that failure, you need a provenance vital, a followable map that tracks every piece of data from the moment of ingestion to its final use in the model. Engineering teams rely on passive metadata logs.

Auditors require a highly structured linear map explaining the why behind the what. Think like an auditor. They are adversarial, short on time, and searching for any break in your evidence trail.

Leaving an auditor to navigate a messy, fragmented log is an invitation for them to find an infraction. This makes the provenance file the most important document for your immediate job security and the overall viability of the project. Without this map, your AI deployment lacks a legal perimeter.

Surviving an AI audit is not about demonstrating technical perfection. It is about proving you have absolute, trackable control over the data you possess. Construction begins with a rigid rule.

One entry per dataset. The same seven questions. Regulatory defense relies on absolute consistency.

If your documentation style varies between datasets, it signals to an auditor that your governance is arbitrary. You must answer three foundational questions for every entry. Insert question 1 text from source.

Insert question 2 text from source. And insert question 3 text from source. The matrix is completed by four more parameters.

Insert question 4 text from source. Insert question 5 text from source. Insert question 6 text from source.

And insert question 7 text from source. Using varied templates or skipping questions for specific datasets creates immediate legal vulnerabilities. A locked grid restricts the auditor's focus.

It prevents them from launching broad phishing expeditions into your engineering pipeline. By standardizing the inquiry, the governance team dictates the narrative of the audit before it even begins. Within that grid, two columns carry the most risk.

Legal basis and original purpose are where files sink. Legal basis is a strict record of initial acquisition. You must prove the right to collect that data at the exact moment of ingestion.

Original purpose is the stated reason for that collection. Engineers often struggle here because technical utility does not grant legal permission. Data collected to fulfill a specific service request becomes illegal the moment it is repurposed for AI training without documented authorization.

We saw this failure play out with insert organization name from source. Their documentation revealed a mismatch. The original purpose of the data did not allow for the specific AI application they deployed.

That single documented oversight led to insert exact financial or reputational costs from source. Filling out these two columns in the provenance file forces you to catch these tripwires before the model goes live. Technical brilliance cannot compensate for a flaw in the original purpose documentation.

Rule 3 moves from origin to destination. Lineage makes the trail followable forward. Backward lineage explains exactly where your data came from.

Forward lineage tracks how that data is transformed and exactly where it is consumed downstream. Auditors trace the path from raw ingestion through your processing nodes into the final model weights. Without mapping this forward path, a single corrupted dataset can silently poison every downstream model it touches.

As the scenario in section 5 demonstrates, failing to map forward lineage means you cannot isolate or extract corrupted data once it is integrated. Forward traceability allows for surgical removal of data. Without it, regulators may force you to scrap the entire model.

Forward lineage transforms your file into an active defensive tool. Rule 4 addresses the danger of omissions. Provenance unknown is an entry, not an omission.

Engineers often leave legacy or scraped data out of logs when the history is broken, assuming a blank field is safer than admitting a gap. A blank field triggers a cascade failure during an audit. An omission suggests to an auditor that you are either negligent or attempting to hide a known violation.

Explicitly entering provenance unknown establishes transparency. It proves you have identified your blind spots. By declaring these boundaries, you limit your liability to a specific known area, rather than leaving the gap open to interpretation.

Documenting what you do not know is a safer legal strategy than a lie by omission. The final rule is a matter of efficiency. The file is mostly assembly, if you did the module honestly.

This map doesn't require generating mountains of new data. You are simply synthesizing governance work already performed in previous pipeline steps. This Monday morning, take your three most critical datasets and audit them against the seven-question framework.

For any missing legacy fields in those datasets, explicitly enter provenance unknown by the end of the day. A followable data map removes internal compliance ambiguity, providing the clarity to move a model from development to live production, without stalling from documentation friction.

The ideas, one by one

One entry per dataset, the same seven questions

Name, source, legal basis, original collection purpose, transformations and lineage, retention and destruction, and owner with a review date. A vague paragraph names nothing an auditor can check; a dense pipeline diagram answers the engineering question and not the governance one. The structured entry is what a stranger can walk.

Legal basis and original purpose are where files sink

These two fields force the questions the Royal Free never answered on the record: are we lawfully allowed to use this data, and is the use we now make it of the use it was collected for. A blank legal-basis field on data already in production is the single finding most likely to become an enforcement action.

Lineage makes the trail followable forward

Recording what happened to the data from source to output is how you trace a bad output to a bad input, prove a deletion reached every downstream copy, and catch synthetic data laundering a bias upstream. A lineage gap is exactly where a harmful output later proves untraceable.

"Provenance unknown" is an entry, not an omission

Every real organization has datasets with incomplete provenance. The honest entry says so, names what is known and unknown, and assigns an owner and a date to close the gap. An auditor who finds a flagged gap confirms your honesty; one who finds a hidden or guessed-at gap doubts your whole file.

The file is mostly assembly, if you did the module honestly

Topics 2.1 to 2.5 already produced the audit, the consent history, the retention decision, the synthetic-data call, and the vendor verification. This topic places each finding into its field. An empty field signals an earlier investigation you have not finished.

The file is living, owned, and dated

Data changes, so the file changes with it; a stale provenance file describing datasets you no longer use is trusted and wrong. Every entry carries a named owner and a review date, and a change to the data is not complete until the file reflects it. The named owner is the structural answer to "who was answerable for this?"

It is the map, not the risk assessment

The provenance file records where the data came from; the data protection impact assessment (Module 10) assesses what could go wrong for people. The file feeds the assessment; you cannot assess the risk of data you cannot trace. Build the map here; the assessment reads it later.

It grounds everything after

The provenance file is lifted into the conformity file in Module 5 as its data-governance evidence and linked into the evidence annex in Module 10; when your file is attacked in Module 11, the provenance entries an adversary probes first are the gaps and the guesses. Module 2 exists so the rest of the program stands on data you can actually account for.

Provenance travels; the basis field must too

The file is jurisdiction-neutral, but the legal-basis field is not: data collected in one country, processed in a second, and deployed in a third can face three rulebooks. Build the basis field to hold more than one answer where the data crosses borders, and flag the jurisdictions where a basis is established and where it is still open. The cross-border shipping decision later in the program rests on exactly this.

Depth is proportioned to risk

Every dataset gets an entry answering the seven questions, but the sensitive data feeding a high-stakes decision earns the deepest, fully evidenced entry, while low-risk data earns a lighter one. Proportion keeps the file finite and honest, and recording the proportion reasoning stops an auditor mistaking a deliberately light entry for a neglected one.

Provenance is operational, not just compliance

The file is what lets you act in minutes when a public dataset is found poisoned, a vendor is found unlawful, or a person demands deletion. An organization without it meets every data incident as an unanswerable panic. The file is for the incident that will come, not only the auditor who might.

You read it. Now prove it.

Explain this lesson in your own words, the way you would to a colleague, without looking back at it. It is graded against the lesson itself, by the same grader our learners face. One free try a day, no account needed.

The conversation

The same lesson, talked through at length by two hosts: the full transcript of the audio deep dive.

Listen to it as episode 16 of the podcast.

Read the full conversation

So, back in 2021, the Federal Trade Commission handed down this ruling that honestly just sent absolute shockwaves through the entire data science community. Oh, absolutely. It was a massive wake-up call.

Right, because they didn't just fine a company for mishandling user data, which we see that all the time. They actually ordered the company to permanently delete the algorithms, like the machine learning models that were built on top of that data. Yeah, the models themselves.

It's a regulatory mechanism known as algorithmic destruction. Algorithmic destruction. Yeah.

Which sounds intense, because it is. I mean, think about it. You can have a data science team spend two years, maybe tens of millions of dollars, building an absolute Ferrari of a predictive model.

Right. But if a regulatory body walks into your boardroom, and you can't definitively prove where the training data came from, they will force you to drive that Ferrari straight into a shredder. It is, without a doubt, the ultimate corporate vulnerability in the modern era.

I mean, we are watching incredibly sophisticated enterprise data operations just get brought to their knees. And it's not because of the tech. Exactly.

It's almost never because their machine learning architecture was flawed. It's because they fundamentally failed to treat data provenance as, well, as an engineering prerequisite. When that auditor is sitting across the table, your brilliant model is completely worthless if it can't survive a basic audit of its origins.

Which brings us perfectly to the spine of our Deep Dive today. We're looking at a pretty dense stack of sources this week. Recent FTC enforcement actions, structural frameworks from enterprise data governance white papers, and updated guidance from the Copyright Office regarding generative AI.

A lot of heavy reading. Yeah, definitely. Plus, our own notes on this evolving compliance landscape.

So consider this your executive briefing on what is arguably the most critical operational document in modern business. We are going to master the provenance file. Your data map and auditor could actually follow.

Exactly. We're talking about building a transparent, defensible foundation for your entire data operations. Because, you know, if your data isn't defensible, your AI is just a giant liability.

And we really need to calibrate our mindset right out of the gate here. This isn't, it isn't a conversation about a compliance checklist. Right.

It's not just a box to tick. No, not at all. This is not about appeasing a regulatory body with some bureaucratic paperwork.

The provenance file is an architectural necessity. I mean, if you are operating at scale, relying on massive data lakes and complex ingestion pipelines, you need a followable map. A followable map.

Let's unpack that. You need a systemic, heavily structured topography of your data. Okay, let's start right there with this concept of the map.

Because I was looking through the governance white papers we sourced, and a really consistent theme is how many organizations mistakenly believe they have a provenance file. Oh yeah, they think they're covered. But in reality, they're operating what is basically a digital landfill.

So they get hit with an audit or maybe a due diligence request during an M&A, and they point the auditor to like a chaotic repository of unstructured Slack messages. A couple of outdated README files on GitHub. Exactly.

And, you know, a massive spreadsheet that hasn't seen an update since, what, three reorgs ago. I see it in enterprise environments constantly. The assumption is that, well, because the historical information theoretically exists somewhere within that digital landfill, the company has achieved provenance.

But that's not how an auditor sees it. Not even close. That fundamentally misunderstands the psychology and the mandate of an auditor.

I mean, put yourself in the shoes of a third party risk assessor or a regulatory investigator. They don't have time for that. Right.

They do not want to become forensic data archaeologists for your company. They aren't going to sit there and decipher the internal jargon in your engineering team's legacy JIRA tickets just to piece together when a specific behavioral data set was ingested. Yeah.

A followable map, like three non-negotiable elements, right? Intent, direction, and standardized signposting. Precisely. Okay.

Let's look at this through the lens of enterprise architecture. It's akin to Serbenus Oxley compliance in the financial sector. Oh, the SOX regulations.

Yeah. Great comparison. Because when SOX was rolled out in the early 2000s, you couldn't just hand an auditor a shoebox of receipts and a ledger with mysterious entries and say, you know, the math works out.

Just trust us. Trust us. Right.

That didn't fly anymore. Financial audits require explicit standardized trails. And the provenance file is the exact same concept, just applied to data engineering.

I mean, think of it like architectural blueprints. And inspectors shouldn't have to tear open your drywall to figure out where the plumbing goes. Wow.

Yes. The provenance file is your blueprint. And when that blueprint doesn't exist, organizations default to this incredibly dangerous operational model.

I actually refer to it as oral history. Oral history, like corporate folklore. Exactly like corporate folklore.

You ask a data engineering team, where exactly did this massive scraping of consumer behavioral telemetry come from? What do they say? The answer is usually something like, oh, the previous lead architect, Sarah, she negotiated that vendor contract three years ago. So she knows all the details. Which is catastrophic because, well, Sarah was recruited by a competitor six months ago, right? Exactly.

And now that knowledge is permanently gone. So relying on oral history turns a completely routine compliance check into an existential crisis. Because now you're scrambling.

You end up pulling senior engineers off of product development. You're dragging legal teams into emergency war rooms and burning hundreds of hours trying to reconstruct a timeline that honestly should have been immutably logged at the point of ingestion. It sounds entirely unsustainable.

It is. An auditor has zero tolerance for oral history. From a legal and regulatory perspective, if it isn't documented in a systematic, standardized format, it simply did not happen.

Or from the auditor's point of view, it happened improperly and you're just trying to cover it up. Right. Obfuscate the reality.

This is why the structural integrity of the provenance file is so paramount. Because a map is completely useless if the legend changes every time you look at a new region. Right.

Which brings us to the actual structural constraint that the industry frameworks point to as the solution. The rule of one entry per dataset and answering the same seven questions. Yes.

Moving from the philosophy of governance into the actual operational mechanics. This framework demands extreme rigidity. Like you maintain exactly one entry for every single dataset in your environment and every single entry must answer the exact same seven questions.

No exceptions. None. You don't get to add custom fields to hide behind technical jargon and you certainly don't get to skip fields just because the dataset is, you know, messy.

So where does the power of that framework actually come from? The power lies entirely in its constraint. Consider the cognitive load on an auditor who has to review, say, thousands of datasets within a multinational enterprise. Right.

It's overwhelming. If every business unit documents their data differently, like marketing uses a narrative document, product engineering uses a bulleted list in a wiki, and data science just links out to a raw AWS S3 bucket, the auditor is going to spend 80% of their billable hours just trying to translate your internal chaos. And by forcing every single dataset through an identical seven-question gauntlet, you just eliminate that cognitive friction entirely.

You do. And crucially, you also eliminate the operational wiggle room. The wiggle room.

Because when documentation is open-ended, it's remarkably easy for a data team to gloss over massive compliance gaps, isn't it? Oh, absolutely. If they aren't entirely sure about the legal acquisition rights of a dataset, what do they do? What do they do? They write three dense paragraphs about the technical elegance of their Kafka ingestion pipeline. Just hoping the technical jargon distracts the auditor from the fact that they don't have legal clearance.

Right. But when you utilize a strict template of seven unchangeable questions, a blank space is a glaring red flag. It acts as an immediate diagnostic tool.

Okay, so let's actually break down these seven questions. Because if we synthesize the best practices from the regulatory frameworks we're analyzing, these questions basically represent the holistic life cycle of the data. They map the whole journey, yeah.

So question one, what is the precise origin entity of this data? And I'm not just a third-party vendor, but the exact legal entity. Question two, what was the specific ingestion mechanism and the immutable timestamp of acquisition? Then three, which is huge, what is the explicit legal basis for holding and utilizing this data? We will definitely need to come back to that. Oh, absolutely.

Question four, what was the original stated purpose of collection at the time it was acquired? Another massive one. Right. Question five, who is the internal data steward? Like the actual human being or role responsible for governing this asset.

Someone has to own it. Exactly. Question six, what structural transformations, enrichments, or anonymizations have been applied since it was ingested? And finally, question seven, what are the current hard-coded access and usage restrictions placed on this dataset? That is a phenomenal synthesis of the frameworks.

And what's fascinating about deploying those seven questions in an enterprise environment is the immediate friction it causes. Friction? Like pushback from the teams? Oh, instantly. You will have data scientists argue that unstructured data, say a massive lake of raw video files used for training computer vision models, it just doesn't fit neatly into those seven boxes.

Well, let me play devil's advocate here, because I would actually push back on the framework for that exact reason. I mean, we're in a modern multi-cloud environment. Right, it's complex.

You're dealing with real-time streaming data, API endpoints, updating by the millisecond massive unstructured data lakes. Are we trying to force square pegs into round holes here? Does a petabyte of raw sensor telemetry really fit the same standardized questions as, say, a static Excel spreadsheet of demographic data? It's a great question, but the friction you're identifying is not a flaw in the framework. The friction is the governance happening in real time.

Wait, really? The friction is the points? Yes. If a dataset is so convoluted or its ingestion pipeline is so opaque that an engineering team cannot answer those baseline seven questions, then that data represents a toxic asset. Wow.

So it shouldn't even be used. It absolutely should not be permitted into a production environment. The struggle to answer the questions forces the engineering team to confront the complexity and resolve the ambiguity before the data is weaponized in an AI model.

So the constraint forces clarity. It basically acts as an objective filter. Precisely.

And we really have to recognize the immense workplace pressure that data practitioners operate under. The business imperative is almost always speed. Right.

Ship faster, build faster. So imagine a scenario where a VP of product walks over to a data architect on a Thursday afternoon and says, our primary competitor just launched a new generative AI feature. I need you to fast track our competing model.

And let me guess. I need you to ingest this massive scraped dataset of user interactions by Monday morning. Exactly.

Get it done by Monday so we can begin training. Now in a company without this rigid provenance file framework, that data architect is entirely at the mercy of executive pressure. Because if they try to push back, it just becomes a subjective political argument.

Right. The architect says, I feel like this scraped data is a high compliance risk. And the VP just overrides them with, we'll worry about compliance later.

We need to ship the product. But the same seven questions rule fundamentally alters that dynamic, doesn't it? It completely changes it. The architect no longer has to wage a subjective political battle.

The framework provides an objective shield. So what do they say to the VP? They can look at that VP and state, look, I am fully prepared to ingest this dataset, but our automated governance protocol requires every asset to pass the seven question provenance file. I cannot populate question three regarding the explicit legal basis.

And I cannot populate question four regarding the original purpose. And until those fields are resolved, our deployment pipeline physically will not allow the data to be merged into production. Exactly.

It completely depersonalizes the conflict. It's no longer an engineer being an obstructionist. It's the systemic governance architecture demanding required inputs.

Okay. Looking at those seven questions, some of them are relatively straightforward mechanical inputs, right? Like the ingestion timestamp or naming the data stewards. Gosh, those are basic facts.

But the frameworks and our sources make it abundantly clear that two of those questions represent the vast majority of audit failures. Legal basis and original purpose are where files sync. Those two concepts really form the bedrock of data compliance, and they are chronically misunderstood by technical teams.

Let's start with legal basis, because there seems to be a really pervasive, dangerous assumption in the tech industry about what that actually means. Oh, there is. Teams assume that legal basis simply means a user blindly clicked I agree on a 50-page terms of service document.

Or even worse, that because data was publicly accessible on the internet, it's free to harvest. Ah, the classic we scraped it from a public forum, therefore it's public domain fallacy. Exactly.

But legal basis is vastly more rigorous, particularly under frameworks like the GDPR in Europe, or the CCPA in California. You have to ask, do you have the actual defensible right to utilize this specific data for this specific commercial application in a rapidly shifting regulatory environment? So just because you have the technical capability to scrape a million public social media profiles, that does not grant you the legal basis to use those profiles to train a commercial large language model. Right.

The legal basis must be explicit, it must be thoroughly documented, and it has to hold up under the aggressive scrutiny of current intellectual property and privacy law. And we are seeing the Copyright Office issue incredibly strict guidance right now regarding what constitutes fair use in AI training. We are.

It's a massive shift. So if your provenance file just says, scraped from the web under legal basis, an auditor is going to immediately flag that entire data set as a massive legal liability. And a hurricane.

But even if you have an ironclad legal basis for acquiring the data, you can still completely destroy your compliance posture if you fail on the second massive trap, which is original purpose. This brings us to the concept of purpose drift, which is, frankly, perhaps the most insidious compliance risk in modern data architecture. Insidious, because it happens silently.

Yes, it happens silently over a long period of time. Let's clearly define purpose drift for everyone. When a company collects data from a consumer, they're establishing a legal pact, right? The company is stating, we are collecting this specific information to execute function X. Purpose drift occurs when that data is subsequently utilized to execute functions Y and Z without ever obtaining explicit renewed consent from the user for those new applications.

It is a profound betrayal of the initial legal mandate. Right. And to really understand the gravity of this, look at the historical precedence.

The most famous example of purpose drift in modern history is the Cambridge Analytica Scandal. Oh, that is the perfect case study. Let's break down the mechanics of that failure through the lens of the provenance file.

Let's do it. When the data was initially gathered via that personality quiz app on Facebook, the stated original purpose, the legal mandate, was strictly for academic research. Correct.

The researcher had a documented legal basis and a highly specific original purpose. But then that exact same data set was transferred and weaponized for highly targeted political advertising. Which is an extreme, catastrophic instance of purpose drift.

Exactly. The data was utilized for a purpose vastly outside the scope of the original user consent. And we all know it resulted in multi-billion dollar fines, massive reputational destruction and global regulatory overhaul.

Yeah, but here's the thing. It happens on a smaller, yet still totally illegal, scale every single day in corporate enterprise. Okay, look at it this way.

Imagine an e-commerce platform that legitimately collects a user's geolocation and purchase history. The original purpose is entirely valid. Fraud prevention and shipping logistics.

A completely defensible, standard operational requirement. Right. But three years later, a newly hired data science team realizes they're sitting on a goldmine of behavioral telemetry.

Oh, I see where this is going. They take that shipping and fraud data and feed it into a machine learning model designed to predict highly sensitive personal attributes. Perhaps a user's income bracket, or their likelihood of having a specific medical condition.

Just so they can sell those predictive cohorts to third-party advertising networks. Exactly. So they possessed the legal basis to hold the data, but they egregiously violated the original purpose.

And this is exactly what regulatory bodies like the FTC are hunting for right now. If an auditor reviews your provenance file and sees that a dataset was logged in 2021 with an original purpose of logistical fulfillment. And then looks at your current deployment architecture and sees that same data feeding a generative AI recommendation engine.

Without a documented bridge of renewed user consent, the audit is over. You have failed. This is why I really think the original purpose constraint is going to be the defining legal battlefield for artificial intelligence over the next decade.

I completely agree. I mean, how do you ensure that data collected in a pre-AI world can legally be utilized to train the foundational models of tomorrow? You can't. You cannot ensure it unless you have meticulously documented the intent at the point of origin.

This is why the map must be exhaustive. But documenting the origin is only half of the equation, isn't it? Understanding the legal basis and the original purpose is inherently backward looking. It maps the history of the data.

Right. But a functional enterprise map must also project forward. Which transitions us to the absolute necessity of downstream traceability.

Lineage makes the trail followable forward. Yes. Provenance answers the question, where did this data originate? Lineage answers the infinitely more complex question, where exactly did this data travel and what is it currently touching? Forward lineage is the primary mechanism for enterprise risk mitigation, right? Because we established that the regulatory landscape is shifting rapidly.

The legal basis you documented perfectly today might be entirely invalidated tomorrow. Exactly. For example, a massive third-party API vendor unexpectedly changes their terms of service, explicitly revoking your right to use their data for machine learning.

Or the European Union passes a new directive that classifies a specific type of behavioral telemetry as highly restricted. Or on a micro level, a block of 10,000 users simultaneously submits formal data subject access requests under the GDPR, demanding their data be permanently deleted. In any of those scenarios, that specific data instantly transforms from a corporate asset into a toxic liability.

Instantly. And if your organization lacks sophisticated forward lineage, you are facing an unmanageable crisis. You must possess the technical architecture to trace exactly which downstream databases, which business intelligence dashboards, and crucially, which specific machine learning models that now toxic data was fed into.

Let's use an analogy from heavy manufacturing to explain the stakes here. Specifically looking at supply chain cryptography. In the aerospace industry, companies like Boeing or Airbus utilize incredible lineage tracking for their components.

Oh, their tracking is phenomenal. Right. So if they discover that a specific batch of titanium they purchased six months ago from a third-party smelter was improperly forged and is prone to microfractures, that is a catastrophic risk.

An existential threat to the safety of the aircraft, yeah. But because they possess flawless forward lineage, they can trace that exact batch of titanium through their entire manufacturing pipeline. They know exactly where it went.

They know it was used to machine landing gear struts at a specific facility in Ohio, and they know those exact struts were installed on 24 specific aircraft with known serial numbers. So they can issue a hyper-targeted, highly precise recall for just those 24 planes. It's a logistical headache, sure, but the risk is entirely contained.

Now contrast that with an organization that lacks forward lineage. If they just threw all the titanium into a pile and pulled from it randomly. They would have no idea which planes have the defective landing gear.

They'd be forced by regulators to ground their entire global fleet of that model until every single plane could be manually inspected. Which would cost billions of dollars and destroy the company's market capitalization. Exactly.

And that catastrophic scenario is exactly what is happening in modern data pipelines right now. It is. We have automated ingestion architectures, orchestration tools like Apache Airflow pulling data from hundreds of divergent sources, transforming it, blending it, and feeding it into neural networks at lightning speed.

It's basically a massive automated data blender. A data blender, yes. And without forward lineage, a single poison dataset like one batch of data that loses its legal basis infects the entire ecosystem.

Because you can't mathematically unblend a machine learning model, can you? No, you can't. But the concept of machine unlearning is still largely theoretical and incredibly computationally expensive. If an auditor determines you used restricted data and you cannot definitively prove, via your lineage map, exactly which models were isolated from that data.

Let me guess. The auditor will force you to assume all of your models contaminated. All of them.

You would have to scrap tens of millions of dollars in model training and compute costs simply because you couldn't trace the data forward. Wow. So this is why implementing tools like directed acyclic graphs or DAGs to visualize and enforce data pipelines is so critical.

Absolutely essential. When the auditor reads your provenance file, they need to see the entire highway system the data traveled inside your organization. They want to see the cryptographic hashes and metadata tags that prove you are in total control of the data's life cycle.

Okay, but tracing data perfectly backward to its origin and tracing it perfectly forward to its deployment? That is the architectural gold standard. It's the ideal state. But as anyone operating in enterprise technology knows, the reality of corporate data is profoundly messy.

So messy. What occurs when a company faces the reality of deep legacy data? What happens during a major merger and acquisition where an enterprise absorbs a 10-year-old startup and the startup's data origins are completely lost to time? We're basically back to the oral history problem. But the people who knew the history are long gone.

This scenario just paralyzes data governance teams. They run a legacy dataset through the seven-question framework. They realize they cannot answer the questions regarding origin or legal basis.

And they panic. Because they assume they've failed the compliance mandate. Right.

So they attempt to either hide the dataset in an obscure cloud bucket or they leave the provenance file completely blank. And that reaction is the fastest way to fail an audit. Which brings us to an incredibly counterintuitive yet vital operational truth that the frameworks point out.

Provenance unknown is a valid, acceptable entry in the file. It is an explicit entry, not an omission. I cannot emphasize this enough to data executives.

Writing the words provenance unknown in your documentation is infinitely superior to leaving a blank space, making a vague guess, or burying the data. OK. I have to interject here.

Because putting on my executive risk management hat writing unknown feels like signing a confession. I hear that all the time. Aren't I essentially handing a federal regulator or a third-party auditor a neon sign that screams, we have no idea what is in our systems and we are entirely negligent? Won't an auditor immediately penalize an organization for explicitly admitting a massive blind spot? It is a very natural fear, but it fundamentally misreads how an audit functions in the real world.

Let's delve into the psychology of the auditor again. An auditor deeply respects a known unknown. A known unknown, meaning you have identified the perimeter of your own ignorance.

Exactly. When you explicitly declare provenance unknown on a legacy dataset, you are demonstrating a remarkably high level of operational maturity. Because it shows you've done the work to find the gap.

Yes. You are proving to the auditor that your organization has actively and aggressively audited its own infrastructure. It shows that you subjected your legacy architecture to the rigorous sub-in-question framework, you identified a critical gap in the historical record, you formally acknowledged that gap, and you documented it.

You drew a heavily fortified fence around the problem. Whereas leaving the field blank. Leaving the field blank implies total negligence.

It implies ignorance of your own systems. Or worst of all, it implies an active cover-up. Right.

And if an auditor discovers a blank field regarding the legal basis of a massive dataset, their immediate operational assumption is that your entire governance protocol is functionally broken because it failed to even flag the missing information. But an explicit unknown proves the protocol works flawlessly, even when the underlying data is flawed. And legacy data debt is a universal reality.

Every Fortune 500 company on Earth has data sitting in a legacy mainframe from 2014 where the provenance is permanently lost. Auditors know this better than anyone. They are not expecting flawless, retroactive perfection from legacy systems that predate modern compliance frameworks.

They are expecting rigorous, transparent risk management. But just to clarify, writing provenance unknown does not grant the organization a free pass to use that data however they want, correct? Oh, absolutely not. The honesty of declaring the provenance unknown is what allows the business to rapidly isolate and quarantine that data.

So it's about containment. Because you have explicitly labeled it as a high-risk unknown, your automated governance systems can now assign it a severe risk score. You can engineer strict programmatic guardrails around it.

Give me an example of what that looks like in practice. You might establish a policy that dictates, because this acquired dataset has unknown provenance, it is legally cleared for internal aggregated business analytics, but it is strictly cryptographically forbidden from being ingested into any customer-facing machine learning models or generative AI training pipelines. You mathematically constrain the blast radius.

Precisely. You manage the risk profile. And when an auditor walks in and sees that you proactively identified an unknown, labeled it transparently, and engineered hard-coded restrictions to prevent its misuse, they do not penalize you.

They probably love it. They use you as the benchmark for their next audit. That is the very definition of elite data governance.

That is incredibly liberating for a data engineering team. It completely removes the systemic pressure to fabricate a clean history just to appease a perceived compliance standard. You can operate with brutal honesty.

And if you establish a culture of brutal honesty, the actual execution of this entire process becomes surprisingly frictionless. Which leads directly into the final reality of the provenance file. The frameworks point out that the file is mostly assembly if you did the module honestly.

Right. Creating the provenance file should never, under any circumstances, be a frantic, high-stress scavenger hunt the week before a regulatory audit or a due diligence review. If your team is scrambling to piece together documentation after the fact, your entire engineering process is fundamentally broken.

Completely broken. We have to break down what a healthy, proactive workflow actually entails. Provenance documentation must be a natural, automated byproduct of the data ingestion process itself.

It can't be an afterthought. It cannot be a post-mortem administrative activity. If your engineering team is answering the seven questions and verifying the legal basis at the exact millisecond the data is being acquired, at the absolute inception of the project, then building the final, comprehensive provenance file is merely compiling artifacts that already exist in your metadata.

How does an organization actually achieve that, culturally and technically? By embracing a concept known in software engineering as shifting to the left. Let's define shifting to the left for our audience, as it is a critical paradigm. Imagine a project timeline moving horizontally from left to right.

On the far left is the initial inception and architecture of a project. On the far right is the final deployment into production. Okay, I'm picturing it.

In traditional legacy corporate environments, compliance and auditing happen way over on the right. Right before deployment, a compliance officer steps in, reviews the work, and attempts to check the regulatory boxes. Which is usually when they find all the problems.

Exactly. Shifting left means moving that entire compliance responsibility all the way to the inception phase on the left side of the timeline. You embed the governance directly into the daily workflow of the people actually pulling the data.

Exactly. You make the data engineers and the data scientists responsible for provenance at the very point of entry. You utilize infrastructure as code and data contracts.

So when an engineer writes a script to pull data from an external API, the deployment pipeline simply will not execute unless the metadata tags detailing the legal basis, the original purpose, and the data steward are fully populated. Yes. It becomes a standard engineering requirement.

No different than writing a unit test, rather than a separate, tedious compliance hurdle. And if the engineering culture does that honestly day in and day out, utilizing data contracts and automated metadata tagging, then when the auditor arrives a year later and asks for the provenance file, there is zero panic. None at all.

The system simply queries the metadata and auto-generates the followable map because the signposts were systematically planted at every step of the journey. It transforms governance from a bureaucratic bottleneck into a highly automated paved road. That is the only sustainable way to build an enterprise AI program that is truly legally defensible.

We have covered a massive expanse of highly technical high stakes territory today. This has been a deep dive into the very architecture of corporate accountability. The stakes in this arena are only going to escalate as generative models become further integrated into core business functions.

Let's aggressively recap the terrain we've mapped out. We started by dismantling the digital landfill and demanding a rigid followable map designed explicitly for the psychology of an auditor. We established the structural necessity of the same seven questions, constraint eliminating cognitive friction and forcing technical teams to resolve ambiguity before ingestion.

We isolated the two most catastrophic compliance traps, failing to maintain an explicit documented legal basis and falling victim to purpose drift by violating the data's original mandate. We moved from mapping the past to mapping the future, establishing why cryptographic forward lineage is the only viable defense against a single poison dataset contaminating an entire multimillion dollar AI ecosystem. We embraced the counterintuitive reality that explicitly declaring provenance unknown on legacy debt is a demonstration of mature risk management, not a confession of negligence.

And finally, we realized that by shifting governance to the left and utilizing data contracts, building the file is no longer a frantic scavenger hunt. It is just automated, honest assembly. It is a comprehensive operational blueprint for survival in a regulated data economy.

But analyzing the framework is meaningless without immediate application. Precisely. We want to leave you with a concrete, high-impact action to take this coming Monday morning.

Do not attempt to overhaul your entire enterprise architecture in one week. That is a recipe for organizational paralysis. Don't do it.

Choose one critical dataset. Just one. Identify a specific dataset that your data science team relies on heavily.

Perhaps one that is actively feeding a new, high-priority machine learning model. And go to your engineering leads and attempt to definitively, objectively answer two questions. What is our exact, documented legal basis for holding this specific data today? And what was the explicit original purpose stated when it was collected? If your team cannot answer those two questions immediately, or if the request triggers an hour of subjective debate and a frantic search through archived Slack channels.

You have just identified an existential audit risk currently operating in your production environment. But you now possess the exact framework required to systematically fix it. Start with that single dataset.

Build the followable map. Once you establish the infrastructure for one, you can scale it across the enterprise. Before we conclude, there is a paradigm shift on the horizon that organizations need to begin strategizing for immediately.

We have spent this deep dive analyzing the provenance of data collected by humans from humans that the ecosystem is evolving rapidly. We are entering the era of synthetic data. Exactly.

As organizations increasingly rely on generative AI to produce massive volumes of synthetic training data, where machine learning models are basically hallucinating the exact data used to train the next generation of models, how do we map the provenance of an asset that possesses no original human creator? What is the legal basis of a dataset that a machine invented? If an LLM hallucinates a perfectly structured, deeply complex dataset based on billions of latent parameters, how do you document the original purpose? The traditional map is going to have to evolve into a multidimensional algorithmic topology. It is the next great frontier of compliance. And I can assure you, the organizations that lack the discipline to master the provenance of human data today will absolutely not survive the regulatory audits of synthetic data tomorrow.

A critical puzzle to mull over as you analyze your own data architecture and compliance posture this week. Thank you for joining us for this rigorous deep dive. Take these frameworks, challenge your engineering teams, and bring this directly to your next executive strategy meeting.

We'll see you on the next deep dive.

Real cases

These are real, documented practices and events that show the discipline of a followable data map, done well and done badly. The Royal Free and DeepMind case anchors the immersive scenario in Section 5; these show the wider pattern across jurisdictions.

Example 1: The GDPR record of processing activities (Article 30, European Union). The GDPR requires most organizations to maintain a written record of their processing activities: what personal data they hold, why, on what basis, who it is shared with, and how long it is kept (GDPR, Article 30; established). This is the legal ancestor of the provenance file. The lesson for you is that "write down where your data comes from and why you are allowed to use it" is not a novel governance idea invented for AI; it is an existing legal obligation that AI systems make sharper, because AI reuses data at a scale and for purposes the original collection rarely contemplated. A provenance file is a Article-30 record built to be walked, not just filed.

Example 2: The EU AI Act's data-governance requirement (Article 10). For high-risk AI systems, the EU AI Act requires providers to apply data-governance practices to training, validation, and testing data, including documenting the data's origin and, for personal data, the original purpose of collection (Regulation (EU) 2024/1689, Article 10; established). The same article also requires the data to meet quality criteria, relevant, sufficiently representative, and, to the best extent possible, free of errors and complete for the system's intended purpose (Article 10(3); established), and permits processing special-category data, under safeguards, specifically to detect and correct bias in a high-risk system (Article 10(5); established). This moves the provenance file from good practice toward legal requirement for a whole class of systems. The point marked established: the fields this topic teaches, source, legal basis, original purpose, are becoming the fields a regulator can demand, and increasingly the quality and bias evidence behind them too. The deep treatment of high-risk conformity, including these quality obligations, belongs to Module 5 (see Topic 5.6); the point here is that the data map you build is increasingly the thing the law expects to see.

Example 3: Datasheets for datasets (Gebru et al., 2018 onward). A research proposal, "Datasheets for Datasets," argued that every dataset should ship with a document stating how it was collected, what it represents, its known gaps and biases, and its intended and unintended uses. The proposal has been widely adopted in AI research and by some data providers. The relevance is direct: a datasheet is the provenance entry for a single dataset, written by the people who made it. Where a dataset you use came with a datasheet, it populates your provenance entry; where it did not, the datasheet's absence is itself a provenance gap you record. The discipline of documenting a dataset's origin runs from the people who create data to the people who deploy it, and your file is the deployment end of it.

Example 4: The LAION-5B dataset takedown (2023). Researchers at the Stanford Internet Observatory found that the LAION-5B image dataset, used to train widely deployed image generators, contained thousands of links to suspected child sexual abuse material, and the dataset was withdrawn. The deep treatment of this case, as quiet poison in a dataset's provenance, belongs to Topic 2.1 (see Topic 2.1); the point here is what it shows about provenance files. An organization that had trained on LAION-5B and kept an honest provenance entry could, when the finding broke, immediately see that this dataset fed their model and act. An organization with no provenance file could not even answer whether they were affected. Provenance is what turns a third-party data scandal from an unanswerable panic into a known, bounded task.

Example 5: Clearview AI and the provenance of scraped data (multiple regulators). Clearview AI built a facial-recognition database by scraping billions of images from the public web, and multiple data-protection regulators across Europe and Australia found the practice unlawful for lack of a valid basis and notice to the people whose faces were taken. The deep case is owned elsewhere; here it illustrates the provenance question at the collection end. A provenance file that honestly recorded "source: scraped from public websites; legal basis: none established; the people were not told" would have flagged the problem before deployment, not after enforcement. The file does not make an unlawful source lawful; it makes the unlawfulness visible early enough to stop, which is the whole point of writing provenance down before you build.

Example 6: Content provenance standards (C2PA, emerging). The Coalition for Content Provenance and Authenticity (C2PA) publishes an open standard for attaching tamper-evident provenance metadata to media, so that an image or video carries a signed record of where it came from and how it was edited. This is provenance at the level of a single artifact rather than a dataset, and it is being adopted by major camera makers, software vendors, and platforms. Marked emerging: standards and tooling for automated provenance are advancing fast. The lesson for your file is that provenance is becoming machine-readable and portable, but the governance judgment, is this basis valid, is this purpose compatible, is this gap acceptable, still requires the human owner your file assigns.

Example 7: ISO/IEC 42001 and data governance in a management system (2023, established). The first international AI management-system standard, ISO/IEC 42001:2023, requires organizations to establish controls over the data used in their AI systems, including understanding its sources and appropriateness for the intended purpose. The deep treatment of the standard as an operating system for governance belongs to Module 6 (see Topic 6.3); the point here is that a certifiable international standard, not just a regional law, expects an organization to be able to account for its AI data. A provenance file is a large part of how an organization demonstrates that control in practice, which is why building it well pays off across legal, standards, and audit demands at once rather than satisfying only one.

Example 8: Records that enabled a fast recall (the good pattern, generalized). The contrast case to the Royal Free is any organization that, when a widely used dataset or model component is found compromised, can answer within hours exactly which of its systems are affected because its provenance records name every place that component flows. This is the everyday, unglamorous payoff of provenance, and it is why data-intensive fields that long predate AI, pharmaceuticals with lot tracing, food supply with traceability rules, aviation with parts provenance, all maintain the equivalent of a provenance file. Marked established as a cross-industry practice: the discipline of tracing what went into a product so you can recall it precisely is mature everywhere the product can harm people, and AI data is now in that category.

Example 9: The cost of not having one (the Royal Free pattern, generalized). The Royal Free and DeepMind case (ICO, 3 July 2017) is the anchor of this topic's scenario, so it is treated in depth in Section 5. Generalized, it is the counter-example to all of the above: a well-intentioned project with a real clinical benefit, undone not by a bad model but by the absence of a followable data map. When the auditor asked the provenance questions, source, legal basis, original purpose, notice to the people, the answers were not written down, so the finding was unlawfulness. Every example above is a version of the same claim: the organizations that survive a data audit are the ones that could walk the auditor through their data before the auditor arrived.

Where people go wrong

  • "Our data is internal, so it does not need provenance." The most common and most dangerous belief. "Internal" is not a source; it is a category that hides the source. Internal data was still collected from someone, for some purpose, under some basis, and reused for a new one. The Royal Free data was "internal" NHS data, and it was still unlawful to hand over without a basis and notice. Provenance is not about foreign or purchased data; it is about every dataset, especially the ones you feel you already own.
  • "The legal-basis field is a job for the lawyers, not for me." Lawyers determine the basis; you record it. The mistake is leaving the field blank until "legal gets to it," which means the data is already in the model before anyone confirmed you were allowed to use it. The provenance file's job is to make the basis question unavoidable at build time, so it is answered before training, not after an inquiry. An empty legal-basis field on a dataset already in production is the exact Royal Free failure.
  • "We can reconstruct the provenance later if anyone asks." You cannot, and this is the trap that catches organizations after a departure or an acquisition. Provenance lives in the memory of the people who handled the data, and those people leave. The transformation nobody wrote down becomes unrecoverable the day the engineer who did it resigns. Provenance is recorded as the data flows, not reconstructed under audit pressure, because by audit time the trail has gone cold.
  • "A pipeline diagram is a provenance file." A data-flow diagram shows how data moves; it does not show where the data came from, on what basis, or for what original purpose. A diagram can be a useful lineage aid, but a file that has boxes and arrows and no legal-basis or original-purpose fields answers the engineering question and not the governance one. The auditor's first question is not "how does the data flow" but "were you allowed to have it," and a diagram is silent on that.
  • "Provenance unknown means we leave it out." Backwards. A dataset with unknown provenance is the most important entry in the file, because it is the one that will surprise you. Leaving it out does not make the risk disappear; it makes the risk invisible until it causes harm. An honest "provenance incomplete, here is what we know and who is chasing the rest" protects your credibility and turns the unknown into an owned task. Hiding it is the failure the file exists to prevent.
  • "The provenance file is the same as the DPIA." They are different documents with different jobs. The provenance file is the followable data map: where the data came from and what happened to it. The data protection impact assessment (DPIA) is the risk assessment that reads the map and asks what could go wrong for people, and it is developed in Module 10 (see Topic 10.4). The provenance file feeds the DPIA; you cannot assess the risk of data you cannot trace. Building the map and assessing the risk are two steps, and this topic is the first.
  • "Once the file is written, we are done." The file is living, not final. Data changes, vendors change, retention periods lapse, models are retrained. A provenance file with an old date describing datasets you no longer use, or missing ones you added, is trusted and wrong, which is worse than no file. Every dataset entry carries an owner and a review date, and a change to the data is not complete until the file reflects it. Evan adds a line the same evening his file is tested; that is the habit.
  • "We only need provenance for the training data." Every dataset that touches the system needs an entry: training, validation, test, the live user inputs the model sees in production, the reference data it retrieves, the third-party feeds it joins. A model can be harmed or made unlawful by any of them. Scoping provenance to the training set alone leaves the auditor a trail that stops halfway, exactly where a real problem often lives.
  • "If the vendor says the data is clean, we record it as clean." No. You record what you verified, not what you were told, which is the whole lesson of Topic 2.5 (see Topic 2.5). A provenance entry that says "basis: confirmed" on a vendor's say-so is a fabrication waiting to be exposed. The honest entry records what the vendor disclosed, what they refused to disclose, and your own verification status. A vendor claim is an input to the entry, never the entry itself.
  • "A good file makes us look like we do not trust our own data." The opposite is true, and it is the same misconception that made people fear the failure account in Topic 1.6. A specific, honest provenance file raises the confidence of the people whose confidence matters, the regulator, the board, the successor, because it proves you know exactly what your data is and where it came from. The organization that cannot produce a provenance file is the one to distrust, because it is governing data it cannot describe.
  • "The rare or old dataset is not worth an entry." The dataset you are tempted to skip, the small legacy table, the one-off licensed batch from years ago, is often the one with the weakest provenance and the highest surprise risk, precisely because it is old and half-forgotten. Skipping it to keep the file short is how the untraceable input hides. Every dataset that feeds the system earns an entry; the ones you least want to write are usually the ones the auditor most wants to see.
  • "Provenance is a compliance chore with no operational value." Provenance is what lets you act fast when a data problem breaks. When a public dataset is found to be poisoned, when a vendor is found unlawful, when a person demands deletion, the provenance file is what tells you, in minutes, whether and where you are affected and what to do. An organization without it faces every data incident as an unanswerable panic. The file is not only for the auditor who might come; it is for the incident that will.
  • "One jurisdiction's rules are enough because that is where we are based." Data does not respect your headquarters. A dataset collected in one country, processed in a second, and used in a system deployed to a third can face three different rulebooks, and a legal-basis field that answers only your home law leaves the other two open. The honest entry names which jurisdiction's basis it is relying on and flags where a basis is established in one place but not another. The cross-border shipping decision later in the program rests directly on this (see Topic 6.6); a file that assumes home law travels is the file that turns a launch abroad into a multi-regulator problem.
  • "The systems inventory and the provenance file are the same thing." They answer different questions. The AI systems inventory from Topic 0.2 lists what AI you have and where it runs (see Topic 0.2); the provenance file describes the data behind one of those systems in depth. The inventory tells you which systems need a provenance file; the file is the data map for each. Confusing them leads to a shallow list that names systems but never traces their data, which fails the auditor's walk at the first output.

Questions people ask

What is data provenance file?
The structured, plain-language document produced in this topic that records, for every dataset feeding an AI system, its source, legal basis, original collection purpose, transformations and lineage, retention and destruction, and named owner, plus a statement of the system it feeds and an honest list of datasets whose provenance is incomplete. It is the followable data map an auditor could walk, and it is consumed by the conformity file (Module 5) and the evidence annex (Module 10).
What is provenance?
The origin and history of a thing: where it came from and what happened to it along the way. Borrowed from the art world, where a work's provenance is the documented chain of ownership that proves it is genuine. Applied to data, it is the documented chain from source to model input. More on Provenance
What is dataset (for the file)?
Any distinct body of data that feeds the system, including training, validation, and test sets, live production inputs, retrieved reference data, licensed corpora, purchased batches, and synthetic sets. If it touches the model or the decision, it earns a provenance entry.
What is legal basis?
The specific lawful ground on which an organization holds and uses a dataset. For personal data under the General Data Protection Regulation (GDPR), one of the grounds in Article 6 (such as consent, contract, legal obligation, vital interests, public task, or legitimate interests), plus, for special categories like health data, an additional condition in Article 9. A blank legal-basis field is the finding most likely to become an enforcement action.
What is original collection purpose?
What a dataset was gathered for in the first place, which is often not the purpose for which it is later wanted. Under the GDPR's purpose-limitation principle (Article 5(1)(b)), personal data collected for one purpose may not simply be reused for an incompatible new one without a fresh basis. The provenance file's job is to make any collection-versus-use gap visible so it can be resolved.

Keep going