# Choosing the Right Algorithm With Hints From Complexity Theory

Abstract : Choosing a suitable algorithm from the myriads of different search heuristics is difficult when faced with a novel optimization problem. In this work, we argue that the purely academic question of what could be the best possible algorithm in a certain broad class of black-box optimizers can give fruitful indications in which direction to search for good established optimization heuristics. We demonstrate this approach on the recently proposed DLB benchmark, for which the only known results are $O(n^3)$ runtimes for several classic evolutionary algorithms and an $O(n^2 \log n)$ runtime for an estimation-of-distribution algorithm. Our finding that the unary unbiased black-box complexity is only $O(n^2)$ suggests the Metropolis algorithm as an interesting candidate and we prove that it solves the DLB problem in quadratic time. Since we also prove that better runtimes cannot be obtained in the class of unary unbiased algorithms, we shift our attention to algorithms that use the information of more parents to generate new solutions. An artificial algorithm of this type having an $O(n \log n)$ runtime leads to the result that the significance-based compact genetic algorithm (sig-cGA) can solve the DLB problem also in time $O(n \log n)$. Our experiments show a remarkably good performance of the Metropolis algorithm, clearly the best of all algorithms regarded for reasonable problem sizes.
Document type :
Preprints, Working Papers, ...
Domain :

https://hal.archives-ouvertes.fr/hal-03344224
Contributor : Benjamin Doerr Connect in order to contact the contributor
Submitted on : Tuesday, September 14, 2021 - 5:28:49 PM
Last modification on : Thursday, September 16, 2021 - 3:40:14 AM

### File

main.pdf
Files produced by the author(s)

### Identifiers

• HAL Id : hal-03344224, version 1

### Citation

Shouda Wang, Benjamin Doerr, Weijie Zheng. Choosing the Right Algorithm With Hints From Complexity Theory. 2021. ⟨hal-03344224⟩

Record views