Abstract
Automatic algorithm configurators are important practical tools for improving program performance measures, such as solution time or prediction accuracy. Local search approaches in particular have proven very effective for tuning algorithms. In sequential local search, the use of predictive models has proven beneficial for obtaining good tuning results. We study the use of non-parametric models in the context of population-based algorithm configurators. We introduce a new model designed specifically for the task of predicting high-performance regions in the parameter space. Moreover, we introduce the ideas of genetic engineering of offspring as well as sexual selection of parents. Numerical results show that model-based genetic algorithms significantly improve our ability to effectively configure algorithms automatically.
Introduction
Modern algorithms, ranging from SAT solvers to machine learning frameworks, often feature a vast array of parameters that significantly impact performance. Manually tuning these parameters is often a "black art," while automated methods can be computationally prohibitive due to the high cost of individual evaluations. Existing configurators generally fall into two categories: non-model-based heuristics like Genetic Algorithms (GAs), which evolve populations without explicit learning, and model-based tools like SMAC, which utilize surrogate models to guide search but may succumb to local optima. This paper introduces GGA++, a hybrid approach that integrates predictive surrogate models into the evolutionary framework of a GA to bridge this gap.
Methodology
GGA++ builds upon the Gender-based Genetic Algorithm (GGA) by incorporating three primary innovations:
- Genetic Engineering of Offspring: Rather than relying on random crossover, GGA++ employs a surrogate model to predict the highest-performing gene combinations from parent sets. This targeted sampling approach allows for the creation of "engineered" offspring likely to reside in high-performance regions of the parameter space.
- Targeted Random Forests: Standard Random Forests minimize global mean squared error. However, optimization requires high precision specifically in high-performance regions. We developed a novel splitting criterion for decision trees that prioritizes separating the top 10% of performers, providing greater resolution where it matters most.
- Sexual Selection: We explored a model-based selection phase where competitive individuals choose mates from the non-competitive population based on predicted fitness or "attractiveness."
Experimental Setup
The performance of GGA++ was evaluated on two benchmarks:
- Black Box Optimization (BBO): 20 functions from the COCO benchmark (4D and 8D).
- SAT Solver Configuration: Tuning Glucose 4.0 (8 parameters) and the highly complex Lingeling (100+ parameters) across 727 industrial instances.
Results and Discussion
Our results indicate that model-based genetic algorithms significantly outperform traditional approaches. On the complex lingeling solver, GGA++ achieved a PAR10 score nearly 20% lower than SMAC, the previous state-of-the-art.
The Importance of Model Choice
A key finding is that the type of surrogate model is critical. Using a "Targeted" Random Forest was essential for success; in fact, employing a standard off-the-shelf Random Forest for genetic engineering often resulted in worse performance than the original non-model-based GGA. This highlights the need for models that are "greedy" and accurate at predicting performance peaks.
Diversity vs. Greed
While engineering offspring is powerful, it risks premature convergence. To mitigate this, GGA++ maintains genetic diversity by replacing a portion of the non-competitive population with random individuals. Interestingly, our experiments with Sexual Selection showed it to be detrimental. By selecting only the most "attractive" mates, the algorithm reduced diversity too rapidly, proving that some randomness in mate selection is beneficial for long-term evolutionary health.
Conclusion
GGA++ demonstrates that integrating targeted surrogate models into genetic algorithms provides a robust and efficient framework for algorithm configuration. While model-based engineering significantly boosts performance, maintaining population diversity remains a critical challenge. Future research will focus on refining mate selection strategies and further optimizing the targeted splitting criteria for complex performance landscapes.
Summary updated