OBOE: Collaborative Filtering for AutoML Model Selection

Chengrun Yang, Yuji Akimoto, Dae Won Kim, Madeleine Udell · DOI

TL;DR

This paper introduces OBOE, a novel AutoML system that uses collaborative filtering and optimal experiment design to efficiently select the best machine learning models and hyperparameters under strict time constraints. By learning latent "meta-features" for datasets and models from a matrix of past performance, OBOE can quickly identify promising candidates for new tasks, outperforming existing methods in speed and accuracy.

What Problem Does This Paper Address?

Choosing the right machine learning algorithm and its associated hyperparameters is a notoriously difficult and time-consuming task, even for experts. This complexity hinders the widespread adoption of machine learning by non-experts. Automated Machine Learning (AutoML) aims to solve this by automating the model selection and hyperparameter tuning process. However, many existing AutoML approaches struggle with time constraints, requiring significant computational budgets to find good solutions. This paper tackles the challenge of performing effective model selection and hyperparameter tuning within strict time limits, a crucial requirement for real-world applications.

Methods

OBOE employs a two-stage approach:

  • Offline Stage (Meta-training): The system constructs a large matrix where each entry represents the cross-validated error of a specific model (algorithm + hyperparameter combination) on a particular dataset. It then fits a low-rank model to this matrix using Principal Component Analysis (PCA). This process learns low-dimensional "latent meta-features" for both datasets and models, effectively capturing their underlying characteristics and performance relationships.
  • Online Stage (Meta-testing): For a new, unseen dataset, OBOE first predicts the runtime of various models. It then uses an "optimal experiment design" (ED) heuristic to select a small, informative subset of models to actually run on the new dataset. The performance of these selected models is used to infer the latent meta-features of the new dataset. Finally, OBOE leverages these inferred meta-features and the learned low-rank model to predict the performance of all other models and select the best ones, often forming an ensemble. The system adaptively increases the complexity (rank) of its model and the time spent as the budget allows, acting as an active learning process.

Datasets

The experiments were conducted on midsize OpenML and UCI classification datasets. These datasets have between 150 and 10,000 data points and no missing entries. The paper does not introduce new benchmark datasets but uses existing ones for evaluating its AutoML system.

Key Insights and Ideas

  • Bilinear Model Sufficiency: The paper's core insight is that a simple bilinear model (where performance is a linear combination of dataset and model latent features) is surprisingly effective for capturing model performance across datasets. This suggests that the complexity of AutoML might be less daunting than previously thought.
  • Collaborative Filtering for AutoML: Applying collaborative filtering principles, where models that perform well on similar datasets are recommended, proves to be a powerful paradigm for AutoML.
  • Optimal Experiment Design for Active Learning: Using optimal experiment design to select which models to run on a new dataset is crucial for efficiently gathering informative data under time constraints. This allows OBOE to make informed decisions with minimal computational effort.
  • Runtime Prediction is Key: Accurate prediction of model runtimes is essential for effective time-constrained model selection. OBOE's simple polynomial regression model for runtime prediction performs surprisingly well.

Key Results

  • State-of-the-Art Performance, Faster: OBOE consistently achieves state-of-the-art performance in model selection, often matching or exceeding other AutoML systems like auto-sklearn and PMF.
  • Significant Speedup: OBOE finds a good initial model much faster than competing approaches. For instance, it computes its first nontrivial model over 8x faster than auto-sklearn.
  • Effective Time Budget Utilization: The system effectively utilizes time budgets, improving its performance as more time is allocated, and demonstrating faster improvement rates than some competitors.
  • Robustness of Low-Rank Assumption: The low-rank structure of the error matrix is a strong indicator of model performance, providing a better guide for model selection than more complex priors used by other methods.

Limitations and Future Work

  • Bilinear Model Assumption: While effective, the bilinear model is a simplification. Future work could explore more expressive models.
  • Pipeline Selection: OBOE currently focuses on selecting individual algorithms and hyperparameters. Extending it to search for entire machine learning pipelines is a significant future direction.
  • Sparsely Observed Data: The current approach assumes a relatively dense error matrix. Adapting OBOE to handle sparsely observed error matrices would increase its applicability.
  • Broader Algorithm and Metric Support: The authors suggest adapting OBOE to different loss metrics and a wider range of machine learning algorithms.
  • Hyper-hyperparameter Optimization: Further research into optimizing hyper-hyperparameter settings under limited computation and data is also noted as a future avenue.

Summary updated

BibTeX
@inproceedings{yang2019oboe,
  author = {Chengrun Yang and Yuji Akimoto and Dae Won Kim and Madeleine Udell},
  title = {{OBOE: Collaborative Filtering for AutoML Model Selection}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2019},
  doi = {10.1145/3292500.3330909},
}
Figure