Paradiseo: From a Modular Framework for Evolutionary Computation to the Automated Design of Metaheuristics

Johann Dréo, Arnaud Liefooghe, Sebástien Vérel, Marc Schoenauer, J. J. Merelo, Alexandre Quemy, Benjamin Bouvier, Jan GmysLillOA 2021

TL;DR

Paradiseo is a mature, open-source C++ framework that has been developed over 22 years to facilitate the creation and automated design of metaheuristic algorithms. It addresses the challenge of diverse optimization problems by offering a highly modular architecture, enabling researchers and practitioners to efficiently explore the vast algorithm design space and build custom, high-performance solvers.

What Problem Does This Paper Address?

The field of metaheuristic optimization, despite its success, faces a significant challenge: no single algorithm reigns supreme across all problem types. This diversity in optimization landscapes necessitates a variety of algorithms, but the research landscape is often cluttered with short-lived, overly specific prototypes. This hinders industrial adoption and breakthrough innovations. The authors argue for the critical need for mature, flexible software frameworks that allow for efficient exploration of the algorithm design space. Such frameworks should be adaptable to various metaheuristics and easily integrate with higher-level optimization, monitoring, and evaluation tools.

Methods

Paradiseo's core strength lies in its modular, component-based architecture. It's built around the concept of "Evolving Objects" (EO), emphasizing composition over inheritance. Key design patterns employed include:

  • Functor: Operators that maintain state between calls, allowing for parameterized behavior.
  • Strategy: Enables the composition of operators to build more complex algorithms, defining a common interface for operations.
  • Generic Type: Allows users to define their own solution data structures (encodings) without major framework redesign.
  • Factory: Facilitates the management and instantiation of operators and algorithms, especially through "Foundries" for on-the-fly, parameterized operator instantiation.

The framework is organized into several modules: EO (evolutionary and particle swarm algorithms), MO (local search and landscape analysis), EDO (estimation of distribution algorithms), and MOEO (multi-objective optimization). This modularity allows for easy hybridization of algorithms and the creation of a vast number of algorithm instances.

Datasets

Not discussed in the paper. The paper focuses on the framework itself and its application to general optimization problems, often using synthetic benchmarks for evaluation.

Key Insights and Ideas

  • The "22 Years of Paradiseo" narrative: This isn't just a new framework; it's a testament to sustained development and refinement, indicating a robust and well-tested system.
  • Composition over Inheritance: This design philosophy is crucial for flexibility, allowing for easy hybridization and the creation of novel algorithm combinations.
  • Foundries for Automated Algorithm Design: The concept of "Foundries" is a significant innovation, enabling the runtime instantiation of parameterized operators. This is a key enabler for automated algorithm configuration and design, where the algorithm itself is responsible for finding optimal configurations.
  • C++ for Performance: The choice of C++ is deliberate, aiming for high execution speed, which is critical for large-scale algorithm design studies and practical applications where performance is paramount.
  • Bridging Research and Industry: By providing a mature, well-documented, and open-source framework, Paradiseo aims to bridge the gap between academic research prototypes and industrially viable solutions.

Key Results

  • Performance: Paradiseo, implemented in C++, offers significant speed advantages over Java-based frameworks. For instance, a CMA-ES implementation in Paradiseo was shown to be 10 times faster than a Python/Numpy counterpart on a standard synthetic benchmark.
  • Design Space Exploration: The modularity and foundry system allow for the instantiation of a vast number of algorithm instances (e.g., over 1.6 million for a simple genetic algorithm).
  • Automated Algorithm Design: The framework facilitates automated algorithm design studies, with one example demonstrating the configuration of a FastGA algorithm family on a W-model problem using approximately 1 billion function evaluations in about 3 hours on a single core.
  • Integration: Paradiseo provides seamless integration with benchmarking platforms like IOHprofiler and configuration tools like irace, streamlining the process of testing and optimizing algorithms.

Limitations and Future Work

  • Learning Curve: The authors acknowledge that the framework's steep learning curve is a significant impediment to wider adoption.
  • PyParadiseo: To address the learning curve and improve interoperability, they are developing PyParadiseo, a Python module to expose Paradiseo's interfaces. This will facilitate integration with Python-based solvers, statistics programs, and machine learning frameworks.
  • Future Work: Plans include further improvements to algorithm design automation, merging more state-of-the-art modular designs, and enhancing the overall user experience.

Summary updated

BibTeX
@inproceedings{dreo2021paradiseo,
  author = {Johann Dréo and Arnaud Liefooghe and Sebástien Vérel and Marc Schoenauer and J. J. Merelo and Alexandre Quemy and Benjamin Bouvier and Jan Gmys},
  title = {{Paradiseo: From a Modular Framework for Evolutionary Computation to the Automated Design of Metaheuristics}},
  booktitle = {LillOA},
  year = {2021},
}
Figure