Skip to content
AIGP Quest

Comparison

Data provenance vs data lineage

Written with AI from the sources below and checked against our facts sheet. Last checked . How this site is made · Spot an error?

Part of: EU AI Act

The one-line rule

Data provenance is the origin story: where data came from, who collected it and under what rights. Data lineage is the journey: every step that transformed it between source and model.

Side by side

Data provenanceData lineage
Core questionWhere did this data originate?What happened to it between source and model?
CoversSource, collector, collection date, legal basis or consent, license, original purposeExtractions, joins, filters, cleaning, labeling, aggregation and versions
Typical recordsSource records, supplier declarations, licenses, consent logsPipeline logs, transformation scripts, dataset version history, access and change logs
Helps you proveYou had the right to use it, and it is authenticIt was not corrupted, skewed or mixed up along the way
Most useful whenAnswering rights requests, takedowns and copyright questionsTracing bias, poisoning or errors back to the step that caused them
When capturedAt collection or acquisitionAt every processing step, ideally automatically
EU AI Act hookArt. 10(2)(b): collection processes and data originArt. 10(2)(c): preparation such as labeling and cleaning
AnalogyA wine's vineyard, vintage and estateIts journey from barrel to bottle to glass

When each applies

Provenance answers questions about origin and rights. W3C's PROV specifications describe provenance as the record of the entities, activities and people involved in producing data. That record lets others judge its quality and trustworthiness. For AI, provenance answers questions like these. Was this personal data collected under a legal basis that covers training? Does the license allow commercial model training? Was the scraped content subject to a text and data mining opt-out?

Lineage answers questions about the path. Which records were dropped as duplicates? Who changed the labels, and when? Which version of the dataset trained model 3.2? Lineage lets a team rebuild the exact training set and trace a fault to its source.

Both run through the life cycle. Neither is a one-time form. New sources need provenance records when added, and every pipeline run should log lineage. The NIST AI RMF notes that keeping the provenance of training data supports both transparency and accountability.

The law asks for both. For high-risk systems, Art. 10(2) of the EU AI Act requires data governance covering collection processes and data origin, including the original purpose of personal data. It also covers preparation steps such as annotation, labeling and cleaning. GDPR rights requests also depend on knowing which datasets and models contain someone's data.

Worked example

Medrin Health, a fictional hospital network, trains a model to predict hospital readmissions. Six months after launch, an audit finds the model underestimates risk for rural patients.

Provenance shows the training data came from three hospitals under a data-sharing agreement that covers service improvement. The rights check holds. But it also shows that only one of the three hospitals serves rural areas, a representativeness warning nobody acted on.

Lineage pinpoints the bigger cause. A deduplication step matched patients on address formats. It treated many rural records, which shared postal boxes, as duplicates and deleted them. The rural share of the data fell from 18% to 7% between source and model.

Medrin fixes the matching rule, rebuilds the dataset from the versioned source and retrains. Because every step was logged, the investigation took days rather than months. Medrin updates its datasheet and model card to describe the fix. It also adds a check that compares each group's share of the data before and after every pipeline step.

The exam trap

The classic trap is swapping the two terms. Origin, rights, license and consent point to provenance. Transformation steps, versions and the path to the model point to lineage.

The tells:

  • "Where did it come from, and may we use it?" is provenance.
  • "What happened to it on the way?" is lineage.
  • Investigating data poisoning or a skewed dataset usually needs lineage.
  • Answering a copyright claim or a consent withdrawal usually needs provenance.
  • "Document it later" is wrong. The BoK says establish and document both from the start.

A datasheet is the human-readable summary of both records. Practice in lesson III.B.2 and the documentation lesson III.B.6.

Frequently asked questions

What is the difference between data provenance and data lineage?

Provenance records where data originated: the source, the collector, the date, and the license or legal basis. Lineage records what happened to the data afterward: each extraction, join, filter, cleaning step, label and version on the way to a model. Provenance proves you may use the data. Lineage proves it was not corrupted or skewed along the way.

Does the EU AI Act require data provenance?

For high-risk systems, in substance yes. Art. 10(2)(b) requires data governance covering data collection processes and the origin of data, and the original purpose for personal data. Art. 10(2)(c) covers preparation steps such as labeling and cleaning, which is lineage. GPAI providers must also publish a summary of their training content (Art. 53(1)(d)).

Why do data provenance and lineage matter for AI bias?

Bias often enters through a source or a processing step. Provenance shows whether a dataset represents the people the system will affect. Lineage shows whether a filter, join or deduplication step quietly dropped a group. Without both, a team can see that a model is biased but cannot find where the bias came from.

What is a datasheet for a dataset?

A datasheet is a short document that describes a dataset's motivation, composition, collection process, preprocessing, intended uses and limits. Gebru and colleagues proposed the format in 2018. It summarizes provenance and lineage records for human readers, much as a model card summarizes a model.

Sources

  1. EU AI Act, Regulation (EU) 2024/1689: Art. 10(2)(b) and (c) on data origin and preparation; Art. 53(1)(d) on training-content summaries (EUR-Lex)
  2. AI Act Service Desk: Article 10, data and data governance (consolidated text as amended)
  3. W3C: PROV-Overview, an overview of the PROV family of documents (2013)
  4. NIST AI 100-1, AI Risk Management Framework 1.0, section 3.4
  5. Gebru et al., Datasheets for Datasets (2018)
Spot an error? Tell us