arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.16686cs.NE
收藏

通过将种群存储为补丁的最小生成树来提高遗传算法的时间和内存效率

Improving Time and Memory Efficiency of Genetic Algorithms by Storing Populations as Minimum Spanning Trees of Patches

Maxim Buzdalov

AI总结:

本文提出将遗传算法的种群存储为补丁的最小生成树,以高效重算适应度,在内存和计算成本上实现显著甚至渐近改进。

摘要:

在进化算法的许多应用中,应用算子和存储种群的计算成本与适应度评估的成本相当。此外,通过确切了解算子对个体造成的改变,可以比从头开始更高效地重新计算适应度值。这种相关的时间和内存改进已适用于简单进化算法、少数特定遗传算法以及灰盒优化场景,但并非适用于所有算法,主要原因是在使用大型任意结构种群的算法中难以实现。本文迈出了改善这一状况的第一步。我们表明,将种群存储为最小生成树(其中顶点对应于个体但仅包含关于它们的元信息,边存储个体之间的结构差异或补丁)是直接实现的一种可行替代方案。我们的实验表明,在内存使用和计算成本方面,可以实现显著的甚至渐近的改进——包括交叉算子的执行!

英文摘要:

In many applications of evolutionary algorithms the computational cost of applying operators and storing populations is comparable to the cost of fitness evaluation. Furthermore, by knowing what exactly has changed in an individual by an operator, it is possible to recompute fitness value much more efficiently than from scratch. The associated time and memory improvements have been available for simple evolutionary algorithms, few specific genetic algorithms and in the context of gray-box optimization, but not for all algorithms, and the main reason is that it is difficult to achieve in algorithms using large arbitrarily structured populations. This paper makes a first step towards improving this situation. We show that storing the population as a minimum spanning tree, where vertices correspond to individuals but only contain meta-information about them, and edges store structural differences, or patches, between the individuals, is a viable alternative to the straightforward implementation. Our experiments suggest that significant, even asymptotic, improvements -- including execution of crossover operators! -- can be achieved in terms of both memory usage and computational costs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑