NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving Nevergrad's Algorithm Selection Wizard NGOpt Through Automated Algorithm Configuration

Risto Trajanov, Ana Nikolikj, Gjorgjina Cenikj, Fabien Teytaud, Mathurin Videau, Olivier Teytaud, Tome Eftimov, Manuel López-Ibáñez, Carola Doerr

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.

Table 1: Context and optimized CMA variants for different benchmark scenarios.

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.

Figure 1: Performance comparison on the yabbob suite. NGTuned ranks 1st out of 18 algorithms.

Performance Highlights

  • Standard Benchmarks: In the yabbob suite, 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 ComplexTSP and 007 game 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

BibTeX
@inproceedings{trajanov2022improving,
  author = {Risto Trajanov and Ana Nikolikj and Gjorgjina Cenikj and Fabien Teytaud and Mathurin Videau and Olivier Teytaud and Tome Eftimov and Manuel López-Ibáñez and Carola Doerr},
  title = {{Improving Nevergrad's Algorithm Selection Wizard NGOpt Through Automated Algorithm Configuration}},
  booktitle = {PPSN},
  year = {2022},
  doi = {10.1007/978-3-031-14714-2\_2},
}
Figure