English

Lasting Diversity and Superior Runtime Guarantees for the $(\mu+1)$ Genetic Algorithm

Neural and Evolutionary Computing 2023-02-27 v1

Abstract

Most evolutionary algorithms (EAs) used in practice employ crossover. In contrast, only for few and mostly artificial examples a runtime advantage from crossover could be proven with mathematical means. The most convincing such result shows that the (μ+1)(\mu+1) genetic algorithm (GA) with population size μ=O(n)\mu=O(n) optimizes jump functions with gap size k3k \ge 3 in time O(nk/μ+nk1logn)O(n^k / \mu + n^{k-1}\log n), beating the Θ(nk)\Theta(n^k) runtime of many mutation-based EAs. This result builds on a proof that the GA occasionally and then for an expected number of Ω(μ2)\Omega(\mu^2) iterations has a population that is not dominated by a single genotype. In this work, we show that this diversity persist with high probability for a time exponential in μ\mu (instead of quadratic). From this better understanding of the population diversity, we obtain stronger runtime guarantees, among them the statement that for all cln(n)μn/lognc\ln(n)\le\mu \le n/\log n, with cc a suitable constant, the runtime of the (μ+1)(\mu+1) GA on Jumpk\mathrm{Jump}_k, with k3k \ge 3, is O(nk1)O(n^{k-1}). Consequently, already with logarithmic population sizes, the GA gains a speed-up of order Ω(n)\Omega(n) from crossover.

Keywords

Cite

@article{arxiv.2302.12570,
  title  = {Lasting Diversity and Superior Runtime Guarantees for the $(\mu+1)$ Genetic Algorithm},
  author = {Benjamin Doerr and Aymen Echarghaoui and Mohammed Jamal and Martin S. Krejca},
  journal= {arXiv preprint arXiv:2302.12570},
  year   = {2023}
}
R2 v1 2026-06-28T08:48:42.926Z