Algorithmica | 2021

The Complex Parameter Landscape of the Compact Genetic Algorithm

 
 
 

Abstract


The compact Genetic Algorithm (cGA) evolves a probability distribution favoring optimal solutions in the underlying search space by repeatedly sampling from the distribution and updating it according to promising samples. We study the intricate dynamics of the cGA on the test function OneMax, and how its performance depends on the hypothetical population size K, which determines how quickly decisions about promising bit values are fixated in the probabilistic model. It is known that the cGA and the Univariate Marginal Distribution Algorithm (UMDA), a related algorithm whose population size is called\xa0\n$$\\lambda$$\n\n, run in expected time \n$$O(n \\log n)$$\n\n when the population size is just large enough (\n$$K = \\varTheta (\\sqrt{n}\\log n)$$\n\n and \n$$\\lambda = \\varTheta (\\sqrt{n}\\log n)$$\n\n, respectively) to avoid wrong decisions being fixated. The UMDA also shows the same performance in a very different regime (\n$$\\lambda =\\varTheta (\\log n)$$\n\n, equivalent to \n$$K = \\varTheta (\\log n)$$\n\n in the cGA) with much smaller population size, but for very different reasons: many wrong decisions are fixated initially, but then reverted efficiently. If the population size is even smaller (\n$$o(\\log n)$$\n\n), the time is exponential. We show that population sizes in between the two optimal regimes are worse as they yield larger runtimes: we prove a lower bound of \n$$\\varOmega (K^{1/3}n + n \\log n)$$\n\n for the cGA on OneMax for \n$$K = O(\\sqrt{n}/\\log ^2 n)$$\n\n. For \n$$K = \\varOmega (\\log ^3 n)$$\n\n the runtime increases with growing\xa0K before dropping again to \n$$O(K\\sqrt{n} + n \\log n)$$\n\n for \n$$K = \\varOmega (\\sqrt{n} \\log n)$$\n\n. This suggests that the expected runtime for the cGA is a bimodal function in\xa0K with two very different optimal regions and worse performance in between.

Volume 83
Pages 1096-1137
DOI 10.1007/s00453-020-00778-4
Language English
Journal Algorithmica

Full Text