当切换算法有助于:在线算法选择的理论研究
When Switching Algorithms Helps: A Theoretical Study of Online Algorithm Selection
AI总结:
本文首次提出一个理论例子,展示在OneMax问题中,切换(1+λ)EA和(1+(λ,λ))GA能以更优的时间复杂度解决问题,为在线算法选择提供了理论支持。
摘要:
在线算法选择(OAS)旨在适应适应度景观的变化,预期优于给定组合中的任何单一算法。尽管有大量实证研究支持这一期望,但目前尚无理论结果证明OAS能产生渐近加速(除了某些超启发式算法的人工例子)。此外,基于理论的指导方针,何时以及如何在算法之间切换仍然缺失。本文首次提出一个理论例子,说明在OneMax问题中,切换(1+λ)EA和(1+(λ,λ))GA能以渐近更快的速度解决问题。我们证明,适当选择两个算法的种群大小,可以以O(n log log n)的期望时间达到最优解,比这两个算法单独使用时的最佳运行时间Θ(n√(log n log log log n / log log n))更快。我们首先在理想化的切换规则下建立了这个界限,该规则在最佳时间从(1+λ)EA切换到(1+(λ,λ))GA。然后,我们提出了一种现实的切换策略,实现了相同的表现。我们的分析结合了固定起点和固定目标视角,展示了不同算法在优化过程不同阶段如何主导。这种方法为深入理解OAS提供了有前途的理论路径。
英文摘要:
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(n\log\log n)$ expected time, faster than the $Θ(n\sqrt{\frac{\log n \log\log\log n}{\log\log 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。