TL;DR
No single algorithm is the "best" for every version of a problem. This paper surveys the field of Automated Algorithm Selection (AS), which uses machine learning to analyze a specific problem instance's features and automatically pick the most efficient solver from a portfolio. By bridging the gap between discrete combinatorial problems (like SAT) and continuous optimization, the authors show how AS can drastically outperform even the best general-purpose solvers.
What Problem Does This Paper Address?
In computer science, we often search for the "state-of-the-art" algorithm for a task. However, the No-Free-Lunch theorem and decades of empirical evidence suggest that for hard problems, different algorithms excel on different types of data. This is known as performance complementarity.
The challenge is that choosing the right tool for the job usually requires a human expert with deep domain knowledge. The Per-Instance Algorithm Selection Problem asks: Can we build a system that looks at a new, unseen problem instance and automatically predicts which algorithm will solve it fastest? The goal is to move from a "one-size-fits-all" approach to a specialized, automated mapping that minimizes computational waste.
Methods
The paper outlines a standard pipeline for building an Algorithm Selector:
- Problem Characterization: Extracting "features" from a problem instance (e.g., the number of variables in a logic formula or the "ruggedness" of a mathematical landscape).
- Benchmarking: Running a suite of algorithms on a diverse set of training instances to collect performance data.
- Machine Learning: Training a model (regression, classification, or clustering) to map those features to performance outcomes.
- Selection: Using the trained model to pick the best algorithm for a new instance.
What’s New vs. Standard: While the concept dates back to 1976 (Rice’s framework), this paper highlights modern advancements like Exploratory Landscape Analysis (ELA) for continuous black-box optimization. Unlike traditional methods that require knowing the underlying math of a function, ELA "probes" the function with a few samples to estimate its geometry (like its "multimodality" or "separability") to make a selection.
Datasets
The survey references several critical benchmarking libraries used to train and evaluate selectors:
- ASLib (Algorithm Selection Library): A standardized collection of data for algorithm selection across various domains.
- SAT Competitions: Datasets containing "Random," "Crafted," and "Industrial" logic instances.
- TSPLIB & NETGEN: Standard and evolved instances for the Traveling Salesperson Problem.
- BBOB (Black-Box Optimization Benchmarking): A suite of 24 continuous functions used to test how selectors handle real-valued optimization.
Key Insights and Ideas
- The VBS-SBS Gap: The authors emphasize the gap between the Single Best Solver (SBS)—the one algorithm that performs best on average—and the Virtual Best Solver (VBS)—a theoretical "oracle" that always picks the perfect algorithm. The goal of AS is to close this gap as much as possible.
- Features are the Bottleneck: The success of AS depends entirely on "cheaply computable" features. If it takes longer to calculate the features than to solve the problem, the selector is useless.
- Pre-Solving Schedules: Top-tier systems like SATzilla don't just pick one algorithm. They often run a "pre-solver" (a fast, general algorithm) for a few seconds to catch easy instances before spending time on feature extraction and complex ML predictions.
- Algorithm Configuration Synergy: The authors point out that "Algorithm Selection" and "Algorithm Configuration" (tuning parameters) are two sides of the same coin. Systems like AutoFolio now use configuration tools to automatically build the best selection logic.
Key Results
- SAT Solving: In propositional satisfiability (SAT), automated selectors have been shown to close between 25% and 96% of the gap between the average best solver and the theoretical perfect oracle.
- Traveling Salesperson (TSP): Recent selectors using Support Vector Machines (SVMs) closed the VBS-SBS gap by more than 75%, even when accounting for the time spent calculating features.
- Continuous Optimization: In black-box scenarios, ELA-based selectors managed to reduce the expected running time of the single best algorithm by roughly half.
Limitations and Future Work
- Multi-objective Optimization: Most current research focuses on a single metric (usually time). Selecting algorithms when you need to balance multiple conflicting goals (like accuracy vs. speed) remains an open challenge.
- Streaming Data: Most selectors are "offline"—they are trained once and then used. The authors identify a need for "online" selection that can adapt as the distribution of incoming problems changes over time (concept drift).
- The "Final Boss" (PIAC): The authors highlight Per-Instance Algorithm Configuration (PIAC) as the next frontier. This involves not just picking an algorithm, but simultaneously tuning all its internal parameters specifically for the instance at hand—a massive search space that is currently very difficult to navigate.
Summary updated