Introduction
Algorithm Selection (AS) is a fundamental challenge in computer science: given a specific task, such as a SAT formula or a classification dataset, which algorithm will perform best? While traditional AS focuses on choosing between a small set of well-known solvers, and Automated Machine Learning (AutoML) explores infinite configuration spaces through extensive online testing, a significant gap exists for scenarios requiring near-instantaneous selection from thousands of candidates.
Defining Extreme Algorithm Selection (XAS)
The authors identify this missing middle ground as Extreme Algorithm Selection (XAS). XAS is characterized by a large number of candidate algorithms (the "extreme" scale) and sparse training data, where only a tiny fraction of algorithms have been tested on a subset of problems. Unlike AutoML or CASH (Combined Algorithm Selection and Hyperparameter optimization), XAS does not allow for online evaluations; the selection must be made based on historical data alone.
As shown in the table above, XAS differs from traditional AS primarily in the size of the algorithm space and the sparsity of training data. While AS deals with tens of algorithms and complete performance matrices, XAS handles thousands of configurations with very limited observations.
Methodology: Dyadic Feature Representation
The core innovation of this work is the Dyadic Feature Representation. In standard AS, models typically describe the problem instance with features and predict the performance of each algorithm independently. This approach fails in XAS because building a separate model for every algorithm is infeasible when data is sparse.
Instead, the authors represent both the problem instance ($f_{Instance}$) and the algorithm ($f_{Algorithm}$) as feature vectors. By combining these into a "dyad," they train a single joint model $m(f_{Instance}, f_{Algorithm})$. This allows the model to generalize across the algorithm space; for example, it can infer the performance of a "Decision Tree with depth 6" based on its knowledge of a "Decision Tree with depth 5," even if the former has never been tested.
The paper explores two primary dyadic approaches:
- Dyadic Feature Regression (DFReg): Predicting exact performance scores (e.g., accuracy).
- Dyad Ranking (DR): Predicting the relative ranking of algorithms using a Plackett-Luce model and neural networks.
Experimental Setup
To evaluate XAS, the authors introduced a new benchmark based on the OpenML CC-18 suite:
- Instances: 71 diverse classification datasets.
- Algorithms: 1,270 distinct configurations of 18 different learners from the WEKA library.
- Features: Instances were described using 45 "landmarkers" (performance of simple, cheap algorithms), while algorithms were described by a 153-dimensional vector of hyperparameters.
- Sparsity: The training matrix was restricted to 4% to 20% density to simulate real-world data scarcity.
Key Results and Insights
The dyadic approaches (DR and DFReg) consistently outperformed state-of-the-art baselines across multiple metrics, including Kendall’s tau and NDCG.
- The "Zero-Shot" Advantage: By learning the relationship between algorithm features and performance, dyadic models can recommend algorithms never seen during training, effectively solving the "cold start" problem.
- Ranking vs. Regression: The authors found that learning to rank (DR) is generally more robust than predicting exact accuracy (DFReg), particularly as the volume of training data increases.
- Resilience to Sparsity: Traditional methods like
PAReg(one model per algorithm) fail when data is sparse. Dyadic models thrive by "pooling" knowledge across the entire algorithm space. - Scalability: The complexity of dyadic models remains manageable as the number of candidates grows, as they only require learning a single joint function.
Conclusion and Future Work
While dyadic representation significantly advances XAS for hyperparameter configurations, the authors note that recommending entirely new classes of algorithms (e.g., a Neural Network when only Decision Trees were seen) remains a challenge. Future research will focus on developing more sophisticated "algorithm meta-features" to capture the fundamental logic of solvers, potentially enabling true cold-start recommendations for novel algorithmic paradigms.
Summary updated