What is AI dataset versioning?
Dataset versioning records every meaningful state of the training, validation and test data used in machine learning as an identifiable version and tracks changes between versions. Borrowing from software version control, dataset versions can be created, branched, merged and compared.
Unlike model versioning, which records the trained model, dataset versioning records the data the model learned from and was tested on; together they show which model came from which data.
- Topic
- Infrastructure and runtime
- Also known as
- Data versioning, data version control
- Origin
- Adapted from software version control; 2014 dataset version control study
How AI dataset versioning works
- A given state is stored as a frozen version that models use until a new version is fully vetted.
- Each update, such as label corrections or added and deleted instances, becomes a new version documented with its differences.
- Each training run is linked to its data version; experiment tracking makes results reproducible.
- A maintenance plan sets how long older versions are kept and how their retirement is announced.
In more detail
The cost of versioning
Versioning has costs of its own. The 2015 study notes that a frozen version can become stale over time and that maintaining several versions of the same data adds overhead. Which versions to keep, for how long and which to retire is therefore planned in advance.
Commonly confused terms
| Term | How it differs |
|---|---|
| AI training data provenance | Training data provenance records where data came from and how it was obtained and selected. Dataset versioning tracks how the same dataset changes over time and which state each model used. |
Why AI dataset versioning matters for on-premises AI
A 2015 study notes that data dependencies build technical debt much like code dependencies but are harder to detect; it names a versioned copy of the data as a common mitigation. Versioned data also helps auditors replicate results. The EU AI Act asks high-risk systems for data governance covering data origin and preparation steps.
This page gives general information and is not legal advice.
An insurer saves the data sets of its repair cost model as a new version after every label correction; in an internal audit the team can retrain the model on the recorded version and compare results.
Common questions
How does dataset versioning differ from model versioning?
Model versioning tracks the trained model and its settings. Dataset versioning tracks the states of the data the model was trained and tested on; together they show which model came from which data.
How is continuously flowing data versioned?
In continuous training and serving systems a dataset stops being a static artefact. The data processing pipeline that produces it is defined instead and checked with automated tests, monitoring and alerts.
Can old versions containing personal data be kept indefinitely?
Datasets that relate to people may have limits on how long data can be retained. The version retention plan takes these limits and how they are enforced into account.
Related terms
- AI model versioning
- AI training data provenance
- AI experiment tracking
- Machine learning operations (MLOps)
- AI data governance
Sources
- DataHub: Collaborative Data Science & Dataset Version Management at Scale, arXiv, 2014
- Hidden Technical Debt in Machine Learning Systems, NeurIPS, 2015
- Datasheets for Datasets, Communications of the ACM, 2021
- Towards Accountability for Machine Learning Datasets: Practices from Software Engineering and Infrastructure, arXiv, 2020
In the glossary: Glossary, A to D