While working on a machine learning project, getting good results from a single model-training run is one thing. But keeping all of your machine learning experiments well organized and having a process that lets you draw valid conclusions from them is quite another.
The answer to these needs is experiment tracking. In machine learning, experiment tracking is the process of saving all experiment-related information that you care about for every experiment you run.
ML teams implement experiment tracking in different ways, may it be by using spreadsheets, GitHub, or self-built platforms. Yet, the most effective option is to do it with tools designed specifically for tracking and managing ML experiments.
In this article, we overview and compare the 15 best tools that will allow you to track and manage your ML experiments. You’ll get to know their main features and see how they are different from each other. Hopefully, this will help you evaluate them and choose the right one for your needs.
How to evaluate an experiment tracking tool?
There’s no one answer to the question “what is the best experiment tracking tool?”. Your motivation and needs may be completely different when you work individually or in a team. And, depending on your role, you may be looking for various functionalities.
If you’re a Data Scientist or a Researcher, you should consider:
- If the tool comes with a web UI or it’s console-based;
- If you can integrate the tool with your preferred model training frameworks;
- What metadata you can log, display, and compare (code, text, audio, video, etc.);
- Can you easily compare multiple runs? If so, in what format – only table, or also charts;
- If organizing and searching through experiments is user-friendly;
- If you can customize metadata structure and dashboards;
- If the tool lets you track hardware consumption;
- How easy it is to collaborate with other team members – can you just share a link to the experiment or you have to use screenshots as a workaround?
As an ML Engineer, you should check if the tool lets you:
- Easily reproduce and re-run experiments;
- Track and search through experiment lineage (data/models/experiments used downstream);
- Save, fetch, and cache datasets for experiments;
- Integrate it with your CI/CD pipeline;
- Easily collaborate and share work with your colleagues.
Finally, as an ML team lead, you’ll be interested in:
- General business-related stuff like pricing model, security, and support;
- How much infrastructure the tool requires, how easy it is to integrate it into your current workflow;
- Is the product delivered as commercial software, open-source software, or a managed cloud service?
- What collaboration, sharing, and review feature it has.
I made sure to keep these motivations in mind when reviewing the tools that are on the market. So let’s take a closer look at them.
The best tools for ML experiment tracking and management
Before we dig into each tool, here’s a high-level comparison of features and integrations of the 15 best experiment tracking and management tools.
Note: This table was last updated on 20 December 2021. Some information may be outdated today. See some incorrect info? Let us know, and we’ll update it.
Open table in new window
Free or paid, depending on the plan
- Open-source: free
- Hosted: paid
- DVC: free
- DVC Studio: free or paid, depending on the plan
Neptune is a metadata store for any MLOps workflow. It was built for both research and production teams that run a lot of experiments. It lets you monitor, visualize, and compare thousands of ML models in one place.
Neptune supports experiment tracking, model registry, and model monitoring and it’s designed in a way that enables easy collaboration.
Users can create projects within the app, work on them together, and share UI links with each other (or even with external stakeholders). All this functionality makes Neptune the link between all members of the ML team.
Neptune is available in the cloud version and can be deployed on-premise. It’s also integrated with 25+ other tools and libraries, including multiple model training and hyperparameter optimization tools.
- Possibility to log and display all metadata types including parameters, model weights, images, HTML, audio, video, etc.;
- Flexible metadata structure that allows you to organize training and production metadata the way you want to;
- Easy to navigate web UI that allows you to compare experiments and create customized dashboards.
Weight & Biases is a machine learning platform built for experiment tracking, dataset versioning, and model management. For the experiment tracking part, its main focus is to help Data Scientists track every part of the model training process, visualize models, and compare experiments.
W&B is also available in the cloud and as an on-premise tool. In terms of integrations, Weights & Biases support multiple other frameworks and libraries including Keras, PyTorch environment, TensorFlow, Fastai, Scikit-learn, and more.
- A user-friendly and interactive dashboard that’s a central place of all experiments in the app. It allows users to organize and visualize results of their model training process;
- Hyperparameter search and model optimization with W&B Sweeps;
- Diffing and deduplication of logged datasets.
Recommended for you
Comet is an ML platform that helps data scientists track, compare, explain and optimize experiments and models across the model’s entire lifecycle, i.e. from training to production. In terms of experiment tracking, data scientists can register datasets, code changes, experimentation history, and models.
Comet is available for teams, individuals, academics, organizations, and anyone who wants to easily visualize experiments, facilitate work and run experiments. It can be used as a hosted platform or deployed on-premise.
- Fully-customizable experiment table within the web-based user interface;
- Extensive comparison features—code, hyperparameters, metrics, predictions, dependencies, system metrics, and more;
- Dedicated modules for vision, audio, text, and tabular data that allow for easy identification of issues with the dataset.
You may like
Sacred is open-source software that allows machine learning researchers to configure, organize, log, and reproduce experiments. Sacred doesn’t come with its proper UI but there are a few dashboarding tools that you can connect to it, such as Omniboard (but you can also use others, such as Sacredboard, or Neptune via integration).
Sacred doesn’t have the scalability of the previous tools and has not been adapted to team collaboration (unless integrated with another tool), however, it has great potential when it comes to individual research.
- Possibility to connect it to the preferred UI;
- Possibility to track any model training developed with any Python library;
- Extensive experiment parameters customization options.
MLflow is an open-source platform that helps manage the whole machine learning lifecycle. This includes experimentation, but also model storage, reproducibility, and deployment. Each of these four elements is represented by one MLflow component: Tracking, Model Registry, Projects, and Models.
The MLflow Tracking component consists of an API and UI that support logging various metadata (including parameters, code versions, metrics, and output files) and later visualizing the results.
- Focus on the whole lifecycle of the machine learning process;
- Strong and big community of users that provide community support;
- Open interface that can be integrated with any ML library or language.
TensorBoard is the visualization toolkit for TensorFlow, so it’s often the first choice of TensorFlow users. TensorBoard offers a suite of features for the visualization and debugging of machine learning models. Users can track experiment metrics like loss and accuracy, visualize the model graph, project embeddings to a lower-dimensional space, and much more.
There’s also TensorBoard.dev that lets you upload and share your ML experiment results with anyone (collaboration features are missing in TensorBoard). TensorBoard is open-sourced and hosted locally, while TensorBoard.dev is available on a managed server as a free service.
- Well-developed features related to working with images, e.g. TensorBoard’s Projector that allows you to visualize any vector representation like word embeddings and images;
- The What-If Tool (WIT), that’s an easy-to-use interface for expanding understanding of black-box classification and regression ML models
- Strong and big community of users that provide community support.
7. Guild AI
Guild AI is an experiment tracking system for machine learning, available under the Apache 2.0 open source license. It’s equipped with features that allow you to run analysis, visualization, and diffing, automate pipelines, tune hyperparameters with AutoML, do scheduling, parallel processing, and remote training.
Guild AI also comes with multiple integrated tools for comparing experiments, such as:
- Guild Compare – a curses-based application that lets you view runs in a spreadsheet format including flags and scalar values,
- Guild View – a web-based application that lets you view runs and compare results,
- Guild Diff – a command that lets you compares two runs.
- No need to change the code, it runs scripts written in any language or framework;
- Doesn’t require additional software or systems like databases or containers
- Strong and big community of users that provide community support.
Polyaxon is a platform for reproducible and scalable machine learning and deep learning applications. It includes a wide range of features from tracking and optimization of experiments to model management, run orchestration, and regulatory compliance. The main goal of its developers is to maximize the results and productivity while saving costs.
In terms of experiment tracking, Polyaxon allows you to automatically record key model metrics, hyperparameters, visualizations, artifacts, and resources, as well as version control code and data. To later display the logged metadata, you can use Polyaxon UI or integrate it with another board, e.g. TensorBoard.
Polyaxon can be deployed on-premise or on a cloud provider of your choice. It also supports major ML and DL libraries, such as TensorFlow, Keras, or Scikit-learn.
- Polyaxon UI that’s represented by the Runs Dashboard with visualization capabilities, collaboration features, and extendable interface;
- Collaboration features and project management tools;
- Scalable solution – offers different plans from open source to cloud and enterprise.
May interest you
ClearML is an open-source platform, a suite of tools to streamline your ML workflow, supported by the team behind Allegro AI. The suite includes model training logging and tracking, ML pipelines management and data processing, data management, orchestration, and deployment. All these features are reflected in 5 ClearML modules:
- ClearML Python Package for integrating ClearML into your existing code-base;
- ClearML Server storing experiment, model, and workflow data, and supporting the Web UI experiment manager;
- ClearML Agent which is the ML-Ops orchestration agent, enabling experiment and workflow reproducibility, and scalability;
- ClearML Data that provides data management and versioning on top of file-systems/object-storage;
- ClearML Session that allows you to launch remote instances of Jupyter Notebooks and VSCode.
ClearML is integrated with many frameworks and libraries, including model training, hyperparameter optimization, and plotting tools, as well as storage solutions.
- ClearML Web UI that lets you track and visualize experiments;
- An option to work with tasks in Offline Mode, in which all information is saved in a local folder;
- Multiple users collaboration enabled by the ClearML Server.
Valohai is an MLOps platform that automates everything from data extraction to model deployment. The team behind this tool says that Valohai “offers Kubeflow-like machine orchestration and MLflow-like experiment tracking without any setup”. Although experiment tracking is not the main focus of this platform, it provides some functionality such as experiments comparison, version control, model lineage, and traceability.
Valohai is compatible with any language or framework, as well as many different tools and apps. It can be set up on any cloud vendor or in an on-premise setup. The software is also teamwork-oriented and has many features that facilitate it.
- Significant acceleration of the model building process;
- Focused on the entire lifecycle of machine learning;
- Since it’s a platform built mainly for enterprises, privacy and security are their driving principles.
Pachyderm is an enterprise-grade, open-source data science platform that makes it possible for its users to control an end-to-end machine learning cycle. From data lineage, through building and tracking experiments, to scalability options.
The software is available in three different versions:
- Community – free and source-available version of Pachyderm built and backed by a community of experts;
- Enterprise Edition – a complete version-controlled platform that can be deployed on the Kubernetes infrastructure of users’ choice;
- Hub Edition – Hosted and managed version of Pachyderm.
- Possibility to adapt the software version to your own needs;
- End-to-end process support;
- Established and backed by a strong community of experts.
Kubeflow is the machine learning toolkit for Kubernetes. Its goal is to use the Kubernetes potential to facilitate the scaling of machine learning models. The platform has some tracking capabilities but it’s not the main focus of the project. It consists of a few components, including:
- Kubeflow Pipelines – a platform for building and deploying portable, scalable machine learning (ML) workflows based on Docker containers. It’s probably the most commonly used functionality of Kubeflow;
- Central Dashboard – the central user interface (UI) in Kubeflow;
- Notebook Servers – a service for creating and managing interactive Jupyter notebook;
- KFServing – Kubeflow model deployment and serving toolkit
- Training Operators – for the training of ML models in Kubeflow through operators (e.g. PyTorch, TensorFlow).
- A user interface (UI) for managing and tracking experiments, jobs, and runs
- An end-to-end open-source platform;
- Built-in Notebook server service.
Verta is an enterprise MLOps platform. Its main features can be summarized in four words: track, collaborate, deploy and monitor. These functionalities are reflected in Verta’s main products: Experiment Management, Model Registry, Model Deployment, and Model Monitoring. The software has been created to facilitate the management of the entire machine learning lifecycle.
The Experiment Management component allows you to track and visualize ML experiments, log various metadata, search through and compare experiments, ensure model reproducibility, collaborate on ML projects within a team, and much more.
Verta supports many popular ML frameworks including TensorFlow, PyTorch, XGBoost, ONNX, and more. It’s available as an open-source service, SaaS and Enterprise.
- Possibility to built customizable dashboards and visualize the modeling results;
- Collaboration features and user management;
- Scalable solution that covers multiple steps of the MLOps pipeline.
14. SageMaker Studio
SageMaker Studio is part of the AWS platform. It allows data scientists and developers to prepare, build, train, and deploy high-quality machine learning (ML) models. It claims to be the first integrated development environment (IDE) for ML. It has four components: prepare, build, train & tune, deploy & manage. The experiment tracking functionality is covered by the third one, train & tune. Users can log, organize and compare experiments, automate hyperparameter tuning, and debug training runs.
- Built-in debugger and a profiler that lets you identify and reduce training errors and performance bottlenecks;
- Possibility to track thousands of experiments;
- Integration with a wide range of Amazon tools for ML related tasks.
You may also like
15. DVC Studio
DVC Studio is part of the DVC group of tools powered by iterative.ai. Originally, DVC was an open-source version control system created specifically for machine learning projects. This component still exists, with the aim to enable data scientists to share the ML models and make them reproducible. However, now, there’s also the DVC studio, a visual interface for ML projects, that was created to help users track experiments, visualize them and collaborate on them with the team.
The DVC Studio application can be accessed online or hosted on-premises.
- DVC Studio is a visual interface that can be connected to GitHub, GitLab, or Bitbucket;
- It extracts metadata (model metrics and hyperparameters) from JSON files and presents them in a nice UI;
- Applies existing software engineering stack for ML teams.
Tracking machine learning experiments has always been an important element of the ML development process, however, earlier the process was very manual, time-consuming, and error-prone.
Over the last few years, the market of modern experiment tracking and experiment management tools for machine learning has grown and matured. The range of available options is broad and diversified now. No matter if you’re looking for an open-source or enterprise solution, if you prefer a standalone experiment tracking framework or an end-to-end platform – you’ll certainly find the right tool.
Setting up a Scalable Research Workflow for Medical ML at AILS Labs [Case Study]
8 mins read | Ahmed Gad | Posted June 22, 2021
AILS Labs is a biomedical informatics research group on a mission to make humanity healthier. That mission is to build models which might someday save your heart from illness. It boils down to applying machine learning to predict cardiovascular disease development based on clinical, imaging, and genetics data.
Four full-time and over five part-time team members. Bioinformaticians, physicians, computer scientists, many on track to get PhDs. Serious business.
Although business is probably the wrong term to use because user-facing applications are not on the roadmap yet, research is the primary focus. Research so intense that it required a custom infrastructure (which took about a year to build) to extract features from different types of data:
- Electronic health records (EHR),
- Diagnosis and treatment information (time-to-event regression methods),
- Images (convolutional neural networks),
- Structured data and ECG.
With a fusion of these features, precise machine learning models can solve complex issues. In this case, it’s risk stratification for primary cardiovascular prevention. Essentially, it’s about predicting which patients are most likely to get cardiovascular disease.
AILS Labs has a thorough research process. For every objective, there are seven stages:
- Define the task to be solved (e.g., build a risk model of cardiovascular disease).
- Define the task objective (e.g., define expected experiment results).
- Prepare the dataset.
- Work on the dataset in interactive mode with Jupyter notebooks; quick experimenting, figuring out the best features for both the task and the dataset, coding in R or Python.
- Once the project scales up, use a workflow management system like Snakemake or Prefect to transform the work into a manageable pipeline and make it reproducible. Without that, it would be costly to reproduce the workflow or compare different models.
- Create machine learning models using Pytorch Lightning integrated with Neptune, where some initial evaluations are applied. Log experiment data.
- Finally, evaluate model performance and inspect the effect of using different sets of features and hyperparameters.
5 problems of scaling up Machine Learning research
AILS Labs started as a small group of developers and researchers. One person wrote code, and another reviewed it. Not a lot of experimenting. But collaboration became more challenging, and new problems started to appear along with the inflow of new team members:
- Data privacy,
- Workflow standardization,
- Feature and model selection,
- Experiment management,
- Information logging.