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

EvoJAX:硬件加速的神经进化

EvoJAX: Hardware-Accelerated Neuroevolution

Yujin Tang, Yingtao Tian, David Ha

摘要:

演化计算已被证明是训练神经网络的一种非常有效的方法,特别是当在CPU集群上大规模使用时。最近的工作也展示了它们在硬件加速器(如GPU)上的有效性,但到目前为止,这些演示是针对非常特定的任务量身定制的,限制了对其他领域的适用性。我们提出EvoJAX,一个可扩展的,通用的,硬件加速的神经进化工具包。基于JAX库,我们的工具包使神经进化算法能够与跨多个TPU/GPU并行运行的神经网络一起工作。EvoJAX通过在NumPy中实现进化算法、神经网络和任务来实现非常高的性能,NumPy是即时编译的,可以在加速器上运行。我们为各种任务提供了EvoJAX的可扩展示例,包括监督学习,强化学习和生成艺术。由于EvoJAX可以在单个加速器上几分钟内找到大多数这些任务的解决方案,与使用CPU时的数小时或数天相比,我们的工具包可以显着缩短演化计算实验的迭代周期。EvoJAX可在https://github.com/google/evojax上获得

英文摘要:

Evolutionary computation has been shown to be a highly effective method for training neural networks, particularly when employed at scale on CPU clusters. Recent work have also showcased their effectiveness on hardware accelerators, such as GPUs, but so far such demonstrations are tailored for very specific tasks, limiting applicability to other domains. We present EvoJAX, a scalable, general purpose, hardware-accelerated neuroevolution toolkit. Building on top of the JAX library, our toolkit enables neuroevolution algorithms to work with neural networks running in parallel across multiple TPU/GPUs. EvoJAX achieves very high performance by implementing the evolution algorithm, neural network and task all in NumPy, which is compiled just-in-time to run on accelerators. We provide extensible examples of EvoJAX for a wide range of tasks, including supervised learning, reinforcement learning and generative art. Since EvoJAX can find solutions to most of these tasks within minutes on a single accelerator, compared to hours or days when using CPUs, our toolkit can significantly shorten the iteration cycle of evolutionary computation experiments. EvoJAX is available at https://github.com/google/evojax

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

↑