TL;DR
Committing your entire computational budget to a single black-box optimization algorithm is a risky gamble. This paper demonstrates that sequentially distributing a fixed budget across a portfolio of different algorithms (or multiple independent restarts of the same algorithm) consistently outperforms the single best solver baseline by over 14%. Crucially, these performance gains do not require parallel computing capabilities, making portfolio strategies highly accessible for resource-constrained setups.
What Problem Does This Paper Address?
When dealing with complex, expensive black-box optimization problems where the underlying mathematical landscape is unknown, practitioners typically select a single algorithm based on intuition, expert advice, or historical performance. This "Single Best Solver" (SBS) approach is inherently risky: if the chosen algorithm gets stuck in a local minimum or is ill-suited to the specific problem structure, the entire computational budget is wasted.
While parallel algorithm portfolios mitigate this risk by running multiple solvers concurrently, they require parallel hardware architectures that aren't always available. This paper explores sequential algorithm portfolios—where independent runs are executed one after another—to determine if distributing a fixed budget across multiple algorithms can improve robustness and performance without any parallel overhead.
Methods
The authors frame portfolio construction as a Budget Allocation Problem, which structurally resembles a non-linear variant of the classic Unbounded Knapsack Problem.
Key components of their approach include:
-
Empirical Attainment Functions (EAFs): Instead of evaluating algorithms based on a single final solution quality, the authors use EAFs to capture "anytime" performance. EAFs measure the joint probability of an algorithm attaining a specific target precision within a given evaluation budget.
Fig. 1: Empirical attainment plots for BBOB functions using CMA-ES from nevergrad. The horizontal axis shows function evaluations (B), and the vertical axis represents normalized precisions (E). The red curve represent the performance of a portfolio consisting only of one algorithm-budget pair. -
Penalized Greedy Construction: To find the optimal mix of algorithms and budgets, they introduce a greedy local performance maximization method. Because a naive greedy approach would always favor allocating the largest possible budget to a single run, they introduce a quadratic budget penalty function ($\pi(b) = w \cdot (b/T)^p$). This penalty gently discourages over-committing to high-cost pairs, forcing the selection of diversified, lower-budget configurations.
- Utility-Weighted Objectives: They extend the framework to support utility weights over precision thresholds. This allows users to customize the portfolio's objective, whether they care about average-case performance across all targets or exclusively want to maximize the probability of hitting the most demanding, high-precision target.
Datasets
The authors evaluated their approach using historical performance data from the widely recognized COCO (Comparing Continuous Optimizers) archive. Specifically, they utilized the BBOB (Black-Box Optimization Benchmarking) test suite, which consists of 24 diverse 10-dimensional benchmark functions spanning separable, unimodal, and multimodal problems. Out of 234 algorithms available in the archive, they filtered down to a curated subset of 20 top-performing algorithms (including variants of CMA-ES, SLSQP, BFGS, and NEWUOA) to maintain a computationally manageable search space.
Key Insights and Ideas
- The Generalist + Specialist Synergy: Rather than trying to find one "super-algorithm," the greedy method naturally constructs portfolios around a robust generalist core (like
lq-CMA-ES) and patches its weaknesses using highly specialized algorithms (likeBrentSTEPiforlmm-CMA-ES) that target specific performance gaps. - Standard Restarts are Under-Aggressive: Remarkably, even when restricted to a single algorithm on a single function, splitting the budget into multiple independent shorter runs frequently beats a single long run. This strongly implies that the internal restart mechanisms built into state-of-the-art optimization algorithms are far too conservative.
-
Portfolios are Budget-Specific: Optimal portfolio structures do not scale smoothly. An algorithm combination that works beautifully at a total budget of 5,000 evaluations might completely disappear when the budget is expanded to 10,000. Consequently, incremental portfolio building (simply adding budget to an existing mix) is inherently suboptimal compared to optimizing for a specific total budget from scratch.
Fig. 2: Performance comparison between the portfolio and baseline algorithm over increasing total budgets, using a subset of COCO’s algorithm set. Background elements represent the composition of the resulting portfolio. We observe that performance gains become more prominent as the total budget increases, and the selected portfolios diversify accordingly.
Key Results
- The greedily constructed sequential portfolios consistently outperformed the Single Best Solver baseline, yielding relative performance gains of more than 14% across the entire BBOB suite.
-
In more complex multi-algorithm, multi-function scenarios, the average relative performance improvements reached up to 40%, clearly demonstrating the power of algorithmic complementarity.
Fig. 3: The plot shows: (blue-diamond, leftmost icon in each column) the best-performing algorithm for each function; (green- star, middle) the performance of the constructed portfolio for a total budget of 10,000 function evaluations; and (red-circle, right) the single best algorithm across all functions. As a visual aid, the background color of each column indicates how much better (green) or worse (red) the portfolio-based solver is compared to the single-best solver. Although the portfolio may not outperform the per-function best algorithm, it achieves a higher overall performance by leveraging complementary strengths across the function set. -
These performance gains remained robust across all 12 tested utility profiles, proving that the portfolio's advantages are not confined to average-case performance but extend to maximizing the probability of solving the hardest optimization targets.
Limitations and Future Work
- Post-Hoc Nature: This study is purely a post-hoc analysis. It demonstrates the potential benefit of portfolios using historical data but does not yet provide an "online" mechanism to select and deploy these portfolios on completely unseen problems.
- Search Space Fragmentation: The portfolio search space is highly non-linear and discontinuous. Standard black-box metaheuristics (like Genetic Algorithms or continuous CMA-ES) struggled to navigate it effectively, often getting trapped in local optima where the authors' penalized greedy method succeeded.
- Future Directions: The authors suggest that integrating algorithm scheduling (dynamically ordering when components run) and knowledge transfer (using the final state of a previous run to warm-start the next algorithm in the sequence) could yield even more substantial performance leaps.
Summary updated