IOHexperimenter: Benchmarking Platform for Iterative Optimization Heuristics

Jacob de Nobel, Furong Ye, Diederick Vermetten, Hao Wang, Carola Doerr, Thomas Bäck

Abstract

Benchmarking is essential for evaluating iterative optimization heuristics (IOHs), yet existing tools often force a trade-off between ease of use and data richness. IOHexperimenter is an open-source platform designed to resolve this "Goldilocks" problem. By providing a standardized interface with a C++ core and Python accessibility, it enables granular logging of search trajectories and seamless integration with analysis tools like IOHanalyzer. This paper describes the architecture, features, and interoperability of IOHexperimenter.

Introduction

In the field of iterative optimization—encompassing Genetic Algorithms, CMA-ES, and Bayesian Optimization—benchmarking is the primary method for validating algorithmic performance. However, researchers often face a dilemma when choosing tools. Frameworks like COCO are robust but rigid, making it difficult to add new problems. Conversely, tools like Nevergrad offer high flexibility but are often "data-poor," typically recording only final results while ignoring the search behavior.

IOHexperimenter addresses these limitations by offering a "best of both worlds" solution: a platform that is easily customizable with new problems while providing deep, granular logging of internal states and performance trajectories.

Framework Architecture

IOHexperimenter is built with a performance-oriented C++ core and a user-friendly Python interface. Its architecture facilitates a modular workflow from solver execution to data analysis.

The architecture of IOHexperimenter, illustrating the interaction between solvers, the core experimentation module, and post-processing tools.

The platform's design centers on three primary components:

  1. Problems: Supports single-objective optimization across discrete and continuous domains. It utilizes transformations (automorphisms) like translations or rotations to create multiple problem instances, ensuring algorithm robustness.
  2. Loggers: Unlike traditional tools, these loggers can be triggered by specific events or quality thresholds. They track objective values alongside internal control parameters such as mutation rates or step sizes.
  3. Constraints: The platform handles both hard and soft constraints, allowing for the easy adaptation of unconstrained benchmarks into complex, constrained scenarios.

Benchmark Suites and Extensibility

IOHexperimenter comes pre-loaded with several industry-standard benchmark suites:

  • PBO (Pseudo-Boolean Optimization): For discrete optimization.
  • BBOB (Black-Box Optimization Benchmarking): The standard suite for continuous optimization.
  • W-model: A tunable model for discrete optimization research.
  • Submodular problems: For specialized constraint optimization.

A key advantage is the ease with which users can integrate custom problem sets without rewriting logging or evaluation logic.

Interoperability and Results

IOHexperimenter is the experimentation module of the larger IOHprofiler project. Data generated is natively compatible with IOHanalyzer, which provides interactive visualization and statistical comparison.

The platform's versatility has been demonstrated through:

  • Framework Integration: Successful connection to major frameworks like ParadisEO and Nevergrad.
  • Cross-Tool Compatibility: The ability to execute Nevergrad algorithms on BBOB problems from the COCO framework, bridging previously siloed ecosystems.
  • Standardized Output: Production of standardized .json and .dat files ensures reproducibility and ease of sharing within the community.

Conclusion and Future Work

IOHexperimenter provides a low-friction, high-data-resolution environment for optimization research. While currently focused on single-objective, noiseless optimization, the roadmap includes expanding support for noisy environments, multi-objective optimization, and mixed-integer problems. As an open-source project on GitHub, it continues to evolve through community contributions.

Summary updated

BibTeX
@article{nobel2024iohexperimenter,
  author = {Jacob de Nobel and Furong Ye and Diederick Vermetten and Hao Wang and Carola Doerr and Thomas Bäck},
  title = {{IOHexperimenter: Benchmarking Platform for Iterative Optimization Heuristics}},
  journal = {Evol. Comput.},
  year = {2024},
  doi = {10.1162/evco\_a\_00342},
}
Figure