ActivMetal: Algorithm Recommendation with Active Meta Learning

Lisheng Sun-Hosoya, Isabelle Guyon, Michèle SebagIAL@PKDD/ECML 2018

Abstract

Automated Machine Learning (AutoML) seeks to automate algorithm selection and hyperparameter tuning. Traditional meta-learning approaches often rely on manually engineered meta-features, which can be computationally expensive or uninformative. This paper introduces ActivMetaL, an active meta-learning framework that treats algorithm recommendation as a collaborative filtering problem. By iteratively evaluating algorithms and updating performance predictions using CofiRank, ActivMetaL effectively addresses the "cold-start" problem for new datasets without requiring external descriptors.

Introduction

The goal of AutoML is to eliminate the need for human expertise in selecting the optimal machine learning algorithm for a specific task. Current state-of-the-art tools, such as Auto-Sklearn, utilize meta-learning to initialize the search process. However, these methods typically depend on "meta-features"—summary statistics like the number of features or classes—which may fail to capture the underlying complexity of the data. ActivMetaL proposes a shift away from these descriptors, instead using actual algorithm performance as the primary signal for recommendation.

Methodology

ActivMetaL frames algorithm selection as a recommender system problem, analogous to movie recommendations in collaborative filtering. Historical performance data is represented as a matrix where rows correspond to datasets and columns to algorithms.

The framework employs CofiRank, a collaborative filtering algorithm optimized for ranking. The active learning loop proceeds as follows:

  1. Initialization: A "landmark" algorithm, typically the one with the highest median performance across historical tasks, is evaluated on the new dataset.
  2. Prediction: The performance of evaluated algorithms serves as "features" for CofiRank to predict the performance of remaining algorithms.
  3. Selection: The algorithm with the highest predicted performance is selected for evaluation.
  4. Iteration: The performance matrix is updated with the new result, and the prediction process repeats.

A computationally efficient variant, MedianLandmarks1CofiRank, evaluates a fixed set of landmarks before performing a single batch of predictions, reducing the overhead of running the recommendation engine at every step.

Experimental Setup

The effectiveness of ActivMetaL was evaluated across four diverse benchmarks, ranging from synthetic data to large-scale real-world repositories:

  • Artificial: Synthetic data generated via matrix factorization.
  • Statlog: A collection of 21 datasets and 24 algorithms focused on error rates.
  • OpenML: A large-scale repository featuring 76 datasets and 292 algorithms.
  • AutoML: Data from the 2015-2016 AutoML challenge, encompassing 30 datasets and 17 algorithms.
Table 1: Summary of the four benchmark datasets used to evaluate the recommendation algorithms.

Key Insights

  • Performance as Meta-Features: The core insight is that an algorithm's performance on a dataset is a highly informative "meta-feature" for predicting the behavior of other algorithms, bypassing the need for structural dataset statistics.
  • Ranking Optimization: By focusing on the relative order of algorithms (ranking) rather than absolute accuracy scores (regression), the system identifies the top-performing models more efficiently.
  • Sparsity Handling: Collaborative filtering is inherently suited for sparse matrices, making it ideal for large-scale AutoML scenarios where exhaustive testing is infeasible.

Results

The proposed Active Meta Learning w. CofiRank consistently outperformed or matched baseline methods across all benchmarks. Performance was quantified using the Area Under the Meta-Learning Curve (AUMLC), where a score of 1.0 indicates finding the optimal algorithm in the first step.

Table 2: Comparison of meta-learning methods. The proposed CofiRank-based active learning consistently achieves the highest AUMLC scores across all benchmarks.

On the OpenML benchmark, ActivMetaL achieved an AUMLC of 0.96, surpassing both random search and simple median-based ranking. In the Artificial and AutoML benchmarks, the active learning approach reached near-optimal performance significantly earlier than traditional methods.

Conclusion and Future Work

ActivMetaL demonstrates the power of collaborative filtering for algorithm recommendation. While effective, future work should address the computational overhead of running CofiRank as datasets scale. Additionally, incorporating training time into the recommendation logic would allow the system to balance performance with computational cost. Finally, exploring explicit exploration-exploitation strategies could further enhance long-term prediction accuracy.

Summary updated

BibTeX
@inproceedings{sunhosoya2018activmetal,
  author = {Lisheng Sun-Hosoya and Isabelle Guyon and Michèle Sebag},
  title = {{ActivMetal: Algorithm Recommendation with Active Meta Learning}},
  booktitle = {IAL@PKDD/ECML},
  year = {2018},
}
Figure