Metalearning Approaches for Algorithm Selection II

Pavel Brazdil, Jan N. van Rijn, Carlos Soares, Joaquin VanschorenCognitive 2022 · OpenAlex

Abstract

This chapter discusses different types of metalearning models, including regression, classification, and relative performance models. Regression models use a suitable regression algorithm, which is trained on metadata and used to predict the performance of given base-level algorithms. These predictions can in turn be used to order the base-level algorithms and identify the best one. Classification models identify which base-level algorithms are applicable or non-applicable to the target classification task. Relative performance models exploit information regarding the relative performance of base-level models, which can be either in the form of rankings or pairwise comparisons. This chapter discusses various methods that use this information in the search for the potentially best algorithm for the target task.

Introduction: The Algorithm Selection Problem

In machine learning, selecting the right tool for a specific dataset is often a manual, computationally expensive process. While basic metalearning might suggest an "average best" ranking, this research explores how meta-models—ranging from regression and classification to sophisticated pairwise comparisons—can predict algorithm performance on unseen tasks. The core objective is to shift from static rankings to dynamic, iterative approaches that balance accuracy with computational runtime.

Taxonomy of Metalearning Models

Empirical Performance and Classification Models

Empirical Performance Models (EPMs) use regression (like Random Forests or Gaussian Processes) to predict the absolute performance of a configuration. These can be trained on "internal" metadata (previous runs on the same dataset) or "external" metadata (performance across many different datasets). Alternatively, meta-level classification models predict "applicability," discretizing performance into categories based on error thresholds.

Example of meta-rules predicting algorithm error based on dataset conditions.

Relative Performance and Ranking

It is generally easier and more robust to predict which of two algorithms is better than it is to predict the exact accuracy of a single algorithm. Relative performance models exploit this by generating rankings or performing pairwise comparisons. These models help identify the best candidate without needing to estimate absolute performance scores for every possible configuration.

Comparison of absolute performance estimates and the resulting linear ranking for six algorithms.

Advanced Search Strategies

The paper highlights several methods to optimize the search for the best model within a limited "time budget":

  • Active Testing (AT*): An iterative search strategy that starts with a "current best" algorithm and uses an acquisition function to select the most promising competitor to test next, effectively skipping redundant or weak candidates.
  • Partial Learning Curves: A shortcut where the system runs an algorithm on a tiny subset of the data and uses meta-knowledge to "stretch" and "shift" the resulting curve to predict performance on the full dataset.
  • Non-propositional Approaches: Using Inductive Logic Programming (ILP) to handle complex dataset descriptions that don't fit into standard fixed-length feature vectors.

Key Insights and Results

  • The "Crossing" Problem: Learning curves are not always parallel. An algorithm that looks superior on 100 rows of data might be overtaken by a "slower learner" once the sample size increases. This makes curve adaptation critical.
  • Efficiency Gains: The optimized version of Active Testing (AT*) achieved a speedup of approximately two orders of magnitude compared to versions that ignored runtime.
  • Runtime as a Feature: Modern metalearning treats time as a first-class citizen. A slightly less accurate model that runs 100x faster is often considered "better" in a practical metalearning context.

Limitations and Future Work

As the number of algorithms ($N$) grows, the number of required pairwise models grows quadratically ($N^2$), making it unmanageable for massive portfolios without using "pivot" algorithms. Furthermore, the authors note a lack of recent, large-scale empirical studies comparing all these different forms of recommendation (regression vs. ranking vs. active testing) head-to-head.

Summary updated

Abstract

Summary This chapter discusses different types of metalearning models, including regression, classification and relative performance models. Regression models use a suitable regression algorithm, which is trained on the metadata and used to predict the performance of given base-level algorithms. The predictions can in turn be used to order the base-level algorithms and hence identify the best one. These models also play an important role in the search for the potentially best hyperparameter configuration discussed in the next chapter. Classification models identify which base-level algorithms are applicable or non-applicable to the target classification task. Probabilistic classifiers can be used to construct a ranking of potentially useful alternatives. Relative performance models exploit information regarding the relative performance of base-level models, which can be either in the form of rankings or pairwise comparisons. This chapter discusses various methods that use this information in the search for the potentially best algorithm for the target task.
BibTeX
@inproceedings{brazdil2022metalearning,
  author = {Pavel Brazdil and Jan N. van Rijn and Carlos Soares and Joaquin Vanschoren},
  title = {{Metalearning Approaches for Algorithm Selection II}},
  booktitle = {Cognitive},
  year = {2022},
  doi = {10.1007/978-3-030-67024-5\_5},
}
Figure