TL;DR
Predicting how a complex optimization algorithm will perform on a black-box problem is notoriously difficult, especially when factoring in various algorithmic tweaks and configurations. This paper introduces a novel Graph Neural Network (GNN) framework that models algorithms, their internal components, and optimization problems as a unified heterogeneous graph. By capturing these intricate relational dependencies, the GNN approach outperforms traditional tabular machine learning methods, achieving up to a 36.6% reduction in Mean Squared Error (MSE).
What Problem Does This Paper Address?
In numerical black-box optimization, researchers frequently try to predict an algorithm's performance to automate algorithm selection or configuration. Traditional meta-learning approaches typically rely on a tabular format: they extract mathematical landscape features of a problem (such as Exploratory Landscape Analysis, or ELA) and feed them into standard regressors like Random Forests.
However, these tabular methods suffer from a major blind spot: they struggle to capture the complex, hierarchical relationships within the algorithms themselves. Modern optimization algorithms are highly modular, consisting of various operators, parameters, and execution steps that interact with each other and the problem in non-linear ways. Treating these configurations as flat, independent tabular features discards valuable structural information. The authors address this gap by framing algorithm performance prediction as a geometric learning problem on graphs.
Methods
The core innovation lies in representing the optimization ecosystem as a heterogeneous graph—a graph containing multiple types of nodes and edges.
1. Graph Representation
The authors design a "meta-graph" template that defines how different entities relate to one another:
- Nodes: Parameter, Parameter Class, Algorithm Execution Part, Algorithm, Performance, and Black-Box Problem.
- Edges: Relations like has-parameter, has-algorithm, and has-problem.
Instead of predicting performance as a simple tabular target, performance is instantiated as its own node type connected to both the specific algorithm configuration and the problem instance it was tested on.
2. GNN Architecture
To predict performance, the authors formulate the task as a node regression problem on the performance nodes. They implement a 4-layer message-passing GNN architecture:
- Per-relation aggregation: Uses
SageConvlayers (from the GraphSAGE algorithm) to aggregate information from neighboring nodes of the same relation type. - Cross-relation aggregation: Uses
HeteroConvlayers to combine embeddings across different relation types. - Prediction: The final performance node embeddings are passed through a linear transformation layer to output the predicted performance score ($\hat{y}$).
Datasets
The framework was evaluated using benchmarking data accessed via the OPTION KB repository:
- Problems: 24 single-objective, noiseless, continuous black-box problems from the BBOB benchmark suite (COCO environment), using the first 5 instances across dimensions $D=5$ and $D=30$. Problem nodes were initialized with 46 ELA features.
- Algorithms: Two modular optimization frameworks were used:
modCMA-ES(324 variants of the Covariance Matrix Adaptation Evolution Strategy).modDE(576 variants of Differential Evolution).- Budgets: Algorithm performance (best precision achieved) was recorded across six runtime budgets: $B \in \{50D, 100D, 300D, 500D, 1000D, 1500D\}$.
Key Insights and Ideas
- Algorithms are Inherently Graph-Structured: Algorithmic components are not independent variables. A specific parameter (e.g.,
BIPOP) belongs to a parameter class (local_restart), which controls a specific execution part (mutation). Graphs naturally mirror this hierarchy. - From Transductive to Inductive Learning: While prior geometric approaches framed performance prediction as a binary link-prediction task (limiting them to transductive settings where all nodes must be known beforehand), this GNN approach uses node regression. This enables true inductive learning, allowing the model to generalize to entirely unseen algorithm configurations.
Key Results
The GNN models were compared against baseline Random Forest (RF) regressors trained purely on tabular ELA features. The GNN approach consistently demonstrated superior predictive accuracy:
- For
modCMA-ES: In 30-dimensional problems, the GNN achieved substantial error reductions in mid-to-high runtime budgets. Notably, at a budget of $1000D$, the GNN reduced the MSE from 1.72 (RF) to 1.09, representing a 36.6% relative improvement. - For
modDE: The GNN consistently outperformed RF in the $30D$ setting, with the highest relative improvement reaching 24% at the $100D$ budget (MSE dropped from 0.25 to 0.19).
Limitations and Future Work
- Dependence on Modular Frameworks: The current approach relies on explicitly decomposed frameworks (
modCMA-ESandmodDE). Applying this to standard, monolithic optimization algorithms remains a challenge because it requires a standardized vocabulary to manually map their internal components into a graph structure. - Future Architectures: The authors suggest exploring more advanced graph architectures, such as Graph Attention Networks (GATs) or Graph Transformers, which could better weigh the importance of specific algorithmic relations.
- Explainability: Incorporating tools like
GNNExplaineris highlighted as a vital next step to uncover why certain algorithm components interact favorably with specific problem landscapes.
Summary updated