Abstract
Algorithm selection using portfolios is a powerful technique for optimizing complex solvers, yet it lacks rigorous generalization guarantees. This paper provides the first provable bounds on the generalization error of learning both an algorithm portfolio and a selector simultaneously. We identify a fundamental tradeoff: while a larger portfolio increases the chance of having an optimal configuration for any given problem, it simultaneously increases the risk of overfitting. Our theoretical results are supported by experiments in Integer Programming, demonstrating that test performance eventually degrades as portfolios grow too large.
Introduction
Many computationally intensive tasks, such as SAT solving and Integer Programming (IP), rely on algorithms with numerous tunable parameters. Since no single configuration is universally optimal, researchers often employ algorithm portfolios—sets of diverse configurations—and an algorithm selector to choose the best one for a given instance. While effective, this "end-to-end" learning process faces the challenge of generalization: ensuring that a system tuned on finite training data performs well on unseen instances. This work addresses the theoretical gap by bounding the generalization error when both the portfolio and selector are learned from data.
Theoretical Framework
The authors utilize tools from computational learning theory, specifically Natarajan and pseudo-dimension, to analyze the complexity of the selection problem.
Piecewise-Constant Modeling
A key assumption is that algorithm performance is a piecewise-constant function of its parameters. This is particularly relevant in combinatorial optimization, where discrete changes in behavior occur only after crossing specific parameter thresholds.
Complexity Decomposition
The generalization error is decomposed into three primary factors:
- Selector Complexity ($\bar{d}$): The intrinsic complexity of the machine learning model used for selection (e.g., linear models, regression trees).
- Portfolio Size ($\kappa$): The number of algorithm configurations in the portfolio.
- Performance Function Complexity ($t$): The number of constant pieces in the algorithm's performance landscape.
The derived theoretical bound for generalization error is $\tilde{O}\left(H \sqrt{\frac{\bar{d} + \kappa \log t}{N}}\right)$, where $N$ is the number of training instances and $H$ is the maximum performance value.
Experimental Validation
To validate the theory, the authors conducted experiments in Integer Programming using the CPLEX solver. They focused on tuning variable selection policies for combinatorial auction winner determination, using instances generated by the CATS suite.
Key Insights and Results
The research highlights a critical "Size vs. Overfitting" tradeoff. While a larger portfolio increases the likelihood of containing a high-performing configuration for any instance, it also increases the complexity of the selection task. If the portfolio is sufficiently large, the selector may begin to "memorize" training data, leading to inevitable overfitting regardless of the selector's simplicity.
Empirical results confirm these findings. As the portfolio size increases, training performance consistently improves (as seen in the training curve of Figure 1a). However, test performance eventually peaks and subsequently declines (Figure 1c), especially when the training set size $N$ is small. This confirms that the risks identified are fundamental mathematical properties of the learning problem.
Conclusion and Future Work
This paper provides a roadmap for practitioners to determine the necessary sample size $N$ for robust algorithm selection. Future research may explore the impact of portfolio diversity rather than just size, and extend the analysis to algorithms with continuous performance landscapes where the piecewise-constant assumption may not hold.
Summary updated