Hardest Monotone Functions for Evolutionary Algorithms

Marc Kaufmann, Maxime Larcher, Johannes Lengler, Oliver Sieberling

Abstract

Monotone pseudo-Boolean functions are generally considered easy benchmarks for evolutionary algorithms, typically solved in $O(n \log n)$ time. However, theoretical bounds have long suggested a worst-case complexity of $O(n^{3/2})$. This paper introduces the Switching Dynamic BinVal (SDBV) function, providing the first explicit construction of a monotone function that achieves this $\Theta(n^{3/2})$ runtime. Furthermore, the work identifies a "Drift Paradox," where minimizing local progress does not strictly equate to maximizing global optimization time.

Introduction

In the field of evolutionary computation, the (1+1) Evolutionary Algorithm (EA) serves as a baseline for understanding optimization dynamics. Monotone functions—where flipping a 0 to a 1 never decreases fitness—are often the first test cases for such algorithms. While most monotone functions are solved efficiently, the Partially-Ordered Evolutionary Algorithm (PO-EA) model predicted a much slower upper bound of $O(n^{3/2})$. Until now, this bound remained a theoretical curiosity without a concrete function to exemplify it.

The Switching Dynamic BinVal Function

The authors address this gap by constructing the Switching Dynamic BinVal (SDBV) function. SDBV is a dynamic monotone function, meaning its internal weights can change at each iteration to act as an adversary to the optimizer. It combines two existing strategies:

  1. Adversarial Dynamic BinVal (ADBV): Orders bits so the algorithm is likely to flip many bits at once, often moving away from the optimum while still "improving" fitness.
  2. Friendly Dynamic BinVal (FDBV): A more restrictive variant that only accepts offspring that strictly dominate the parent.

By switching between these strategies when the number of 1-bits reaches $n/2$, SDBV creates a landscape that minimizes the expected progress (drift) at every point in the search space.

Theoretical Results and the Drift Paradox

The primary result of the paper is a rigorous proof that the (1+1) EA requires $\Theta(n^{3/2})$ generations to optimize SDBV. This confirms that the $O(n^{3/2})$ bound is tight for monotone functions and proves that the PO-EA model was not merely a theoretical abstraction.

A more surprising discovery is the Drift Paradox. In many theoretical analyses, researchers assume that minimizing the expected progress (drift) at each step is the best way to maximize the total runtime. The authors' Markov chain analysis for small $n$ (9 to 45) reveals that SDBV is indeed the unique drift-minimizer. However, it is not always the runtime-maximizer. In some cases, a function with slightly higher drift but lower variance can take longer to solve. This suggests that the relationship between local drift and global hitting time is more complex than previously thought, as accepting "jumps" with high variance can sometimes help the algorithm finish faster than a slow-and-steady path.

Conclusion

The identification of SDBV resolves a long-standing question regarding the maximum complexity of monotone functions for evolutionary algorithms. While SDBV represents the hardest case in terms of drift, the search for the absolute global runtime maximizer remains an open challenge. Future research is needed to determine if the gap between drift-minimization and runtime-maximization persists in the limit as $n \to \infty$.

Summary updated

BibTeX
@inproceedings{kaufmann2024hardest,
  author = {Marc Kaufmann and Maxime Larcher and Johannes Lengler and Oliver Sieberling},
  title = {{Hardest Monotone Functions for Evolutionary Algorithms}},
  booktitle = {EvoStar},
  year = {2024},
  doi = {10.1007/978-3-031-57712-3\_10},
}
Figure