Algorithms¶
evosax implements 37 algorithms in two families. All of them share the
ask-eval-tell API and can be imported from evosax.algorithms:
The class name links to the API reference of each algorithm.
Distribution-based¶
These algorithms maintain a search distribution and are initialized from a starting
mean with init(key, mean, params). The two Stein Variational strategies run several
search distributions at once and take one starting mean per distribution.
Population-based¶
These algorithms maintain an explicit population and are initialized from an evaluated
population with init(key, population, fitness, params).
| Algorithm | Class | Reference |
|---|---|---|
| Simple GA | SimpleGA |
Such et al. (2017) |
| MR15-GA | MR15_GA |
Rechenberg (1978) |
| SAMR-GA | SAMR_GA |
Clune et al. (2008) |
| GESMR-GA | GESMR_GA |
Kumar et al. (2022) |
| Learned GA | LearnedGA |
Lange et al. (2023b) |
| Diffusion Evolution | DiffusionEvolution |
Zhang et al. (2024) |
| Differential Evolution | DifferentialEvolution |
Storn & Price (1997) |
| Particle Swarm Optimization | PSO |
Kennedy & Eberhart (1995) |
Learned algorithms¶
LearnedES, LearnedGA, EvoTF_ES and CMAAnchoredLES use meta-trained neural
network components and load pretrained weights that ship with evosax. DiscoveredES
comes from the same line of work and needs no pretrained weights.
The implementations of Learned ES and Discovered ES are independent reimplementations and are unrelated to Google DeepMind.