Dataset Lineage and Provenance › A Traceable Pipeline

Michael BrenndoerferNovember 26, 20263 min read
Language AI HandbookAll chapters
Part 21 of 67Data Governance, Provenance, and Synthetic Ecosystems
Chapter 149Dataset Lineage and Provenance › A Traceable Pipeline
Reading section 4 of 17 · A Traceable Pipeline · 3 minSection 4 of 17 · 3 min

Section 4 of 17 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The stages in Table lineage-pipeline can run in different orders. For each stage, the table pairs an artifact with the provenance needed to investigate what would otherwise be missing.

Provenance to record at each stage of a language-model data pipeline.
StageTypical artifactProvenance to recordFailure if missing
AcquisitionRaw crawl or source fileURI, collector, timestamp, robots or license signal, HTTP status, raw hashMissing evidence of where, when, and under which recorded signals the collector obtained the source
ExtractionExtracted documentParser version, raw-to-text offsets, boilerplate rules, extraction hashCannot audit text loss
NormalizationCanonical textUnicode form, whitespace rules, normalizer versionHashes change silently across versions
Language IDLanguage labelModel version, confidence, threshold, code-switching policyCannot explain language imbalance
Quality filteringQuality scoreScorer version, features, threshold, decisionCannot reproduce exclusions
Toxicity filteringToxicity scoreClassifier version, threshold, human reviewCannot audit over-filtering
PII handlingRedacted textDetector version, entity types, replacement policyCannot prove privacy handling
DeduplicationCluster assignmentAlgorithm, threshold, cluster ID, representativeCannot explain duplicates or attribution
MixingMixture manifestDomain weights, sampling probabilities, epochs, seedCannot reproduce data composition
TokenizationToken sequencesTokenizer version, vocabulary hash, normalization, offsetsCannot map tokens back to text
PackingTraining sequencesSequence length, packing policy, document spans, attention maskCannot attribute tokens to documents
TrainingCheckpointsCode commit, config, seed, parallelism, data order, manifest rootCannot connect model to data
EvaluationEval reportBenchmark version, split, prompt, decoding, scorer, contamination testCannot defend benchmark claims
ReleaseModel bundleModel card, data card, manifest, license, known limitationsCannot support audits or incident response

The table is intentionally broad. A small project may record only a subset. For a regulated release, identify the applicable recordkeeping, signature, and retention requirements before deciding which fields to capture. The right level of detail depends on the questions you expect to be asked, and on the cost of being unable to answer them. A hobby project that ships a demo can reasonably record a fraction of this; a model that informs decisions about people needs the full chain and the ability to defend it.

Represent input and output artifacts separately from the activities that use and produce them. Forward queries find artifacts connected by recorded downstream paths. Backward queries find recorded inputs and transformations to inspect during an investigation. Establishing what caused a model outcome requires evidence beyond the graph.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy