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

Versatile Black-Box Optimization

Jialin Liu, Antoine Moreau, Mike Preuss, Baptiste Rozière, Jérémy Rapin, Fabien Teytaud, Olivier Teytaud

Abstract

Black-box optimization often requires specialized algorithms tailored to specific problem characteristics, such as dimensionality, noise, or search space type. This paper introduces Shiwa, a meta-algorithm designed to automatically select the most effective optimization strategy based on high-level problem descriptors. Built into the open-source Nevergrad platform, Shiwa combines multiple established techniques—including Covariance Matrix Adaptation Evolution Strategy (CMA-ES), Differential Evolution (DE), and Powell's method—through a structured decision-making process. Experimental results demonstrate that Shiwa achieves state-of-the-art performance across a wide range of artificial and real-world benchmarks, effectively addressing the challenges posed by the "No Free Lunch" theorem in derivative-free optimization.

Introduction

In the realm of combinatorial and black-box optimization, the "No Free Lunch" theorem posits that no single algorithm can outperform all others across every possible problem. An algorithm optimized for smooth, continuous functions may perform poorly on noisy, discrete, or highly multimodal landscapes. While algorithm selection is a mature practice in domains like SAT solving, it remains less integrated in derivative-free optimization.

The authors address this gap by developing Shiwa, a versatile "meta-algorithm" that evaluates problem characteristics—such as dimension, computational budget, and variable types—to deploy the most suitable optimization strategy dynamically.

Methodology

Shiwa is structured as a handcrafted decision tree that routes optimization tasks based on specific problem descriptors. This approach leverages three primary meta-strategies:

  1. Passive Selection: Algorithms are chosen a priori based on known traits, such as using (1+1)-Evolution Strategies for low-budget, high-dimensional problems.
  2. Active Selection: For larger computational budgets, Shiwa executes a portfolio of algorithms concurrently for the first 10% of the budget. It then evaluates their performance and allocates the remaining 90% to the most successful candidate.
  3. Chaining: This involves sequential execution of different algorithms. Typically, an exploratory algorithm (like CMA-ES) is used initially to locate promising regions, followed by an exploitative local solver (like Powell's method or Cobyla) to refine the solution.
The Shiwa decision tree for algorithm selection.

Additionally, Shiwa incorporates a Softmax transformation to handle discrete variables. By converting discrete choices into probability distributions of continuous variables, it enables continuous solvers to effectively navigate discrete search spaces.

Experimental Setup

The performance of Shiwa was evaluated using the Nevergrad platform across several benchmarks:

  • YABBOB (Yet Another Black-Box Optimization Benchmark): A standard suite for derivative-free optimization.
  • Specialized Variants: These include YANOISYBBOB (noisy), YAHDBBOB (high-dimensional), YAPARABBOB (parallelized), and YABIGBBOB (large budget).
  • Real-world Problems: The evaluation included Machine Learning and Data Analysis (MLDA) tasks, FastGames, and physics-based problems such as Photonics (optical structure design) and ARCoating (anti-reflective coatings).

Results and Discussion

Shiwa demonstrated significant quantitative dominance across the tested benchmarks. On the core YABBOB suite, Shiwa achieved a 68.5% win probability against competing methods.

Performance comparison on the YABBOB benchmark, showing Shiwa's high win rate.

Key insights from the results include:

  • Versatility: By intelligently routing problems, Shiwa acts as a robust general-purpose solver, performing well across disparate domains without requiring expert tuning.
  • Effectiveness of Chaining: The combination of evolutionary strategies for global exploration and mathematical programming for local refinement proved highly effective for large-budget scenarios.
  • Real-World Application: Shiwa outperformed specialized competitors on complex physics simulations (Photonics and ARCoating), which are characterized by rugged, multimodal landscapes.

Conclusion and Future Work

While Shiwa offers a powerful general-purpose solution, the authors note that its design involves compromises. Tuning for multimodal problems can slightly reduce performance on smooth, ill-conditioned unimodal functions compared to specialized solvers.

Future research directions include incorporating the actual computational time cost of objective functions into the selection logic, enhancing constraint handling mechanisms, and developing more sophisticated online portfolios that analyze fitness landscapes in real-time. Ultimately, the authors aim to utilize machine learning to automate the optimization of the decision tree rules, moving beyond the current handcrafted approach.

Summary updated

BibTeX
@inproceedings{liu2020versatile,
  author = {Jialin Liu and Antoine Moreau and Mike Preuss and Baptiste Rozière and Jérémy Rapin and Fabien Teytaud and Olivier Teytaud},
  title = {{Versatile Black-Box Optimization}},
  booktitle = {GECCO},
  year = {2020},
  doi = {10.1145/3377930.3389838},
}
Figure