arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.11226cs.NEcs.AI
收藏

使用GPU加速遗传编程

Accelerating Genetic Programming using GPUs

IIT Madras(印度理工学院马德拉斯分校);NVIDIA Corporation(英伟达公司)

Vimarsh Sathia, Venkataramana Ganesh, Shankara Rao Thejaswi Nanditale

摘要:

遗传编程(GP)是一种进化学习技术,在曲线拟合、数据建模、特征选择、分类等机器学习中有着广泛的应用。GP具有多个固有的并行步骤,是基于GPU的并行化的理想候选者。本文描述了一种基于GPU加速的堆栈的代GP算法的变体,该算法可用于符号回归和二进制分类。使用CUDA将分代GP算法的选择和评估步骤并行化。我们引入表示候选解决方案表达式作为前缀列表,这使得使用GPU内存中的固定长度堆栈进行评估。基于CUDA的矩阵向量运算也用于计算人口计划的适应度。我们在Pagie Polynomial的合成数据集上评估我们的算法(大小从$4096$到$16$百万点),使用其他标准符号回归库即gplearn,TensorGP和KarooGP分析我们算法的训练时间。此外,使用通常用于比较梯度提升算法的$6$大规模回归和分类数据集,我们在我们的算法和gplearn上运行性能基准测试,分析训练时间,测试精度和损失。在NVIDIA DGX-A100 GPU上,我们的算法优于之前列出的所有框架,特别是,分别在合成和大规模数据集上实现了$119\times$和$40\times$相对于gplearn的平均加速比。

英文摘要:

Genetic Programming (GP), an evolutionary learning technique, has multiple applications in machine learning such as curve fitting, data modelling, feature selection, classification etc. GP has several inherent parallel steps, making it an ideal candidate for GPU based parallelization. This paper describes a GPU accelerated stack-based variant of the generational GP algorithm which can be used for symbolic regression and binary classification. The selection and evaluation steps of the generational GP algorithm are parallelized using CUDA. We introduce representing candidate solution expressions as prefix lists, which enables evaluation using a fixed-length stack in GPU memory. CUDA based matrix vector operations are also used for computation of the fitness of population programs. We evaluate our algorithm on synthetic datasets for the Pagie Polynomial (ranging in size from $4096$ to $16$ million points), profiling training times of our algorithm with other standard symbolic regression libraries viz. gplearn, TensorGP and KarooGP. In addition, using $6$ large-scale regression and classification datasets usually used for comparing gradient boosting algorithms, we run performance benchmarks on our algorithm and gplearn, profiling the training time, test accuracy, and loss. On an NVIDIA DGX-A100 GPU, our algorithm outperforms all the previously listed frameworks, and in particular, achieves average speedups of $119\times$ and $40\times$ against gplearn on the synthetic and large scale datasets respectively.

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

↑