TL;DR
Per-instance algorithm selection (PIAS) significantly boosts performance in black-box optimization, but the specific choice of machine learning model—whether it's a Random Forest or a sophisticated Transformer—matters surprisingly little. As long as the model is well-suited for tabular data, the "how" of selection is far less critical than the "that" of doing selection in the first place.
What Problem Does This Paper Address?
In black-box optimization (BBO), we try to find the minimum of a function without knowing its internal structure, relying only on sampling points and seeing their values. Because no single algorithm is best for every problem (the "No Free Lunch" theorem), researchers use Algorithm Selection (AS) to pick the best solver for a specific problem instance.
However, the field lacks clear guidelines on which machine learning (ML) techniques to use for this task. Should you use regression to predict performance, or classification to pick a winner? Are modern Deep Learning (DL) models like Transformers better than classic tree-based models like Random Forests? This paper systematically compares these choices to see if the "meta-optimization" of picking the right ML model actually moves the needle.
Methods
The authors evaluated the impact of two main factors:
- AS Approach: They compared three ways to frame the prediction task:
- Regression: Predicting the actual performance metric (target precision) for each solver.
- Classification: Directly predicting the label of the best-performing solver.
- Pairwise Classification: A tournament-style approach where models predict the winner between every possible pair of solvers.
- ML Models: They tested four models known for handling tabular data:
- Tree-based: Random Forest (RF) and XGBoost.
- Deep Learning: TabPFN (for classification) and FT-Transformer (for regression).
To describe the "landscape" of the black-box problems, they used Exploratory Landscape Analysis (ELA), which generates 69 statistical features from a small sample of the problem's search space.
Datasets
- BBOB Benchmark Suite: The study used the first 10 instances of all 24 noiseless functions from the Black-Box Optimization Benchmarking (BBOB) suite.
- Dimensions & Budgets: Evaluations were conducted in 5 and 20 dimensions across 7 different runtime budgets (ranging from 100 to 10,000 function evaluations).
- Algorithm Portfolio: A diverse set of 11 black-box solvers was used as the "candidates" for selection.
Key Insights and Ideas
- The "Selection Dividend" is Huge: The most important takeaway is that any automated selection approach vastly outperforms picking a single "best" static solver (the Single Best Solver baseline).
- Model Choice is Secondary: Surprisingly, the specific ML model choice is of "minor importance." Whether you use a Random Forest or a Transformer, the performance gains are remarkably similar.
- Regression is the Weak Link: Regression-based approaches generally performed slightly worse than classification or pairwise classification. This is likely because predicting exact performance values is harder than simply identifying which solver is better.
- Data Scarcity Limits Deep Learning: The FT-Transformer (a DL model) showed the highest loss in regression tasks. The authors attribute this to the relatively small dataset (240 instances), noting that tree-based models are often more robust when training data is limited.
Key Results
The authors measured "Loss," defined as the log-difference between the performance of the selected algorithm and the theoretical "Virtual Best Solver" (VBS).
As seen in the boxplots above, the distributions of loss are very similar across models, especially for classification tasks.
The heatmap below shows the percentage of time the AS successfully picked the absolute best solver (VBS). While regression (denoted by -R) lags slightly, especially with the FT-Transformer, the classification (-C) and pairwise classification (-PC) methods consistently hit high marks across different dimensions and runtimes.
Limitations and Future Work
The authors identify two major hurdles for making PIAS practical in the real world:
- Feature Extraction Cost: Calculating ELA features requires function evaluations. If the "cost" of these evaluations is too high, it might eat up the budget meant for the actual optimization.
- Warm-starting: Currently, most AS systems pick a solver and start it from scratch. The authors argue that "neglecting the warm-starting aspect is wasteful"—future systems should be able to use the information gathered during the feature extraction phase to jump-start the chosen solver.
They conclude that research efforts should shift away from fine-tuning ML models and toward solving these two practical integration challenges.
Summary updated