TL;DR
This paper investigates how the choice of training instances impacts the generalization of automated algorithm selection (AAS) models in numerical black-box optimization. By evaluating different instance selection strategies on a massive dataset of generated functions, the authors reveal that training models solely on classic benchmark suites generalizes poorly, and that the choice between random and diversity-based training depends heavily on the target test set distribution.
What Problem Does This Paper Address?
In black-box optimization, no single algorithm excels at solving every problem. Automated Algorithm Selection (AAS) attempts to solve this by using machine learning to map a problem's characteristics—often captured via Exploratory Landscape Analysis (ELA) features—to the best-performing optimizer in a portfolio.
However, a major bottleneck is generalization. AAS models trained on standard, well-known benchmark suites (like the Black-Box Optimization Benchmarking (BBOB) suite) frequently underperform when faced with new, unseen problem distributions. This paper tackles a fundamental question: How should we select training instances from a problem space to build AAS models that generalize well to diverse test sets?
Methods
The authors built an AAS pipeline using the following components:
- Problem Generation: They leveraged the recently proposed Multi-Affine BBOB (MA-BBOB) function generator to create a vast, smooth transition space of optimization problems by combining standard BBOB functions.
- Feature Engineering: They extracted 74 ELA features using the
PflaccoPython package, filtering them down to 29 uncorrelated features to avoid redundancy. - Algorithm Portfolio: They selected a portfolio of 7 diverse optimization algorithms (after removing the highly dominant
modCMAto ensure a healthy level of performance complementarity). - Machine Learning Model: An
XGBClassifierwas trained to predict the best algorithm based on the 29 ELA features.
To study the impact of instance selection, they compared three training set selection strategies:
- BBOB Components: Training only on the original, rescaled BBOB functions.
- Random Selection: Sampling uniformly at random from the generated problem space.
- Greedy Diversity Selection: An iterative approach that selects instances maximizing the Manhattan distance in the ELA feature space to ensure high diversity.
Datasets
The authors generated a massive dataset consisting of 11,800 MA-BBOB functions split across dimensions $d=2$ and $d=5$. They also utilized 120 rescaled instances of the original BBOB suite to serve as the baseline component functions.
Key Insights and Ideas
- The BBOB Generalization Trap: Training an algorithm selector exclusively on standard BBOB functions fails completely when evaluating on the broader MA-BBOB space. Standard benchmarks simply do not cover enough of the feature space to teach the model how to generalize.
- Feature Space vs. Problem Density: Greedy diversity selection succeeds in spreading training instances evenly across the ELA feature space. In contrast, random sampling naturally clusters where the problem generator's density is highest.
- No Free Lunch for Training Distributions: There is no single "best" sampling strategy. If your test set is randomly drawn from the general problem distribution, a randomly sampled training set performs best because the distributions match. However, if the test set is highly diverse and equally distributed, diversity-based training shines.
Key Results
The performance was measured by the percentage of the gap closed between a Single Best Solver (SBS) and the theoretical Virtual Best Solver (VBS).
- Small Training Sets ($N=24, 120$): Models trained on BBOB functions failed to outperform the Single Best Solver on unseen data, often yielding negative gap closure. With 120 training instances, the randomly trained model closed 22% of the VBS-SBS gap on unseen data, outperforming the greedily selected diversity model (11%).
- Mitigating Mismatch with Size: As the training set size increased (up to 3,600 instances), the performance gap between random and greedy selection narrowed significantly. Increasing the volume of training data effectively mitigates the negative effects of a mismatched training/testing distribution.
Limitations and Future Work
While the MA-BBOB generator allowed for a controlled, large-scale analysis, it still operates within the boundaries of an "academic" benchmark suite. Real-world optimization problems may exhibit landscape features not captured by this generator.
Additionally, evaluating algorithms to collect training data is computationally expensive. Future work will focus on more efficient instance selection techniques, such as leveraging algorithm "footprints" (selecting problems where algorithms show distinct performance differences) and exploring heterogeneous or non-overlapping training sets to maximize learning efficiency.
Summary updated