Skip to content

Algorithms

evosax implements 37 algorithms in two families. All of them share the ask-eval-tell API and can be imported from evosax.algorithms:

from evosax.algorithms import CMA_ES, DifferentialEvolution

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.

Algorithm Class Reference
Simple ES SimpleES Rechenberg (1973)
OpenAI-ES Open_ES Salimans et al. (2017)
CMA-ES CMA_ES Hansen & Ostermeier (2001)
Sep-CMA-ES Sep_CMA_ES Ros & Hansen (2008)
xNES xNES Wierstra et al. (2014)
SNES SNES Wierstra et al. (2014)
MA-ES MA_ES Bayer & Sendhoff (2017)
LM-MA-ES LM_MA_ES Loshchilov et al. (2017)
Rm-ES Rm_ES Li & Zhang (2017)
PGPE PGPE Sehnke et al. (2010)
ARS ARS Mania et al. (2018)
ESMC ESMC Merchant et al. (2021)
Persistent ES PersistentES Vicol et al. (2021)
Noise-Reuse ES NoiseReuseES Li et al. (2023)
CR-FM-NES CR_FM_NES Nomura & Ono (2022)
Guided ES GuidedES Maheswaranathan et al. (2018)
ASEBO ASEBO Choromanski et al. (2019)
Discovered ES DiscoveredES Lange et al. (2023a)
Learned ES LearnedES Lange et al. (2023a)
CMA-anchored LES CMAAnchoredLES Lange et al. (2026)
EvoTF EvoTF_ES Lange et al. (2024)
iAMaLGaM-Full iAMaLGaM_Full Bosman et al. (2013)
iAMaLGaM-Univariate iAMaLGaM_Univariate Bosman et al. (2013)
Gradientless Descent GradientlessDescent Golovin et al. (2019)
Simulated Annealing SimulatedAnnealing Rasdi Rere et al. (2015)
Hill Climbing HillClimbing Rasdi Rere et al. (2015)
Random Search RandomSearch Bergstra & Bengio (2012)
SV-CMA-ES SV_CMA_ES Braun et al. (2024)
SV-OpenAI-ES SV_Open_ES Liu et al. (2017)

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.