Abstract
Algorithm selection typically relies on identifying a single "best" solver based on average performance. However, this approach overlooks the potential of specialized algorithms that excel on specific problem instances. This paper introduces a portfolio-based selection method using machine learning to predict the most efficient algorithm for a given instance. Applied to the Winner Determination Problem, the portfolio approach achieves a three-fold speedup over the best individual solver, nearing theoretically optimal performance.
Introduction
In algorithm design, the search for a universal "winner" often leads researchers to prioritize solvers with the best average-case performance. This "winner-take-all" mentality ignores a crucial reality: an algorithm that performs poorly on average may be exceptionally fast on specific, difficult instances.
Leyton-Brown et al. propose a portfolio approach to algorithm selection. Instead of relying on a single solver, they utilize machine learning to predict which algorithm will be fastest for a specific instance. This effectively creates a "super-solver" that leverages the unique strengths of multiple constituent algorithms.
Methodology: Empirical Hardness Models
The core of the proposed approach is the construction of Empirical Hardness Models. The process involves three primary stages:
- Feature Extraction: Identifying domain-specific features of a problem instance (e.g., constraint count, graph density) that correlate with computational complexity.
- Data Collection: Benchmarking candidate algorithms across a diverse set of problem instances to record runtimes.
- Regression Analysis: Using statistical regression to learn a predictive function for each algorithm's runtime based on the extracted instance features.
At runtime, the system computes the features of a new instance, predicts the runtime for every algorithm in the portfolio, and executes the one predicted to be the most efficient.
Experimental Setup
The authors evaluated their approach using the Winner Determination Problem (WDP), a combinatorial optimization challenge central to auction theory.
- Dataset: 4,500 instances generated via the CATS (Combinatorial Auction Test Suite).
- Algorithms: The portfolio included CPLEX (a commercial solver), CASS, and GL.
- Hardware: Experiments were conducted on 550 MHz Pentium Xeon processors.
Results and Discussion
The portfolio strategy demonstrated a significant performance advantage over traditional selection methods.
Performance Gains
The portfolio outperformed CPLEX, the best individual solver, by a factor of three in terms of average runtime. Furthermore, the selection mechanism was highly efficient; when excluding feature computation costs, the portfolio's choices were only 5% slower than a theoretically perfect "optimal" selection.
Algorithm Diversity
The success of the portfolio stems from the diversity of the constituent algorithms. Even though CPLEX was the most frequent choice, CASS and GL were selected often enough to significantly lower the overall average runtime. This highlights that "niche" algorithms can be vital components of a robust solver suite.
Low Overhead
A key finding was the minimal overhead of the selection process. The time required to compute features and run the prediction model was typically a negligible fraction of the total time saved by selecting the optimal solver.
Conclusion and Future Work
While the portfolio approach offers substantial speedups, it remains dependent on effective feature engineering. If the selected features do not accurately capture the underlying hardness of a problem, the regression models' predictive power is diminished.
Future research could explore different response variable transformations to optimize for metrics beyond average runtime, such as minimizing tail risk (extremely long runs). Additionally, extending this framework to parallel processing environments—where multiple algorithms could be run simultaneously—represents a promising avenue for further performance improvements.
Summary updated