PS-AAS: Portfolio Selection for Automated Algorithm Selection in Black-Box Optimization

Ana Kostovska, Gjorgjina Cenikj, Diederick Vermetten, Anja Jankovic, Ana Nikolikj, Urban Skvorc, Peter Korosec, Carola Doerr, Tome EftimovarXiv 2023

TL;DR

Automated Algorithm Selection (AAS) is only as good as the menu of algorithms it has to choose from. This paper introduces PS-AAS, a data-driven framework that uses algorithm behavior "meta-representations" and graph theory to automatically curate diverse, high-performing algorithm portfolios. The authors demonstrate that "personalized" portfolios—tailored to specific problem classes—consistently outperform both the full set of available algorithms and traditional greedy selection methods.

What Problem Does This Paper Address?

In black-box optimization, we often have a massive library of potential solvers (e.g., hundreds of variants of the CMA-ES algorithm). The goal of Automated Algorithm Selection (AAS) is to look at a new problem and pick the best solver for it.

However, researchers face a "Goldilocks" problem when building the portfolio of algorithms the selector can choose from:

  • Too large: The selection task becomes incredibly complex, and the machine learning model used for selection is more likely to make mistakes.
  • Too small: You might leave out the "Virtual Best Solver" (VBS)—the specific algorithm that would have performed best on a particular instance.

Most practitioners currently use a "greedy" approach, simply picking the top-performing algorithms on a set of reference tasks. This paper explores whether we can do better by using data-driven techniques to ensure the portfolio is not just high-performing, but also diverse and non-redundant.

Methods

The authors propose a two-step pipeline for portfolio selection:

  1. Learning Meta-Representations: They transform raw algorithm performance data into a compact "behavioral fingerprint." They compare two methods:
  2. performance2vec (p2v): A high-level representation based on the algorithm's average performance across different problem classes.
  3. SHAP-based: A granular representation. They train a Random Forest to predict algorithm performance based on "Exploratory Landscape Analysis" (ELA) features (mathematical descriptors of the problem's shape). They then use SHAP values—a technique from explainable AI—to see which problem features most influence the algorithm's success. This acts as a proxy for how the algorithm "perceives" and tackles different landscapes.
  4. Graph-Based Sampling: They represent the entire library of algorithms as a graph, where nodes are algorithms and edges connect those with similar meta-representations. They then use graph algorithms like Maximal Independent Sets (MIS) and Dominating Sets (DS) to pick a subset of nodes that are diverse (not too similar to each other) yet representative of the whole group.
Graph representation of selected configurations using different thresholds. Blue nodes are selected; green are not. Note how p2v graphs are more densely connected, leading to smaller portfolios.

The authors also introduce Personalized Portfolios, which combine data-driven diversity with a greedy step: they select diverse algorithms for each specific problem type and then keep only the top performers from that diverse set.

Datasets

The study uses the BBOB (Black-Box Optimization Benchmarking) suite, a standard in the field consisting of 24 noiseless single-objective problems.

  • Algorithms: A library of 324 modular CMA-ES variants.
  • Dimensions: Evaluated on 5D and 30D versions of the problems.
  • Budgets: Five different function evaluation budgets (from 500 to 50,000).

Key Insights and Ideas

  • The Granularity Trade-off: performance2vec produces very small portfolios because it looks at high-level averages. SHAP produces much larger, more flexible portfolios because it captures how algorithms respond to subtle landscape features.
  • Personalization is Key: The "personalized" approach—finding diverse solvers for each problem class—was the standout performer. It effectively balances the need for global diversity with the requirement for local high performance.
  • Complexity vs. Flexibility: The paper quantifies the "inner loss" (errors made by the selector because the portfolio is too complex) vs. "outer loss" (errors because the best solver isn't in the portfolio). Smaller portfolios (p2v) have low inner loss but high outer loss, while larger portfolios (SHAP) show the opposite.

Key Results

The researchers measured the "loss" of their selectors compared to the Virtual Best Solver (the theoretical limit of performance).

  • Outperforming the Full Portfolio: In every single tested scenario, the AAS trained on a curated subset performed better than the AAS trained on the full set of 324 algorithms.
  • Personalized Dominance: In 30D problems, the personalized portfolios outperformed the standard greedy baselines for almost all budgets.
  • Heatmap Evidence: As shown in Figure 2 (represented by the table below), the personalized approach (rightmost column) shows consistent "blue" cells, indicating it frequently outperforms the full-portfolio baseline, especially at higher dimensions and budgets.
Table showing the difference in total loss between the full portfolio and selected subsets. Positive values (blue) mean the subset performed better.

Limitations and Future Work

  • Computational Cost: Generating SHAP-based representations is expensive, as it requires training a regression model for every single algorithm in the initial library. The authors suggest using "semantic models" (like the OPTION ontology) to reuse existing performance data to mitigate this.
  • Model Dependency: SHAP values are specific to the machine learning model used (in this case, Random Forests). Results might vary with XGBoost or Deep Neural Networks.
  • Static vs. Dynamic: The current meta-representations are based on end-of-run performance. The authors suggest that trajectory-based representations—capturing how an algorithm behaves during the optimization process—could be a powerful next step.

Summary updated

BibTeX
@misc{kostovska2023ps,
  author = {Ana Kostovska and Gjorgjina Cenikj and Diederick Vermetten and Anja Jankovic and Ana Nikolikj and Urban Skvorc and Peter Korosec and Carola Doerr and Tome Eftimov},
  title = {{PS-AAS: Portfolio Selection for Automated Algorithm Selection in Black-Box Optimization}},
  year = {2023},
  eprint = {2310.10685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.10685},
}
Figure