RF+clust for Leave-One-Problem-Out Performance Prediction

Ana Nikolikj, Carola Doerr, Tome EftimovarXiv 2023

In the world of automated machine learning (AutoML), one of the "holy grails" is building models that can accurately predict how an algorithm will perform on a problem it has never encountered before. This is known as Leave-One-Problem-Out (LOPO) performance prediction, or "zero-shot learning" in broader AI terms.

A recent paper titled "RF+clust for Leave-One-Problem-Out Performance Prediction" introduces a clever way to boost the accuracy of these predictions by combining standard machine learning with a similarity-based calibration step.

TL;DR

The authors propose RF+clust, a method that improves Random Forest (RF) predictions of algorithm performance on new problem classes by calibrating them with the actual performance of "similar" problems from the training set. By using cosine similarity in the problem feature space, the model can significantly reduce prediction errors for unseen optimization tasks.

What Problem Does This Paper Address?

When we try to automate algorithm selection—choosing the best tool for a specific mathematical optimization problem—we usually rely on machine learning models trained on benchmark suites like BBOB or CEC. However, these models often suffer from a "generalization gap."

If a model encounters a problem class (a type of mathematical landscape) that wasn't in its training data, its performance estimates often fall apart. Standard regression models like Random Forests are great at interpolating between known data points but struggle with the "zero-shot" scenario where an entire category of problems is missing. This makes it difficult to apply AutoML tools to real-world problems that don't perfectly match existing benchmarks.

Methods

The authors introduce a two-stage approach called RF+clust:

  1. Feature Representation: Problems are first converted into numerical vectors using Exploratory Landscape Analysis (ELA). These features describe the "shape" of the optimization landscape (e.g., how rugged or smooth it is).
  2. Standard Prediction: A standard Random Forest (RF) regression model is trained to predict algorithm performance (specifically, the precision reached by a Differential Evolution algorithm) based on these ELA features.
  3. Similarity Calibration (The "clust" part): For a new, unseen problem, the model doesn't just rely on the RF output. It searches the training data for "neighbors"—problem instances that are highly similar based on cosine similarity of their ELA features.
  4. Aggregation: If neighbors are found above a certain similarity threshold (e.g., 0.9), the final prediction is calculated as the average of the RF's original prediction and the actual ground-truth performance of those similar training instances.

This calibration acts as a "sanity check," pulling the model's prediction closer to known outcomes of similar landscapes.

Datasets

The study evaluates the method using two major benchmark suites in the field of numeric single-objective optimization:

  • CEC 2014: A suite of 30 distinct problems.
  • BBOB (from the COCO platform): 24 noiseless problem classes. The authors used the first five instances of each class, totaling 120 problem instances.

They tested these against three different configurations of the Differential Evolution (DE) algorithm.

Fig. 1: DE1 solution precision (log-scale) per problem instance on the CEC 2014 suite.

Key Insights and Ideas

  • Similarity is Subjective: The effectiveness of the calibration depends heavily on which features are used to measure similarity. The authors found that the "top 10" most important features for the RF model weren't necessarily the best ones for finding similar neighbors.
  • The Threshold Dilemma: Setting a high similarity threshold (0.9) ensures that only very relevant neighbors are used, but it might result in no neighbors being found at all. Conversely, a low threshold (0.5) finds more neighbors but risks including "noisy" data that degrades the prediction.
  • Feature-Performance Mismatch: One of the most striking findings is that sometimes two problems can look very similar in "feature space" (their ELA values are nearly identical) but result in vastly different algorithm performance. This suggests that current landscape features might be missing critical information needed to distinguish certain problem types.
The ten most important ELA features for predicting performance on the CEC 2014 and BBOB suites.

Key Results

  • Better than Standalone RF: In the CEC 2014 suite, RF+clust outperformed a standard RF model on 14 to 18 out of 30 problems (depending on the similarity threshold used).
  • Calibration Works: For problems where the RF model had high error, the similarity-based calibration often pulled the prediction significantly closer to the true value.
  • Suite Differences: The features that were important for the BBOB suite differed from those important for CEC 2014, confirming that these two benchmarks cover different regions of the "problem space."

Limitations and Future Work

The authors identify several areas for improvement:

  • Feature Expressiveness: As noted, similar features don't always mean similar performance. The authors plan to explore Topological Data Analysis (TDA) and trajectory-based features (data collected during the algorithm's run) to better capture problem characteristics.
  • Data Scarcity: The method's success depends on having a diverse training set. If the training data doesn't "cover" the region of the test problem, the calibration can't help. Future work involves merging different benchmark suites to create more comprehensive training data.
  • Threshold Tuning: Currently, the similarity threshold is a fixed hyperparameter. Automating the selection of this threshold could make the system more robust.

For more details, you can read the full paper: RF+clust for Leave-One-Problem-Out Performance Prediction.

Summary updated

BibTeX
@misc{nikolikj2023rf,
  author = {Ana Nikolikj and Carola Doerr and Tome Eftimov},
  title = {{RF+clust for Leave-One-Problem-Out Performance Prediction}},
  year = {2023},
  eprint = {2301.09524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.09524},
}
Figure