When Switching Algorithms Helps: A Theoretical Study of Online Algorithm Selection
Not on the map. Why?
Abstract (arXiv)
Online algorithm selection (OAS) aims to adapt the optimization process to changes in the fitness landscape and is expected to outperform any single algorithm from a given portfolio. Although this expectation is supported by numerous empirical studies, there are currently no theoretical results proving that OAS can yield asymptotic speedups (apart from some artificial examples for hyper-heuristics). Moreover, theory-based guidelines for when and how to switch between algorithms are largely missing. In this paper, we present the first theoretical example in which switching between two algorithms -- the (1+λ) EA and the (1+(λ,λ)) GA -- solves the OneMax problem asymptotically faster than either algorithm used in isolation. We show that an appropriate choice of population sizes for the two algorithms allows the optimum to be reached in O(nloglog n) expected time, faster than the Theta(n√fraclog n logloglog nloglog n) runtime of the best of these two algorithms with optimally tuned parameters. We first establish this bound under an idealized switching rule that changes from the (1+λ) to the (1+(λ,λ)) GA at the optimal time. We then propose a realistic switching strategy that achieves the same performance. Our analysis combines fixed-start and fixed-target perspectives, illustrating how different algorithms dominate at different stages of the optimization process. This approach offers a promising path toward a deeper theoretical understanding of OAS.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 7 of its 25 references that are in the map. First posted on arXiv 8 Apr 2026.
Builds on
7 of 25 references.
References · 7
- 2018Probabilistic Tools for the Analysis of Randomized Optimization Heuristicscited by 24
- 2020Fixed-Target Runtime Analysiscited by 9
- 2020First Steps Towards a Runtime Analysis When Starting With a Good Solutioncited by 9
- 2023To Switch or not to Switch: Predicting the Benefit of Switching between Algorithms based on Trajectory Featurescited by 9
- 2020Towards Dynamic Algorithm Selection for Numerical Black-Box Optimization: Investigating BBOB as a Use Casecited by 5
- 2021Lower Bounds from Fitness Levels Made Easycited by 5
- 2025Speeding Up Hyper-Heuristics With Markov-Chain Operator Selection and the Only-Worsening Acceptance Operatorcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Reinforcement learning to choose optimizerscited by 0
- 2026Reinforcement learning to choose optimizers1 Sep 2026