给cGA加缓存,避免重复计算,提速不降效。
Improved Compact Genetic Algorithms with Efficient Caching
- 用缓存记录已计算过的染色体,避免重复评估。
- 实验显示函数评估次数大幅减少,性能不变。
- 适合需要高效优化的工程与科研场景。
紧凑遗传算法(cGAs)通过概率向量表示种群,显著减少函数评估次数,同时保持与经典遗传算法相当的求解效果。然而,随着接近收敛,cGAs容易反复生成相同染色体,造成冗余评估。本文引入缓存机制,避免重复计算相同染色体。所提方法在保持与原cGAs等效性的同时,通过高效的缓存维护数据结构,使平均时间复杂度趋于常数。该机制还针对基于精英策略的cGAs进行了泛化设计,提升了选择压力。在标准优化问题上的实验表明,采用两种主流缓存替换策略,均显著降低函数评估次数,且性能精度不变。
原文摘要 · Abstract (English)
Compact Genetic Algorithms (cGAs) are condensed variants of classical Genetic Algorithms (GAs) that use a probability vector representation of the population instead of the complete population. cGAs have been shown to significantly reduce the number of function evaluations required while producing outcomes similar to those of classical GAs. However, cGAs have a tendency to repeatedly generate the same chromosomes as they approach convergence, resulting in unnecessary evaluations of identical chromosomes. This article introduces the concept of caching in cGAs as a means of avoiding redundant evaluations of the same chromosomes. Our proposed approach operates equivalently to cGAs, but enhances the algorithm's time efficiency by reducing the number of function evaluations. We also present a data structure for efficient cache maintenance to ensure low overhead. The proposed caching approach has an asymptotically constant time complexity on average. The proposed method further generalizes the caching mechanism with higher selection pressure for elitism-based cGAs. We conduct a rigorous analysis based on experiments on benchmark optimization problems using two well-known cache replacement strategies. The results demonstrate that caching significantly reduces the number of function evaluations required while maintaining the same level of performance accuracy.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。