liveBook · Manning

Provenance

As explained in Machine Learning System Design

Data lineage is the record of data origins, transformations, dependencies, and movement through processing systems.

Provenance records where data comes from, how it changes, which features depend on it, and how it moves through processing systems. In ML pipelines, it supports reproducibility and helps investigators trace data-quality problems to complex transformations. section 11.4.2 section 14.3.6

Useful provenance practices include:

  • Record feature versions alongside the timestamps and feature contents in each dataset. section 11.4.2
  • Separate changed calculation methods or data sources into new feature versions rather than mixing old and new values. section 11.4.2
  • Trace raw inputs, postprocessed feature values, and pipeline transformations when investigating data-quality failures. section 14.3.6

Changing a feature calculation

If an engineer changes a feature’s calculation principle or data source, treating it as the same feature can mix incompatible values. Writing a new version and backfilling historical values preserves consistency and allows an older model’s results to be reproduced. section 11.4.2

Figure 11.15 A graph of feature dependencies
figure

A feature-dependency graph makes relationships between derived features and their upstream calculations visible for tracing and reuse. section 11.4.2

How Machine Learning System Design covers it

How deep it goes
Explains staged aggregations, feature versions, dataset metadata, and root-cause tracing, but does not specify a complete implementation.
Examples
Uses staged click, price, and revenue aggregations, feature-dependency graphs, and versioned feature datasets.
What it assumes
Assumes familiarity with ML pipelines and feature stores while grounding provenance in feature updates and data checks.
What you can do after
Diagnose/debug with it by tracing transformations, separating feature versions, and reproducing older model results.
How it connects
Connects feature stores, feature versioning, data validation, data-quality monitoring, and tracing.

Also explained in

Compare how 12 books explain provenance →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.