进化算法中随机性的成本:交叉可以节省随机比特

The Cost of Randomness in Evolutionary Algorithms: Crossover Can Save Random Bits

Evolutionary Computation · 2025
被引 0
ABS 3

中文导读

研究了进化算法中随机比特的使用成本,发现交叉操作在优化OneMax和Jumpk函数时能显著减少随机比特消耗,甚至低于仅用变异的最快算法。

Abstract

Evolutionary algorithms make countless random decisions during selection, mutation, and crossover operations. These random decisions require a steady stream of random numbers. We analyze the expected number of random bits used throughout a run of an evolutionary algorithm and refer to this as the cost of randomness. We give general bounds on the cost of randomness for mutation-based evolutionary algorithms using 1-bit flips or standard mutations using either a naive or a common, more efficient implementation that uses Θ(logn) random bits per mutation. Uniform crossover is a potentially wasteful operator as the number of random bits used equals the Hamming distance of the two parents, which can be up to n. However, we show for a (2+1) genetic algorithm that is known to optimize the test function OneMax in roughly (e/2)nlnn expected evaluations, twice as fast as the fastest mutation-based evolutionary algorithms, that the total cost of randomness during all crossover operations on OneMax is only Θ(n). A more pronounced effect is shown for the common test function Jumpk, where there is an asymptotic decrease both in the number of evaluations and in the cost of randomness. Consequently, the use of crossover can reduce the cost of randomness below that of the fastest evolutionary algorithms that only use standard mutations.

进化算法随机性交叉操作计算成本优化算法