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

大型神经网络的有限评价进化优化

Limited Evaluation Evolutionary Optimization of Large Neural Networks

Jonas Prellberg, Oliver Kramer

摘要:

随机梯度下降法是训练神经网络最常用的算法。然而,其他方法,如进化算法也适用于这项任务。进化算法带来了值得探索的独特权衡,但迄今为止,计算需求将探索限制在参数较少的小型网络上。我们实现了一个完全在GPU上执行的进化算法,它可以有效地批量评估整个网络种群。在此框架下,我们探讨了有限评估进化算法的神经网络训练,发现其批量评估的思想带来了很大的精度权衡。在进一步的实验中,我们探索了交叉算子,发现无原则的随机均匀交叉表现得非常好。最后,我们使用EA在MNIST上训练了一个具有92 k参数的网络,并实现了97.6%的测试准确度,而使用Adam训练的同一网络的测试准确度为98%。代码可在https://github.com/jprellberg/gpuea上获得。

英文摘要:

Stochastic gradient descent is the most prevalent algorithm to train neural networks. However, other approaches such as evolutionary algorithms are also applicable to this task. Evolutionary algorithms bring unique trade-offs that are worth exploring, but computational demands have so far restricted exploration to small networks with few parameters. We implement an evolutionary algorithm that executes entirely on the GPU, which allows to efficiently batch-evaluate a whole population of networks. Within this framework, we explore the limited evaluation evolutionary algorithm for neural network training and find that its batch evaluation idea comes with a large accuracy trade-off. In further experiments, we explore crossover operators and find that unprincipled random uniform crossover performs extremely well. Finally, we train a network with 92k parameters on MNIST using an EA and achieve 97.6 % test accuracy compared to 98 % test accuracy on the same network trained with Adam. Code is available at https://github.com/jprellberg/gpuea.

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

↑