Abstract
Automatic Machine Learning (Auto-ML) systems tackle the problem of automating the design of prediction models or pipelines for data science. In this paper, we present Lifelong Bayesian Optimization (LBO), an online, multitask Bayesian optimization (BO) algorithm designed to solve the problem of model selection for datasets arriving and evolving over time. To be suitable for "lifelong" Bayesian Optimization, an algorithm needs to scale with the ever-increasing number of acquisitions and should be able to leverage past optimizations in learning the current best model. We cast the problem of model selection as a black-box function optimization problem. In LBO, we exploit the correlation between functions by using components of previously learned functions to speed up the learning process for newly arriving datasets. Experiments on real and synthetic data show that LBO outperforms standard BO algorithms applied repeatedly on the data.
Introduction
In the field of Automatic Machine Learning (Auto-ML), Bayesian Optimization (BO) is the standard tool for identifying optimal models and hyperparameters for specific datasets. Traditionally, this is treated as an isolated task: a dataset is processed, an optimal model is found, and the process concludes.
However, real-world data environments are dynamic. In clinical settings, for instance, new patient data arrives continuously, and medical practices evolve—a phenomenon known as "concept drift." Standard BO is inefficient in these scenarios as it restarts the search from scratch for every new iteration. While Multitask BO attempts to share information across tasks, it often assumes a fixed number of tasks or a single shared model, failing to scale as the number of datasets grows or performing poorly when new data deviates significantly from historical patterns.
The LBO Framework
Lifelong Bayesian Optimization (LBO) addresses these challenges by treating model selection as a sequence of related black-box optimization problems. The framework balances the exploitation of historical knowledge with the exploration of novel patterns through several key innovations:
- Neural Network Approximations: To overcome the cubic scaling limitations of standard Gaussian Processes, LBO utilizes Deep Neural Networks to approximate latent functions, ensuring scalability as data volume increases.
- Indian Buffet Process (IBP): The core mechanism for knowledge sharing is an IBP prior. In this analogy, each new dataset is a "customer" and neural network components are "dishes." A dataset can either reuse existing components (leveraging past knowledge) or initiate a new component to model unique features.
- Variational Inference and Regularization: LBO employs variational methods with "Concrete distributions" for efficient learning of component activations. Additionally, graph regularization prevents "catastrophic forgetting" by ensuring shared weights remain close to previously learned optimal values.
Experimental Evaluation
The researchers evaluated LBO against standard BO and multitask competitors (such as ABLR and MTGP) using both synthetic and real-world benchmarks:
- Synthetic Branin Functions: Modified into sequences with varying correlation levels to test robustness to change.
- UNOS Datasets: Clinical data from the United Network for Organ Sharing involving heart and lung transplant cohorts. The "lifelong" aspect was simulated using overlapping datasets across different time windows.
Key Results
LBO demonstrated superior efficiency and adaptability across all tests. On synthetic benchmarks, LBO matched specialized models when correlations were high but significantly outperformed them when correlations were weak, proving its flexibility.
Crucially, the algorithm's running time scales linearly with the number of tasks, confirming its suitability for lifelong applications. In real-world UNOS experiments, LBO consistently achieved higher performance metrics (such as AUC) within the first 50 function evaluations compared to its peers.
Conclusion and Future Work
LBO provides a robust solution for Auto-ML in evolving environments by dynamically adjusting its complexity. It avoids the pitfalls of "forced" correlation by allowing the creation of new latent functions when encountering novel data distributions.
Future research will focus on automating the tuning of IBP hyperparameters, such as the alpha parameter which controls the expected number of active networks. Additionally, while LBO is more scalable than GP-based methods, managing an ever-growing library of neural networks may eventually necessitate advanced pruning or compression techniques for extremely long task sequences.
Summary updated