Abstract
Artificial Intelligence (AI) development is inherently iterative and experimental. Over the course of normal development, especially with the advent of automated AI, hundreds or thousands of experiments are generated and are often lost or never examined again. There is a lost opportunity to document these experiments and learn from them at scale, but the complexity of tracking and reproducing these experiments is often prohibitive to data scientists. We present the Lifelong Database of Experiments (LDE) that automatically extracts and stores linked metadata from experiment artifacts and provides features to reproduce these artifacts and perform meta-learning across them. We store context from multiple stages of the AI development lifecycle including datasets, pipelines, how each is configured, and training runs with information about their runtime environment. The standardized nature of the stored metadata allows for querying and aggregation, especially in terms of ranking artifacts by performance metrics. We exhibit the capabilities of the LDE by reproducing an existing meta-learning study and storing the reproduced metadata in our system. Then, we perform two experiments on this metadata: 1) examining the reproducibility and variability of the performance metrics and 2) implementing a number of meta-learning algorithms on top of the data and examining how variability in experimental results impacts recommendation performance. The experimental results suggest significant variation in performance, especially depending on dataset configurations; this variation carries over when meta-learning is built on top of the results, with performance improving when using aggregated results. This suggests that a system that automatically collects and aggregates results such as the LDE not only assists in implementing meta-learning but may also improve its performance.
Introduction
In the fast-paced world of AI development, thousands of experiments are run, but most are discarded, taking their valuable metadata with them. Data scientists often find themselves struggling to remember which specific version of a dataset or which hyperparameter tweak led to a breakthrough result. This "lost opportunity" stems from two major issues: the reproducibility crisis, where one-off experiments cannot be recreated due to missing context, and wasted data, where information from "failed" experiments is not leveraged for future learning.
Tracking is usually seen as a "tax" on a data scientist's time. The Lifelong Database of Experiments (LDE) aims to remove this barrier by automating the capture and linking of metadata across the entire AI lifecycle, turning a directory of scattered files into a structured knowledge base.
System Architecture and Workflow
The LDE architecture is designed to be unobtrusive, consisting of two main components: the LDE Server and the LDE Client. The server acts as a backend for storing linked metadata and binary assets (such as trained models) via a REST API. The client is a Python library that automatically extracts metadata from common objects like Pandas DataFrames or Scikit-learn pipelines.
As shown in Figure 2, the system captures metadata at every stage of the development process—from initial dataset loading and splitting to pipeline definition, parameter selection, training, and final metric evaluation. This automated extraction ensures that the tracking process is integrated directly into the developer's workflow, minimizing manual overhead.
Linked Metadata Representation
A core innovation of the LDE is its linked metadata schema. Instead of treating a result as an isolated data point, the system creates a "web" of information that captures the full context of an experiment.
As illustrated in Figure 3, a Run is linked to specific Pipeline Parameters, which in turn link to a Pipeline. Similarly, it is linked to Dataset Parameters (defining the specific split) and the original Dataset. This structure ensures that every factor influencing a result is recorded and can be queried or reproduced later, providing a permanent record of the experiment's lineage.
Experimental Evaluation and Insights
To evaluate the LDE, the authors reproduced a massive meta-learning study involving 409 datasets from OpenML and 21 different pipeline combinations. This effort generated nearly 1.7 million successful runs, demonstrating the system's ability to handle AutoML-scale workloads without significant manual intervention.
The Impact of Data Splits
One of the most striking findings was the impact of dataset configuration. The study revealed that even with the same 80/20 split ratio, different random seeds for data splitting caused massive variability in performance rankings. In 95-100% of cases, changing the data split altered which model appeared to be the "best." Conversely, running the exact same model on the exact same data split multiple times resulted in almost no change in ranking, suggesting that performance "noise" is primarily driven by data sampling rather than algorithmic stochasticity.
Meta-learning Synergy
The LDE's ability to aggregate results proved crucial for meta-learning. The authors implemented meta-learners like k-Nearest-Dataset (kND) and Greedy Portfolios, finding that these algorithms performed significantly better when they had access to aggregated results (averages across many runs) rather than single data points. This suggests that a systematic database like the LDE not only facilitates meta-learning but actively improves its performance by providing more stable ground truth.
Conclusion
The Lifelong Database of Experiments (LDE) provides a robust framework for addressing the reproducibility crisis in AI. By automating metadata extraction and maintaining a linked schema, it transforms discarded experimental data into a valuable asset for meta-learning. Future work will focus on expanding framework support to deep learning and utilizing the database as a cache to eliminate redundant computations, moving AI development toward a more systematic, data-driven science.
Summary updated