The (1+λ) evolutionary algorithm with self-adjusting mutation rate

Benjamin Doerr, Christian Gießen, Carsten Witt, Jing Yang

TL;DR

This paper introduces a novel, simple self-adjusting mechanism for the mutation rate in evolutionary algorithms. By dynamically adjusting the mutation rate based on the success of offspring generated with slightly higher and lower rates, the proposed (1+λ) EA achieves asymptotically optimal performance on the ONEMAX benchmark, outperforming static mutation rate strategies.

What Problem Does This Paper Address?

Evolutionary Algorithms (EAs) are powerful optimization tools, but their performance is highly sensitive to parameter settings. Finding optimal parameters, especially for dynamic parameters like mutation rates, is a significant challenge. Traditional approaches often rely on static parameters, which are fixed before the algorithm starts, or complex, fitness-dependent parameter control mechanisms that can be difficult to design. This paper addresses the need for a simpler, yet effective, way to dynamically adjust the mutation rate in EAs, specifically for discrete search spaces, to improve optimization speed without requiring extensive manual tuning or complex functional dependencies.

Methods

The core innovation is a "self-adjusting" mutation rate mechanism for the (1+λ) EA. The algorithm works as follows:

  1. Offspring Generation: For each generation, half of the offspring are created using a mutation rate that is twice the current rate ($2r$), and the other half are created with half the current rate ($r/2$).
  2. Mutation Rate Update: The mutation rate for the next generation is updated to the rate that produced the best offspring. If there's a tie for the best offspring, one is chosen randomly.
  3. Random Adjustment (Optional but used in analysis): With 50% probability, the mutation rate is further randomized by either choosing the rate of the best offspring or a random choice between $r/2$ and $2r$. This is hypothesized to help escape local optima in the mutation rate landscape.
  4. Rate Bounds: The mutation rate is kept within a defined interval, typically $[2/n, 1/4]$ or similar, to ensure meaningful mutation probabilities.

The paper then provides a rigorous theoretical analysis of this self-adjusting EA on the ONEMAX benchmark function, using drift analysis and Chernoff bounds to derive expected runtime bounds.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis using the ONEMAX benchmark function.

Key Insights and Ideas

  • Simplicity is Key: The proposed self-adjusting mechanism is remarkably simple, relying on a direct feedback loop from offspring success rather than complex fitness-dependent rules. This makes it more practical and easier to implement.
  • Dynamic Rates Can Outperform Static: The theoretical analysis demonstrates that a dynamically adjusting mutation rate can achieve asymptotically better performance than even the theoretically optimal static mutation rates.
  • The Power of Two Rates: Creating offspring with both higher and lower mutation rates, and then selecting the rate of the best offspring, proves to be a surprisingly effective strategy for finding good mutation rates on the fly.
  • Randomness as a Feature: The inclusion of random adjustments to the mutation rate, while seemingly counterintuitive, is shown to be beneficial for escaping local optima in the mutation rate landscape, though the theoretical analysis also considers the case without these random steps.
  • ONEMAX as a Proving Ground: The ONEMAX function, despite its simplicity, is a crucial testbed for understanding fundamental EA behaviors and parameter dynamics.

Key Results

  • The self-adjusting (1+λ) EA achieves an expected optimization time (number of generations) of $O(n\lambda/\log \lambda + n \log n)$ on ONEMAX.
  • This runtime is asymptotically optimal among all λ-parallel unbiased black-box algorithms, matching the performance of a carefully designed fitness-dependent mutation rate strategy from prior work [2].
  • The paper demonstrates that this self-adjusting mechanism can find near-optimal dynamic parameter values on the fly, offering a significant speed-up compared to static parameter settings.
  • Experimental results (Figure 1 and 2) show that for larger population sizes (λ), the self-adjusting EA outperforms static strategies, confirming the theoretical findings.
  • Experiments also suggest that a smaller update factor (F) for the mutation rate adjustment leads to better practical performance, though the impact is not drastic.

Limitations and Future Work

  • Theoretical Focus: The primary analysis is theoretical, focusing on the ONEMAX benchmark. While experiments are included, the theoretical guarantees are for a specific problem.
  • Generalizability: The authors acknowledge that it's an open question to what extent the observed benefits of larger mutation rates and the self-adjusting mechanism generalize to other algorithms and problems.
  • Random Steps vs. No Random Steps: While the theoretical analysis includes random steps, experiments suggest that the variant without random steps performs slightly better on ONEMAX. The authors note that proving performance bounds for the non-randomized version is a technical challenge.
  • Parameter F: While the paper proposes a parameter-less algorithm in principle, experiments suggest that a smaller update factor F for the mutation rate adjustment might be preferable in practice. Further investigation into optimizing F or other aspects of the self-adjustment mechanism could be beneficial.
  • Other EAs and Problems: The authors suggest exploring the applicability of this self-adjusting mechanism to other evolutionary algorithms and more complex problem landscapes.

Summary updated

BibTeX
@inproceedings{doerr2017evolutionary,
  author = {Benjamin Doerr and Christian Gießen and Carsten Witt and Jing Yang},
  title = {{The (1+λ) evolutionary algorithm with self-adjusting mutation rate}},
  booktitle = {Algorithmica},
  year = {2017},
  url = {https://openreview.net/forum?id=DRy6S-1zqJYO},
}
Figure