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

Benjamin Doerr, Weijie Zheng · DOI

In the world of evolutionary computation, Estimation-of-Distribution Algorithms (EDAs) are the sophisticated cousins of standard Genetic Algorithms. Instead of maintaining a literal population of individuals, they maintain a probabilistic model of what a "good" solution looks like. However, they suffer from a classic "Goldilocks" problem: how do you set the population size?

A new paper by Benjamin Doerr and Weijie Zheng, recently published in Algorithmica (and appearing at GECCO), introduces a "Smart-Restart" strategy that uses theoretical physics-like insights into genetic drift to automate this choice, outperforming previous state-of-the-art parameter-less approaches.

TL;DR

The authors propose a "Smart-Restart" compact Genetic Algorithm (cGA) that automatically finds the optimal population size by exponentially increasing it across restarts. By using theoretical bounds to abort runs likely suffering from "genetic drift" (random noise-driven failure), the algorithm achieves near-optimal efficiency without requiring manual tuning.

What Problem Does This Paper Address?

The performance of a compact Genetic Algorithm (cGA) hinges on its hypothetical population size, $\mu$.

  1. Too Small: The algorithm suffers from genetic drift. This is when random sampling fluctuations overwhelm the actual fitness signal, causing the probability model to converge to a sub-optimal solution (hitting a "boundary").
  2. Too Large: The algorithm becomes inefficient. In the "safe" regime where drift isn't a factor, runtime is usually proportional to $\mu$. A population size 10x larger than necessary simply takes 10x longer to reach the same result.

Finding the "just right" $\mu$ usually requires expert knowledge or expensive trial-and-error. While "parameter-less" versions exist—usually by running multiple populations of different sizes in parallel—they often waste computational resources on runs that are destined to fail or are unnecessarily slow.

Methods

The authors introduce the Smart-Restart cGA. The core logic is a restart scheme:

  • Exponential Growth: It starts with a tiny population ($\mu=2$) and doubles it (or multiplies by a factor $U$) every time a run fails.
  • The "Smart" Abort: Unlike previous methods that run until convergence, this version uses a generation budget ($B = b\mu^2$).

This budget is the "secret sauce." Based on recent mathematical proofs (specifically from Doerr and Zheng's previous work, DZ20b), we know that if a bit is neutral (has no fitness signal), it will likely hit a probability boundary (0 or 1) due to drift within roughly $4\mu^2$ generations. By setting a budget around this limit, the algorithm can detect when a run is likely "stuck" in a drift-dominated state and kill it early to try a larger, more stable population size.

Datasets

The researchers evaluated the algorithm using four classic synthetic benchmark problems in evolutionary computation:

  • OneMax: The "Hello World" of EAs (counting ones in a bitstring).
  • LeadingOnes: Counting consecutive ones from the start.
  • Jump: A multimodal landscape with a "gap" that algorithms must jump across.
  • DeceptiveLeadingBlocks: A deceptive problem where local gradients lead away from the global optimum.

Crucially, they also tested these under Additive Centered Gaussian Posterior Noise, simulating real-world scenarios where fitness evaluations are imprecise.

Key Insights and Ideas

  • Drift as a Timer: The most elegant idea here is treating genetic drift not just as a nuisance to be avoided, but as a predictable physical process that provides a natural "timeout" for a search process.
  • Aborting > Parallelism: Previous parameter-less EDAs (like the Parallel-run cGA) try to hedge their bets by running many $\mu$ values at once. The authors show that a sequential restart with an early-abort mechanism is more efficient because it doesn't waste "CPU cycles" on small populations that have already drifted into a corner.
  • Efficiency in the Face of Deception: On the Jump function, the cGA is remarkably efficient. For a problem size $n=50$ and jump $k=10$, a standard (1+1) EA would take $10^{17}$ iterations. The cGA, with a properly scaled $\mu$, finds it in about $4 \cdot 10^6$ iterations.

Key Results

  • Near-Optimal Performance: The Smart-Restart cGA achieved runtimes very close to the "best-case" scenario where a human expert picks the optimal fixed $\mu$ for a specific problem.
  • Noise Robustness: In noisy environments, the algorithm naturally scaled up its population size to "smooth out" the Gaussian noise, outperforming theoretical suggestions from previous literature which were often conservative by a factor of 1,000.
  • Speedup: The Smart-Restart variant was generally faster than the Parallel-run variant because it successfully avoided the "long tail" of unsuccessful, small-population runs.

Limitations and Future Work

While the algorithm removes the need to tune $\mu$, it introduces a new (though less sensitive) parameter $b$ (the budget factor). The authors suggest $b = \Theta(1/\ln n)$ is a good heuristic, but a truly parameter-free version would be the next step.

Additionally, this work focuses on univariate EDAs (which treat bits as independent). The authors note that a quantitative understanding of genetic drift for multivariate EDAs (which model dependencies between bits) is currently missing, representing a major frontier for theoretical evolutionary computation.

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