超越加速:GPU上进化算法的硬件感知评估
Beyond Speedups: Hardware-Aware Evaluation of Evolutionary Algorithms on GPUs
AI总结:
通过硬件感知评估,研究GPU上16种进化算法在30个基准问题上的扩展行为,发现加速效果因算法机制而异,时间预算评估和种群规模缩放对优化性能至关重要。
摘要:
进化算法(EAs)越来越多地在图形处理单元(GPU)上执行,以利用种群级并行性。这种转变改变了EAs设计和评估的资源模型。然而,许多基于GPU的EA研究仍然主要关注将面向CPU的算法移植到GPU后的实现级加速,对于算法机制、函数评估(FE)预算、种群规模和硬件利用如何共同影响优化行为提供的见解有限。为此,本文超越加速测量,从硬件感知评估的角度研究EAs在GPU上的扩展行为。我们在CPU和GPU平台上评估了16个代表性EAs在30个基准问题上,涵盖单目标优化、多目标优化、数值基准和神经进化任务。研究得出四个发现。第一,GPU加速在不同算法间高度异质,因为不同的进化机制表现出不同程度的批处理计算、内存规律性和同步性。第二,FE预算评估对于衡量样本效率仍然有用,但在GPU执行下仅提供有限的观察窗口;因此,时间预算评估对于评估实际求解时间和长时搜索行为是必要的。第三,GPU有效性取决于问题维度和种群大小引起的缩放机制,其中并行性可能未充分利用、有效或饱和。第四,GPU执行使得非常大的种群在实践中变得可行,并且几种进化机制可以将这种增加的种群规模转化为改进的优化性能。这些结果表明,GPU并行性不应仅被视为事后加速工具,而应作为可扩展EAs评估和设计假设的一部分。
英文摘要:
Evolutionary algorithms (EAs) are increasingly executed on graphics processing units (GPUs) to exploit population-level parallelism. This shift changes the resource model under which EAs are designed and evaluated. However, many GPU-based EA studies still focus mainly on implementation-level speedup after porting CPU-oriented algorithms to GPUs, providing limited insight into how algorithmic mechanisms, function-evaluation (FE) budgets, population scales, and hardware utilization jointly affect optimization behavior. In response, this paper goes beyond speedup measurement and studies the scaling behavior of EAs on GPUs from a hardware-aware evaluation perspective. We evaluate 16 representative EAs on 30 benchmark problems across CPU and GPU platforms, covering single-objective optimization, multi-objective optimization, numerical benchmarks, and neuroevolution tasks. The study leads to four findings. First, GPU acceleration is highly heterogeneous across algorithms because different evolutionary mechanisms expose different degrees of batched computation, memory regularity, and synchronization. Second, FE-budgeted evaluation remains useful for measuring sample efficiency, but it provides only a limited observation window under GPU execution; time-budgeted evaluation is therefore necessary for assessing practical time-to-solution and long-horizon search behavior. Third, GPU effectiveness depends on scaling regimes induced by problem dimension and population size, where parallelism may be underutilized, effective, or saturated. Fourth, GPU execution makes very large populations practically affordable, and several evolutionary mechanisms can convert this increased population scale into improved optimization performance. These results indicate that GPU parallelism should not be treated only as a post hoc acceleration tool, but as part of the evaluation and design assumptions of scalable EAs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。