Introduction
In black-box optimization, the "No Free Lunch" theorem posits that no single algorithm can outperform all others across every possible problem. To navigate this, meta-algorithms or "wizards" like Facebook’s Nevergrad NGOpt have been developed. These wizards analyze problem features—such as dimensionality and budget—to select the most appropriate solver from a portfolio. However, NGOpt's selection rules and internal configurations were historically hand-crafted by experts. This research explores whether Automated Algorithm Configuration (AC) can surpass human-designed heuristics in optimizing these complex meta-algorithms.
Methodology: From NGOpt to NGTuned
The core of this improvement lies in the optimization of the Covariance Matrix Adaptation Evolution Strategy (CMA-ES), a foundational component of the NGOpt portfolio.
Automated Tuning with irace
The researchers employed the irace package (elitist iterated racing) to systematically find optimal hyperparameters for CMA-ES. The tuning process covered parameters such as search scale, population size factors, and specific operational modes (e.g., "elitist" and "diagonal").
MetaCMA and NGTuned
Based on the tuning results, a new deterministic ensemble called MetaCMA was created. MetaCMA functions as a specialized sub-wizard that switches between five tuned CMA variants depending on the problem's specific constraints and available resources.
This ensemble was then integrated back into the broader Nevergrad framework as NGTuned. By replacing static heuristics with these automatically configured components, NGTuned maintains the versatility of the original wizard while gaining significant precision.
Experimental Evaluation
The performance of NGTuned was evaluated against a massive array of benchmarks provided by the Nevergrad platform:
- Training Suites: Five variants of the Black-Box Optimization Benchmarking (BBOB) suite, including standard (
yabbob), low-budget (yasmallbbob), and constrained (yaboundedbbob) scenarios. - Test Suites: Artificial suites not used during tuning (e.g., high-dimensional
yahdbbob) and diverse real-world problems ranging from Traveling Salesman Problems (SimpleTSP) to game simulators (007) and power system commitment.
Key Results
The results demonstrate that automated configuration consistently outperforms human intuition. NGTuned achieved superior rankings across nearly all evaluated suites.
Performance Highlights
- Standard Benchmarks: In the
yabbobsuite, NGTuned ranked 1st with a mean score of 76.1%, while the original NGOpt ranked 7th. - Resource Constraints: On
yasmallbbob(budgets < 50), NGTuned maintained the top spot, whereas NGOpt fell to 6th place. - Real-World Generalization: Remarkably, tuning on artificial BBOB benchmarks translated into gains on unrelated real-world tasks. NGTuned emerged as the top performer for the
ComplexTSPand007game simulator benchmarks.
Conclusion and Future Work
This study confirms that Automated Algorithm Configuration can extract significant performance gains even from mature, expert-tuned systems like NGOpt. The transition from hand-crafted heuristics to the data-driven NGTuned model marks a shift toward more robust and scalable optimization tools.
Future research aims to further automate the pipeline by tuning all base components and the wizard's decision rules simultaneously, potentially removing the need for human intervention in the algorithm selection process entirely.
Summary updated