From Understanding Genetic Drift to a Smart-Restart Parameter-less Compact Genetic Algorithm

Benjamin Doerr, Weijie Zheng

Introduction

In the field of Evolutionary Computation, Estimation-of-Distribution Algorithms (EDAs) represent a paradigm shift from traditional population-based methods. Instead of evolving a set of individual solutions, EDAs maintain and update a probabilistic model—typically a vector of bit-frequencies—to sample new candidate solutions. Among these, the Compact Genetic Algorithm (cGA) is a foundational model. However, the cGA’s performance is highly sensitive to its population size parameter ($\mu$). This paper introduces the Smart-Restart cGA, a parameter-less optimization tool that leverages theoretical insights into genetic drift to automate the selection of $\mu$, ensuring efficiency in both noiseless and noisy environments.

The Challenge of Population Sizing and Genetic Drift

The population size $\mu$ in a cGA serves as a critical trade-off between reliability and speed. If $\mu$ is too small, the algorithm becomes susceptible to genetic drift. In this state, random fluctuations cause bit-frequencies to converge to 0 or 1 regardless of their actual fitness contribution, effectively stalling the optimization process. Conversely, if $\mu$ is too large, the algorithm becomes computationally inefficient, as runtime is generally proportional to the population size.

Historically, practitioners have relied on trial and error to find the "sweet spot" for $\mu$. While some previous attempts at parameter-less EDAs utilized parallel runs of different population sizes, these often proved resource-intensive and difficult to implement.

The Smart-Restart Mechanism

The proposed Smart-Restart cGA (Algorithm 3) addresses the $\mu$ dilemma through a sequential restart strategy grounded in a recent theoretical breakthrough: a neutral bit-frequency in a cGA is expected to hit a boundary due to drift in approximately $4\mu^2$ generations.

Key Algorithmic Features

  1. Exponential Growth: The algorithm begins with a minimal population size ($\mu = 2$). If a run fails to find the global optimum, the algorithm restarts with an increased population size, typically doubling the previous value ($\mu_{new} = U \cdot \mu_{old}$).
  2. Smart Termination (The Budget): To prevent wasting resources on runs destined for failure, each iteration is assigned a generation budget $B = b\mu^2$. If the optimum is not reached within this window, the run is deemed "hopeless"—likely a victim of genetic drift—and is immediately aborted.
  3. Sequential Efficiency: By running population sizes sequentially rather than in parallel, the Smart-Restart cGA can "kill off" inefficient runs early. This approach simplifies implementation and focuses computational power on the most promising population scales.

Experimental Evaluation

The researchers evaluated the Smart-Restart cGA against four standard pseudo-Boolean benchmark functions: OneMax (a simple counting problem), LeadingOnes (a unimodal problem), Jump (a multimodal problem with a fitness valley), and DeceptiveLeadingBlocks (DLB). To simulate real-world conditions, these functions were also tested under additive centered Gaussian posterior noise.

Performance on "Jump" Functions

A notable finding was the cGA's efficacy in navigating "Jump" functions. In a configuration where $n=50$ and $k=10$, the cGA successfully identified the optimum in $4 \cdot 10^6$ evaluations. In contrast, a standard $(1+1)$ Evolutionary Algorithm (EA) would require an estimated $10^{17}$ iterations, highlighting the cGA's superior ability to cross fitness valleys.

Key Results and Theoretical Guarantees

The Smart-Restart cGA demonstrates performance that matches the asymptotically best possible runtime for a perfectly tuned fixed-population cGA.

  • Mathematical Optimality: The authors prove that for OneMax and Jump functions, the algorithm achieves an expected runtime of $O(n \log n)$ when the budget factor $b$ is set to $\Theta(1/\ln n)$.
  • Noise Robustness: The algorithm successfully optimized OneMax even under extreme noise conditions. It significantly outperformed previous theoretical recommendations, which often suggested population sizes up to 1,000 times larger than what the Smart-Restart strategy actually required.
  • Superiority over Parallel Models: Experimental data showed that the sequential smart-restart version was generally faster than parallel-run EDAs, as it avoided the overhead of maintaining multiple population sizes that were either too small to succeed or too large to be efficient.

Conclusion and Future Directions

The Smart-Restart cGA provides a robust, theoretically grounded solution to the population-sizing problem in univariate EDAs. By transforming the "Achilles' heel" of genetic drift into a predictable termination criterion, the algorithm achieves near-optimal performance without manual tuning.

While highly effective, the current model is limited to univariate EDAs, which assume bit independence. Future research will explore extending these restart strategies to multivariate EDAs, where the theoretical understanding of genetic drift is more complex. Additionally, testing the algorithm on more rugged or non-stationary fitness landscapes will be essential for broader real-world application.

Summary updated

BibTeX
@inproceedings{doerr2020from,
  author = {Benjamin Doerr and Weijie Zheng},
  title = {{From Understanding Genetic Drift to a Smart-Restart Parameter-less Compact Genetic Algorithm}},
  booktitle = {GECCO},
  year = {2020},
  doi = {10.1145/3377930.3390163},
}
Figure