ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept

Data lineage and documenting sources

Record where data came from and what happened to it, so you can trust, check and cite it.

Data source
Cleaning steps
Dataset version
Trained model
Model card
  1. 1Data starts at a known source with an owner.
  2. 2Each cleaning step is recorded.
  3. 3The result is saved as a dataset version in a catalog.
  4. 4A model is trained on that version and documented in a model card.
Lineage follows data from its source to the model it trained.

Step by step

  1. 1Data starts at a known source with an owner.
  2. 2Each cleaning step is recorded.
  3. 3The result is saved as a dataset version in a catalog.
  4. 4A model is trained on that version and documented in a model card.

Lineage follows data from its source to the model it trained.

  • Data lineage

    Answers
    Where did this data come from?
    Example
    Source, owner, every change
  • Data catalog

    Answers
    What data do we have?
    Example
    Dataset, owner, version
  • Source citation

    Answers
    Where did this answer come from?
    Example
    A link to the document used
  • Model cards

    Answers
    What is this model and how was it built?
    Example
    Purpose, data, evaluation, limits
Four records and the question each one answers.

1 / 2

  • Data lineage

    Answers
    Where did this data come from?
    Example
    Source, owner, every change
  • Data catalog

    Answers
    What data do we have?
    Example
    Dataset, owner, version
  • Source citation

    Answers
    Where did this answer come from?
    Example
    A link to the document used

2 / 2

  • Model cards

    Answers
    What is this model and how was it built?
    Example
    Purpose, data, evaluation, limits
Four records and the question each one answers.

What it is

Data lineage is the record of a dataset’s path: where it came from, who owns it, and every step that changed it. A data catalog is a searchable inventory of datasets with their descriptions, owners and versions. Together they let you answer, “What data trained this model, and can we use it?”

Source citation is the same idea for answers. When an application built with retrieval augmented generation (RAG) shows which documents an answer came from, the user can check it. Good lineage and citations make AI systems easier to audit, to explain and to fix when the data turns out to be bad.

What it is

Amazon SageMaker Model Cards document a model itself: its purpose, the training data, how it was evaluated and its limits. Lineage tracks the data. A model card summarizes the model that data produced.

Remember

  • Data lineage: the path of data from source through every change.
  • Data catalog: a searchable inventory of datasets, owners and versions.
  • Source citation: show which source an AI answer used, so people can verify it.
  • Amazon SageMaker Model Cards document a model: purpose, training data, evaluation, limits.

Remember

  • These records support audits, compliance and tracing a problem back to its cause.

On the exam

  • “Show where the training data came from and how it was changed” describes data lineage.
  • “Document a model’s intended use, training data and limits” points to Amazon SageMaker Model Cards.
  • “Let users check which documents an answer was based on” describes source citation.