What is AI experiment tracking?
Experiment tracking records the code, parameters, input data, metrics and output files of every machine learning training or evaluation run so that runs can later be queried and compared. It shows which parameters, code and data produced which model.
Unlike model monitoring, which watches a deployed model's inputs and performance, experiment tracking records the trials and settings that precede production.
- Topic
- Infrastructure and runtime
- Also known as
- ML experiment tracking, experiment logging
- Origin
- Machine learning lifecycle management; open-source lifecycle platforms announced in 2018
How AI experiment tracking works
- Each training or evaluation is logged as a run; runs are grouped into experiments by task.
- Each run stores parameters, metrics, start and end times and output files such as model weights.
- The code version and data are linked to the run so the result can be reproduced.
- Runs are queried through a user interface or API and compared on metric charts.
In more detail
Why exact reproduction is hard
A 2015 study of technical debt notes that strict reproducibility in real-world systems is made difficult by randomised algorithms, non-determinism in parallel learning, reliance on initial conditions and interactions with the external world. The same study names configuration as an area where debt accumulates in machine learning systems. Logging random seeds along with library and hardware details therefore makes differences easier to explain.
Commonly confused terms
| Term | How it differs |
|---|---|
| Model registry | A model registry is a central store that manages trained model versions, their approvals and promotion to production. Experiment tracking records every trial and setting that leads to those models. |
Why AI experiment tracking matters for on-premises AI
A 2018 paper on an open-source machine learning lifecycle platform notes that results depend on dozens of settings, from input data to hyperparameters and preprocessing code; without detailed tracking, teams struggle to get the same code working again. For high-risk systems the EU AI Act asks for technical documentation covering validation and testing procedures, metrics and dated test logs, for which experiment records are the raw material.
This page gives general information and is not legal advice.
A bank's credit risk team logs experiments to a tracking server on its own infrastructure. Each run stores the dataset version, features, hyperparameters and validation metrics, so an auditor can trace which run produced the production model. Training data and logs are not sent to an external AI service.
Common questions
What does experiment tracking record?
Typically the code version, parameters, input data, metrics, start and end times and output files such as model weights. These records can later be queried through a user interface or an API.
Why does experiment tracking matter for reproducibility?
If nobody knows which code, data and settings produced a result, the result cannot be repeated. Randomised algorithms and non-determinism in parallel training already make exact repetition hard; records make the differences easier to explain.
Is experiment tracking only for classical machine learning?
No. Fine-tuning runs, prompt trials and evaluation runs for large language models can be logged in the same way; Machine Learning Operations processes connect these records to the rest of the model lifecycle.
Related terms
- Machine learning operations (MLOps)
- Model registry
- Hyperparameter tuning
- AI model versioning
- AI technical documentation
Sources
- Accelerating the Machine Learning Lifecycle with MLflow, IEEE Data Engineering Bulletin, 2018
- Hidden Technical Debt in Machine Learning Systems, NeurIPS, 2015
- MLflow documentation, MLflow Tracking
- AI Act Service Desk, Annex IV: Technical documentation
In the glossary: Glossary, E to L