Discovering Attention-Based Genetic Algorithms via Meta-Black-Box Optimization
About
Genetic algorithms constitute a family of black-box optimization algorithms, which take inspiration from the principles of biological evolution. While they provide a general-purpose tool for optimization, their particular instantiations can be heuristic and motivated by loose biological intuition. In this work we explore a fundamentally different approach: Given a sufficiently flexible parametrization of the genetic operators, we discover entirely new genetic algorithms in a data-driven fashion. More specifically, we parametrize selection and mutation rate adaptation as cross- and self-attention modules and use Meta-Black-Box-Optimization to evolve their parameters on a set of diverse optimization tasks. The resulting Learned Genetic Algorithm outperforms state-of-the-art adaptive baseline genetic algorithms and generalizes far beyond its meta-training settings. The learned algorithm can be applied to previously unseen optimization problems, search dimensions & evaluation budgets. We conduct extensive analysis of the discovered operators and provide ablation experiments, which highlight the benefits of flexible module parametrization and the ability to transfer (`plug-in') the learned operators to conventional genetic algorithms.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Black-box Optimization | BBOB d=100 | F42.49e+3 | 25 | |
| Path planning | UAV Benchmark 40 terrain scenarios S.I | Terrain 1 Cost1.42e+4 | 14 | |
| Black-box Optimization | BBOB 10D | BucheRastrigin246.2 | 12 | |
| Black-box Optimization | BBOB-30D | Buche_Ras1.08e+4 | 12 | |
| High-dimensional Numerical Optimization | LSGO-1000D | Shifted Elliptic4.04e+11 | 11 | |
| Black-box Optimization | BBOB surrogate 10-dimensional (out-of-distribution) | Rastrigin Function Value179.4 | 7 | |
| UAV Path Planning | UAV Benchmark 56 distinct terrain scenarios (Last 16 terrains (41-56)) | Path Cost8.65e+3 | 7 | |
| Black-box Optimization | BBOB d=30 | F111.3 | 7 | |
| Black-box Optimization | BBOB d = 500 (test) | F14.16e+3 | 7 |